feat: 2.6.0 工作流对接编辑、详情接口
This commit is contained in:
		
							parent
							
								
									6ca9467036
								
							
						
					
					
						commit
						f3044979d6
					
				
							
								
								
									
										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 name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
  <title>Easy Retry</title>
 | 
			
		||||
  <script type="module" crossorigin src="./assets/index-OUOgMQdd.js"></script>
 | 
			
		||||
  <link rel="stylesheet" crossorigin href="./assets/index-F6SqBqfF.css">
 | 
			
		||||
  <script type="module" crossorigin src="./assets/index-vFLC-vfC.js"></script>
 | 
			
		||||
  <link rel="stylesheet" crossorigin href="./assets/index-C4lfd_Yu.css">
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
 | 
			
		||||
@ -234,6 +234,13 @@ export const asyncRouterMap = [
 | 
			
		||||
            hidden: true,
 | 
			
		||||
            component: () => import('@/views/job/WorkflowEdit'),
 | 
			
		||||
            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>
 | 
			
		||||
  <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"
 | 
			
		||||
    frameborder="no"
 | 
			
		||||
    onLoad="this.height=100"
 | 
			
		||||
    :style="`width: 100%;height:calc(99vh - 60px)`"
 | 
			
		||||
  />
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@ -307,7 +307,7 @@ export default {
 | 
			
		||||
    },
 | 
			
		||||
    handleInfo (record) {
 | 
			
		||||
      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) {},
 | 
			
		||||
    handleClose (record) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user