Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
dc9cc95f
Commit
dc9cc95f
authored
Nov 29, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务流依赖关系页面
parent
ff73ea7a
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
477 additions
and
18 deletions
+477
-18
DependencyRelationshipDrawer.vue
...nance/periodicScheduling/DependencyRelationshipDrawer.vue
+287
-17
periodicScheduling.data.ts
...Maintenance/periodicScheduling/periodicScheduling.data.ts
+45
-0
periodicSchedulingData.ts
...wMaintenance/periodicScheduling/periodicSchedulingData.ts
+145
-1
No files found.
src/views/taskScheduling/taskFlowMaintenance/periodicScheduling/DependencyRelationshipDrawer.vue
View file @
dc9cc95f
This diff is collapsed.
Click to expand it.
src/views/taskScheduling/taskFlowMaintenance/periodicScheduling/periodicScheduling.data.ts
View file @
dc9cc95f
...
@@ -388,3 +388,48 @@ export const detailFormSchema: FormSchema[] = [
...
@@ -388,3 +388,48 @@ export const detailFormSchema: FormSchema[] = [
slot
:
'switch'
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'
},
},
];
src/views/taskScheduling/taskFlowMaintenance/periodicScheduling/periodicSchedulingData.ts
View file @
dc9cc95f
...
@@ -6,7 +6,8 @@ import { Switch } from 'ant-design-vue';
...
@@ -6,7 +6,8 @@ import { Switch } from 'ant-design-vue';
import
{
useMessage
}
from
"@/hooks/web/useMessage"
;
import
{
useMessage
}
from
"@/hooks/web/useMessage"
;
import
{
changeFlagApi
}
from
"@/api/system/user/user"
;
import
{
changeFlagApi
}
from
"@/api/system/user/user"
;
import
{
relatedQualityColumns
}
from
"@/views/dataStandards/basicStandards/basicStandards.data"
;
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
;
type
CheckedType
=
boolean
|
string
|
number
;
/**主页面树/列表 数据*/
/**主页面树/列表 数据*/
...
@@ -323,3 +324,146 @@ export const detailTreeData:any[] = [
...
@@ -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
:
'系统调度'
},
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment