|
@@ -3862,22 +3862,22 @@ export default {
|
3862
|
3862
|
},
|
3863
|
3863
|
searchAction() {
|
3864
|
3864
|
this.page = 1
|
3865
|
|
- const tableData = this.tableData
|
3866
|
|
- if (this.keywords.length == 0) {
|
3867
|
|
- this.getHisOrderList()
|
3868
|
|
- } else {
|
3869
|
|
- console.log('6666666',tableData);
|
3870
|
|
- let arr = []
|
3871
|
|
- for (let i = 0; i < tableData.length; i++) {
|
|
3865
|
+ // const tableData = this.tableData
|
|
3866
|
+ // if (this.keywords.length == 0) {
|
|
3867
|
+ // this.getHisOrderList()
|
|
3868
|
+ // } else {
|
|
3869
|
+ // console.log('6666666',tableData);
|
|
3870
|
+ // let arr = []
|
|
3871
|
+ // for (let i = 0; i < tableData.length; i++) {
|
3872
|
3872
|
|
3873
|
|
- if (tableData[i].patient.name.indexOf(this.keywords) != -1 ||
|
3874
|
|
- tableData[i].patient.first_letter.indexOf(this.keywords) != -1) {
|
3875
|
|
- arr = arr.concat(tableData[i])
|
3876
|
|
- }
|
3877
|
|
- }
|
3878
|
|
- this.tableData = arr
|
3879
|
|
- }
|
3880
|
|
- // this.getHisOrderList()
|
|
3873
|
+ // if (tableData[i].patient.name.indexOf(this.keywords) != -1 ||
|
|
3874
|
+ // tableData[i].patient.first_letter.indexOf(this.keywords) != -1) {
|
|
3875
|
+ // arr = arr.concat(tableData[i])
|
|
3876
|
+ // }
|
|
3877
|
+ // }
|
|
3878
|
+ // this.tableData = arr
|
|
3879
|
+ // }
|
|
3880
|
+ this.getHisOrderList()
|
3881
|
3881
|
},
|
3882
|
3882
|
getTimes(time) {
|
3883
|
3883
|
return uParseTime(time, '{y}-{m}-{d}')
|