新增工作流复制功能
This commit is contained in:
parent
ba2bd3f6a5
commit
c215fa33c7
File diff suppressed because one or more lines are too long
21
frontend/public/lib/assets/eCMYxQqR.js
Normal file
21
frontend/public/lib/assets/eCMYxQqR.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,16 +1,16 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<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/dNTD4Vxf.js"></script>
|
<script type="module" crossorigin src="./assets/eCMYxQqR.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="./assets/ZUK1tnHV.css">
|
<link rel="stylesheet" crossorigin href="./assets/tWxQPn1H.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -222,6 +222,13 @@ export const asyncRouterMap = [
|
|||||||
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/copy',
|
||||||
|
name: 'WorkflowCopy',
|
||||||
|
hidden: true,
|
||||||
|
component: () => import('@/views/job/WorkflowCopy'),
|
||||||
|
meta: { title: '工作流复制', icon: 'profile', permission: ['jobBatch'] }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/job/workflow/detail',
|
path: '/job/workflow/detail',
|
||||||
name: 'WorkflowDetail',
|
name: 'WorkflowDetail',
|
||||||
|
12
frontend/src/views/job/WorkflowCopy.vue
Normal file
12
frontend/src/views/job/WorkflowCopy.vue
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<template>
|
||||||
|
<work-flow value="wA4wN1nZ" />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import WorkFlow from './form/WorkFlow.vue'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'WorkFlowEdit',
|
||||||
|
components: { WorkFlow }
|
||||||
|
}
|
||||||
|
</script>
|
@ -313,6 +313,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleCopy (record) {
|
handleCopy (record) {
|
||||||
|
this.$router.push({ path: '/job/workflow/copy', query: { id: record.id } })
|
||||||
},
|
},
|
||||||
handleDel (record) {
|
handleDel (record) {
|
||||||
delWorkflow(record.id).then((res) => {
|
delWorkflow(record.id).then((res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user