From 9a0fdf00ffeb37c188556a8fe7c223565269c3ca Mon Sep 17 00:00:00 2001
From: wang1 <844966816@qq.com>
Date: 星期三, 14 六月 2023 15:16:42 +0800
Subject: [PATCH] 修复流程发起异常
---
Source/UBCS-WEB/src/views/flow/flowPath.vue | 72 +++++++++++++++++++++++++++++++----
1 files changed, 63 insertions(+), 9 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/flow/flowPath.vue b/Source/UBCS-WEB/src/views/flow/flowPath.vue
index ef76289..e14690f 100644
--- a/Source/UBCS-WEB/src/views/flow/flowPath.vue
+++ b/Source/UBCS-WEB/src/views/flow/flowPath.vue
@@ -1,32 +1,86 @@
<template>
<div>
<el-button @click="outerVisible = true">娴佺▼娴嬭瘯</el-button>
- <el-button @click="visibleFlow = true">妯℃澘娴佺▼</el-button>
+ <el-button @click="visibleStage = true">妯℃澘闃舵</el-button>
+ <el-button @click="handleTable">table绌挎妗�</el-button>
<flow-business :visible.sync="outerVisible"></flow-business>
- <flow-path :visible.sync="visibleFlow" code="A12826E4-2B66-6D56-DE30-92BB1D7F607F"></flow-path>
+ <stage code="8b5e2017-990f-454a-9c39-4c4eeeb57553"></stage>
+ <table-transfer :visible.sync="visibleTable" v-model="value" :dataList="list" :columns="columns" keyName="id"
+ @save="handleSave"></table-transfer>
</div>
</template>
<script>
import FlowBusiness from '@/components/template/Business'
import FlowPath from '@/components/template/FlowPath'
+import Stage from '@/components/template/Stage'
+import TableTransfer from '@/components/template/TableTransfer'
export default {
- components:{
+ components: {
FlowBusiness,
- FlowPath
+ FlowPath,
+ Stage,
+ TableTransfer
},
data() {
+ const getTables = () => {
+ let data = []
+ for (let i = 0; i < 5; i++) {
+ let item = {
+ id: `${i + 1}`,
+ name: 'name',
+ address: `闆嗗洟鐮�${i + 1}`,
+ data: '',
+ checked: i === 1 ? true : false,
+ }
+ data.push(item)
+ }
+ return data
+ }
return {
+ list: getTables(),
+ value: ['2'],
outerVisible: false,
visibleFlow: false,
-
+ visibleStage: false,
+ visibleTable: false,
+
+ columns: [
+ {
+ key: "id",
+ label: "id",
+ visible: false,
+ },
+ {
+ key: "name",
+ label: "灞炴�х紪鍙�",
+ visible: true,
+ },
+ {
+ key: "address",
+ label: "灞炴�у悕绉�",
+ visible: true,
+ },
+ {
+ key: "address",
+ label: "灞炴�у垎缁�",
+ visible: true,
+ },
+ ],
+
}
},
methods: {
-
+ handleSave(event) {
+ console.log(event)
+ },
+ handleTable(){
+ this.visibleTable = true
+ // this.$nextTick(()=>{
+
+ // })
+ }
}
}
</script>
-<style lang="scss" scoped>
-
-</style>
\ No newline at end of file
+<style lang="scss" scoped></style>
\ No newline at end of file
--
Gitblit v1.10.0