update:用户信息

This commit is contained in:
2025-11-27 15:58:24 +08:00
parent 0cb48ba333
commit af48072fa5
4 changed files with 11 additions and 4 deletions

View File

@@ -99,3 +99,7 @@ export const addTaskForDataApi = (params: any) => {
export const addNodeForDataApi = (params: any) => {
return post(`${PREFIX}node/addNodeForData`, params);
};
// 获取节点详情(数据总览专用)
export const getNodeDetailForDataApi = (params: any) => {
return post(`${PREFIX}node/getNodeDetailForData`, params);
};

View File

@@ -1,4 +1,4 @@
import { download, post, upload } from '@/api/request';
import { download, post } from '@/api/request';
const env = import.meta.env;
const PREFIX = env.VITE_API_PREFIX_PROJECT;
@@ -41,3 +41,7 @@ export const getListUserWorkloadsApi = (params: any) => {
export const exportTaskApi = (params: any, filename:string) => {
return download(`${PREFIX}task/exportTask`, params, filename);
};
// 获取任务详情(数据总览专用)
export const getTaskDetailApi = (params: any) => {
return post(`${PREFIX}task/getTaskDetail`, params);
};

View File

@@ -6,9 +6,9 @@ export const getUserData = () => {
// 获取用户id
export const getUserId = () => {
return getUserData().user_id;
return getUserData().userId;
};
export const getUserTenantId = () => {
return getUserData().tenant_id;
return getUserData().tenantId;
};

View File

@@ -6,7 +6,6 @@
v-if="showTree"
ref="libTreeRef"
node-key="nodeKey"
:expand-on-click-node="false"
highlight-current
lazy
:props="props"