保安服务企业管理-验收版本
liuyg
2021-12-06 5a3ace296c010b5c11501dedf252e1c144cda9e2
src/views/securityGuard/securityGuard.vue
@@ -430,7 +430,6 @@
        total: 0,
      },
      query2: {},
      data1: [],
      data2: [],
      option2: {
        card: true,
@@ -706,7 +705,7 @@
                  ratio: 0.1,
                },
                action: "/api/blade-resource/oss/endpoint/put-file",
                tip: "只能上传jpg/png,且不超过500kb",
                tip: "只能上传jpg/png指纹信息,且不超过500kb",
                span: 10,
                // row: true,
                prop: "fingerprint",
@@ -1042,7 +1041,7 @@
    if (!website.tenantMode) {
      this.initData(website.tenantId);
    }
    console.log(this.search, 111);
    // console.log(this.search, 111);
    this.search["status"] = 1;
  },
  methods: {
@@ -1370,7 +1369,7 @@
      this.$prompt("离职原因", "提示", {
        confirmButtonText: "确定离职",
        cancelButtonText: "取消",
        inputErrorMessage: "邮箱格式不正确",
        inputErrorMessage: "",
      }).then(({ value }) => {
        console.log(value);
        row.reasonForLeav = value;
@@ -1660,6 +1659,17 @@
          this.platformForm = res.data.data;
        });
      }
      if (this.userInfo.role_name == "保安公司管理员") {
        // console.log("保安公司管理员登入");
        const deptColumn = this.findObject(
          this.questionBankOption.column,
          "deptId"
        );
        deptColumn.disabled = true;
        console.log(this.userInfo.dept_id);
        this.obj["deptId"] = this.userInfo.dept_id;
      }
      done();
    },
    platformSearchReset() {