| | |
| | | seCountI, |
| | | selectExtypeUser, |
| | | qualificationPages, |
| | | xsbxPages, |
| | | selectCf, |
| | | selectCl, |
| | | selectYs, |
| | |
| | | ); |
| | | }, |
| | | getCarPosition() { |
| | | getNewPosition({ type: 2, workerId: "861636056082414" }).then(result => { |
| | | getNewPosition({ type: 2, workerId: "赣AD77669" }).then(result => { |
| | | var res = result.data.data; |
| | | if (JSON.stringify(res) != "{}") { |
| | | this.carGps = { |
| | |
| | | cardNumber: m.gunNum, |
| | | id: m.id |
| | | }; |
| | | debugger |
| | | this.mapData[3]["geoData"].push([ |
| | | Number(m.longitude), |
| | | Number(m.latitude) |
| | |
| | | this.getPunishList(1); |
| | | } else if (type === "xs") { |
| | | this.gridData.title = "现实表现差人员清单"; |
| | | this.getQualificationPages(1); |
| | | this.getXsbxPages(1); |
| | | } |
| | | }, |
| | | getWgTable() { |
| | |
| | | }); |
| | | }, |
| | | changePage(page) { |
| | | if (this.gridData.type === "zg" || this.gridData.type === "xs") { |
| | | if (this.gridData.type === "zg") { |
| | | this.getQualificationPages(page); |
| | | } else if (this.gridData.type === "wg") { |
| | | this.gridData.data = this.dialogTable.wgTable.slice( |
| | |
| | | this.getPunishList(page); |
| | | } else if (this.gridData.type === "ywdx_gs") { |
| | | this.showDialogTable(this.gridData.type); |
| | | } else if (this.gridData.type === "xs") { |
| | | this.getXsbxPages(page); |
| | | } |
| | | }, |
| | | // 现实表现差弹框 |
| | | getXsbxPages(page) { |
| | | this.gridData.current = page; |
| | | this.dialogloading = true; |
| | | this.gridData.data = []; |
| | | let types = this.poorPerformanceType.toString() |
| | | let params = { |
| | | current: this.gridData.current, |
| | | size: 10, |
| | | jurisdiction: this.value1, |
| | | type:types |
| | | }; |
| | | xsbxPages(params).then(res => { |
| | | if (res.data.code === 200) { |
| | | this.gridData.data = res.data.data.records; |
| | | this.gridData.total = res.data.data.total; |
| | | } |
| | | this.dialogloading = false; |
| | | }); |
| | | }, |
| | | getQualificationPages(page) { |
| | | this.gridData.current = page; |
| | |
| | | let params = { |
| | | current: this.gridData.current, |
| | | size: 10, |
| | | jurisdiction: this.value1 |
| | | jurisdiction: this.value1, |
| | | examinationType: 1 |
| | | }; |
| | | if (this.gridData.type === "zg") { |
| | | Object.assign(params, { examinationType: 1 }); |
| | | } else if (this.gridData.type === "xs") { |
| | | Object.assign(params, { score: 3 }); |
| | | } |
| | | qualificationPages(params).then(res => { |
| | | if (res.data.code === 200) { |
| | | this.gridData.data = res.data.data.records; |