liuyg
2021-08-28 c8e279927a36c755fd78769cfa8e489568192aa4
src/views/securityEquipment/equipments.vue
@@ -26,6 +26,7 @@
            >删 除
          </el-button>
          <el-button
            style="display:none"
            type="success"
            size="small"
            plain
@@ -114,6 +115,7 @@
        align: "center",
        selection: true,
        column: column,
        labelWidth:110,
      },
    };
  },
@@ -180,6 +182,7 @@
      //   }
    },
    searchChange(params, done) {
      params = JSON.parse(JSON.stringify(params));
      this.query = params;
      this.page.currentPage = 1;
      this.onLoad(this.page, params);
@@ -258,9 +261,9 @@
    },
    onLoad(page, params = {}) {
      this.loading = true;
      params["deptId"] = this.fromDeptId;
      // console.log(params.deptId);
      if (params.deptId != undefined) {
      if (this.fromDeptId != undefined) {
        params["deptId"] = this.fromDeptId;
        this.option.column[6].search = false;
        this.option.column[6].hide = true;
        this.option.column[6].addDisplay = false;