| | |
| | | } |
| | | }); |
| | | }, |
| | | searchChange(params, done) { |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | |
| | | selectYw(param).then(res => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.tableData = res.data.data; |
| | | this.tableData = data.records; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | handleRowClick(row, column, cell, event) { |
| | | if (column.label == "服务对象数量" || column.label == "保安员人数") { |
| | | if (column.label == "服务对象数量") { |
| | | this.$router.push({ |
| | | path: "/statisticalQueryManagement/businessStatisticsDetail" |
| | | }); |
| | | } else if (column.label == "保安员人数") { |
| | | this.$router.push({ |
| | | path: |
| | | "/statisticalQueryManagement/securityGuardDetail?enterpriseName=" + |
| | | row.enterpriseName |
| | | }); |
| | | } |
| | | }, |
| | | cellStyle(row, column, rowIndex, columnIndex) { |
| | | // if (columnIndex == 4 || columnIndex == 5) { |
| | | // } |
| | | }, |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.getSubOfficeData(); |