feat: 2.6.0 新增工作流批次任务详情界面
This commit is contained in:
parent
0a1cc01413
commit
4de9299d4a
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 name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Easy Retry</title>
|
||||
<script type="module" crossorigin src="./assets/index-al5i8Tol.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-0c08PtDs.css">
|
||||
<script type="module" crossorigin src="./assets/index-aW6B2Y0u.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-1Lyo693A.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -247,6 +247,13 @@ export const asyncRouterMap = [
|
||||
name: 'WorkflowBatchList',
|
||||
component: () => import('@/views/job/WorkflowBatchList'),
|
||||
meta: { title: '工作流任务批次', icon: 'profile', permission: ['jobBatch'] }
|
||||
},
|
||||
{
|
||||
path: '/job/workflow/batch/detail',
|
||||
name: 'WorkflowBatchDetail',
|
||||
hidden: true,
|
||||
component: () => import('@/views/job/WorkflowBatchDetail'),
|
||||
meta: { title: '工作流任务批次详情', icon: 'profile', permission: ['jobBatch'] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
41
frontend/src/views/job/WorkflowBatchDetail.vue
Normal file
41
frontend/src/views/job/WorkflowBatchDetail.vue
Normal file
@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<iframe
|
||||
ref="iframe"
|
||||
:src="`/lib?token=${token}&x1c2Hdd6=xkjIc2ZHZ0&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>
|
@ -120,7 +120,7 @@
|
||||
import ATextarea from 'ant-design-vue/es/input/TextArea'
|
||||
import AInput from 'ant-design-vue/es/input/Input'
|
||||
import { Drawer, STable } from '@/components'
|
||||
import { workflowBatchListPage, jobNameList, workflowBatchDetail } from '@/api/jobApi'
|
||||
import { workflowBatchListPage, jobNameList } from '@/api/jobApi'
|
||||
import { getAllGroupNameList } from '@/api/manage'
|
||||
import JobBatchInfo from '@/views/job/JobBatchInfo'
|
||||
const enums = require('@/utils/jobEnum')
|
||||
@ -255,11 +255,7 @@ export default {
|
||||
},
|
||||
handleInfo (record) {
|
||||
record = record || this.currentShowRecord
|
||||
// this.$router.push({ path: '/job/batch/info', query: { id: record.id, groupName: record.groupName } })
|
||||
// TODO 工作流批次详情
|
||||
workflowBatchDetail(record.id).then(res => {
|
||||
console.log(res)
|
||||
})
|
||||
this.$router.push({ path: '/job/workflow/batch/detail', query: { id: record.id } })
|
||||
},
|
||||
handleOk (record) {},
|
||||
handleStop (record) {
|
||||
|
Loading…
Reference in New Issue
Block a user