|
|
@@ -435,7 +435,7 @@
|
|
|
ref="configSelect"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="item in roleOptions"
|
|
|
+ v-for="item in role_options"
|
|
|
:key="item.id"
|
|
|
:label="item.roleName"
|
|
|
:value="item.id"
|
|
|
@@ -776,10 +776,11 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
selectRoles() {
|
|
|
- selectrolesByOrgId({ orgId: this.form.orgId }).then((res) => {
|
|
|
- console.log(res, "selectrolesByOrgId");
|
|
|
- this.roleOptions = res.data;
|
|
|
- });
|
|
|
+ // 由于保卫科等科室人员 所在机构的类型没法设置,所有在人员设置角色时 先解除 机构类型和角色的限制关系
|
|
|
+ // selectrolesByOrgId({ orgId: this.form.orgId }).then((res) => {
|
|
|
+ // console.log(res, "selectrolesByOrgId");
|
|
|
+ // this.roleOptions = res.data;
|
|
|
+ // });
|
|
|
},
|
|
|
/** 查询机构树数据 */
|
|
|
getDeptTree() {
|