feat: 2.6.0 工作流对接编辑、详情接口
This commit is contained in:
parent
756e9204ff
commit
b3df82b0d0
1
frontend/public/lib/assets/index-C4lfd_Yu.css
Normal file
1
frontend/public/lib/assets/index-C4lfd_Yu.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -5,8 +5,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Easy Retry</title>
|
<title>Easy Retry</title>
|
||||||
<script type="module" crossorigin src="./assets/index-OUOgMQdd.js"></script>
|
<script type="module" crossorigin src="./assets/index-vFLC-vfC.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="./assets/index-F6SqBqfF.css">
|
<link rel="stylesheet" crossorigin href="./assets/index-C4lfd_Yu.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -234,6 +234,13 @@ export const asyncRouterMap = [
|
|||||||
hidden: true,
|
hidden: true,
|
||||||
component: () => import('@/views/job/WorkflowEdit'),
|
component: () => import('@/views/job/WorkflowEdit'),
|
||||||
meta: { title: '工作流编辑', icon: 'profile', permission: ['jobBatch'] }
|
meta: { title: '工作流编辑', icon: 'profile', permission: ['jobBatch'] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/job/workflow/detail',
|
||||||
|
name: 'WorkflowDetail',
|
||||||
|
hidden: true,
|
||||||
|
component: () => import('@/views/job/WorkflowDetail'),
|
||||||
|
meta: { title: '工作流详情', icon: 'profile', permission: ['jobBatch'] }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
41
frontend/src/views/job/WorkflowDetail.vue
Normal file
41
frontend/src/views/job/WorkflowDetail.vue
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<template>
|
||||||
|
<iframe
|
||||||
|
ref="iframe"
|
||||||
|
:src="`/lib?token=${token}&x1c2Hdd6=kaxC8Iml&namespaceId=${namespaceId}&id=${id}`"
|
||||||
|
marginwidth="0"
|
||||||
|
frameborder="no"
|
||||||
|
:style="`width: 100%;height:calc(99vh - 60px)`"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import storage from 'store'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'WorkFlowDetail',
|
||||||
|
components: {},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
id: '',
|
||||||
|
token: '',
|
||||||
|
namespaceId: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.id = this.$route.query.id
|
||||||
|
this.token = storage.get('Access-Token')
|
||||||
|
this.namespaceId = storage.get('app_namespace')
|
||||||
|
},
|
||||||
|
methods: {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.ant-layout-content {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-layout-footer {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
@ -1,10 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<iframe
|
<iframe
|
||||||
ref="iframe"
|
ref="iframe"
|
||||||
:src="`/lib/index.html?token=${token}&namespaceId=${namespaceId}&id=${id}`"
|
:src="`/lib?token=${token}&x1c2Hdd6=D7Rzd7Oe&namespaceId=${namespaceId}&id=${id}`"
|
||||||
marginwidth="0"
|
marginwidth="0"
|
||||||
frameborder="no"
|
frameborder="no"
|
||||||
onLoad="this.height=100"
|
|
||||||
:style="`width: 100%;height:calc(99vh - 60px)`"
|
:style="`width: 100%;height:calc(99vh - 60px)`"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -307,7 +307,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleInfo (record) {
|
handleInfo (record) {
|
||||||
record = record || this.currentShowRecord
|
record = record || this.currentShowRecord
|
||||||
this.$router.push({ path: '/job/info', query: { id: record.id, groupName: record.groupName } })
|
this.$router.push({ path: '/job/workflow/detail', query: { id: record.id } })
|
||||||
},
|
},
|
||||||
handleOk (record) {},
|
handleOk (record) {},
|
||||||
handleClose (record) {
|
handleClose (record) {
|
||||||
|
Loading…
Reference in New Issue
Block a user