mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 17:55:39 +08:00
组织选择修改
This commit is contained in:
@@ -188,9 +188,12 @@ export default {
|
||||
// let roleList = store.state.userInfo.roleList;
|
||||
const res = await api.userGetUserOrg();
|
||||
if (res) {
|
||||
state.option = res.data?.result;
|
||||
state.orgId = [state.option[0]?.organizationId];
|
||||
state.resetOrgId = [state.option[0]?.organizationId];
|
||||
// state.option = res.data?.result;
|
||||
// state.orgId = [state.option[0]?.organizationId];
|
||||
// state.resetOrgId = [state.option[0]?.organizationId];
|
||||
state.option = res.data?.result.orgTreeList;
|
||||
state.orgId = res.data?.result.treeNodeList;
|
||||
state.resetOrgId = res.data?.result.treeNodeList;
|
||||
state.allowClear = true;
|
||||
getTableData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user