tangzy
2021-08-27 c8a9c92eeaf0c41a9105d492d9d662b6b92e7ebd
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,13 +186,15 @@
    handleRowClick(row, column, cell, event) {
      if (column.label == "服务对象数量") {
        this.$router.push({
          path: "/statisticalQueryManagement/businessStatisticsDetail"
          path:
            "/statisticalQueryManagement/businessStatisticsDetail?&departmentid=" +
            row.departmentid
        });
      } else if (column.label == "保安员人数") {
        this.$router.push({
          path:
            "/statisticalQueryManagement/securityGuardDetail?enterpriseName=" +
            row.enterpriseName
            "/statisticalQueryManagement/securityGuardDetail?departmentid=" +
            row.departmentid
        });
      }
    },