Commit dc9cc95f authored by liwei's avatar liwei

任务流依赖关系页面

parent ff73ea7a
......@@ -388,3 +388,48 @@ export const detailFormSchema: FormSchema[] = [
slot: 'switch'
},
];
/**详情页-依赖列表1*/
export const dependencyRelationshipColumns1: BasicColumn[] = [
{
title: '执行ID',
dataIndex: 'executeId',
width: 100
},
{
title: '时间信息',
dataIndex: 'timeInfo',
width: 200,
slots: { customRender: 'timeInfo' },
},
{
title: '运行状态',
dataIndex: 'runState',
width: 100,
slots: { customRender: 'runState' },
},
{
title: '执行模式',
dataIndex: 'executeMode',
width: 100
},
];
/**详情页-依赖列表2*/
export const dependencyRelationshipColumns2: BasicColumn[] = [
{
title: '执行ID',
dataIndex: 'executeId',
width: 100
},
{
title: '时间信息',
dataIndex: 'timeInfo',
width: 200,
slots: { customRender: 'timeInfo' },
},
{
title: '运行状态',
dataIndex: 'runState',
width: 100,
slots: { customRender: 'runState' },
},
];
......@@ -6,7 +6,8 @@ import { Switch } from 'ant-design-vue';
import {useMessage} from "@/hooks/web/useMessage";
import {changeFlagApi} from "@/api/system/user/user";
import {relatedQualityColumns} from "@/views/dataStandards/basicStandards/basicStandards.data";
import {GrowCardItem} from "@/views/dashboard/analysis/data"; // 引入开关组件
import {GrowCardItem} from "@/views/dashboard/analysis/data";
import {dependencyRelationshipColumns1} from "@/views/taskScheduling/taskFlowMaintenance/periodicScheduling/periodicScheduling.data"; // 引入开关组件
type CheckedType = boolean | string | number;
/**主页面树/列表 数据*/
......@@ -323,3 +324,146 @@ export const detailTreeData:any[] = [
]
},
]
/**详情页 依赖关系树1*/
export const relationshipTreeData1:any[] = [
{
key: 1,
desc:'',
title: '任务流',
icons: '',
color: '',
children:[
{
key: 101,
title: '寻找依赖超时测试-上游任务流',
desc:'/共享工作区/依赖关系/寻找依赖超时测试-上游任务流',
icons: 'tdesign:map-connection',
uuid:'54bdd7525b3f41738d4c67cc6c4622b7',
color: 'rgb(37, 94, 227)',
},
]
},
{
key: 2,
title: '任务',
desc:'',
icons: '',
color: '',
children:[
{
key: 101,
title: 'new task',
desc:'/共享工作区/依赖关系/new task',
icons: 'tdesign:map-connection',
uuid:'54bdd7525b4i34h38d4c67sd7f847d7fd',
color: 'rgb(37, 94, 227)',
},
]
},
]
/**详情页 依赖关系树2*/
export const relationshipTreeData2:any[] = [
{
key: 1,
desc:'',
title: '任务流',
icons: '',
color: '',
children:[
{
key: 101,
title: '寻找依赖超时测试-上游任务流',
desc:'/共享工作区/依赖关系/寻找依赖超时测试-上游任务流',
icons: 'tdesign:map-connection',
uuid:'54bdd7525b3f41738d4c67cc6c4622b7',
color: 'rgb(37, 94, 227)',
},
]
},
{
key: 2,
title: '任务',
desc:'',
icons: '',
color: '',
children:[
{
key: 101,
title: 'new task',
desc:'/共享工作区/依赖关系/new task',
icons: 'tdesign:map-connection',
uuid:'54bdd7525b4i34h38d4c67sd7f847d7fd',
color: 'rgb(37, 94, 227)',
},
]
},
]
/**详情页 依赖关系树3*/
export const relationshipTreeData3:any[] = [
{
key: 1,
desc:'',
title: '任务流',
icons: '',
color: '',
children:[
{
key: 101,
title: '寻找依赖超时测试-下游任务流',
desc:'/共享工作区/依赖关系/寻找依赖超时测试-下游任务流',
icons: 'tdesign:map-connection',
uuid:'54bdd7525b3f41738d4c67cc6c4622b7',
color: 'rgb(37, 94, 227)',
},
]
},
// {
// key: 2,
// title: '任务',
// desc:'',
// icons: '',
// color: '',
// children:[
// {
// key: 101,
// title: 'new task',
// desc:'/共享工作区/依赖关系/new task',
// icons: 'tdesign:map-connection',
// uuid:'54bdd7525b4i34h38d4c67sd7f847d7fd',
// color: 'rgb(37, 94, 227)',
// },
// ]
// },
]
/**详情页-关联关系列表数据1*/
export const dependencyRelationshipData1:any[] = [
{
businessId:'1',
executeId:'51383',
timeInfo1:'调度时间:2024-01-30 14:39:00',
timeInfo2:'执行时间:2024-01-30 14:39:00',
runState:'成功',
executeMode:'系统调度'
},
]
/**详情页-关联关系列表数据2*/
export const dependencyRelationshipData2:any[] = [
{
businessId:'1',
executeId:'395157',
timeInfo1:'调度时间:2024-01-30 14:39:00',
timeInfo2:'执行时间:2024-01-30 14:40:00',
runState:'成功',
},
]
/**详情页-关联关系列表数据3*/
export const dependencyRelationshipData3:any[] = [
{
businessId:'1',
executeId:'837437',
timeInfo1:'调度时间:2024-01-30 14:39:00',
timeInfo2:'执行时间:2024-01-30 14:40:00',
runState:'成功',
executeMode:'系统调度'
},
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment