From c80c736772e5edfc611b18aed837b2835d2ebca8 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 27 Aug 2021 09:20:55 +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