| | |
| | | getPerformanceInfo, |
| | | add, |
| | | update, |
| | | page, |
| | | trackRecordpage, |
| | | remove, |
| | | getER, |
| | | } from "@/api/performance/performance"; |
| | |
| | | }, |
| | | handleChangeTABS(column) { |
| | | this.typeTABS = column; |
| | | console.log(column.prop); |
| | | if (column.prop == "tab1") { |
| | | this.loading1 = false; |
| | | } else if (column.prop == "tab2") { |
| | |
| | | this.loading1 = false; |
| | | } else if (column.prop == "tab3") { |
| | | //查询当前保安员的现实表现记录 |
| | | console.log(1999999); |
| | | this.getPerformancePageInfo(); |
| | | this.loading2 = false; |
| | | } else if (column.prop == "tab4") { |
| | |
| | | var param = { |
| | | securityid: this.id, |
| | | }; |
| | | page(this.current, this.size, param).then((res2) => { |
| | | console.log(1999999); |
| | | trackRecordpage(this.current, this.size, param).then((res2) => { |
| | | const data = res2.data.data; |
| | | this.page2.total = data.total; |
| | | this.data2 = data.records; |
| | | console.log(this.data2, 1); |
| | | console.log(this.data2, 1999999); |
| | | this.loading2 = false; |
| | | }); |
| | | }, |