liuyg
2021-12-25 ef46e4b78e81418a831d4f7f21eb24d2fd4d35e1
src/views/securityEquipment/gun.vue
@@ -139,9 +139,11 @@
  },
  created() {
    var that = this;
    this.deptIds = this.userInfo.dept_id;
    if (
      this.userInfo.role_name == "装备管理员" ||
      this.userInfo.role_name == "保安公司管理员"
      this.userInfo.role_name == "保安公司管理员" ||
      this.userInfo.role_name == "分公司管理员"
    ) {
      this.useifid = this.userInfo.dept_id;
    }
@@ -154,6 +156,9 @@
      that.option.column[5].dicUrl =
        "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697";
    }
  },
  mounted(){
    this.deptIds = this.userInfo.dept_id;
  },
  methods: {
    handleImport() {
@@ -311,12 +316,13 @@
      } else {
        this.openDep("deptId");
      }
      //公安局进入
      if (this.userInfo.role_name == "公安管理员") {
        params["jurisdiction"] = that.userInfo.jurisdiction;
      }
      //保安公司进入
      if (this.userInfo.role_name == "保安公司管理员") {
      if (this.userInfo.role_name == "保安公司管理员" || this.userInfo.role_name == "分公司管理员") {
        params["deptId"] = that.userInfo.dept_id;
        //导入action 修改
        const importColumn = that.findObject(