| | |
| | | }, |
| | | 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; |
| | | } |
| | |
| | | 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( |