lw-cdp-ui 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/lwFlow/config/nodesList.js +174 -17
- package/dist/components/lwFlow/nodeEdit/index.vue +1 -0
- package/dist/components/lwFlow/nodesData/datas/collap.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/expand.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/filter.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/joiner.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/mapper.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/reduce.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/source.js +11 -0
- package/dist/components/lwFlow/nodesData/datas/target.js +11 -0
- package/dist/components/lwLayout/components/bu.vue +10 -3
- package/dist/components/lwTableForm/index.vue +8 -3
- package/dist/lw-cdp-ui.esm.js +1056 -798
- package/dist/lw-cdp-ui.umd.js +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
export default [
|
|
2
|
-
{
|
|
3
|
-
title: '基础流程',
|
|
4
|
-
list: [
|
|
5
|
-
{
|
|
6
|
-
name: '开始',
|
|
7
|
-
icon: 'icon-next',
|
|
8
|
-
type: 'start',
|
|
9
|
-
themeColor: '#39bcc5'
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
name: '结束',
|
|
13
|
-
icon: 'icon-cease',
|
|
14
|
-
type: 'end',
|
|
15
|
-
themeColor: '#f53f3f'
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
2
|
{
|
|
20
3
|
title: 'ET2L节点',
|
|
21
4
|
list: [
|
|
@@ -74,5 +57,179 @@ export default [
|
|
|
74
57
|
themeColor: '#EF5612'
|
|
75
58
|
}
|
|
76
59
|
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: '营销目标',
|
|
63
|
+
list: [
|
|
64
|
+
{
|
|
65
|
+
name: '接收事件',
|
|
66
|
+
icon: 'icon-event',
|
|
67
|
+
type: 'event_receive',
|
|
68
|
+
themeColor: '#39BCC5'
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: '人群包',
|
|
72
|
+
icon: 'icon-user-info',
|
|
73
|
+
type: 'audience_receive',
|
|
74
|
+
themeColor: '#39BCC5'
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
title: '营销触达',
|
|
80
|
+
list: [
|
|
81
|
+
{
|
|
82
|
+
name: '短信',
|
|
83
|
+
icon: 'icon-auto-reply',
|
|
84
|
+
type: 'event_receive',
|
|
85
|
+
themeColor: '#4594f3'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: '微信',
|
|
89
|
+
icon: 'icon-scrm-l',
|
|
90
|
+
type: 'wechat',
|
|
91
|
+
themeColor: '#4594f3'
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: '邮件',
|
|
95
|
+
icon: 'icon-mail-l',
|
|
96
|
+
type: 'email',
|
|
97
|
+
themeColor: '#4594f3'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: '权益',
|
|
101
|
+
icon: 'icon-license',
|
|
102
|
+
type: 'benefit',
|
|
103
|
+
themeColor: '#4594f3'
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: '积分',
|
|
107
|
+
icon: 'icon-coin',
|
|
108
|
+
type: 'benefit',
|
|
109
|
+
themeColor: '#4594f3'
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: '优惠券',
|
|
113
|
+
icon: 'icon--coupon-2',
|
|
114
|
+
type: 'coupon',
|
|
115
|
+
themeColor: '#4594f3'
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
title: '营销功能',
|
|
121
|
+
list: [
|
|
122
|
+
{
|
|
123
|
+
name: '客户标签',
|
|
124
|
+
icon: 'icon-tag',
|
|
125
|
+
type: 'tag',
|
|
126
|
+
themeColor: '#39BCC5'
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'Flow',
|
|
130
|
+
icon: 'icon-event',
|
|
131
|
+
type: 'flow',
|
|
132
|
+
themeColor: '#e8ffea'
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: '扩展数据',
|
|
136
|
+
icon: 'icon-event',
|
|
137
|
+
type: 'extend_data',
|
|
138
|
+
themeColor: '#ff6d69'
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: '定制功能',
|
|
142
|
+
icon: 'icon-flow-stop',
|
|
143
|
+
type: 'customization',
|
|
144
|
+
themeColor: '#ff6d69'
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
title: 'Flow',
|
|
150
|
+
list: [
|
|
151
|
+
{
|
|
152
|
+
name: 'flow测试',
|
|
153
|
+
icon: 'icon-event',
|
|
154
|
+
type: 'tag',
|
|
155
|
+
themeColor: '#39BCC5'
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
title: '逻辑操作',
|
|
161
|
+
list: [
|
|
162
|
+
{
|
|
163
|
+
name: '交集',
|
|
164
|
+
icon: 'icon-cross',
|
|
165
|
+
type: 'intersect',
|
|
166
|
+
themeColor: '#fba980'
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: '并集',
|
|
170
|
+
icon: 'icon-merge',
|
|
171
|
+
type: 'union',
|
|
172
|
+
themeColor: '#fba980'
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: '差集',
|
|
176
|
+
icon: 'icon-chaji',
|
|
177
|
+
type: 'exclusion',
|
|
178
|
+
themeColor: '#fba980'
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: '过滤',
|
|
182
|
+
icon: 'icon-ma-filter',
|
|
183
|
+
type: 'filter',
|
|
184
|
+
themeColor: '#fba980'
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: '去重',
|
|
188
|
+
icon: 'icon-quzhong',
|
|
189
|
+
type: 'unique',
|
|
190
|
+
themeColor: '#fba980'
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
name: 'A/B测试',
|
|
194
|
+
icon: 'icon-ABtestshezhi',
|
|
195
|
+
type: 'abtest',
|
|
196
|
+
themeColor: '#fba980'
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
name: '排序',
|
|
200
|
+
icon: 'icon-sort-fill',
|
|
201
|
+
type: 'sort',
|
|
202
|
+
themeColor: '#fba980'
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
title: '流程控制',
|
|
208
|
+
list: [
|
|
209
|
+
{
|
|
210
|
+
name: '开始',
|
|
211
|
+
icon: 'icon-start',
|
|
212
|
+
type: 'start',
|
|
213
|
+
themeColor: '#39BCC5'
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: '定时',
|
|
217
|
+
icon: 'icon-timing',
|
|
218
|
+
type: 'timer',
|
|
219
|
+
themeColor: '#105a63'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: '限流',
|
|
223
|
+
icon: 'icon-timing',
|
|
224
|
+
type: 'restrict',
|
|
225
|
+
themeColor: '#105a63'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: '结束',
|
|
229
|
+
icon: 'icon-flow-stop',
|
|
230
|
+
type: 'end',
|
|
231
|
+
themeColor: '#ff6d69'
|
|
232
|
+
}
|
|
233
|
+
]
|
|
77
234
|
}
|
|
78
235
|
]
|
|
@@ -68,6 +68,17 @@ export default {
|
|
|
68
68
|
},
|
|
69
69
|
span: 24
|
|
70
70
|
},
|
|
71
|
+
{
|
|
72
|
+
label: '输出名称',
|
|
73
|
+
name: 'into',
|
|
74
|
+
value: '',
|
|
75
|
+
component: 'input',
|
|
76
|
+
options: {
|
|
77
|
+
placeholder: '请输入输出名称'
|
|
78
|
+
},
|
|
79
|
+
span: 24,
|
|
80
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
81
|
+
},
|
|
71
82
|
{
|
|
72
83
|
label: '描述信息',
|
|
73
84
|
name: 'desp',
|
|
@@ -58,6 +58,17 @@ export default {
|
|
|
58
58
|
span: 24,
|
|
59
59
|
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
60
60
|
},
|
|
61
|
+
{
|
|
62
|
+
label: '输出名称',
|
|
63
|
+
name: 'into',
|
|
64
|
+
value: '',
|
|
65
|
+
component: 'input',
|
|
66
|
+
options: {
|
|
67
|
+
placeholder: '请输入输出名称'
|
|
68
|
+
},
|
|
69
|
+
span: 24,
|
|
70
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
71
|
+
},
|
|
61
72
|
{
|
|
62
73
|
label: '描述信息',
|
|
63
74
|
name: 'desp',
|
|
@@ -47,6 +47,17 @@ export default {
|
|
|
47
47
|
span: 24,
|
|
48
48
|
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
label: '输出名称',
|
|
52
|
+
name: 'into',
|
|
53
|
+
value: '',
|
|
54
|
+
component: 'input',
|
|
55
|
+
options: {
|
|
56
|
+
placeholder: '请输入输出名称'
|
|
57
|
+
},
|
|
58
|
+
span: 24,
|
|
59
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
60
|
+
},
|
|
50
61
|
{
|
|
51
62
|
label: '过滤条件',
|
|
52
63
|
name: 'when',
|
|
@@ -52,6 +52,17 @@ export default {
|
|
|
52
52
|
span: 24,
|
|
53
53
|
rules: [{ required: true, message: '不能为空', trigger: 'change' }]
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
label: '输出名称',
|
|
57
|
+
name: 'into',
|
|
58
|
+
value: '',
|
|
59
|
+
component: 'input',
|
|
60
|
+
options: {
|
|
61
|
+
placeholder: '请输入输出名称'
|
|
62
|
+
},
|
|
63
|
+
span: 24,
|
|
64
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
65
|
+
},
|
|
55
66
|
{
|
|
56
67
|
label: '描述信息',
|
|
57
68
|
name: 'desp',
|
|
@@ -84,6 +84,17 @@ export default {
|
|
|
84
84
|
span: 24,
|
|
85
85
|
hideHandle: '!$.auto'
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
label: '输出名称',
|
|
89
|
+
name: 'into',
|
|
90
|
+
value: '',
|
|
91
|
+
component: 'input',
|
|
92
|
+
options: {
|
|
93
|
+
placeholder: '请输入输出名称'
|
|
94
|
+
},
|
|
95
|
+
span: 24,
|
|
96
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
97
|
+
},
|
|
87
98
|
{
|
|
88
99
|
label: '描述信息',
|
|
89
100
|
name: 'desp',
|
|
@@ -42,6 +42,17 @@ export default {
|
|
|
42
42
|
span: 24,
|
|
43
43
|
rules: [{ required: true, message: '不能为空', trigger: 'change' }]
|
|
44
44
|
},
|
|
45
|
+
{
|
|
46
|
+
label: '输出名称',
|
|
47
|
+
name: 'into',
|
|
48
|
+
value: '',
|
|
49
|
+
component: 'input',
|
|
50
|
+
options: {
|
|
51
|
+
placeholder: '请输入输出名称'
|
|
52
|
+
},
|
|
53
|
+
span: 24,
|
|
54
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
55
|
+
},
|
|
45
56
|
{
|
|
46
57
|
label: '描述信息',
|
|
47
58
|
name: 'desp',
|
|
@@ -156,6 +156,17 @@ export default {
|
|
|
156
156
|
},
|
|
157
157
|
span: 24
|
|
158
158
|
},
|
|
159
|
+
{
|
|
160
|
+
label: '输出名称',
|
|
161
|
+
name: 'into',
|
|
162
|
+
value: '',
|
|
163
|
+
component: 'input',
|
|
164
|
+
options: {
|
|
165
|
+
placeholder: '请输入输出名称'
|
|
166
|
+
},
|
|
167
|
+
span: 24,
|
|
168
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
169
|
+
},
|
|
159
170
|
{
|
|
160
171
|
label: '描述信息',
|
|
161
172
|
name: 'desp',
|
|
@@ -47,6 +47,17 @@ export default {
|
|
|
47
47
|
span: 24,
|
|
48
48
|
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
label: '输出名称',
|
|
52
|
+
name: 'into',
|
|
53
|
+
value: '',
|
|
54
|
+
component: 'input',
|
|
55
|
+
options: {
|
|
56
|
+
placeholder: '请输入输出名称'
|
|
57
|
+
},
|
|
58
|
+
span: 24,
|
|
59
|
+
rules: [{ required: true, message: '不能为空', trigger: 'blur' }]
|
|
60
|
+
},
|
|
50
61
|
{
|
|
51
62
|
label: '描述信息',
|
|
52
63
|
name: 'desp',
|
|
@@ -54,10 +54,17 @@ export default {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
created() {
|
|
58
|
-
this.buList = this.$tool.data.get('buList')
|
|
59
|
-
|
|
57
|
+
async created() {
|
|
58
|
+
this.buList = this.$tool.data.get('buList') || []
|
|
60
59
|
let buCode = this.$tool.data.get('buCode')
|
|
60
|
+
if (!this.buList.length) {
|
|
61
|
+
let buResult = await this.$api.auth.bu()
|
|
62
|
+
let bu = buResult.data || []
|
|
63
|
+
this.$tool.data.set('buList', bu)
|
|
64
|
+
this.buList = bu
|
|
65
|
+
this.$tool.data.set('buCode', bu[0].code)
|
|
66
|
+
buCode = bu[0].code
|
|
67
|
+
}
|
|
61
68
|
let item = this.buList.find(item => item.code === buCode)
|
|
62
69
|
this.buName = item ? item.name : ''
|
|
63
70
|
this.changeBusinessUnit(buCode)
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
</template>
|
|
346
346
|
|
|
347
347
|
<!-- 按钮 -->
|
|
348
|
-
<template v-else-if="item.component == 'operation'">
|
|
348
|
+
<template v-else-if="item.component == 'operation' && !isView">
|
|
349
349
|
<!-- 默认新增/删除 -->
|
|
350
350
|
<span v-for="o in item.options.addDelete"
|
|
351
351
|
:key="o"
|
|
@@ -420,7 +420,8 @@
|
|
|
420
420
|
</template>
|
|
421
421
|
</el-table-column>
|
|
422
422
|
</el-table>
|
|
423
|
-
<div
|
|
423
|
+
<div v-if="!isView"
|
|
424
|
+
class="btn-list">
|
|
424
425
|
<el-button type="primary"
|
|
425
426
|
class="add-btn"
|
|
426
427
|
plain
|
|
@@ -439,7 +440,11 @@ export default {
|
|
|
439
440
|
props: {
|
|
440
441
|
modelValue: { type: Object, default: () => { } },
|
|
441
442
|
config: { type: Object, default: () => { } },
|
|
442
|
-
maxHeight: { type: String, default: 'calc(100vh - 280px)' }
|
|
443
|
+
maxHeight: { type: String, default: 'calc(100vh - 280px)' },
|
|
444
|
+
/**
|
|
445
|
+
* 是否是查看模式
|
|
446
|
+
*/
|
|
447
|
+
isView: { type: Boolean, default: false },
|
|
443
448
|
},
|
|
444
449
|
data() {
|
|
445
450
|
return {
|