cloud-web-corejs 1.0.54-dev.404 → 1.0.54-dev.406
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/package.json +1 -1
- package/src/components/fileLibrary/filterDialog.vue +44 -20
- package/src/components/fileLibrary/index.vue +589 -239
- package/src/components/fileLibrary/mixins/indexMixins.js +3 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +376 -2
- package/src/components/xform/form-render/container-item/data-table-mixin.js +2867 -1
- package/src/components/xform/form-render/indexMixin.js +1420 -1249
- package/src/components/xform/utils/util.js +10 -0
- package/src/views/user/wf/wfReport/index.vue +26 -30
|
@@ -422,6 +422,16 @@ export function traverseFieldWidgetsOfContainer(
|
|
|
422
422
|
/*con.widgetList.forEach((cw) => {
|
|
423
423
|
handleWidgetForTraverse(cw, handler, staticWidgetsIncluded);
|
|
424
424
|
});*/
|
|
425
|
+
if (!!con.widgetList) {
|
|
426
|
+
con.widgetList.forEach((childItem) => {
|
|
427
|
+
loopHandleWidgetItem(childItem, con, handler);
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
if (!!e.buttons) {
|
|
431
|
+
con.buttons.forEach((childItem) => {
|
|
432
|
+
loopHandleWidgetItem(childItem, con, handler);
|
|
433
|
+
});
|
|
434
|
+
}
|
|
425
435
|
for (let column of con.options.tableColumns) {
|
|
426
436
|
if (column.widget) {
|
|
427
437
|
handleWidgetForTraverse(column.widget, handler, staticWidgetsIncluded);
|
|
@@ -16,24 +16,15 @@
|
|
|
16
16
|
<el-select
|
|
17
17
|
class="f-btn"
|
|
18
18
|
v-model="formData.stat"
|
|
19
|
-
:placeholder="$
|
|
19
|
+
:placeholder="$t1('全部状态')"
|
|
20
20
|
clearable
|
|
21
21
|
@clear="formData.stat = null"
|
|
22
22
|
@change="handleSelectChange"
|
|
23
23
|
style="width: 128px !important"
|
|
24
24
|
>
|
|
25
|
-
<el-option
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
></el-option>
|
|
29
|
-
<el-option
|
|
30
|
-
:label="$t2('已完成', 'components.wf.wfStatus2')"
|
|
31
|
-
:value="2"
|
|
32
|
-
></el-option>
|
|
33
|
-
<el-option
|
|
34
|
-
:label="$t2('已驳回', 'components.wf.wfStatus3')"
|
|
35
|
-
:value="3"
|
|
36
|
-
></el-option>
|
|
25
|
+
<el-option :label="$t1('审核中')" :value="1"></el-option>
|
|
26
|
+
<el-option :label="$t1('已完成')" :value="2"></el-option>
|
|
27
|
+
<el-option :label="$t1('已驳回')" :value="3"></el-option>
|
|
37
28
|
</el-select>
|
|
38
29
|
<el-select
|
|
39
30
|
class="f-btn"
|
|
@@ -52,14 +43,14 @@
|
|
|
52
43
|
</el-select>
|
|
53
44
|
<el-input
|
|
54
45
|
v-model="formData.name"
|
|
55
|
-
placeholder="流程主题"
|
|
46
|
+
:placeholder="$t1('流程主题')"
|
|
56
47
|
style="width: 128px !important"
|
|
57
48
|
></el-input>
|
|
58
49
|
<span class="button-sty">
|
|
59
50
|
<el-date-picker
|
|
60
51
|
v-model="formData.startStartTime"
|
|
61
52
|
type="date"
|
|
62
|
-
placeholder="启动时间(开始)"
|
|
53
|
+
:placeholder="$t1('启动时间(开始)')"
|
|
63
54
|
size="small"
|
|
64
55
|
clearable
|
|
65
56
|
value-format="yyyy-MM-dd"
|
|
@@ -70,7 +61,7 @@
|
|
|
70
61
|
<el-date-picker
|
|
71
62
|
v-model="formData.endStartTime"
|
|
72
63
|
type="date"
|
|
73
|
-
placeholder="启动时间(结束)"
|
|
64
|
+
:placeholder="$t1('启动时间(结束)')"
|
|
74
65
|
size="small"
|
|
75
66
|
clearable
|
|
76
67
|
value-format="yyyy-MM-dd"
|
|
@@ -82,7 +73,7 @@
|
|
|
82
73
|
<el-date-picker
|
|
83
74
|
v-model="formData.startEndTime"
|
|
84
75
|
type="date"
|
|
85
|
-
placeholder="结束时间(开始)"
|
|
76
|
+
:placeholder="$t1('结束时间(开始)')"
|
|
86
77
|
size="small"
|
|
87
78
|
clearable
|
|
88
79
|
value-format="yyyy-MM-dd"
|
|
@@ -93,7 +84,7 @@
|
|
|
93
84
|
<el-date-picker
|
|
94
85
|
v-model="formData.endEndTime"
|
|
95
86
|
type="date"
|
|
96
|
-
placeholder="结束时间(结束)"
|
|
87
|
+
:placeholder="$t1('结束时间(结束)')"
|
|
97
88
|
size="small"
|
|
98
89
|
clearable
|
|
99
90
|
value-format="yyyy-MM-dd"
|
|
@@ -331,8 +322,13 @@ export default {
|
|
|
331
322
|
},
|
|
332
323
|
columns: [
|
|
333
324
|
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
|
334
|
-
{
|
|
335
|
-
|
|
325
|
+
{
|
|
326
|
+
field: "obj_type_name",
|
|
327
|
+
title: this.$t1("流程类型"),
|
|
328
|
+
width: 150,
|
|
329
|
+
fixed: "left",
|
|
330
|
+
},
|
|
331
|
+
{ field: "name", title: this.$t1("流程主题"), width: 180 },
|
|
336
332
|
{
|
|
337
333
|
field: "stat",
|
|
338
334
|
title: "状态",
|
|
@@ -361,10 +357,10 @@ export default {
|
|
|
361
357
|
},
|
|
362
358
|
},
|
|
363
359
|
},
|
|
364
|
-
{ field: "task_name", title: "当前节点", width: 180 },
|
|
360
|
+
{ field: "task_name", title: this.$t1("当前节点"), width: 180 },
|
|
365
361
|
{
|
|
366
362
|
field: "candidate_names",
|
|
367
|
-
title: "当前处理人",
|
|
363
|
+
title: this.$t1("当前处理人"),
|
|
368
364
|
width: 180,
|
|
369
365
|
slots: {
|
|
370
366
|
default: ({ row }) => {
|
|
@@ -377,11 +373,11 @@ export default {
|
|
|
377
373
|
},
|
|
378
374
|
},
|
|
379
375
|
},
|
|
380
|
-
{ field: "start_time", title: "启动时间", width: 150 },
|
|
381
|
-
{ field: "end_time", title: "结束时间", width: 150 },
|
|
376
|
+
{ field: "start_time", title: this.$t1("启动时间"), width: 150 },
|
|
377
|
+
{ field: "end_time", title: this.$t1("结束时间"), width: 150 },
|
|
382
378
|
{
|
|
383
379
|
field: "duration",
|
|
384
|
-
title: "总耗时",
|
|
380
|
+
title: this.$t1("总耗时"),
|
|
385
381
|
width: 180,
|
|
386
382
|
slots: {
|
|
387
383
|
default: ({ row }) => {
|
|
@@ -396,7 +392,7 @@ export default {
|
|
|
396
392
|
},
|
|
397
393
|
{
|
|
398
394
|
field: "task_duration",
|
|
399
|
-
title: "当前节点耗时",
|
|
395
|
+
title: this.$t1("当前节点耗时"),
|
|
400
396
|
width: 180,
|
|
401
397
|
slots: {
|
|
402
398
|
default: ({ row }) => {
|
|
@@ -409,8 +405,8 @@ export default {
|
|
|
409
405
|
},
|
|
410
406
|
},
|
|
411
407
|
},
|
|
412
|
-
{ field: "approver_num", title: "审批总人数", width: 180 },
|
|
413
|
-
{ field: "node_num", title: "审批节点数量", width: 180 },
|
|
408
|
+
{ field: "approver_num", title: this.$t1("审批总人数"), width: 180 },
|
|
409
|
+
{ field: "node_num", title: this.$t1("审批节点数量"), width: 180 },
|
|
414
410
|
{
|
|
415
411
|
width: 90,
|
|
416
412
|
fixed: "right",
|
|
@@ -429,7 +425,7 @@ export default {
|
|
|
429
425
|
<el-tooltip
|
|
430
426
|
enterable={false}
|
|
431
427
|
effect="dark"
|
|
432
|
-
content="
|
|
428
|
+
content={this.$t1("查看详情")}
|
|
433
429
|
placement="top"
|
|
434
430
|
popper-class="tooltip-skin"
|
|
435
431
|
>
|
|
@@ -446,7 +442,7 @@ export default {
|
|
|
446
442
|
<el-tooltip
|
|
447
443
|
enterable={false}
|
|
448
444
|
effect="dark"
|
|
449
|
-
content={this.$t1("
|
|
445
|
+
content={this.$t1("查看单据")}
|
|
450
446
|
placement="top"
|
|
451
447
|
popper-class="tooltip-skin"
|
|
452
448
|
>
|