| | |
| | | }, |
| | | created() { |
| | | var that = this; |
| | | this.deptIds = this.userInfo.dept_id; |
| | | if ( |
| | | this.userInfo.role_name == "装备管理员" || |
| | | this.userInfo.role_name == "保安公司管理员" || |
| | |
| | | that.option.column[5].dicUrl = |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697"; |
| | | } |
| | | }, |
| | | mounted(){ |
| | | this.deptIds = this.userInfo.dept_id; |
| | | }, |
| | | methods: { |
| | | handleImport() { |
| | |
| | | } 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( |
| | |
| | | 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", |