eoss-ui 0.4.67 → 0.4.69
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/lib/button-group.js +11 -11
- package/lib/button.js +11 -11
- package/lib/card.js +2 -2
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +12 -12
- package/lib/clients.js +2 -2
- package/lib/data-table-form.js +11 -12
- package/lib/data-table.js +18 -19
- package/lib/date-picker.js +11 -11
- package/lib/dialog.js +13 -16
- package/lib/enterprise.js +2 -2
- package/lib/eoss-ui.common.js +1898 -3874
- package/lib/error-page.js +2 -2
- package/lib/flow-group.js +1019 -908
- package/lib/flow-list.js +453 -1432
- package/lib/flow.js +20 -36
- package/lib/form.js +37 -37
- package/lib/handle-user.js +12 -12
- package/lib/handler.js +12 -12
- package/lib/icons.js +4 -4
- package/lib/index.js +1 -1
- package/lib/input-number.js +18 -18
- package/lib/input.js +43 -43
- package/lib/label.js +2 -2
- package/lib/login.js +110 -101
- package/lib/main.js +82 -72
- package/lib/menu.js +5 -2
- package/lib/nav.js +11 -11
- package/lib/notify.js +4 -4
- package/lib/page.js +18 -18
- package/lib/pagination.js +2 -2
- package/lib/player.js +23 -23
- package/lib/qr-code.js +13 -13
- package/lib/radio-group.js +12 -12
- package/lib/retrial-auth.js +12 -12
- package/lib/select-ganged.js +11 -11
- package/lib/select.js +14 -14
- package/lib/selector-panel.js +66 -56
- package/lib/selector.js +14 -14
- package/lib/sizer.js +12 -12
- package/lib/steps.js +11 -11
- package/lib/switch.js +11 -11
- package/lib/table-form.js +36 -36
- package/lib/tabs-panel.js +26 -8
- package/lib/tabs.js +16 -13
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tips.js +19 -19
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +11 -11
- package/lib/tree.js +12 -12
- package/lib/upload.js +12 -12
- package/lib/wujie.js +11 -11
- package/lib/wxlogin.js +11 -11
- package/package.json +1 -1
- package/packages/data-table/src/main.vue +3 -3
- package/packages/flow/src/processForm.vue +0 -3
- package/packages/flow-group/src/main.vue +263 -248
- package/packages/flow-list/src/main.vue +22 -114
- package/packages/main/src/main.vue +56 -39
- package/packages/main/src/message.vue +6 -8
- package/packages/menu/src/main.vue +3 -0
- package/packages/tabs/src/main.vue +3 -1
- package/packages/tabs-panel/src/main.vue +15 -4
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/index.scss +0 -1
- package/src/index.js +1 -4
- package/lib/editor.js +0 -1345
- package/lib/theme-chalk/editor.css +0 -1
- package/packages/editor/index.js +0 -5
- package/packages/editor/src/color.vue +0 -148
- package/packages/editor/src/editor.vue +0 -25
- package/packages/editor/src/main.vue +0 -114
- package/packages/editor/src/minx.js +0 -213
- package/packages/editor/src/toolbar.vue +0 -224
- package/packages/flow-list/src/flow-table.vue +0 -441
- package/packages/theme-chalk/lib/editor.css +0 -1
- package/packages/theme-chalk/src/editor.scss +0 -94
|
@@ -33,15 +33,133 @@
|
|
|
33
33
|
</template>
|
|
34
34
|
<template v-else>{{ items.title }}</template>
|
|
35
35
|
</span>
|
|
36
|
-
<
|
|
37
|
-
<template
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
v-if="
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
<es-tabs-panel v-bind="items" :show="activeName === String(indexs)">
|
|
37
|
+
<template
|
|
38
|
+
slot-scope="{ contents, average, data, title, show, isShow }"
|
|
39
|
+
>
|
|
40
|
+
<template v-if="Array.isArray(contents)">
|
|
41
|
+
<template v-for="(item, index) in contents">
|
|
42
|
+
<div class="es-tab-pane-list" :key="index" v-if="average">
|
|
43
|
+
<div class="es-tab-pane-main">
|
|
44
|
+
<es-flow-list
|
|
45
|
+
v-if="
|
|
46
|
+
item.type === 'flow-list' ||
|
|
47
|
+
item.type === 'flowList'
|
|
48
|
+
"
|
|
49
|
+
:businessId="businessId"
|
|
50
|
+
v-bind="
|
|
51
|
+
handleExclAttribute({
|
|
52
|
+
data: item,
|
|
53
|
+
attrs: ['events', 'visible', 'type']
|
|
54
|
+
})
|
|
55
|
+
"
|
|
56
|
+
:display="activeName === String(indexs)"
|
|
57
|
+
:key="index"
|
|
58
|
+
></es-flow-list>
|
|
59
|
+
<es-data-table
|
|
60
|
+
v-if="
|
|
61
|
+
item.type === 'data-table' ||
|
|
62
|
+
item.type === 'dataTable'
|
|
63
|
+
"
|
|
64
|
+
:appId="taskExamineAppId"
|
|
65
|
+
v-bind="
|
|
66
|
+
handleExclAttribute({
|
|
67
|
+
data: item,
|
|
68
|
+
attrs: ['events', 'visible', 'type']
|
|
69
|
+
})
|
|
70
|
+
"
|
|
71
|
+
:class="{
|
|
72
|
+
'es-flow-group-data-table':
|
|
73
|
+
item.type === 'data-table' ||
|
|
74
|
+
item.type === 'dataTable'
|
|
75
|
+
}"
|
|
76
|
+
:display="activeName === String(indexs)"
|
|
77
|
+
v-on="item.events"
|
|
78
|
+
>
|
|
79
|
+
<template v-if="item.dialog" slot="dialog">
|
|
80
|
+
<template v-if="Array.isArray(item.dialog)">
|
|
81
|
+
<es-dialog
|
|
82
|
+
v-for="(ele, ids) in item.dialog"
|
|
83
|
+
:isReload="true"
|
|
84
|
+
v-bind="ele"
|
|
85
|
+
:key="ids"
|
|
86
|
+
:visible.sync="ele.visible"
|
|
87
|
+
v-on="{ ...ele.events }"
|
|
88
|
+
>
|
|
89
|
+
</es-dialog>
|
|
90
|
+
</template>
|
|
91
|
+
<es-dialog
|
|
92
|
+
v-else
|
|
93
|
+
:isReload="true"
|
|
94
|
+
v-bind="item.dialog"
|
|
95
|
+
:visible.sync="item.dialog.visible"
|
|
96
|
+
v-on="{ ...item.dialog.events }"
|
|
97
|
+
>
|
|
98
|
+
</es-dialog>
|
|
99
|
+
</template>
|
|
100
|
+
</es-data-table>
|
|
101
|
+
<es-tree-group
|
|
102
|
+
v-if="
|
|
103
|
+
item.type === 'tree-group' ||
|
|
104
|
+
item.type === 'treeGroup'
|
|
105
|
+
"
|
|
106
|
+
:appId="taskExamineAppId"
|
|
107
|
+
v-bind="
|
|
108
|
+
handleExclAttribute({
|
|
109
|
+
data: item,
|
|
110
|
+
attrs: ['events', 'visible', 'type']
|
|
111
|
+
})
|
|
112
|
+
"
|
|
113
|
+
:display="activeName === String(indexs)"
|
|
114
|
+
v-on="{ ...item.events }"
|
|
115
|
+
></es-tree-group>
|
|
116
|
+
<iframe
|
|
117
|
+
v-if="item.type === 'iframe' && !item.blank"
|
|
118
|
+
:id="item.id || item.name"
|
|
119
|
+
:name="item.name"
|
|
120
|
+
frameborder="0"
|
|
121
|
+
width="100%"
|
|
122
|
+
height="100%"
|
|
123
|
+
:src="handleUrlJoinParams(item)"
|
|
124
|
+
></iframe>
|
|
125
|
+
<es-upload
|
|
126
|
+
v-if="item.type === 'attachment'"
|
|
127
|
+
:file-count.sync="title.count"
|
|
128
|
+
height="auto"
|
|
129
|
+
class="es-attachment"
|
|
130
|
+
:ownId="businessId"
|
|
131
|
+
v-bind="
|
|
132
|
+
handleExclAttribute({
|
|
133
|
+
data: item,
|
|
134
|
+
attrs: ['events', 'type']
|
|
135
|
+
})
|
|
136
|
+
"
|
|
137
|
+
:display="activeName === String(indexs)"
|
|
138
|
+
v-on="{ ...item.events }"
|
|
139
|
+
></es-upload>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
<template v-else>
|
|
143
|
+
<es-form
|
|
144
|
+
v-if="item.type === 'form'"
|
|
145
|
+
ref="esFlowForm"
|
|
146
|
+
:showMsg="showMsg"
|
|
147
|
+
v-bind="
|
|
148
|
+
handleExclAttribute({
|
|
149
|
+
data: item,
|
|
150
|
+
attrs: ['events', 'visible', 'type', 'model', 'ref']
|
|
151
|
+
})
|
|
152
|
+
"
|
|
153
|
+
full
|
|
154
|
+
:key="index"
|
|
155
|
+
:autoId="true"
|
|
156
|
+
:show-button="false"
|
|
157
|
+
:closeDialog="false"
|
|
158
|
+
:display="activeName === String(indexs)"
|
|
159
|
+
:model="item.model"
|
|
160
|
+
:businessId.sync="businessId"
|
|
161
|
+
v-on="{ ...item.events }"
|
|
162
|
+
></es-form>
|
|
45
163
|
<es-flow-list
|
|
46
164
|
v-if="
|
|
47
165
|
item.type === 'flow-list' || item.type === 'flowList'
|
|
@@ -53,8 +171,8 @@
|
|
|
53
171
|
attrs: ['events', 'visible', 'type']
|
|
54
172
|
})
|
|
55
173
|
"
|
|
174
|
+
:display="activeName === String(indexs)"
|
|
56
175
|
:key="index"
|
|
57
|
-
v-on="item.events"
|
|
58
176
|
></es-flow-list>
|
|
59
177
|
<es-data-table
|
|
60
178
|
v-if="
|
|
@@ -68,6 +186,7 @@
|
|
|
68
186
|
attrs: ['events', 'visible', 'type']
|
|
69
187
|
})
|
|
70
188
|
"
|
|
189
|
+
:key="index"
|
|
71
190
|
:class="{
|
|
72
191
|
'es-flow-group-data-table':
|
|
73
192
|
item.type === 'data-table' ||
|
|
@@ -110,21 +229,22 @@
|
|
|
110
229
|
attrs: ['events', 'visible', 'type']
|
|
111
230
|
})
|
|
112
231
|
"
|
|
232
|
+
:key="index"
|
|
113
233
|
:display="activeName === String(indexs)"
|
|
114
234
|
v-on="{ ...item.events }"
|
|
115
235
|
></es-tree-group>
|
|
116
236
|
<iframe
|
|
117
237
|
v-if="item.type === 'iframe' && !item.blank"
|
|
118
|
-
:id="item.id || item.name"
|
|
119
|
-
:name="item.name"
|
|
120
238
|
frameborder="0"
|
|
121
239
|
width="100%"
|
|
122
240
|
height="100%"
|
|
241
|
+
:key="index"
|
|
242
|
+
:id="item.id || item.name"
|
|
243
|
+
:name="item.name"
|
|
123
244
|
:src="handleUrlJoinParams(item)"
|
|
124
245
|
></iframe>
|
|
125
246
|
<es-upload
|
|
126
247
|
v-if="item.type === 'attachment'"
|
|
127
|
-
:file-count.sync="items.title.count"
|
|
128
248
|
height="auto"
|
|
129
249
|
class="es-attachment"
|
|
130
250
|
:ownId="businessId"
|
|
@@ -134,252 +254,144 @@
|
|
|
134
254
|
attrs: ['events', 'type']
|
|
135
255
|
})
|
|
136
256
|
"
|
|
257
|
+
:key="index"
|
|
258
|
+
:file-count.sync="title.count"
|
|
137
259
|
:display="activeName === String(indexs)"
|
|
138
260
|
v-on="{ ...item.events }"
|
|
139
261
|
></es-upload>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
262
|
+
<es-dialog
|
|
263
|
+
v-if="
|
|
264
|
+
item.type === 'dialog' &&
|
|
265
|
+
activeName === String(indexs)
|
|
266
|
+
"
|
|
267
|
+
:isReload="true"
|
|
268
|
+
v-bind="item"
|
|
269
|
+
:key="index"
|
|
270
|
+
:visible.sync="item.visible"
|
|
271
|
+
v-on="{ ...item.events }"
|
|
272
|
+
>
|
|
273
|
+
</es-dialog>
|
|
274
|
+
</template>
|
|
275
|
+
</template>
|
|
276
|
+
</template>
|
|
277
|
+
<template v-else>
|
|
278
|
+
<es-form
|
|
279
|
+
v-if="contents.type === 'form'"
|
|
280
|
+
:show-button="false"
|
|
281
|
+
ref="esFlowForm"
|
|
282
|
+
:showMsg="showMsg"
|
|
283
|
+
v-bind="
|
|
284
|
+
handleExclAttribute({
|
|
285
|
+
data: contents,
|
|
286
|
+
attrs: ['events', 'visible', 'type', 'model', 'ref']
|
|
287
|
+
})
|
|
288
|
+
"
|
|
289
|
+
full
|
|
290
|
+
:autoId="true"
|
|
291
|
+
:businessId.sync="businessId"
|
|
292
|
+
:closeDialog="false"
|
|
293
|
+
:display="activeName === String(indexs)"
|
|
294
|
+
:model="contents.model"
|
|
295
|
+
v-on="{ ...contents.events }"
|
|
296
|
+
></es-form>
|
|
297
|
+
<es-flow-list
|
|
298
|
+
v-if="
|
|
299
|
+
contents.type === 'flow-list' ||
|
|
300
|
+
contents.type === 'flowList'
|
|
301
|
+
"
|
|
302
|
+
:businessId="businessId"
|
|
303
|
+
v-bind="
|
|
304
|
+
handleExclAttribute({
|
|
305
|
+
data: contents,
|
|
306
|
+
attrs: ['events', 'visible', 'type']
|
|
307
|
+
})
|
|
308
|
+
"
|
|
309
|
+
:display="activeName === String(indexs)"
|
|
310
|
+
></es-flow-list>
|
|
311
|
+
<es-data-table
|
|
312
|
+
v-if="
|
|
313
|
+
contents.type === 'data-table' ||
|
|
314
|
+
contents.type === 'dataTable'
|
|
315
|
+
"
|
|
316
|
+
:appId="taskExamineAppId"
|
|
317
|
+
v-bind="
|
|
318
|
+
handleExclAttribute({
|
|
319
|
+
data: contents,
|
|
320
|
+
attrs: ['events', 'visible', 'type']
|
|
321
|
+
})
|
|
322
|
+
"
|
|
323
|
+
:class="{
|
|
324
|
+
'es-flow-group-data-table':
|
|
325
|
+
contents.type === 'data-table' ||
|
|
326
|
+
contents.type === 'dataTable'
|
|
327
|
+
}"
|
|
328
|
+
:display="activeName === String(indexs)"
|
|
329
|
+
v-on="contents.events"
|
|
330
|
+
>
|
|
331
|
+
<template v-if="contents.dialog" slot="dialog">
|
|
332
|
+
<template v-if="Array.isArray(contents.dialog)">
|
|
208
333
|
<es-dialog
|
|
209
|
-
v-
|
|
334
|
+
v-for="(ele, ids) in contents.dialog"
|
|
210
335
|
:isReload="true"
|
|
211
|
-
v-bind="
|
|
212
|
-
:
|
|
213
|
-
|
|
336
|
+
v-bind="ele"
|
|
337
|
+
:key="ids"
|
|
338
|
+
:visible.sync="ele.visible"
|
|
339
|
+
v-on="{ ...ele.events }"
|
|
214
340
|
>
|
|
215
341
|
</es-dialog>
|
|
216
342
|
</template>
|
|
217
|
-
</es-data-table>
|
|
218
|
-
<es-tree-group
|
|
219
|
-
v-if="
|
|
220
|
-
item.type === 'tree-group' || item.type === 'treeGroup'
|
|
221
|
-
"
|
|
222
|
-
:appId="taskExamineAppId"
|
|
223
|
-
v-bind="
|
|
224
|
-
handleExclAttribute({
|
|
225
|
-
data: item,
|
|
226
|
-
attrs: ['events', 'visible', 'type']
|
|
227
|
-
})
|
|
228
|
-
"
|
|
229
|
-
:key="index"
|
|
230
|
-
:display="activeName === String(indexs)"
|
|
231
|
-
v-on="{ ...item.events }"
|
|
232
|
-
></es-tree-group>
|
|
233
|
-
<iframe
|
|
234
|
-
v-if="item.type === 'iframe' && !item.blank"
|
|
235
|
-
frameborder="0"
|
|
236
|
-
width="100%"
|
|
237
|
-
height="100%"
|
|
238
|
-
:key="index"
|
|
239
|
-
:id="item.id || item.name"
|
|
240
|
-
:name="item.name"
|
|
241
|
-
:src="handleUrlJoinParams(item)"
|
|
242
|
-
></iframe>
|
|
243
|
-
<es-upload
|
|
244
|
-
v-if="item.type === 'attachment'"
|
|
245
|
-
height="auto"
|
|
246
|
-
class="es-attachment"
|
|
247
|
-
:ownId="businessId"
|
|
248
|
-
v-bind="
|
|
249
|
-
handleExclAttribute({
|
|
250
|
-
data: item,
|
|
251
|
-
attrs: ['events', 'type']
|
|
252
|
-
})
|
|
253
|
-
"
|
|
254
|
-
:key="index"
|
|
255
|
-
:file-count.sync="items.title.count"
|
|
256
|
-
:display="activeName === String(indexs)"
|
|
257
|
-
v-on="{ ...item.events }"
|
|
258
|
-
></es-upload>
|
|
259
|
-
<es-dialog
|
|
260
|
-
v-if="
|
|
261
|
-
item.type === 'dialog' && activeName === String(indexs)
|
|
262
|
-
"
|
|
263
|
-
:isReload="true"
|
|
264
|
-
v-bind="item"
|
|
265
|
-
:key="index"
|
|
266
|
-
:visible.sync="item.visible"
|
|
267
|
-
v-on="{ ...item.events }"
|
|
268
|
-
>
|
|
269
|
-
</es-dialog>
|
|
270
|
-
</template>
|
|
271
|
-
</template>
|
|
272
|
-
</template>
|
|
273
|
-
<template v-else>
|
|
274
|
-
<es-form
|
|
275
|
-
v-if="items.contents.type === 'form'"
|
|
276
|
-
:show-button="false"
|
|
277
|
-
ref="esFlowForm"
|
|
278
|
-
:showMsg="showMsg"
|
|
279
|
-
v-bind="
|
|
280
|
-
handleExclAttribute({
|
|
281
|
-
data: items.contents,
|
|
282
|
-
attrs: ['events', 'visible', 'type', 'model', 'ref']
|
|
283
|
-
})
|
|
284
|
-
"
|
|
285
|
-
full
|
|
286
|
-
:autoId="true"
|
|
287
|
-
:businessId.sync="businessId"
|
|
288
|
-
:closeDialog="false"
|
|
289
|
-
:display="activeName === String(indexs)"
|
|
290
|
-
:model="items.contents.model"
|
|
291
|
-
v-on="{ ...items.contents.events }"
|
|
292
|
-
></es-form>
|
|
293
|
-
<es-data-table
|
|
294
|
-
v-if="
|
|
295
|
-
items.contents.type === 'data-table' ||
|
|
296
|
-
items.contents.type === 'dataTable' ||
|
|
297
|
-
items.contents.type === 'flow-list' ||
|
|
298
|
-
items.contents.type === 'flowList'
|
|
299
|
-
"
|
|
300
|
-
:appId="taskExamineAppId"
|
|
301
|
-
v-bind="
|
|
302
|
-
handleExclAttribute({
|
|
303
|
-
data: items.contents,
|
|
304
|
-
attrs: ['events', 'visible', 'type']
|
|
305
|
-
})
|
|
306
|
-
"
|
|
307
|
-
:class="{
|
|
308
|
-
'es-flow-group-data-table':
|
|
309
|
-
items.contents.type === 'data-table' ||
|
|
310
|
-
items.contents.type === 'dataTable',
|
|
311
|
-
'es-flow-list':
|
|
312
|
-
items.contents.type === 'flow-list' ||
|
|
313
|
-
items.contents.type === 'flowList'
|
|
314
|
-
}"
|
|
315
|
-
:display="activeName === String(indexs)"
|
|
316
|
-
v-on="items.contents.events"
|
|
317
|
-
>
|
|
318
|
-
<template v-if="items.contents.dialog" slot="dialog">
|
|
319
|
-
<template v-if="Array.isArray(items.contents.dialog)">
|
|
320
343
|
<es-dialog
|
|
321
|
-
v-
|
|
344
|
+
v-else
|
|
322
345
|
:isReload="true"
|
|
323
|
-
v-bind="
|
|
324
|
-
:
|
|
325
|
-
|
|
326
|
-
v-on="{ ...ele.events }"
|
|
346
|
+
v-bind="contents.dialog"
|
|
347
|
+
:visible.sync="contents.dialog.visible"
|
|
348
|
+
v-on="{ ...contents.dialog.events }"
|
|
327
349
|
>
|
|
328
350
|
</es-dialog>
|
|
329
351
|
</template>
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
data: items.contents,
|
|
372
|
-
attrs: ['events', 'type']
|
|
373
|
-
})
|
|
374
|
-
"
|
|
375
|
-
:file-count.sync="items.title.count"
|
|
376
|
-
:display="activeName === String(indexs)"
|
|
377
|
-
height="auto"
|
|
378
|
-
class="es-attachment"
|
|
379
|
-
v-on="{ ...items.contents.events }"
|
|
380
|
-
></es-upload>
|
|
352
|
+
</es-data-table>
|
|
353
|
+
<es-tree-group
|
|
354
|
+
v-if="
|
|
355
|
+
contents.type === 'tree-group' ||
|
|
356
|
+
contents.type === 'treeGroup'
|
|
357
|
+
"
|
|
358
|
+
:appId="taskExamineAppId"
|
|
359
|
+
v-bind="
|
|
360
|
+
handleExclAttribute({
|
|
361
|
+
data: contents,
|
|
362
|
+
attrs: ['events', 'visible', 'type']
|
|
363
|
+
})
|
|
364
|
+
"
|
|
365
|
+
:display="activeName === String(indexs)"
|
|
366
|
+
v-on="{ ...contents.events }"
|
|
367
|
+
></es-tree-group>
|
|
368
|
+
<iframe
|
|
369
|
+
v-if="contents.type === 'iframe' && !contents.blank"
|
|
370
|
+
:id="contents.id || contents.name"
|
|
371
|
+
:name="contents.name"
|
|
372
|
+
frameborder="0"
|
|
373
|
+
width="100%"
|
|
374
|
+
height="100%"
|
|
375
|
+
:src="handleUrlJoinParams(contents)"
|
|
376
|
+
></iframe>
|
|
377
|
+
<es-upload
|
|
378
|
+
v-if="contents.type === 'attachment'"
|
|
379
|
+
:ownId="businessId"
|
|
380
|
+
v-bind="
|
|
381
|
+
handleExclAttribute({
|
|
382
|
+
data: contents,
|
|
383
|
+
attrs: ['events', 'type']
|
|
384
|
+
})
|
|
385
|
+
"
|
|
386
|
+
:file-count.sync="title.count"
|
|
387
|
+
:display="activeName === String(indexs)"
|
|
388
|
+
height="auto"
|
|
389
|
+
class="es-attachment"
|
|
390
|
+
v-on="{ ...contents.events }"
|
|
391
|
+
></es-upload>
|
|
392
|
+
</template>
|
|
381
393
|
</template>
|
|
382
|
-
</
|
|
394
|
+
</es-tabs-panel>
|
|
383
395
|
</el-tab-pane>
|
|
384
396
|
</template>
|
|
385
397
|
</el-tabs>
|
|
@@ -387,6 +399,7 @@
|
|
|
387
399
|
<es-flow
|
|
388
400
|
v-if="isShow"
|
|
389
401
|
class="es-group-flow"
|
|
402
|
+
:pendingId="pendingId"
|
|
390
403
|
v-bind="flow"
|
|
391
404
|
:style="{ width: _width }"
|
|
392
405
|
:before-submit="handleSubmit"
|
|
@@ -483,11 +496,13 @@ export default {
|
|
|
483
496
|
this.handleChangeData({ businessId: val });
|
|
484
497
|
}
|
|
485
498
|
},
|
|
486
|
-
|
|
487
|
-
if (this.flow.businessId) {
|
|
488
|
-
this.businessId =
|
|
499
|
+
created() {
|
|
500
|
+
if (this.flow.businessId || this.pendingId || this.flow.pendingId) {
|
|
501
|
+
this.businessId =
|
|
502
|
+
this.flow.businessId || this.pendingId || this.flow.pendingId;
|
|
489
503
|
}
|
|
490
504
|
},
|
|
505
|
+
mounted() {},
|
|
491
506
|
methods: {
|
|
492
507
|
handleHide(res) {
|
|
493
508
|
return typeof res === 'boolean'
|