cloud-web-corejs 1.0.54-dev.790 → 1.0.54-dev.792
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/table/tableForm.vue +4 -2
- package/src/components/wf/content.vue +2 -2
- package/src/components/wf/content2.vue +4 -2
- package/src/components/wf/wf.js +18 -0
- package/src/components/xform/form-designer/designer.js +15 -11
- package/src/components/xform/form-designer/form-widget/container-widget/detail-plain-widget.vue +76 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +92 -0
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +44 -5
- package/src/components/xform/form-designer/indexMixin.js +1 -0
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +1 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-plain/detail-plain-editor.vue +75 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +23 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-timeLimit-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +26 -0
- package/src/components/xform/form-render/container-item/detail-plain-item.vue +92 -0
- package/src/components/xform/form-render/indexMixin.js +3 -1
- package/src/components/xform/lang/zh-CN.js +1 -0
- package/src/components/xform/utils/util.js +1 -1
- package/src/index.js +10 -7
- package/src/store/config/index.js +0 -1
- package/src/views/bd/project/branch/form_script/list.vue +12 -3
- package/src/views/bd/project/branch/form_template/list.vue +12 -3
- package/src/views/bd/project/branch/menu_kind/list.vue +13 -3
- package/src/views/bd/project/core/branchPage.js +5 -5
- package/src/views/bd/project/core/branchPageWrap.vue +16 -7
- package/src/views/bd/project/core/branchSearchPage.js +285 -0
- package/src/views/bd/project/core/branchSelect.vue +1 -22
- package/src/views/bd/project/core/branchTreeBar.vue +81 -0
- package/src/views/bd/setting/formVersion/button.vue +5 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +21 -12
- package/src/views/bd/setting/formVersion/link.vue +5 -0
- package/src/views/bd/setting/form_script/edit.vue +1 -0
- package/src/views/bd/setting/form_script/edit1.vue +1 -0
- package/src/views/bd/setting/form_script/form_list.vue +1 -0
- package/src/views/bd/setting/form_script/list.vue +1 -0
- package/src/views/bd/setting/form_script/list1.vue +2 -0
- package/src/views/bd/setting/form_template/edit.vue +1 -0
- package/src/views/bd/setting/form_template/list.vue +2 -0
- package/src/views/bd/setting/table_model/edit.vue +1 -0
- package/src/views/bd/setting/table_model/list.vue +1 -0
- package/src/views/user/wf/wfReport/index.vue +24 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- 分支模块:挂在左侧树顶部、「表单分类」之上 -->
|
|
3
|
+
<div class="bd-branch-tree-bar">
|
|
4
|
+
<div class="branch-info">
|
|
5
|
+
<span class="value" :title="branchLabel">{{ branchLabel }}</span>
|
|
6
|
+
</div>
|
|
7
|
+
<el-tooltip
|
|
8
|
+
:enterable="false"
|
|
9
|
+
effect="dark"
|
|
10
|
+
:content="$t1('打开新分支')"
|
|
11
|
+
placement="top"
|
|
12
|
+
popper-class="tooltip-skin"
|
|
13
|
+
>
|
|
14
|
+
<el-button
|
|
15
|
+
class="open-new"
|
|
16
|
+
icon="el-icon-plus"
|
|
17
|
+
@click="$emit('open-new')"
|
|
18
|
+
></el-button>
|
|
19
|
+
</el-tooltip>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
export default {
|
|
25
|
+
name: "bdBranchTreeBar",
|
|
26
|
+
props: {
|
|
27
|
+
branchLabel: String,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<style lang="scss" scoped>
|
|
33
|
+
/* 与树上方的 .tree-userChange 保持同一套模块样式 */
|
|
34
|
+
.bd-branch-tree-bar {
|
|
35
|
+
flex: none;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
margin: 9px 10px 0;
|
|
39
|
+
padding: 7px 7px 7px 10px;
|
|
40
|
+
background: #f4f6fa;
|
|
41
|
+
border-radius: 5px;
|
|
42
|
+
|
|
43
|
+
.branch-info {
|
|
44
|
+
flex: 1;
|
|
45
|
+
min-width: 0;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: flex-start;
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
line-height: 20px;
|
|
50
|
+
|
|
51
|
+
.value {
|
|
52
|
+
flex: 1;
|
|
53
|
+
min-width: 0;
|
|
54
|
+
/* 长分支名换行显示,最多两行,超出再省略 */
|
|
55
|
+
display: -webkit-box;
|
|
56
|
+
-webkit-line-clamp: 2;
|
|
57
|
+
-webkit-box-orient: vertical;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
text-overflow: ellipsis;
|
|
60
|
+
word-break: break-all;
|
|
61
|
+
font-weight: 600;
|
|
62
|
+
/* 与详情页标题栏的分支标记同色 */
|
|
63
|
+
color: #ff731c;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.open-new {
|
|
68
|
+
flex: none;
|
|
69
|
+
width: 26.5px;
|
|
70
|
+
height: 26.5px;
|
|
71
|
+
margin-left: 8px;
|
|
72
|
+
padding: 0;
|
|
73
|
+
line-height: 26.5px;
|
|
74
|
+
text-align: center;
|
|
75
|
+
background: #fff;
|
|
76
|
+
border: solid 1px rgba(99, 134, 250, 0.15);
|
|
77
|
+
border-radius: 5px;
|
|
78
|
+
color: #6386fa;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
</style>
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
:objType="objType"
|
|
14
14
|
:objCode="objCode"
|
|
15
15
|
:relationCode="relationCode"
|
|
16
|
+
:sid="sid"
|
|
16
17
|
@reverCallback="reverCallback"
|
|
17
18
|
/>
|
|
18
19
|
</el-button>
|
|
@@ -33,6 +34,10 @@ export default {
|
|
|
33
34
|
type: String,
|
|
34
35
|
default: null,
|
|
35
36
|
},
|
|
37
|
+
sid: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: null,
|
|
40
|
+
},
|
|
36
41
|
},
|
|
37
42
|
components: {
|
|
38
43
|
ftHistoryDialog: () =>
|
|
@@ -199,7 +199,7 @@ import { selectDialogMixins } from "@base/mixins/selectDialog";
|
|
|
199
199
|
|
|
200
200
|
export default {
|
|
201
201
|
name: "ftHistoryDialog",
|
|
202
|
-
props: ["visiable", "objType", "objCode", "relationCode"],
|
|
202
|
+
props: ["visiable", "objType", "objCode", "relationCode", "sid"],
|
|
203
203
|
mixins: [selectDialogMixins],
|
|
204
204
|
components: {
|
|
205
205
|
formDesignerDialog: () =>
|
|
@@ -326,8 +326,7 @@ export default {
|
|
|
326
326
|
return {
|
|
327
327
|
...this.formData,
|
|
328
328
|
objType: this.objType,
|
|
329
|
-
|
|
330
|
-
relationCode: this.relationCode,
|
|
329
|
+
sid: this.sid,
|
|
331
330
|
};
|
|
332
331
|
},
|
|
333
332
|
columns: [
|
|
@@ -373,6 +372,16 @@ export default {
|
|
|
373
372
|
field: "modifyDate",
|
|
374
373
|
width: 150,
|
|
375
374
|
},
|
|
375
|
+
{
|
|
376
|
+
title: this.$t1("导入发布人"),
|
|
377
|
+
field: "importBy",
|
|
378
|
+
width: 150,
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
title: this.$t1("导入发布时间"),
|
|
382
|
+
field: "importDate",
|
|
383
|
+
width: 150,
|
|
384
|
+
},
|
|
376
385
|
{
|
|
377
386
|
width: 90,
|
|
378
387
|
fixed: "right",
|
|
@@ -478,13 +487,13 @@ export default {
|
|
|
478
487
|
},
|
|
479
488
|
};
|
|
480
489
|
</script>
|
|
481
|
-
<style scoped lang="scss">
|
|
482
|
-
.designer-drawer{
|
|
483
|
-
left:0;top:50px;
|
|
484
|
-
}
|
|
485
|
-
::v-deep .dialog-style.list-dialog{
|
|
486
|
-
.designer-drawer .el-drawer__body .designer-box{
|
|
487
|
-
height:100%
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
+
<style scoped lang="scss">
|
|
491
|
+
.designer-drawer{
|
|
492
|
+
left:0;top:50px;
|
|
493
|
+
}
|
|
494
|
+
::v-deep .dialog-style.list-dialog{
|
|
495
|
+
.designer-drawer .el-drawer__body .designer-box{
|
|
496
|
+
height:100%
|
|
497
|
+
}
|
|
498
|
+
}
|
|
490
499
|
</style>
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
:objType="objType"
|
|
15
15
|
:objCode="objCode"
|
|
16
16
|
:relationCode="relationCode"
|
|
17
|
+
:sid="sid"
|
|
17
18
|
@reverCallback="reverCallback"
|
|
18
19
|
/>
|
|
19
20
|
</i>
|
|
@@ -36,6 +37,10 @@ export default {
|
|
|
36
37
|
type: String,
|
|
37
38
|
default: null,
|
|
38
39
|
},
|
|
40
|
+
sid: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: null,
|
|
43
|
+
},
|
|
39
44
|
},
|
|
40
45
|
components: {
|
|
41
46
|
ftHistoryDialog: () =>
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
</el-tab-pane>
|
|
15
15
|
<el-tab-pane :label="$t1('列表')" name="second">
|
|
16
16
|
<div class="tree-box fl">
|
|
17
|
+
<slot name="treeTop"></slot>
|
|
17
18
|
<div class="tit">
|
|
18
19
|
<b>{{ $t1("表单分类") }}</b>
|
|
19
20
|
</div>
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
objType="FormScript"
|
|
145
146
|
:objCode="row.scriptCode"
|
|
146
147
|
:relationCode="row.formCode"
|
|
148
|
+
:sid="row.sid"
|
|
147
149
|
@reverCallback="searchEvent"
|
|
148
150
|
></formVersionButton>
|
|
149
151
|
<a
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
</el-tab-pane>
|
|
16
16
|
<el-tab-pane :label="$t1('列表')" name="second">
|
|
17
17
|
<div class="tree-box fl">
|
|
18
|
+
<slot name="treeTop"></slot>
|
|
18
19
|
<div class="tit">
|
|
19
20
|
<b>{{ $t1("表单分类") }}</b>
|
|
20
21
|
</div>
|
|
@@ -159,6 +160,7 @@
|
|
|
159
160
|
<formVersionButton
|
|
160
161
|
objType="FormTemplate"
|
|
161
162
|
:objCode="row.formCode"
|
|
163
|
+
:sid="row.sid"
|
|
162
164
|
@reverCallback="searchEvent"
|
|
163
165
|
></formVersionButton>
|
|
164
166
|
<a
|
|
@@ -526,8 +526,31 @@ export default {
|
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
.filter-btns {
|
|
529
|
+
display: flex;
|
|
530
|
+
align-items: center;
|
|
531
|
+
flex-wrap: nowrap;
|
|
532
|
+
gap: 8px;
|
|
529
533
|
.f-btn {
|
|
530
|
-
margin-right:
|
|
534
|
+
margin-right: 0;
|
|
535
|
+
}
|
|
536
|
+
// 内联的 128px !important 无法被覆盖,但 flex-shrink 依然生效,
|
|
537
|
+
// 让各查询项按比例收缩,保证刷新/搜索按钮不换行掉下去
|
|
538
|
+
::v-deep .el-select,
|
|
539
|
+
::v-deep .el-input,
|
|
540
|
+
::v-deep .el-date-editor {
|
|
541
|
+
flex: 0 1 auto;
|
|
542
|
+
min-width: 76px;
|
|
543
|
+
}
|
|
544
|
+
.button-sty {
|
|
545
|
+
display: flex;
|
|
546
|
+
align-items: center;
|
|
547
|
+
gap: 4px;
|
|
548
|
+
min-width: 0;
|
|
549
|
+
margin: 0;
|
|
550
|
+
}
|
|
551
|
+
> .el-button {
|
|
552
|
+
flex: none;
|
|
553
|
+
white-space: nowrap;
|
|
531
554
|
}
|
|
532
555
|
}
|
|
533
556
|
.sum-statistics {
|