|
|
@@ -554,6 +554,25 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item label="身份:" prop="newRoleId" v-if="formTwo.userRoleType!=6&&formTwo.userRoleType!=7&&formTwo.userRoleType!=8"> --> |
|
|
|
<el-form-item label="身份:" prop="newRoleId"> |
|
|
|
<el-select |
|
|
|
v-model="formTwo.userRoleType" |
|
|
|
filterable |
|
|
|
:disabled='formTwo.userRoleType==6||formTwo.userRoleType==7||formTwo.userRoleType==8' |
|
|
|
value-key="key" |
|
|
|
style="width: 370px" |
|
|
|
placeholder="请选择身份" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in userRoleTypeList" |
|
|
|
:key="item.dictValue" |
|
|
|
:label="item.dictName" |
|
|
|
:value="item.dictValue" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="部门:" prop="deptId" v-if="orgFlag"> |
|
|
|
<el-select |
|
|
|
v-model="formTwo.deptId" |
|
|
@@ -1045,8 +1064,10 @@ export default { |
|
|
|
deptId:'',//部门 |
|
|
|
roleId:'',//角色 |
|
|
|
newRoleId:"", |
|
|
|
showPhoneStatus:0//手机号显隐 |
|
|
|
showPhoneStatus:0,//手机号显隐 |
|
|
|
userRoleType:'', |
|
|
|
}, |
|
|
|
userRoleTypeList:[], |
|
|
|
phoneFlag: false, |
|
|
|
rolesOptions: [], |
|
|
|
checkHouse: [], |
|
|
@@ -1423,11 +1444,13 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
search() { |
|
|
|
this.page.current1 |
|
|
|
console.log(this.searchMsg, "搜索内容1"); |
|
|
|
// return |
|
|
|
this.roleList(); |
|
|
|
}, |
|
|
|
search1() { |
|
|
|
this.page.current=1 |
|
|
|
console.log(this.searchMsg1, "搜索内容2"); |
|
|
|
// return |
|
|
|
this.roleList(); |
|
|
@@ -1510,6 +1533,7 @@ export default { |
|
|
|
.then((res) => { |
|
|
|
console.log(res); |
|
|
|
this.houseVisible = false; |
|
|
|
this.roleList(); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
// 省市json串 |
|
|
@@ -1565,10 +1589,9 @@ export default { |
|
|
|
.then((res) => { |
|
|
|
console.log(res); |
|
|
|
this.houseVisible = false; |
|
|
|
this.roleList(); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
this.roleList(); |
|
|
|
}, |
|
|
|
// 楼盘绑定解绑 |
|
|
|
// bindhouse(e){ |
|
|
@@ -2125,9 +2148,18 @@ export default { |
|
|
|
this.formTwo.houseId=row.houseId |
|
|
|
this.formTwo.newRoleId=row.roleId |
|
|
|
this.formTwo.deptId=row.deptId |
|
|
|
this.formTwo.userRoleType=row.userRoleType+'' |
|
|
|
console.log(this.formTwo); |
|
|
|
// 获取角色列表 |
|
|
|
this.typeChange1(row) |
|
|
|
this.userDict( |
|
|
|
{ |
|
|
|
dictKey:row.orgType, |
|
|
|
dictType: 3, |
|
|
|
}, |
|
|
|
"userRoleTypeList" |
|
|
|
); |
|
|
|
|
|
|
|
// 获取部门列表 |
|
|
|
this.dialogFormVisibleTwo=true |
|
|
|
}, |
|
|
|