|
@@ -75,13 +75,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async twoSearch() {
|
|
|
- // let res = await this.personalQuery({ code: 'FMTTHY', isdel: '1' });
|
|
|
- // if (this.$checkRes(res)) {
|
|
|
- // for (const val of res.data) {
|
|
|
- // let res = await this.personalUpdate({ id: val.id, isdel: '0' });
|
|
|
- // console.log(res);
|
|
|
- // }
|
|
|
- // }
|
|
|
+ let res = await this.personalQuery({});
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ let arr = res.data.filter((i) => i.isdel == '1');
|
|
|
+ console.log(arr);
|
|
|
+ // for (const val of res.data) {
|
|
|
+ // let res = await this.personalUpdate({ id: val.id, isdel: '0' });
|
|
|
+ // console.log(res);
|
|
|
+ // }
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
computed: {
|