Administrator
2021-12-20 eff67b12c9ec78a14e0037b22467c5e3482fa66a
枪支导入权限修改
2 files modified
9 ■■■■ changed files
src/views/securityEquipment/gun.vue 7 ●●●● patch | view | raw | blame | history
src/views/securityGuard/securityGuard.vue 2 ●●● patch | view | raw | blame | history
src/views/securityEquipment/gun.vue
@@ -139,6 +139,7 @@
  },
  created() {
    var that = this;
    this.deptIds = this.userInfo.dept_id;
    if (
      this.userInfo.role_name == "装备管理员" ||
      this.userInfo.role_name == "保安公司管理员" ||
@@ -155,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() {
@@ -312,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(
src/views/securityGuard/securityGuard.vue
@@ -921,7 +921,7 @@
                  ratio: 1.0,
                },
                action: "/api/blade-resource/oss/endpoint/put-files",
                tip: "上传身份证一寸近期彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不小于30kb,不超过500kb",
                tip: "上传近期一寸近期彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不小于30kb,不超过500kb",
                span: 12,
                // row: true,
                prop: "avatar",