cloud-web-corejs 1.1.0-dev.26 → 1.1.0-dev.28
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/Tinymce/index.vue +3 -0
- package/src/components/Tinymce/mce-chrome.scss +150 -0
- package/src/components/VabUpload/index.vue +1 -1
- package/src/components/VabUpload/style.scss +282 -0
- package/src/components/baseArea/index.vue +2 -2
- package/src/components/code-editor/ace-chrome.scss +17 -0
- package/src/components/code-editor/index.vue +3 -0
- package/src/components/excelImport/index.vue +1 -1
- package/src/components/fileLibrary/style.scss +579 -0
- package/src/components/hiprint/style.scss +188 -0
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/langImport/index.vue +1 -1
- package/src/components/mobile/buttonGroup/index.vue +1 -1
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/onlineTalk/index.vue +2 -2
- package/src/components/table/index.js +3 -0
- package/src/components/table/style.scss +1399 -0
- package/src/components/wf/style.scss +265 -0
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +1 -1
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +18 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +33 -20
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +8 -8
- package/src/components/xform/form-render/container-item/data-table-mixin.js +16 -8
- package/src/components/xform/form-render/container-item/list-h5-item.vue +92 -309
- package/src/components/xform/mixins/scriptHttp.js +28 -7
- package/src/components/xform/styles/census.scss +288 -0
- package/src/components/xform/styles/containers.scss +208 -0
- package/src/components/xform/styles/designer.scss +904 -0
- package/src/components/xform/styles/detail-temp.scss +71 -0
- package/src/components/xform/styles/h5-designer.scss +191 -0
- package/src/components/xform/styles/h5.scss +5 -6
- package/src/components/xform/styles/skins.scss +398 -0
- package/src/components/xform/styles/table-layout.scss +91 -0
- package/src/components/xform/styles/titles.scss +255 -0
- package/src/components/xform/utils/util.js +20 -0
- package/src/index.js +2 -514
- package/src/layout/components/Sidebar/default.vue +3 -3
- package/src/layout/components/TagsView/index.vue +1 -1
- package/src/layout/defaultLayout.vue +2 -2
- package/src/store/modules/settings.js +1 -1
- package/src/utils/vab.js +33 -11
- package/src/views/bd/setting/formVersion/compareContMixin.scss +1 -1
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/user/commMenu/index.vue +3 -1
- package/src/views/user/commMenu/style.scss +123 -0
- package/src/views/user/home/default.vue +5 -5
- package/src/views/user/home/default2.vue +2 -2
- package/src/views/user/role/edit.vue +4 -0
- package/src/views/user/role/role-box.scss +83 -0
- package/src/views/user/role/voc_edit.vue +4 -0
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
- package/src/resources/js/base/common.js +0 -110
- package/src/views/user/outLink/cc_form_view.vue +0 -188
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// Core xform table-layout / table-d-box field widths extracted from the app stylesheet.
|
|
2
|
+
@import "~@base/styles/variables.scss";
|
|
3
|
+
|
|
4
|
+
.table-d-box {
|
|
5
|
+
td {
|
|
6
|
+
.field-wrapper {
|
|
7
|
+
.el-form-item__label {
|
|
8
|
+
color: rgba(86, 86, 86, 0.96);
|
|
9
|
+
}
|
|
10
|
+
.el-form-item__content span {
|
|
11
|
+
text-align: left;
|
|
12
|
+
font-size: $fontSizeBase;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&.w1 {
|
|
16
|
+
width: 284.2px;
|
|
17
|
+
.field-wrapper .el-form-item__content {
|
|
18
|
+
width: 172.2px !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&.w2 {
|
|
22
|
+
width: 569.4px;
|
|
23
|
+
.field-wrapper .el-form-item__content {
|
|
24
|
+
width: 457.4px !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&.w3 {
|
|
28
|
+
width: 853.6px;
|
|
29
|
+
.field-wrapper .el-form-item__content {
|
|
30
|
+
width: 741.6px !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&.w4 {
|
|
34
|
+
width: 1138.8px;
|
|
35
|
+
.field-wrapper .el-form-item__content {
|
|
36
|
+
width: 1026.8px !important;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&.table-block-top {
|
|
41
|
+
td {
|
|
42
|
+
vertical-align: bottom;
|
|
43
|
+
}
|
|
44
|
+
.field-wrapper {
|
|
45
|
+
display: block;
|
|
46
|
+
.el-form-item {
|
|
47
|
+
display: block !important;
|
|
48
|
+
padding-right: 12px;
|
|
49
|
+
margin-bottom: 4px;
|
|
50
|
+
&:before {
|
|
51
|
+
content: "";
|
|
52
|
+
width: 5px;
|
|
53
|
+
height: 3px;
|
|
54
|
+
background-color: #333;
|
|
55
|
+
border-radius: 5px;
|
|
56
|
+
display: inline-block;
|
|
57
|
+
position: absolute;
|
|
58
|
+
top: 20px;
|
|
59
|
+
left: 18px;
|
|
60
|
+
}
|
|
61
|
+
.el-form-item__label {
|
|
62
|
+
display: block !important;
|
|
63
|
+
width: 100% !important;
|
|
64
|
+
text-align: left !important;
|
|
65
|
+
height: auto !important;
|
|
66
|
+
padding: 14px 0 8px 30px !important;
|
|
67
|
+
margin-bottom: 0 !important;
|
|
68
|
+
margin-top: 0 !important;
|
|
69
|
+
color: #212121 !important;
|
|
70
|
+
position: relative;
|
|
71
|
+
word-break: break-word !important;
|
|
72
|
+
line-height: 1.2;
|
|
73
|
+
float: none;
|
|
74
|
+
&:after {
|
|
75
|
+
position: static !important;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.el-form-item__content {
|
|
79
|
+
display: block !important;
|
|
80
|
+
margin-left: 0 !important;
|
|
81
|
+
padding: 0 0 0 30px !important;
|
|
82
|
+
height: auto !important;
|
|
83
|
+
width: 100% !important;
|
|
84
|
+
color: #555;
|
|
85
|
+
word-break: break-word;
|
|
86
|
+
min-height: 30px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
// Core xform / workflow title skins extracted from the app stylesheet.
|
|
2
|
+
@import "~@base/styles/variables.scss";
|
|
3
|
+
|
|
4
|
+
.title {
|
|
5
|
+
/*border-top:solid 2px $borderColor;*/
|
|
6
|
+
position: relative;
|
|
7
|
+
padding: 8px 0;
|
|
8
|
+
b {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
line-height: 28px;
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
margin-right: 84px;
|
|
14
|
+
vertical-align: middle;
|
|
15
|
+
color: $baseColor;
|
|
16
|
+
position: relative;
|
|
17
|
+
z-index: 2;
|
|
18
|
+
background: transparentize($baseColor, 0.84);
|
|
19
|
+
margin-left: -12px;
|
|
20
|
+
padding-left: 12px;
|
|
21
|
+
padding-right: 14px;
|
|
22
|
+
border-radius: 0 28px 28px 0;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
i.el-icon-arrow-up,
|
|
25
|
+
i.el-icon-arrow-down {
|
|
26
|
+
font-size: $fontSizeBase;
|
|
27
|
+
vertical-align: middle;
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
margin: 6px 0 8px 4px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.tag {
|
|
33
|
+
height: 26px;
|
|
34
|
+
line-height: 26px;
|
|
35
|
+
border-radius: 26px;
|
|
36
|
+
background-color: #e6a23c;
|
|
37
|
+
color: #fff;
|
|
38
|
+
font-size: 15px;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
padding: 0 12px;
|
|
41
|
+
margin-left: -70px;
|
|
42
|
+
position: relative;
|
|
43
|
+
&:after {
|
|
44
|
+
content: "";
|
|
45
|
+
width: 0;
|
|
46
|
+
height: 0;
|
|
47
|
+
border-top: 7px solid transparent;
|
|
48
|
+
border-right: 7px solid #e6a23c;
|
|
49
|
+
border-bottom: 7px solid transparent;
|
|
50
|
+
position: absolute;
|
|
51
|
+
left: -4px;
|
|
52
|
+
top: 50%;
|
|
53
|
+
margin-top: -7px;
|
|
54
|
+
}
|
|
55
|
+
&.green {
|
|
56
|
+
background: #67c23a;
|
|
57
|
+
&:after {
|
|
58
|
+
border-right-color: #67c23a;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
&.red {
|
|
62
|
+
background: #f56c6c;
|
|
63
|
+
&:after {
|
|
64
|
+
border-right-color: #f56c6c;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.button-sty {
|
|
69
|
+
background: #fbfbfb;
|
|
70
|
+
&.el-button--text span {
|
|
71
|
+
border-bottom: solid 1px #225279;
|
|
72
|
+
color: #225279;
|
|
73
|
+
}
|
|
74
|
+
&.el-button--primary {
|
|
75
|
+
background: $baseColor;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.t1 {
|
|
79
|
+
display: inline-block;
|
|
80
|
+
margin-left: 42px;
|
|
81
|
+
font-size: 15px;
|
|
82
|
+
vertical-align: middle;
|
|
83
|
+
span {
|
|
84
|
+
margin: 0 9px;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
color: #e06e0c;
|
|
87
|
+
font-size: 19px;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.title-second {
|
|
92
|
+
font-size: 13px;
|
|
93
|
+
margin: 10px 0;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
color: $baseColor;
|
|
96
|
+
border-top: solid 1px $borderColor;
|
|
97
|
+
b {
|
|
98
|
+
display: inline-block;
|
|
99
|
+
margin-right: 42px;
|
|
100
|
+
background: transparentize($baseColor, 0.84);
|
|
101
|
+
border-radius: 0 28px 28px 0;
|
|
102
|
+
height: 28px;
|
|
103
|
+
min-width: 100px;
|
|
104
|
+
font-size: 16px;
|
|
105
|
+
font-weight: 400;
|
|
106
|
+
padding-left: 14px;
|
|
107
|
+
line-height: 28px;
|
|
108
|
+
padding-right: 38px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
.title-tab {
|
|
112
|
+
font-size: 13px;
|
|
113
|
+
margin: 10px 0 20px;
|
|
114
|
+
font-weight: 600;
|
|
115
|
+
border-top: solid 1px $borderColor;
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
> div {
|
|
118
|
+
float: left;
|
|
119
|
+
}
|
|
120
|
+
b {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
display: inline-block;
|
|
123
|
+
font-weight: 400;
|
|
124
|
+
line-height: 32px;
|
|
125
|
+
z-index: 1;
|
|
126
|
+
color: #808080;
|
|
127
|
+
background: #eee;
|
|
128
|
+
width: 100px;
|
|
129
|
+
text-align: center;
|
|
130
|
+
border-radius: 0 0 10px 10px;
|
|
131
|
+
margin-right: 8px;
|
|
132
|
+
position: relative;
|
|
133
|
+
&.on {
|
|
134
|
+
background: $baseColor;
|
|
135
|
+
color: #fff !important;
|
|
136
|
+
&:after {
|
|
137
|
+
background-color: $baseColor;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
&:hover {
|
|
141
|
+
color: $baseColor;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
.title-third {
|
|
146
|
+
font-size: 13px;
|
|
147
|
+
margin: 8px 0;
|
|
148
|
+
b {
|
|
149
|
+
font-size: 14px;
|
|
150
|
+
font-weight: 600;
|
|
151
|
+
height: 28px;
|
|
152
|
+
line-height: 28px;
|
|
153
|
+
display: block;
|
|
154
|
+
padding: 0 10px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
.title-four {
|
|
158
|
+
font-size: 13px;
|
|
159
|
+
margin: 8px 0;
|
|
160
|
+
b {
|
|
161
|
+
font-size: 14px;
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
height: 28px;
|
|
164
|
+
line-height: 28px;
|
|
165
|
+
display: inline-block;
|
|
166
|
+
margin-right: 46px;
|
|
167
|
+
}
|
|
168
|
+
.button-sty {
|
|
169
|
+
background: #fbfbfb;
|
|
170
|
+
&.el-button--text span {
|
|
171
|
+
border-bottom: solid 1px $baseColor;
|
|
172
|
+
color: $baseColor;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
.title-five {
|
|
177
|
+
font-size: 13px;
|
|
178
|
+
margin: 8px 0 12px;
|
|
179
|
+
b {
|
|
180
|
+
font-size: 14px;
|
|
181
|
+
font-weight: 600;
|
|
182
|
+
height: 28px;
|
|
183
|
+
line-height: 28px;
|
|
184
|
+
display: inline-block;
|
|
185
|
+
margin-right: 46px;
|
|
186
|
+
&:before {
|
|
187
|
+
content: "";
|
|
188
|
+
display: inline-block;
|
|
189
|
+
width: 8px;
|
|
190
|
+
height: 8px;
|
|
191
|
+
background: $baseColor;
|
|
192
|
+
border-radius: 12px;
|
|
193
|
+
margin-right: 5px;
|
|
194
|
+
margin-top: 9px;
|
|
195
|
+
float: left;
|
|
196
|
+
margin-left: 13px;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
.title-name {
|
|
201
|
+
line-height: 32px;
|
|
202
|
+
b {
|
|
203
|
+
font-size: 16px;
|
|
204
|
+
font-weight: 400;
|
|
205
|
+
vertical-align: middle;
|
|
206
|
+
color: #424242;
|
|
207
|
+
em {
|
|
208
|
+
display: inline-block;
|
|
209
|
+
font-style: inherit;
|
|
210
|
+
color: #59a5e2;
|
|
211
|
+
height: 14px;
|
|
212
|
+
line-height: 14px;
|
|
213
|
+
border-left: solid 4px #59a5e2;
|
|
214
|
+
padding-left: 10px;
|
|
215
|
+
margin-right: 4px;
|
|
216
|
+
font-weight: 400;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
.status {
|
|
220
|
+
height: 26px;
|
|
221
|
+
line-height: 26px;
|
|
222
|
+
border-radius: 26px;
|
|
223
|
+
background-color: #e6a23c;
|
|
224
|
+
color: #fff;
|
|
225
|
+
font-size: 15px;
|
|
226
|
+
display: inline-block;
|
|
227
|
+
padding: 0 12px;
|
|
228
|
+
margin-left: 16px;
|
|
229
|
+
position: relative;
|
|
230
|
+
&:after {
|
|
231
|
+
content: "";
|
|
232
|
+
width: 0;
|
|
233
|
+
height: 0;
|
|
234
|
+
border-top: 7px solid transparent;
|
|
235
|
+
border-right: 7px solid #e6a23c;
|
|
236
|
+
border-bottom: 7px solid transparent;
|
|
237
|
+
position: absolute;
|
|
238
|
+
left: -4px;
|
|
239
|
+
top: 50%;
|
|
240
|
+
margin-top: -7px;
|
|
241
|
+
}
|
|
242
|
+
&.green {
|
|
243
|
+
background: #67c23a;
|
|
244
|
+
&:after {
|
|
245
|
+
border-right-color: #67c23a;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
&.red {
|
|
249
|
+
background: #f56c6c;
|
|
250
|
+
&:after {
|
|
251
|
+
border-right-color: #f56c6c;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -19,6 +19,26 @@ export function isNotNull(value) {
|
|
|
19
19
|
return value !== null && value !== undefined;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* 数据返回类型是否为「分页集合数据」。
|
|
24
|
+
* 设计器 option 存的是字符串 "2",部分存量模板可能是数字 2。
|
|
25
|
+
*/
|
|
26
|
+
export function isPagedCollectionReturnType(accessReturnType) {
|
|
27
|
+
return String(accessReturnType) === "2";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 数据表格是否应展示并启用分页。
|
|
32
|
+
* 分页集合数据必须走分页(请求带 current/size,响应按 records/total 解析),
|
|
33
|
+
* 与「是否显示分页」是否勾选无关。
|
|
34
|
+
*/
|
|
35
|
+
export function shouldShowDataTablePagination(options = {}) {
|
|
36
|
+
return (
|
|
37
|
+
!!options.showPagination ||
|
|
38
|
+
isPagedCollectionReturnType(options.accessReturnType)
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
22
42
|
const ATTACHMENT_WIDGET_TYPES = ["vabUpload", "baseAttachment", "vabUpload2"];
|
|
23
43
|
|
|
24
44
|
const PROJECT_TAG_WIDGET_TYPES = [
|