From 5b0106f735d208bb9ca887b996cceb13ffa27796 Mon Sep 17 00:00:00 2001
From: zhengpz <1838927346@qq.com>
Date: Tue, 24 Aug 2021 21:57:25 +0800
Subject: [PATCH] 对接首页接口
---
src/views/statisticalQueryManagement/businessStatistics.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/statisticalQueryManagement/businessStatistics.vue b/src/views/statisticalQueryManagement/businessStatistics.vue
index 2590585..f947ead 100644
--- a/src/views/statisticalQueryManagement/businessStatistics.vue
+++ b/src/views/statisticalQueryManagement/businessStatistics.vue
@@ -158,9 +158,11 @@
},
currentChange(currentPage) {
this.page.currentPage = currentPage;
+ this.onLoad(this.page, this.query);
},
sizeChange(pageSize) {
this.page.pageSize = pageSize;
+ this.onLoad(this.page, this.query);
},
refreshChange() {
this.onLoad(this.page, this.query);
@@ -169,7 +171,9 @@
this.loading = true;
let param = {};
param["jurisdiction"] = params["jurname"] ? params["jurname"] : "";
- param["deptid"] = "";
+ param["deptid"] = params["enterpriseName"]
+ ? params["enterpriseName"]
+ : "";
param["current"] = page.currentPage;
param["size"] = page.pageSize;
selectYw(param).then(res => {
@@ -182,7 +186,11 @@
handleRowClick(row, column, cell, event) {
if (column.label == "服务对象数量") {
this.$router.push({
- path: "/statisticalQueryManagement/businessStatisticsDetail"
+ path:
+ "/statisticalQueryManagement/businessStatisticsDetail?&departmentid=" +
+ row.departmentid +
+ "&jurisdiction=" +
+ row.jurisdiction
});
} else if (column.label == "保安员人数") {
this.$router.push({
--
Gitblit v1.9.3