1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
| <template>
| <div>
| <el-button @click="outerVisible = true">流程测试</el-button>
| <el-button @click="handleTable">人员设置</el-button>
| <flow-business :visible.sync="outerVisible"></flow-business>
| <set-personnel :visible.sync="visibleFlow" :parameter="parameter" :parameter-keys="props" ></set-personnel>
| </div>
| </template>
|
| <script>
| import FlowBusiness from '@/components/template/Business'
| import SetPersonnel from '@/components/template/SetPersonnel'
| export default {
| components: {
| FlowBusiness,
| SetPersonnel
| },
| data() {
| return {
| outerVisible: false,
| visibleFlow: false,
| parameter:{
| ids:['0000','22222222'],
| code:'8b5e2017-990f-454a-9c39-4c4eeeb57553',
| type:'PUBLIC',
| template:'模板template',
| vars:{
| name:'111',
| sex:'222'
| }
| },
| props:{
| flowTemplate:'template',
| type:'type',
| ids:'ids',
| code:'code'
| }
| }
| },
| methods: {
| handleSave(event) {
| console.log(event)
| },
| handleTable(){
| this.visibleFlow = true
| }
| }
| }
| </script>
| <style lang="scss" scoped></style>
|
|