| | |
| | | }; |
| | | }, |
| | | created() { |
| | | console.log(this.userInfo); |
| | | // console.log(this.userInfo); |
| | | |
| | | if (this.userInfo.role_name.indexOf("ksxtadmin") != -1) { |
| | | this.questionBankOption.column[0].dicUrl = |
| | | "/api/blade-system/dept/lazy-tree-user?parentId="; |
| | | } else { |
| | | this.questionBankOption.column[0].dicUrl = |
| | | "/api/blade-system/dept/lazy-tree-user?parentId=" + |
| | | this.userInfo.dept_id; |
| | | } |
| | | // if (this.userInfo.role_name.indexOf("ksxtadmin") != -1) { |
| | | // this.questionBankOption.column[0].dicUrl = |
| | | // "/api/blade-system/dept/lazy-tree-user?parentId="; |
| | | // } else { |
| | | // this.questionBankOption.column[0].dicUrl = |
| | | // "/api/blade-system/dept/lazy-tree-user?parentId=" + |
| | | // this.userInfo.dept_id; |
| | | // } |
| | | |
| | | this.optionBatchApply.column[0].dicUrl = |
| | | "/api/blade-user/security-apply-tree?deptId=" + |