| | |
| | | onMounted(async () => { |
| | | // getOption(); |
| | | |
| | | const treeData = globSetting.useOrg == 'true' ? await getTreeList() : await getProdTreeList(); |
| | | const treeData = await getProdTreeList(); //globSetting.useOrg == 'Y' ? await getTreeList() : await getProdTreeList(); |
| | | updateSchema([ |
| | | { |
| | | field: 'dept', |
| | |
| | | const accountInfo: AccountInfo = { |
| | | useR_CODE: data.account, |
| | | password: data.password, |
| | | ORG_CODE: globSetting.useOrg == 'true' ? orgData.dept : '', |
| | | ORG_CODE: '', //globSetting.useOrg == 'Y' ? orgData.dept : '', |
| | | ad_info: Info.ad_info, |
| | | ip: Info.ip, |
| | | PROD_CODE: globSetting.useOrg == 'false' ? orgData.dept : '', |
| | | PROD_CODE: orgData.dept, //globSetting.useOrg == 'N' ? orgData.dept : '', |
| | | }; |
| | | |
| | | const userInfo = await userStore.login({ |