| | |
| | | label: '执法管理', |
| | | checked: true, |
| | | url: '', |
| | | if: '3f', |
| | | id: '3f', |
| | | }, |
| | | ], |
| | | flag: { |
| | |
| | | if (data.id === '2f') { |
| | | this.$router.push({path: "/home/video"}) |
| | | } |
| | | |
| | | if (data.id === '3f') { |
| | | this.$router.push({path: "/home/operate/casepool/pool"}) |
| | | } |
| | | } |
| | | } |
| | | }; |
| | |
| | | .type-nav { |
| | | display: flex; |
| | | line-height: 40px; |
| | | margin-left: 30px; |
| | | margin-top: 2px; |
| | | // margin-left: 30px; |
| | | // margin-top: 2px; |
| | | |
| | | .type-item { |
| | | width: 80px; |
| | |
| | | }, |
| | | created() { |
| | | this.user = JSON.parse(JSON.stringify(this.userInfo)); |
| | | this.tempName = this.user.departName; |
| | | this.selectOrg.orgsid.push(this.user.departmentId); |
| | | this.tempName = this.user.depart[0].departName; |
| | | this.selectOrg.orgsid.push(this.user.depart[0].id); |
| | | // 获取所有角色列表 |
| | | this.getRoleList(); |
| | | // 获取当前用户角色列表 |
| | |
| | | // 修改用户信息 |
| | | handleUser() { |
| | | const { flag, user, tempName, selectOrg, tempRole, isArraySame } = this; |
| | | let umsDepartManage={userId:user.id,departId:selectOrg.orgsid[0]} |
| | | let umsDepartManage = { userId: user.id, departId: selectOrg.orgsid[0] } |
| | | this.$refs.user.validate((valid) => { |
| | | if (valid) { |
| | | user.isDy = `${user.isDy}`; |
| | |
| | | if (user.departName) { |
| | | this.$axios({ |
| | | method: 'put', |
| | | url: `/sccg/depart/user_update_depart?userId=`+user.id+'&departId='+selectOrg.orgsid[0] |
| | | url: `/sccg/depart/user_update_depart?userId=` + user.id + '&departId=' + selectOrg.orgsid[0] |
| | | }) |
| | | .then(res => { |
| | | this.$message({ |
| | |
| | | }, |
| | | // 部门修改 |
| | | handleCheck(data, checked) { |
| | | console.log(this.selectOrg.orgsid[0]) |
| | | this.user.departName = data.departName; |
| | | // 获取当前选择的id在数组中的索引 |
| | | const indexs = this.selectOrg.orgsid.indexOf(data.id); |