合并系统后退出登录,修改密码等功能问题修改
Showing
18 changed files
with
77 additions
and
90 deletions
| 1 | # 页面标题 | 1 | # 页面标题 |
| 2 | VITE_APP_TITLE = 可信数据服务平台 | 2 | VITE_APP_TITLE = 可信空间接入连接器 |
| 3 | # 接口域名 | 3 | # 接口域名 |
| 4 | # VITE_API_BASEURL = https://www.zgsjzc.com/api | 4 | # VITE_API_BASEURL = https://www.zgsjzc.com/api |
| 5 | # VITE_API_BASEURL = https://swzl-test.csbr.cn/api | 5 | # VITE_API_BASEURL = https://swzl-test.csbr.cn/api |
| 6 | # VITE_API_BASEURL = http://localhost:9000 | 6 | # VITE_API_BASEURL = http://localhost:9000 |
| 7 | VITE_API_BASEURL = http://10.4.82.30:58053/ | 7 | VITE_API_BASEURL = http://10.4.82.18:8053/ |
| 8 | |||
| 9 | VITE_IDASS_BASEURL = https://idaas-test.csbr.cn/login | ||
| 10 | 8 | ||
| 11 | # idaas测试环境 | 9 | # idaas测试环境 |
| 12 | VITE_API_IDAAS_URL = http://114.115.131.96:18080 | 10 | VITE_API_IDAAS_URL = http://114.115.131.96:18080 | ... | ... |
| 1 | # 页面标题 | 1 | # 页面标题 |
| 2 | VITE_APP_TITLE = 可信数据服务平台 | 2 | VITE_APP_TITLE = 可信空间接入连接器 |
| 3 | # 接口域名 | 3 | # 接口域名 |
| 4 | VITE_API_BASEURL = http://192.168.6.20:58052/ | 4 | VITE_API_BASEURL = http://192.168.6.20:58052/ |
| 5 | # VITE_API_BASEURL = http://49.4.26.201:31709/ | 5 | # VITE_API_BASEURL = http://49.4.26.201:31709/ |
| 6 | 6 | ||
| 7 | VITE_IDASS_BASEURL = https://develop.zgsjzc.com/login | 7 | # 可信空间连接器通用的平台用户接口地址 |
| 8 | VITE_API_COMMON_URL = ms-connector-trust-data-space-service | ||
| 9 | |||
| 8 | 10 | ||
| 9 | # # 平台用户 接口请地址 | 11 | # # 平台用户 接口请地址 |
| 10 | # VITE_APP_USER_API_BASEURL = gateway-server | 12 | # VITE_APP_USER_API_BASEURL = gateway-server | ... | ... |
| ... | @@ -23,23 +23,18 @@ declare module '@vue/runtime-core' { | ... | @@ -23,23 +23,18 @@ declare module '@vue/runtime-core' { |
| 23 | Dialog_pane: typeof import('./src/components/Dialog/dialog_pane.vue')['default'] | 23 | Dialog_pane: typeof import('./src/components/Dialog/dialog_pane.vue')['default'] |
| 24 | DialogPlus: typeof import('./src/components/DialogPlus/src/DialogPlus.vue')['default'] | 24 | DialogPlus: typeof import('./src/components/DialogPlus/src/DialogPlus.vue')['default'] |
| 25 | Drawer: typeof import('./src/components/Drawer/index.vue')['default'] | 25 | Drawer: typeof import('./src/components/Drawer/index.vue')['default'] |
| 26 | EchartsMap: typeof import('./src/components/EchartsMap/index.vue')['default'] | ||
| 27 | Editor: typeof import('./src/components/Editor/src/Editor.vue')['default'] | 26 | Editor: typeof import('./src/components/Editor/src/Editor.vue')['default'] |
| 28 | EllipsisTooltip: typeof import('./src/components/EllipsisTooltip.vue')['default'] | 27 | EllipsisTooltip: typeof import('./src/components/EllipsisTooltip.vue')['default'] |
| 29 | FileUpload: typeof import('./src/components/FileUpload/index.vue')['default'] | 28 | FileUpload: typeof import('./src/components/FileUpload/index.vue')['default'] |
| 30 | FixedActionBar: typeof import('./src/components/FixedActionBar/index.vue')['default'] | ||
| 31 | Form: typeof import('./src/components/Form/index.vue')['default'] | 29 | Form: typeof import('./src/components/Form/index.vue')['default'] |
| 32 | FormItem: typeof import('./src/components/FormItem/FormItem.vue')['default'] | 30 | FormItem: typeof import('./src/components/FormItem/FormItem.vue')['default'] |
| 33 | FormPlus: typeof import('./src/components/FormPlus/src/FormPlus.vue')['default'] | 31 | FormPlus: typeof import('./src/components/FormPlus/src/FormPlus.vue')['default'] |
| 34 | GraphTopbar: typeof import('./src/components/RelationNetwork/graphTopbar.vue')['default'] | ||
| 35 | Header: typeof import('./src/components/Header/index.vue')['default'] | ||
| 36 | Hour: typeof import('./src/components/Schedule/component/hour.vue')['default'] | 32 | Hour: typeof import('./src/components/Schedule/component/hour.vue')['default'] |
| 37 | ImagePreview: typeof import('./src/components/ImagePreview/index.vue')['default'] | 33 | ImagePreview: typeof import('./src/components/ImagePreview/index.vue')['default'] |
| 38 | ImagesUpload: typeof import('./src/components/ImagesUpload/index.vue')['default'] | 34 | ImagesUpload: typeof import('./src/components/ImagesUpload/index.vue')['default'] |
| 39 | ImageUpload: typeof import('./src/components/ImageUpload/index.vue')['default'] | 35 | ImageUpload: typeof import('./src/components/ImageUpload/index.vue')['default'] |
| 40 | LineageGraph: typeof import('./src/components/LineageGraph/index.vue')['default'] | 36 | LineageGraph: typeof import('./src/components/LineageGraph/index.vue')['default'] |
| 41 | ListPanel: typeof import('./src/components/ListPanel/index.vue')['default'] | 37 | ListPanel: typeof import('./src/components/ListPanel/index.vue')['default'] |
| 42 | Logo: typeof import('./src/components/Logo/index.vue')['default'] | ||
| 43 | LookBpmn: typeof import('./src/components/ApprovalProcess/src/components/LookBpmn.vue')['default'] | 38 | LookBpmn: typeof import('./src/components/ApprovalProcess/src/components/LookBpmn.vue')['default'] |
| 44 | Month: typeof import('./src/components/Schedule/component/month.vue')['default'] | 39 | Month: typeof import('./src/components/Schedule/component/month.vue')['default'] |
| 45 | NotAllowed: typeof import('./src/components/NotAllowed/index.vue')['default'] | 40 | NotAllowed: typeof import('./src/components/NotAllowed/index.vue')['default'] |
| ... | @@ -50,25 +45,19 @@ declare module '@vue/runtime-core' { | ... | @@ -50,25 +45,19 @@ declare module '@vue/runtime-core' { |
| 50 | PasswordStrengthMeter: typeof import('./src/components/PasswordStrengthMeter/index.vue')['default'] | 45 | PasswordStrengthMeter: typeof import('./src/components/PasswordStrengthMeter/index.vue')['default'] |
| 51 | PcasCascader: typeof import('./src/components/PcasCascader/index.vue')['default'] | 46 | PcasCascader: typeof import('./src/components/PcasCascader/index.vue')['default'] |
| 52 | Popover: typeof import('./src/components/Popover/index.vue')['default'] | 47 | Popover: typeof import('./src/components/Popover/index.vue')['default'] |
| 53 | RelationNetwork: typeof import('./src/components/RelationNetwork/index.vue')['default'] | ||
| 54 | Retrievepassword: typeof import('./src/components/Retrievepassword/index.vue')['default'] | 48 | Retrievepassword: typeof import('./src/components/Retrievepassword/index.vue')['default'] |
| 55 | RouterLink: typeof import('vue-router')['RouterLink'] | 49 | RouterLink: typeof import('vue-router')['RouterLink'] |
| 56 | RouterView: typeof import('vue-router')['RouterView'] | 50 | RouterView: typeof import('vue-router')['RouterView'] |
| 57 | Schedule: typeof import('./src/components/Schedule/index.vue')['default'] | 51 | Schedule: typeof import('./src/components/Schedule/index.vue')['default'] |
| 58 | SearchBar: typeof import('./src/components/SearchBar/index.vue')['default'] | 52 | SearchBar: typeof import('./src/components/SearchBar/index.vue')['default'] |
| 59 | SecondAndMinute: typeof import('./src/components/Schedule/component/secondAndMinute.vue')['default'] | 53 | SecondAndMinute: typeof import('./src/components/Schedule/component/secondAndMinute.vue')['default'] |
| 60 | SelectPersonnel: typeof import('./src/components/SelectPersonnel/src/SelectPersonnel.vue')['default'] | ||
| 61 | SplitPane: typeof import('./src/components/SplitPane/index.vue')['default'] | 54 | SplitPane: typeof import('./src/components/SplitPane/index.vue')['default'] |
| 62 | StepBar: typeof import('./src/components/StepBar/index.vue')['default'] | 55 | StepBar: typeof import('./src/components/StepBar/index.vue')['default'] |
| 63 | SvgIcon: typeof import('./src/components/SvgIcon/index.vue')['default'] | 56 | SvgIcon: typeof import('./src/components/SvgIcon/index.vue')['default'] |
| 64 | SystemInfo: typeof import('./src/components/SystemInfo/index.vue')['default'] | ||
| 65 | Table: typeof import('./src/components/Table/index.vue')['default'] | 57 | Table: typeof import('./src/components/Table/index.vue')['default'] |
| 66 | Table_s2: typeof import('./src/components/Antv/table_s2.vue')['default'] | ||
| 67 | Table_s2_vue: typeof import('./src/components/Antv/table_s2_vue.vue')['default'] | ||
| 68 | Table_search: typeof import('./src/components/Tools/table_search.vue')['default'] | 58 | Table_search: typeof import('./src/components/Tools/table_search.vue')['default'] |
| 69 | Table_tools: typeof import('./src/components/Tools/table_tools.vue')['default'] | 59 | Table_tools: typeof import('./src/components/Tools/table_tools.vue')['default'] |
| 70 | Table_v2: typeof import('./src/components/Table/table_v2.vue')['default'] | 60 | Table_v2: typeof import('./src/components/Table/table_v2.vue')['default'] |
| 71 | TableActions: typeof import('./src/components/TablePlus/src/components/TableActions.vue')['default'] | ||
| 72 | Tabs: typeof import('./src/components/Tabs/index.vue')['default'] | 61 | Tabs: typeof import('./src/components/Tabs/index.vue')['default'] |
| 73 | Toolbar: typeof import('./src/components/LineageGraph/toolbar.vue')['default'] | 62 | Toolbar: typeof import('./src/components/LineageGraph/toolbar.vue')['default'] |
| 74 | Topbar: typeof import('./src/components/LineageGraph/topbar.vue')['default'] | 63 | Topbar: typeof import('./src/components/LineageGraph/topbar.vue')['default'] |
| ... | @@ -77,7 +66,6 @@ declare module '@vue/runtime-core' { | ... | @@ -77,7 +66,6 @@ declare module '@vue/runtime-core' { |
| 77 | Tree_v2: typeof import('./src/components/Tree/tree_v2.vue')['default'] | 66 | Tree_v2: typeof import('./src/components/Tree/tree_v2.vue')['default'] |
| 78 | TreeTransfer: typeof import('./src/components/TreeTransfer/index.vue')['default'] | 67 | TreeTransfer: typeof import('./src/components/TreeTransfer/index.vue')['default'] |
| 79 | TreeTransferChecked: typeof import('./src/components/TreeTransferChecked/index.vue')['default'] | 68 | TreeTransferChecked: typeof import('./src/components/TreeTransferChecked/index.vue')['default'] |
| 80 | Trend: typeof import('./src/components/Trend/index.vue')['default'] | ||
| 81 | Upload: typeof import('./src/components/Upload/index.vue')['default'] | 69 | Upload: typeof import('./src/components/Upload/index.vue')['default'] |
| 82 | UploadExcelFile: typeof import('./src/components/FileUpload/uploadExcelFile.vue')['default'] | 70 | UploadExcelFile: typeof import('./src/components/FileUpload/uploadExcelFile.vue')['default'] |
| 83 | Week: typeof import('./src/components/Schedule/component/week.vue')['default'] | 71 | Week: typeof import('./src/components/Schedule/component/week.vue')['default'] | ... | ... |
| ... | @@ -3,52 +3,52 @@ import { ElMessage } from "element-plus"; | ... | @@ -3,52 +3,52 @@ import { ElMessage } from "element-plus"; |
| 3 | 3 | ||
| 4 | /** 获取租户列表(分页) */ | 4 | /** 获取租户列表(分页) */ |
| 5 | export const getTenantSinglePage = (params) => request({ | 5 | export const getTenantSinglePage = (params) => request({ |
| 6 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/single-page`, | 6 | url: `${import.meta.env.VITE_API_COMMON_URL}/tenant/single-page`, |
| 7 | method: 'post', | 7 | method: 'post', |
| 8 | data: params | 8 | data: params |
| 9 | }) | 9 | }) |
| 10 | 10 | ||
| 11 | /** 删除租户 */ | 11 | /** 删除租户 */ |
| 12 | export const removeTenant = (data) => request({ | 12 | export const removeTenant = (data) => request({ |
| 13 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/remove`, | 13 | url: `${import.meta.env.VITE_API_COMMON_URL}/tenant/remove`, |
| 14 | method: 'delete', | 14 | method: 'delete', |
| 15 | data | 15 | data |
| 16 | }) | 16 | }) |
| 17 | 17 | ||
| 18 | export const addTenant = (params) => request({ | 18 | export const addTenant = (params) => request({ |
| 19 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/update`, | 19 | url: `${import.meta.env.VITE_API_COMMON_URL}/tenant/update`, |
| 20 | method: 'post', | 20 | method: 'post', |
| 21 | data: params | 21 | data: params |
| 22 | }) | 22 | }) |
| 23 | 23 | ||
| 24 | export const updateTenant = (params) => request({ | 24 | export const updateTenant = (params) => request({ |
| 25 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/update`, | 25 | url: `${import.meta.env.VITE_API_COMMON_URL}/tenant/update`, |
| 26 | method: 'put', | 26 | method: 'put', |
| 27 | data: params | 27 | data: params |
| 28 | }) | 28 | }) |
| 29 | 29 | ||
| 30 | /** 更新租户状态 */ | 30 | /** 更新租户状态 */ |
| 31 | export const updateTenantState = (guid, state: string = 'Y') => request({ | 31 | export const updateTenantState = (guid, state: string = 'Y') => request({ |
| 32 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/update-state?tenantGuid=${guid}&state=${state}`, | 32 | url: `${import.meta.env.VITE_API_COMMON_URL}/tenant/update-state?tenantGuid=${guid}&state=${state}`, |
| 33 | method: 'get' | 33 | method: 'get' |
| 34 | }) | 34 | }) |
| 35 | 35 | ||
| 36 | /** 获取会员进度列表 */ | 36 | /** 获取会员进度列表 */ |
| 37 | export const getMemberGressList = (params) => request({ | 37 | export const getMemberGressList = (params) => request({ |
| 38 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/pending-task/page-list`, | 38 | url: `${import.meta.env.VITE_API_COMMON_URL}/pending-task/page-list`, |
| 39 | method: 'post', | 39 | method: 'post', |
| 40 | data: params | 40 | data: params |
| 41 | }) | 41 | }) |
| 42 | 42 | ||
| 43 | /** 获取任务执行日志 */ | 43 | /** 获取任务执行日志 */ |
| 44 | export const getTaskExecutionLog = (guid) => request({ | 44 | export const getTaskExecutionLog = (guid) => request({ |
| 45 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/pending-task/task-info?guid=${guid}`, | 45 | url: `${import.meta.env.VITE_API_COMMON_URL}/pending-task/task-info?guid=${guid}`, |
| 46 | method: 'get' | 46 | method: 'get' |
| 47 | }) | 47 | }) |
| 48 | 48 | ||
| 49 | /** 任务重启 */ | 49 | /** 任务重启 */ |
| 50 | export const getTaskRestart = (guid) => request({ | 50 | export const getTaskRestart = (guid) => request({ |
| 51 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/pending-task/restart?guid=${guid}`, | 51 | url: `${import.meta.env.VITE_API_COMMON_URL}/pending-task/restart?guid=${guid}`, |
| 52 | method: 'get' | 52 | method: 'get' |
| 53 | }) | 53 | }) |
| 54 | 54 | ||
| ... | @@ -58,13 +58,13 @@ export const getTaskRestart = (guid) => request({ | ... | @@ -58,13 +58,13 @@ export const getTaskRestart = (guid) => request({ |
| 58 | * @returns | 58 | * @returns |
| 59 | */ | 59 | */ |
| 60 | export const getOrganisationTreeList = (params) => request({ | 60 | export const getOrganisationTreeList = (params) => request({ |
| 61 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/get-tree-list`, | 61 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/get-tree-list`, |
| 62 | method: 'post', | 62 | method: 'post', |
| 63 | data: params | 63 | data: params |
| 64 | }) | 64 | }) |
| 65 | 65 | ||
| 66 | export const removeOrganisation = (guids) => request({ | 66 | export const removeOrganisation = (guids) => request({ |
| 67 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/removeListByGuids`, | 67 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/removeListByGuids`, |
| 68 | method: 'delete', | 68 | method: 'delete', |
| 69 | data: guids | 69 | data: guids |
| 70 | }) | 70 | }) |
| ... | @@ -76,7 +76,7 @@ export const removeOrganisation = (guids) => request({ | ... | @@ -76,7 +76,7 @@ export const removeOrganisation = (guids) => request({ |
| 76 | * @returns | 76 | * @returns |
| 77 | */ | 77 | */ |
| 78 | export const getOrganisationListApi = (params) => request({ | 78 | export const getOrganisationListApi = (params) => request({ |
| 79 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/singlePage`, | 79 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/singlePage`, |
| 80 | method: 'post', | 80 | method: 'post', |
| 81 | data: params | 81 | data: params |
| 82 | }) | 82 | }) |
| ... | @@ -87,7 +87,7 @@ export const getOrganisationListApi = (params) => request({ | ... | @@ -87,7 +87,7 @@ export const getOrganisationListApi = (params) => request({ |
| 87 | * @returns | 87 | * @returns |
| 88 | */ | 88 | */ |
| 89 | export const updateOrganisation= (params) => request({ | 89 | export const updateOrganisation= (params) => request({ |
| 90 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/update`, | 90 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/update`, |
| 91 | method: 'put', | 91 | method: 'put', |
| 92 | data: params | 92 | data: params |
| 93 | }); | 93 | }); |
| ... | @@ -98,7 +98,7 @@ export const updateOrganisation= (params) => request({ | ... | @@ -98,7 +98,7 @@ export const updateOrganisation= (params) => request({ |
| 98 | * @returns | 98 | * @returns |
| 99 | */ | 99 | */ |
| 100 | export const addOrganisation = (params) => request({ | 100 | export const addOrganisation = (params) => request({ |
| 101 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/save`, | 101 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/save`, |
| 102 | method: 'post', | 102 | method: 'post', |
| 103 | data: params | 103 | data: params |
| 104 | }); | 104 | }); |
| ... | @@ -109,7 +109,7 @@ export const addOrganisation = (params) => request({ | ... | @@ -109,7 +109,7 @@ export const addOrganisation = (params) => request({ |
| 109 | * @returns | 109 | * @returns |
| 110 | */ | 110 | */ |
| 111 | export const getStaff = (params) => request({ | 111 | export const getStaff = (params) => request({ |
| 112 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/staff/singlePage`, | 112 | url: `${import.meta.env.VITE_API_COMMON_URL}/staff/singlePage`, |
| 113 | method: 'post', | 113 | method: 'post', |
| 114 | data: params | 114 | data: params |
| 115 | }); | 115 | }); |
| ... | @@ -120,7 +120,7 @@ export const getStaff = (params) => request({ | ... | @@ -120,7 +120,7 @@ export const getStaff = (params) => request({ |
| 120 | * @returns | 120 | * @returns |
| 121 | */ | 121 | */ |
| 122 | export const removeStaff = (guids:string[]) => request({ | 122 | export const removeStaff = (guids:string[]) => request({ |
| 123 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/staff/removeListByGuids`, | 123 | url: `${import.meta.env.VITE_API_COMMON_URL}/staff/removeListByGuids`, |
| 124 | method: 'delete', | 124 | method: 'delete', |
| 125 | data: guids | 125 | data: guids |
| 126 | }) | 126 | }) |
| ... | @@ -154,13 +154,13 @@ export const getOrganisationRelTreeListPromise = (tenantGuid:string):Promise<any | ... | @@ -154,13 +154,13 @@ export const getOrganisationRelTreeListPromise = (tenantGuid:string):Promise<any |
| 154 | * @returns | 154 | * @returns |
| 155 | */ | 155 | */ |
| 156 | export const getOrganisationRelTreeList = (param:{tenantGuid:string}) => request({ | 156 | export const getOrganisationRelTreeList = (param:{tenantGuid:string}) => request({ |
| 157 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/tree-list`, | 157 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/tree-list`, |
| 158 | method: 'post', | 158 | method: 'post', |
| 159 | data: param | 159 | data: param |
| 160 | }); | 160 | }); |
| 161 | 161 | ||
| 162 | export const resetPwd2 = (userGuid) => request({ | 162 | export const resetPwd2 = (userGuid) => request({ |
| 163 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/user/data/resetPwd?userGuid=${userGuid}`, | 163 | url: `${import.meta.env.VITE_API_COMMON_URL}/user/data/resetPwd?userGuid=${userGuid}`, |
| 164 | method: 'put' | 164 | method: 'put' |
| 165 | }); | 165 | }); |
| 166 | 166 | ||
| ... | @@ -193,7 +193,7 @@ export const getTemplateListPromise = (customParam?: {}): Promise<any> => { | ... | @@ -193,7 +193,7 @@ export const getTemplateListPromise = (customParam?: {}): Promise<any> => { |
| 193 | * @returns | 193 | * @returns |
| 194 | */ | 194 | */ |
| 195 | export const getStaffDetail = (guid: string) => request({ | 195 | export const getStaffDetail = (guid: string) => request({ |
| 196 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/staff/getByGuid/${guid}`, | 196 | url: `${import.meta.env.VITE_API_COMMON_URL}/staff/getByGuid/${guid}`, |
| 197 | method: 'get' | 197 | method: 'get' |
| 198 | }); | 198 | }); |
| 199 | 199 | ||
| ... | @@ -203,7 +203,7 @@ export const getStaffDetail = (guid: string) => request({ | ... | @@ -203,7 +203,7 @@ export const getStaffDetail = (guid: string) => request({ |
| 203 | * @returns | 203 | * @returns |
| 204 | */ | 204 | */ |
| 205 | export const getOrganisationTree = (tenantGuid:string) => request({ | 205 | export const getOrganisationTree = (tenantGuid:string) => request({ |
| 206 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/organisation/get-tenant-organisation-staff-tree?tenantGuid=${tenantGuid}`, | 206 | url: `${import.meta.env.VITE_API_COMMON_URL}/organisation/get-tenant-organisation-staff-tree?tenantGuid=${tenantGuid}`, |
| 207 | method: 'get' | 207 | method: 'get' |
| 208 | }); | 208 | }); |
| 209 | 209 | ||
| ... | @@ -213,7 +213,7 @@ export const getOrganisationTree = (tenantGuid:string) => request({ | ... | @@ -213,7 +213,7 @@ export const getOrganisationTree = (tenantGuid:string) => request({ |
| 213 | * @returns | 213 | * @returns |
| 214 | */ | 214 | */ |
| 215 | export const addorUpdateStaff = (param) => request({ | 215 | export const addorUpdateStaff = (param) => request({ |
| 216 | url: `${import.meta.env.VITE_APP_PERSONAL_URL}/staff/save-or-update`, | 216 | url: `${import.meta.env.VITE_API_COMMON_URL}/staff/save-or-update`, |
| 217 | method: 'put', | 217 | method: 'put', |
| 218 | data: param | 218 | data: param |
| 219 | }); | 219 | }); |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -70,24 +70,10 @@ const drawerModalClass = computed(() => { | ... | @@ -70,24 +70,10 @@ const drawerModalClass = computed(() => { |
| 70 | const drawerSize = computed(() => { | 70 | const drawerSize = computed(() => { |
| 71 | return props.drawerInfo.size ?? "30%"; | 71 | return props.drawerInfo.size ?? "30%"; |
| 72 | }); | 72 | }); |
| 73 | const drawerType = computed(() => { | 73 | |
| 74 | return props.drawerInfo.type ?? "form"; | ||
| 75 | }); | ||
| 76 | const drawerTitle = computed(() => { | 74 | const drawerTitle = computed(() => { |
| 77 | return props.drawerInfo.header.title; | 75 | return props.drawerInfo.header.title; |
| 78 | }); | 76 | }); |
| 79 | const selectOptions = computed(() => { | ||
| 80 | return props.drawerInfo.container.relateOptions ?? []; | ||
| 81 | }); | ||
| 82 | const formItems = computed(() => { | ||
| 83 | return props.drawerInfo.container.formItems ?? []; | ||
| 84 | }); | ||
| 85 | const formRules = computed(() => { | ||
| 86 | return props.drawerInfo.container.rules ?? {}; | ||
| 87 | }); | ||
| 88 | const selectData = computed(() => { | ||
| 89 | return props.drawerInfo.container.selectData ?? []; | ||
| 90 | }); | ||
| 91 | const contents = computed(() => { | 77 | const contents = computed(() => { |
| 92 | return props.drawerInfo.container.contents ?? []; | 78 | return props.drawerInfo.container.contents ?? []; |
| 93 | }); | 79 | }); | ... | ... |
| ... | @@ -81,6 +81,10 @@ import { | ... | @@ -81,6 +81,10 @@ import { |
| 81 | import useLogin from '@/store/modules/login' | 81 | import useLogin from '@/store/modules/login' |
| 82 | import PasswordStrengthMeter from '../PasswordStrengthMeter/index.vue' | 82 | import PasswordStrengthMeter from '../PasswordStrengthMeter/index.vue' |
| 83 | import { autoSalt } from '@/utils/common'; | 83 | import { autoSalt } from '@/utils/common'; |
| 84 | import useUserStore from "@/store/modules/user"; | ||
| 85 | |||
| 86 | const userStore = useUserStore(); | ||
| 87 | const userData = JSON.parse(userStore.userData) | ||
| 84 | 88 | ||
| 85 | // const AsyncPasswordStrengthMeter = defineAsyncComponent(() => | 89 | // const AsyncPasswordStrengthMeter = defineAsyncComponent(() => |
| 86 | // import('../PasswordStrengthMeter/index.vue') | 90 | // import('../PasswordStrengthMeter/index.vue') |
| ... | @@ -90,8 +94,8 @@ const loginStore = useLogin() | ... | @@ -90,8 +94,8 @@ const loginStore = useLogin() |
| 90 | const idaasStore = useIdaasStore() | 94 | const idaasStore = useIdaasStore() |
| 91 | const { required, phone } = useValidator(); | 95 | const { required, phone } = useValidator(); |
| 92 | const { proxy } = getCurrentInstance() as any; | 96 | const { proxy } = getCurrentInstance() as any; |
| 93 | const mobileNo = computed(()=> idaasStore.idaasUserInfo.principal?.mobileNo || '') | 97 | const mobileNo = computed(()=> idaasStore.idaasUserInfo.principal?.mobileNo || userData.mobileNo || '') |
| 94 | const logonUser = computed(()=> idaasStore.idaasUserInfo.principal?.logonUser || '') | 98 | const logonUser = computed(()=> idaasStore.idaasUserInfo.principal?.logonUser || localStorage.getItem('logonUser') || '') |
| 95 | 99 | ||
| 96 | const props = defineProps({ | 100 | const props = defineProps({ |
| 97 | schemaInfo: { | 101 | schemaInfo: { | ... | ... |
| ... | @@ -74,12 +74,12 @@ const handleShowMessage = () => { | ... | @@ -74,12 +74,12 @@ const handleShowMessage = () => { |
| 74 | </template> | 74 | </template> |
| 75 | </div> | 75 | </div> |
| 76 | </div> | 76 | </div> |
| 77 | <div class="message-setting" @click=handleShowMessage> | 77 | <!-- <div class="message-setting" @click=handleShowMessage> |
| 78 | <span v-show="noFinishCnt > 0" class="msg-cnt">{{ noFinishCnt > 99 ? '99+' : noFinishCnt }}</span> | 78 | <span v-show="noFinishCnt > 0" class="msg-cnt">{{ noFinishCnt > 99 ? '99+' : noFinishCnt }}</span> |
| 79 | <el-icon class="message-notify"> | 79 | <el-icon class="message-notify"> |
| 80 | <svg-icon name="message" /> | 80 | <svg-icon name="message" /> |
| 81 | </el-icon> | 81 | </el-icon> |
| 82 | </div> | 82 | </div> --> |
| 83 | <Tools /> | 83 | <Tools /> |
| 84 | </div> | 84 | </div> |
| 85 | </header> | 85 | </header> | ... | ... |
| 1 | <script lang="ts" setup name="Tools"> | 1 | <script lang="ts" setup name="Tools"> |
| 2 | import { useFullscreen } from '@vueuse/core' | ||
| 3 | import eventBus from '@/utils/eventBus' | 2 | import eventBus from '@/utils/eventBus' |
| 4 | import useSettingsStore from '@/store/modules/settings' | 3 | import useSettingsStore from '@/store/modules/settings' |
| 5 | import useUserStore from '@/store/modules/user' | 4 | import useUserStore from '@/store/modules/user' |
| 6 | import { USERROLE } from '@/utils/enum' | 5 | import { USERROLE } from '@/utils/enum' |
| 7 | import { ElMessage } from 'element-plus' | 6 | import { ElMessage } from 'element-plus'; |
| 7 | import Retrievepassword from '@/components/Retrievepassword/index.vue' | ||
| 8 | |||
| 8 | const router = useRouter() | 9 | const router = useRouter() |
| 9 | const settingsStore = useSettingsStore() | 10 | const settingsStore = useSettingsStore() |
| 10 | const userStore = useUserStore() | 11 | const userStore = useUserStore() |
| 11 | const userData = JSON.parse(userStore.userData); | 12 | const userData = JSON.parse(userStore.userData); |
| 12 | const mainPage = useMainPage() | 13 | const mainPage = useMainPage() |
| 13 | const { isFullscreen, toggle } = useFullscreen() | 14 | |
| 15 | const { proxy } = getCurrentInstance() as any; | ||
| 16 | |||
| 17 | // ! 修改密码逻辑 | ||
| 18 | const retrievepassword = ref({ | ||
| 19 | visible: false, | ||
| 20 | }) | ||
| 14 | 21 | ||
| 15 | const dataRole = computed(() => { | 22 | const dataRole = computed(() => { |
| 16 | return localStorage.getItem('userRole'); | 23 | return localStorage.getItem('userRole'); |
| ... | @@ -32,15 +39,15 @@ function userCommand(command: 'home' | 'setting' | 'updatePwd' | 'hotkeys' | 'lo | ... | @@ -32,15 +39,15 @@ function userCommand(command: 'home' | 'setting' | 'updatePwd' | 'hotkeys' | 'lo |
| 32 | }) | 39 | }) |
| 33 | break | 40 | break |
| 34 | case 'updatePwd': | 41 | case 'updatePwd': |
| 35 | router.push({ | 42 | retrievepassword.value.visible = true; |
| 36 | name: 'personalEditPassword', | ||
| 37 | }) | ||
| 38 | break | 43 | break |
| 39 | case 'hotkeys': | 44 | case 'hotkeys': |
| 40 | eventBus.emit('global-hotkeys-intro-toggle') | 45 | eventBus.emit('global-hotkeys-intro-toggle') |
| 41 | break | 46 | break |
| 42 | case 'logout': | 47 | case 'logout': |
| 43 | userStore.logout() | 48 | proxy.$openMessageBox("确定要退出登录吗?", () => { |
| 49 | userStore.logout() | ||
| 50 | }) | ||
| 44 | break | 51 | break |
| 45 | case 'changeRole': | 52 | case 'changeRole': |
| 46 | selectRole.value = dataRole.value; | 53 | selectRole.value = dataRole.value; |
| ... | @@ -48,9 +55,8 @@ function userCommand(command: 'home' | 'setting' | 'updatePwd' | 'hotkeys' | 'lo | ... | @@ -48,9 +55,8 @@ function userCommand(command: 'home' | 'setting' | 'updatePwd' | 'hotkeys' | 'lo |
| 48 | break; | 55 | break; |
| 49 | } | 56 | } |
| 50 | } | 57 | } |
| 51 | function pro() { | 58 | |
| 52 | window.open('https://hooray.gitee.io/fantastic-admin-pro-example/', '_blank') | 59 | |
| 53 | } | ||
| 54 | const loaclStorageInfo: any = localStorage.getItem("userData") | 60 | const loaclStorageInfo: any = localStorage.getItem("userData") |
| 55 | onMounted(() => { | 61 | onMounted(() => { |
| 56 | console.log('mounted', JSON.parse(userStore.userData).abbreviation) | 62 | console.log('mounted', JSON.parse(userStore.userData).abbreviation) |
| ... | @@ -159,6 +165,17 @@ const verifyDialogBtnClick = (btn, info) => { | ... | @@ -159,6 +165,17 @@ const verifyDialogBtnClick = (btn, info) => { |
| 159 | </div> | 165 | </div> |
| 160 | </div> | 166 | </div> |
| 161 | <div class="horizontal-line"></div> | 167 | <div class="horizontal-line"></div> |
| 168 | <div class="user-setting-menu"> | ||
| 169 | <div class="menu-wrapper" @click="userCommand('updatePwd')"> | ||
| 170 | <span class="color-21">修改密码</span> | ||
| 171 | <span> | ||
| 172 | <el-icon> | ||
| 173 | <svg-icon name="ep:arrow-right" /> | ||
| 174 | </el-icon> | ||
| 175 | </span> | ||
| 176 | </div> | ||
| 177 | </div> | ||
| 178 | <div class="horizontal-line"></div> | ||
| 162 | <div class="login-out"> | 179 | <div class="login-out"> |
| 163 | <div class="login-out-btn" @click="userCommand('logout')"> | 180 | <div class="login-out-btn" @click="userCommand('logout')"> |
| 164 | {{ '退出登录' }} | 181 | {{ '退出登录' }} |
| ... | @@ -167,6 +184,7 @@ const verifyDialogBtnClick = (btn, info) => { | ... | @@ -167,6 +184,7 @@ const verifyDialogBtnClick = (btn, info) => { |
| 167 | </template> | 184 | </template> |
| 168 | </el-popover> | 185 | </el-popover> |
| 169 | 186 | ||
| 187 | <Retrievepassword :schemaInfo="retrievepassword"></Retrievepassword> | ||
| 170 | 188 | ||
| 171 | <teleport to="body" v-if="verifyDialogInfo.visible"> | 189 | <teleport to="body" v-if="verifyDialogInfo.visible"> |
| 172 | <Dialog :dialogInfo="verifyDialogInfo" @btnClick="verifyDialogBtnClick"> | 190 | <Dialog :dialogInfo="verifyDialogInfo" @btnClick="verifyDialogBtnClick"> | ... | ... |
| ... | @@ -308,8 +308,8 @@ const getMsgCnt = () => { | ... | @@ -308,8 +308,8 @@ const getMsgCnt = () => { |
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | onMounted(() => { | 310 | onMounted(() => { |
| 311 | getMsgCnt(); | 311 | // getMsgCnt(); |
| 312 | createServerConnect(); | 312 | // createServerConnect(); |
| 313 | }); | 313 | }); |
| 314 | 314 | ||
| 315 | </script> | 315 | </script> | ... | ... |
| ... | @@ -41,7 +41,7 @@ router.beforeEach(async (to, from, next) => { | ... | @@ -41,7 +41,7 @@ router.beforeEach(async (to, from, next) => { |
| 41 | // name: 'login', | 41 | // name: 'login', |
| 42 | // replace: true, | 42 | // replace: true, |
| 43 | // }) | 43 | // }) |
| 44 | window.location.href = import.meta.env.VITE_IDASS_BASEURL; | 44 | window.location.href = window.location.origin + '/'; |
| 45 | } | 45 | } |
| 46 | else if (to.name == 'scenes') { | 46 | else if (to.name == 'scenes') { |
| 47 | next({ | 47 | next({ |
| ... | @@ -130,7 +130,6 @@ router.beforeEach(async (to, from, next) => { | ... | @@ -130,7 +130,6 @@ router.beforeEach(async (to, from, next) => { |
| 130 | next() | 130 | next() |
| 131 | } | 131 | } |
| 132 | else if (!to.query.code && to.name !== 'login') { | 132 | else if (!to.query.code && to.name !== 'login') { |
| 133 | // window.location.href = import.meta.env.VITE_IDASS_BASEURL; | ||
| 134 | next({ | 133 | next({ |
| 135 | name: 'login', | 134 | name: 'login', |
| 136 | query: { | 135 | query: { | ... | ... |
| ... | @@ -40,7 +40,7 @@ const globalSettings: Settings.all = { | ... | @@ -40,7 +40,7 @@ const globalSettings: Settings.all = { |
| 40 | }, | 40 | }, |
| 41 | "home": { | 41 | "home": { |
| 42 | "enable": false, | 42 | "enable": false, |
| 43 | "title": "可信数据服务平台" | 43 | "title": "可信空间接入连接器" |
| 44 | }, | 44 | }, |
| 45 | "breadcrumb": { | 45 | "breadcrumb": { |
| 46 | "enable": true | 46 | "enable": true | ... | ... |
| ... | @@ -32,7 +32,8 @@ const useIdaas = defineStore( | ... | @@ -32,7 +32,8 @@ const useIdaas = defineStore( |
| 32 | return idaasLogin(data).then((res: any) => { | 32 | return idaasLogin(data).then((res: any) => { |
| 33 | if (res?.code == '00000') { | 33 | if (res?.code == '00000') { |
| 34 | // ElMessage.success('登录成功'); | 34 | // ElMessage.success('登录成功'); |
| 35 | idaasUserInfo.value = res.data.data | 35 | idaasUserInfo.value = res.data && JSON.parse(res.data) || {}; |
| 36 | localStorage.setItem('logonUser', idaasUserInfo.value?.principal?.logonUser || ''); | ||
| 36 | return res.data; | 37 | return res.data; |
| 37 | } else { | 38 | } else { |
| 38 | ElMessage.error(res.msg) | 39 | ElMessage.error(res.msg) |
| ... | @@ -48,7 +49,7 @@ const useIdaas = defineStore( | ... | @@ -48,7 +49,7 @@ const useIdaas = defineStore( |
| 48 | { | 49 | { |
| 49 | persist:{ | 50 | persist:{ |
| 50 | storage: localStorage, | 51 | storage: localStorage, |
| 51 | paths: ['idaasToken','idaasUserInfo'] | 52 | paths: ['idaasToken'] |
| 52 | } | 53 | } |
| 53 | } | 54 | } |
| 54 | ) | 55 | ) | ... | ... |
| ... | @@ -27,7 +27,7 @@ const useUserStore = defineStore( | ... | @@ -27,7 +27,7 @@ const useUserStore = defineStore( |
| 27 | const isLogin = ref(token.value ? true : false);//退出登录。 | 27 | const isLogin = ref(token.value ? true : false);//退出登录。 |
| 28 | const getTokenPromise: any = ref(null); | 28 | const getTokenPromise: any = ref(null); |
| 29 | /* idass的登录页面url,退出登录需要跳转到登录页。*/ | 29 | /* idass的登录页面url,退出登录需要跳转到登录页。*/ |
| 30 | const idassLoginUrl = import.meta.env.VITE_IDASS_BASEURL; | 30 | const idassLoginUrl = window.location.origin + '/';; |
| 31 | const timer: any = ref(null); | 31 | const timer: any = ref(null); |
| 32 | const isGetCurrUserInfo = ref(false); //记录登录时是否已经获取登录用户的信息,根据用户信息展示角色选择对话框。 | 32 | const isGetCurrUserInfo = ref(false); //记录登录时是否已经获取登录用户的信息,根据用户信息展示角色选择对话框。 |
| 33 | //获取token. | 33 | //获取token. |
| ... | @@ -212,7 +212,7 @@ const useUserStore = defineStore( | ... | @@ -212,7 +212,7 @@ const useUserStore = defineStore( |
| 212 | menuStore.setActived(0) | 212 | menuStore.setActived(0) |
| 213 | tabbar.value = [] | 213 | tabbar.value = [] |
| 214 | tabbarMap.value = {} | 214 | tabbarMap.value = {} |
| 215 | window.location.href = idassLoginUrl + '?logout=1'; | 215 | window.location.href = idassLoginUrl; |
| 216 | }); | 216 | }); |
| 217 | } else { | 217 | } else { |
| 218 | let hasCode = localStorage.getItem('code'); | 218 | let hasCode = localStorage.getItem('code'); |
| ... | @@ -232,7 +232,7 @@ const useUserStore = defineStore( | ... | @@ -232,7 +232,7 @@ const useUserStore = defineStore( |
| 232 | tabbar.value = [] | 232 | tabbar.value = [] |
| 233 | tabbarMap.value = {} | 233 | tabbarMap.value = {} |
| 234 | if (hasCode) { | 234 | if (hasCode) { |
| 235 | window.location.href = idassLoginUrl + '?logout=1'; | 235 | window.location.href = idassLoginUrl; |
| 236 | } else { | 236 | } else { |
| 237 | router.push({ | 237 | router.push({ |
| 238 | name: 'login', | 238 | name: 'login', | ... | ... |
| ... | @@ -26,19 +26,15 @@ declare module '@vue/runtime-core' { | ... | @@ -26,19 +26,15 @@ declare module '@vue/runtime-core' { |
| 26 | Editor: typeof import('./../components/Editor/src/Editor.vue')['default'] | 26 | Editor: typeof import('./../components/Editor/src/Editor.vue')['default'] |
| 27 | EllipsisTooltip: typeof import('./../components/EllipsisTooltip.vue')['default'] | 27 | EllipsisTooltip: typeof import('./../components/EllipsisTooltip.vue')['default'] |
| 28 | FileUpload: typeof import('./../components/FileUpload/index.vue')['default'] | 28 | FileUpload: typeof import('./../components/FileUpload/index.vue')['default'] |
| 29 | FixedActionBar: typeof import('./../components/FixedActionBar/index.vue')['default'] | ||
| 30 | Form: typeof import('./../components/Form/index.vue')['default'] | 29 | Form: typeof import('./../components/Form/index.vue')['default'] |
| 31 | FormItem: typeof import('./../components/FormItem/FormItem.vue')['default'] | 30 | FormItem: typeof import('./../components/FormItem/FormItem.vue')['default'] |
| 32 | FormPlus: typeof import('./../components/FormPlus/src/FormPlus.vue')['default'] | 31 | FormPlus: typeof import('./../components/FormPlus/src/FormPlus.vue')['default'] |
| 33 | GraphTopbar: typeof import('./../components/RelationNetwork/graphTopbar.vue')['default'] | ||
| 34 | Header: typeof import('./../components/Header/index.vue')['default'] | ||
| 35 | Hour: typeof import('./../components/Schedule/component/hour.vue')['default'] | 32 | Hour: typeof import('./../components/Schedule/component/hour.vue')['default'] |
| 36 | ImagePreview: typeof import('./../components/ImagePreview/index.vue')['default'] | 33 | ImagePreview: typeof import('./../components/ImagePreview/index.vue')['default'] |
| 37 | ImagesUpload: typeof import('./../components/ImagesUpload/index.vue')['default'] | 34 | ImagesUpload: typeof import('./../components/ImagesUpload/index.vue')['default'] |
| 38 | ImageUpload: typeof import('./../components/ImageUpload/index.vue')['default'] | 35 | ImageUpload: typeof import('./../components/ImageUpload/index.vue')['default'] |
| 39 | LineageGraph: typeof import('./../components/LineageGraph/index.vue')['default'] | 36 | LineageGraph: typeof import('./../components/LineageGraph/index.vue')['default'] |
| 40 | ListPanel: typeof import('./../components/ListPanel/index.vue')['default'] | 37 | ListPanel: typeof import('./../components/ListPanel/index.vue')['default'] |
| 41 | Logo: typeof import('./../components/Logo/index.vue')['default'] | ||
| 42 | LookBpmn: typeof import('./../components/ApprovalProcess/src/components/LookBpmn.vue')['default'] | 38 | LookBpmn: typeof import('./../components/ApprovalProcess/src/components/LookBpmn.vue')['default'] |
| 43 | Month: typeof import('./../components/Schedule/component/month.vue')['default'] | 39 | Month: typeof import('./../components/Schedule/component/month.vue')['default'] |
| 44 | NotAllowed: typeof import('./../components/NotAllowed/index.vue')['default'] | 40 | NotAllowed: typeof import('./../components/NotAllowed/index.vue')['default'] |
| ... | @@ -49,25 +45,19 @@ declare module '@vue/runtime-core' { | ... | @@ -49,25 +45,19 @@ declare module '@vue/runtime-core' { |
| 49 | PasswordStrengthMeter: typeof import('./../components/PasswordStrengthMeter/index.vue')['default'] | 45 | PasswordStrengthMeter: typeof import('./../components/PasswordStrengthMeter/index.vue')['default'] |
| 50 | PcasCascader: typeof import('./../components/PcasCascader/index.vue')['default'] | 46 | PcasCascader: typeof import('./../components/PcasCascader/index.vue')['default'] |
| 51 | Popover: typeof import('./../components/Popover/index.vue')['default'] | 47 | Popover: typeof import('./../components/Popover/index.vue')['default'] |
| 52 | RelationNetwork: typeof import('./../components/RelationNetwork/index.vue')['default'] | ||
| 53 | Retrievepassword: typeof import('./../components/Retrievepassword/index.vue')['default'] | 48 | Retrievepassword: typeof import('./../components/Retrievepassword/index.vue')['default'] |
| 54 | RouterLink: typeof import('vue-router')['RouterLink'] | 49 | RouterLink: typeof import('vue-router')['RouterLink'] |
| 55 | RouterView: typeof import('vue-router')['RouterView'] | 50 | RouterView: typeof import('vue-router')['RouterView'] |
| 56 | Schedule: typeof import('./../components/Schedule/index.vue')['default'] | 51 | Schedule: typeof import('./../components/Schedule/index.vue')['default'] |
| 57 | SearchBar: typeof import('./../components/SearchBar/index.vue')['default'] | 52 | SearchBar: typeof import('./../components/SearchBar/index.vue')['default'] |
| 58 | SecondAndMinute: typeof import('./../components/Schedule/component/secondAndMinute.vue')['default'] | 53 | SecondAndMinute: typeof import('./../components/Schedule/component/secondAndMinute.vue')['default'] |
| 59 | SelectPersonnel: typeof import('./../components/SelectPersonnel/src/SelectPersonnel.vue')['default'] | ||
| 60 | SplitPane: typeof import('./../components/SplitPane/index.vue')['default'] | 54 | SplitPane: typeof import('./../components/SplitPane/index.vue')['default'] |
| 61 | StepBar: typeof import('./../components/StepBar/index.vue')['default'] | 55 | StepBar: typeof import('./../components/StepBar/index.vue')['default'] |
| 62 | SvgIcon: typeof import('./../components/SvgIcon/index.vue')['default'] | 56 | SvgIcon: typeof import('./../components/SvgIcon/index.vue')['default'] |
| 63 | SystemInfo: typeof import('./../components/SystemInfo/index.vue')['default'] | ||
| 64 | Table: typeof import('./../components/Table/index.vue')['default'] | 57 | Table: typeof import('./../components/Table/index.vue')['default'] |
| 65 | Table_s2: typeof import('./../components/Antv/table_s2.vue')['default'] | ||
| 66 | Table_s2_vue: typeof import('./../components/Antv/table_s2_vue.vue')['default'] | ||
| 67 | Table_search: typeof import('./../components/Tools/table_search.vue')['default'] | 58 | Table_search: typeof import('./../components/Tools/table_search.vue')['default'] |
| 68 | Table_tools: typeof import('./../components/Tools/table_tools.vue')['default'] | 59 | Table_tools: typeof import('./../components/Tools/table_tools.vue')['default'] |
| 69 | Table_v2: typeof import('./../components/Table/table_v2.vue')['default'] | 60 | Table_v2: typeof import('./../components/Table/table_v2.vue')['default'] |
| 70 | TableActions: typeof import('./../components/TablePlus/src/components/TableActions.vue')['default'] | ||
| 71 | Tabs: typeof import('./../components/Tabs/index.vue')['default'] | 61 | Tabs: typeof import('./../components/Tabs/index.vue')['default'] |
| 72 | Toolbar: typeof import('./../components/LineageGraph/toolbar.vue')['default'] | 62 | Toolbar: typeof import('./../components/LineageGraph/toolbar.vue')['default'] |
| 73 | Topbar: typeof import('./../components/LineageGraph/topbar.vue')['default'] | 63 | Topbar: typeof import('./../components/LineageGraph/topbar.vue')['default'] |
| ... | @@ -76,7 +66,6 @@ declare module '@vue/runtime-core' { | ... | @@ -76,7 +66,6 @@ declare module '@vue/runtime-core' { |
| 76 | Tree_v2: typeof import('./../components/Tree/tree_v2.vue')['default'] | 66 | Tree_v2: typeof import('./../components/Tree/tree_v2.vue')['default'] |
| 77 | TreeTransfer: typeof import('./../components/TreeTransfer/index.vue')['default'] | 67 | TreeTransfer: typeof import('./../components/TreeTransfer/index.vue')['default'] |
| 78 | TreeTransferChecked: typeof import('./../components/TreeTransferChecked/index.vue')['default'] | 68 | TreeTransferChecked: typeof import('./../components/TreeTransferChecked/index.vue')['default'] |
| 79 | Trend: typeof import('./../components/Trend/index.vue')['default'] | ||
| 80 | Upload: typeof import('./../components/Upload/index.vue')['default'] | 69 | Upload: typeof import('./../components/Upload/index.vue')['default'] |
| 81 | UploadExcelFile: typeof import('./../components/FileUpload/uploadExcelFile.vue')['default'] | 70 | UploadExcelFile: typeof import('./../components/FileUpload/uploadExcelFile.vue')['default'] |
| 82 | Week: typeof import('./../components/Schedule/component/week.vue')['default'] | 71 | Week: typeof import('./../components/Schedule/component/week.vue')['default'] | ... | ... |
| ... | @@ -313,10 +313,12 @@ const currentNodeKey = ref(''); | ... | @@ -313,10 +313,12 @@ const currentNodeKey = ref(''); |
| 313 | 313 | ||
| 314 | // 获取公司部门树 | 314 | // 获取公司部门树 |
| 315 | const getTenantList = async () => { | 315 | const getTenantList = async () => { |
| 316 | treeInfo.value.loading = true; | ||
| 316 | let orgTree = await getOrganisationTree({ | 317 | let orgTree = await getOrganisationTree({ |
| 317 | useCache: false, | 318 | useCache: false, |
| 318 | tenantGuid: tenantGuid.value | 319 | tenantGuid: tenantGuid.value |
| 319 | }) | 320 | }) |
| 321 | treeInfo.value.loading = false; | ||
| 320 | let tree = [{ | 322 | let tree = [{ |
| 321 | guid: tenantGuid.value, | 323 | guid: tenantGuid.value, |
| 322 | name: tenantName.value, | 324 | name: tenantName.value, | ... | ... |
| ... | @@ -154,7 +154,7 @@ function testAccount(logonUser: string) { | ... | @@ -154,7 +154,7 @@ function testAccount(logonUser: string) { |
| 154 | <div> | 154 | <div> |
| 155 | <img :src="banner" class="banner"> | 155 | <img :src="banner" class="banner"> |
| 156 | <div class="banner_desc"> | 156 | <div class="banner_desc"> |
| 157 | <h4>可信数据服务平台</h4> | 157 | <h4>可信空间接入连接器</h4> |
| 158 | <span>激活数据流通体系,释放数据要素新质生产力</span> | 158 | <span>激活数据流通体系,释放数据要素新质生产力</span> |
| 159 | </div> | 159 | </div> |
| 160 | </div> | 160 | </div> | ... | ... |
-
Please register or sign in to post a comment