@utogether/udp-core 1.0.1-beta.7 → 1.0.1-beta.9
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/{403-BQZ5OAKL.js → 403-BOzKHdlm.js} +1 -1
- package/dist/{404-H55ex36i.js → 404-uwgt4Nll.js} +1 -1
- package/dist/{500-bbrspTnK.js → 500-4HBf6V9m.js} +1 -1
- package/dist/{AuthorityInfo-BWni4UPQ.js → AuthorityInfo-DvbIh1vT.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-7WtOL6Hs.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BlCPvwXU.js} +1 -1
- package/dist/{Company-CuebFrQ0.js → Company-D7Q9BFmr.js} +3 -3
- package/dist/{CompanyPanel-DxPdJs6x.js → CompanyPanel-C0-PJlrt.js} +1 -1
- package/dist/{Department-D2a6Juur.js → Department-h2hlXACv.js} +3 -3
- package/dist/{DepartmentPanel-C_s2R9yl.js → DepartmentPanel-B6hDEQpG.js} +1 -1
- package/dist/{DesignPanel-CexZj3HF.js → DesignPanel-cS58-1v9.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DfmysqwB.js → DesignPanel.vue_vue_type_style_index_0_lang-LdvLC8VU.js} +9 -11
- package/dist/{DictView-C0GS72rG.js → DictView-T3TmpBa8.js} +57 -44
- package/dist/{InvOrganization-a1tQ2CEH.js → InvOrganization-BVuOhzbt.js} +1 -1
- package/dist/Org-CnCBDGKF.js +39 -0
- package/dist/{Preview-BOv5j9i6.js → Preview-BaktKXB1.js} +1 -1
- package/dist/{ReportDefine-Dli1Q0TB.js → ReportDefine-5Rb0PO9A.js} +1 -1
- package/dist/{ReportDesign-zSWkcL_O.js → ReportDesign-DYdkVREA.js} +2 -2
- package/dist/{ReportQuery-D5r3bvFc.js → ReportQuery-BwhzIXMt.js} +1 -1
- package/dist/{ReportQueryFrom-DiostHrX.js → ReportQueryFrom-PHtWwlOe.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Cr2eKMmr.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BE5yZNPM.js} +1 -1
- package/dist/{ReportTemplate-CYy4cZHQ.js → ReportTemplate-DaadVXIi.js} +1 -1
- package/dist/{Role-BFQFxfQS.js → Role-Dtg3nAmG.js} +3 -3
- package/dist/{RoleAssign-BIdWSLTR.js → RoleAssign-DEGtLssH.js} +3 -3
- package/dist/{RolePanel-KC-UgmtF.js → RolePanel-CT7BTPmy.js} +1 -1
- package/dist/{RolePanel-C7ybSknr.js → RolePanel-DpUzfE_o.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C_ZsMf1f.js → RolePanel.vue_vue_type_script_setup_true_lang-Dg2A6DJu.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C91CJO4e.js → RolePanel.vue_vue_type_script_setup_true_lang-Xyo0YEI0.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js → ScrollPanel.vue_vue_type_style_index_0_lang-CyutzDZS.js} +1 -1
- package/dist/{Staff-CY0DLsTN.js → Staff-_NlAGkrh.js} +3 -3
- package/dist/{StaffInfo-DA7p265h.js → StaffInfo-DVgUvVgd.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-f29A44gS.js → StaffInfo.vue_vue_type_script_setup_true_lang-C8hmlFgX.js} +1 -1
- package/dist/{StaffPanel-DYP-mMp9.js → StaffPanel-DKNZE3IE.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-C0YAG2xV.js → StaffPanel.vue_vue_type_script_setup_true_lang-BOOO6Cek.js} +2 -2
- package/dist/{SysUser-FqS3Ctne.js → SysUser-kQUf7XKz.js} +2 -2
- package/dist/{SysUserPanel-C_t6F99T.js → SysUserPanel-C191uX3U.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CKZjy0OF.js → SysUserPanel.vue_vue_type_script_setup_true_lang-SwNbAEvW.js} +43 -43
- package/dist/{SystemMenu-ChFrMzRg.js → SystemMenu-DwuSvHnj.js} +2 -2
- package/dist/{UserInfo-I36LAXVj.js → UserInfo-DIsInFld.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BGY-LYeL.js → UserInfo.vue_vue_type_style_index_0_lang-CnvGdbej.js} +17 -17
- package/dist/{childView-CYpuOzRx.js → childView-3Bs2UBEw.js} +1 -1
- package/dist/{childView-Csnlaqfs.js → childView-BawyULD7.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B8EnA03l.js → childView.vue_vue_type_style_index_0_lang-DWIFCX3X.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DNVlDM_a.js → childView.vue_vue_type_style_index_0_lang-YpWF-p2F.js} +1 -1
- package/dist/{code-rule-DHBSC5Qp.js → code-rule-DVaYcn8S.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-CiI1MFla.js → cron-task-xuzP-BpE.js} +1 -1
- package/dist/{frameView-ZWKlbz9p.js → frameView-Cudt06qS.js} +1 -1
- package/dist/index-CKnq5xIa.js +2623 -0
- package/dist/{layoutView-5OsbpP0u.js → layoutView-BlFTV2jX.js} +2 -2
- package/dist/{login-C55sa9gN.js → login-CpKykfdf.js} +11 -11
- package/dist/{lov-view-DFfaUQ5m.js → lov-view-B2HaxyMs.js} +2 -2
- package/dist/{menuInfo-CZdLtLjN.js → menuInfo-BxCTJ1VW.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgG0aHRy.js → menuInfo.vue_vue_type_style_index_0_lang-CLOPNeUW.js} +2 -2
- package/dist/{pda-app-fLe8mrx-.js → pda-app-DPsAFNiw.js} +8 -10
- package/dist/{resource-ohWKO6Fh.js → resource-Dibb7t8u.js} +1 -1
- package/dist/{su-welcome-_UZTfrXX.js → su-welcome-DejR0KkM.js} +1 -1
- package/dist/{sys-config-DVuBsK7p.js → sys-config-DiySRWns.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CxobZqGL.js → utogether-Dct_14Zk.js} +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -6
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/udp/form-upload.vue +375 -76
- package/src/components/udp/form.vue +12 -7
- package/src/components/udp/grid.vue +2 -18
- package/src/components/udp/lov.vue +5 -27
- package/src/components/udp/upload.vue +1 -3
- package/src/components/udp/utils.ts +12 -6
- package/src/main.ts +119 -119
- package/src/plugins/i18n/en.ts +24 -13
- package/src/plugins/i18n/zh.ts +348 -348
- package/src/plugins/vxe-table/index.ts +3 -3
- package/src/plugins/vxe-table/render.tsx +956 -896
- package/src/style/vxetable.scss +289 -287
- package/src/utils/udp/useRender.ts +17 -6
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/menu/SystemMenu.vue +4 -18
- package/src/views/system/menu/menuInfo.vue +4 -17
- package/src/views/system/role/UserInfo.vue +195 -195
- package/src/views/system/sysUser/SysUserPanel.vue +278 -278
- package/src/views/uapp/pda/pda-app.vue +208 -207
- package/src/views/udev/dict/DictView.vue +7 -0
- package/src/views/ulogin/login.vue +1 -5
- package/src/views/urpt/design/DesignPanel.vue +507 -503
- package/vite.config.ts +2 -1
- package/dist/Org-DifvzLLy.js +0 -35
- package/dist/index-COBMRlmJ.js +0 -5379
package/src/style/vxetable.scss
CHANGED
|
@@ -1,287 +1,289 @@
|
|
|
1
|
-
// 默认主题
|
|
2
|
-
html[data-vxe-ui-theme='light'] {
|
|
3
|
-
// 字体颜色
|
|
4
|
-
--vxe-ui-font-color: #000;
|
|
5
|
-
--vxe-ui-table-font-color: #000;
|
|
6
|
-
|
|
7
|
-
// 禁用颜色
|
|
8
|
-
--vxe-ui-font-disabled-color: #040404;
|
|
9
|
-
--el-disabled-text-color: #040404;
|
|
10
|
-
--vxe-ui-input-disabled-background-color: #fafafa;
|
|
11
|
-
--el-disabled-bg-color: #fafafa;
|
|
12
|
-
--vxe-ui-button-height-mini: 24px;
|
|
13
|
-
--vxe-ui-table-row-current-background-color: #00b789;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** 重写table的背景 */
|
|
17
|
-
.vxe-table--header {
|
|
18
|
-
font-weight: 700;
|
|
19
|
-
color: #34538b;
|
|
20
|
-
background-color: #d8e5f7;
|
|
21
|
-
background-image: linear-gradient(180deg, #d8e5f7, #bcd3f5);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** 日期选择器弹出面板 */
|
|
25
|
-
.vxe-input--date-picker-body {
|
|
26
|
-
td.is--prev,
|
|
27
|
-
td.is--next {
|
|
28
|
-
.vxe-input--date-label {
|
|
29
|
-
color: #bfbfbf;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/** 必填录入框颜色 */
|
|
35
|
-
.vxe-form--item.is--required {
|
|
36
|
-
.vxe-input > .vxe-input--wrapper > .vxe-input--inner:not(:disabled) {
|
|
37
|
-
background-color: #fffbdf;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.vxe-input
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.vxe-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
.vxe-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.vxe-table--render-default.size--
|
|
105
|
-
.vxe-table--render-default.size--
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
.vxe-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
.vxe-
|
|
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
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
//
|
|
239
|
-
//
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
//
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
//
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
1
|
+
// 默认主题
|
|
2
|
+
html[data-vxe-ui-theme='light'] {
|
|
3
|
+
// 字体颜色
|
|
4
|
+
--vxe-ui-font-color: #000;
|
|
5
|
+
--vxe-ui-table-font-color: #000;
|
|
6
|
+
|
|
7
|
+
// 禁用颜色
|
|
8
|
+
--vxe-ui-font-disabled-color: #040404;
|
|
9
|
+
--el-disabled-text-color: #040404;
|
|
10
|
+
--vxe-ui-input-disabled-background-color: #fafafa;
|
|
11
|
+
--el-disabled-bg-color: #fafafa;
|
|
12
|
+
--vxe-ui-button-height-mini: 24px;
|
|
13
|
+
--vxe-ui-table-row-current-background-color: #00b789;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** 重写table的背景 */
|
|
17
|
+
.vxe-table--header {
|
|
18
|
+
font-weight: 700;
|
|
19
|
+
color: #34538b;
|
|
20
|
+
background-color: #d8e5f7;
|
|
21
|
+
background-image: linear-gradient(180deg, #d8e5f7, #bcd3f5);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** 日期选择器弹出面板 */
|
|
25
|
+
.vxe-input--date-picker-body {
|
|
26
|
+
td.is--prev,
|
|
27
|
+
td.is--next {
|
|
28
|
+
.vxe-input--date-label {
|
|
29
|
+
color: #bfbfbf;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** 必填录入框颜色 */
|
|
35
|
+
.vxe-form--item.is--required {
|
|
36
|
+
.vxe-input > .vxe-input--wrapper > .vxe-input--inner:not(:disabled) {
|
|
37
|
+
background-color: #fffbdf;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.vxe-input:not(.is--disabled) > .vxe-input--wrapper {
|
|
41
|
+
.vxe-input--control-icon {
|
|
42
|
+
background-color: #fffbdf;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.vxe-input--suffix {
|
|
47
|
+
background-color: #fffbdf;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.el-select__wrapper:not(:disabled) {
|
|
51
|
+
background-color: #fffbdf;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.el-input:not(.is-disabled) > .el-input__wrapper {
|
|
55
|
+
background-color: #fffbdf;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.vxe-textarea:not(.is--disabled) > .vxe-textarea--inner {
|
|
59
|
+
background-color: #fffbdf;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** 分页组件:当前页颜色 */
|
|
64
|
+
.vxe-pager {
|
|
65
|
+
.vxe-pager--num-btn:not(.is--disabled).is--active {
|
|
66
|
+
color: #fff !important;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/***** switch ******/
|
|
71
|
+
.vxe-switch {
|
|
72
|
+
padding-left: 0;
|
|
73
|
+
|
|
74
|
+
.vxe-switch--label {
|
|
75
|
+
width: 24px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/********** */
|
|
80
|
+
|
|
81
|
+
/***** grid统计页脚 ******/
|
|
82
|
+
|
|
83
|
+
.ut-grid-footer {
|
|
84
|
+
font-weight: 800;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/************ */
|
|
88
|
+
|
|
89
|
+
.vxe-button--dropdown-wrapper {
|
|
90
|
+
padding: 0;
|
|
91
|
+
|
|
92
|
+
.vxe-button {
|
|
93
|
+
padding: 8px !important;
|
|
94
|
+
border-bottom: 1px solid #bfbfbf;
|
|
95
|
+
|
|
96
|
+
.vxe-button--icon {
|
|
97
|
+
font-size: 16px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// mini-size
|
|
103
|
+
.vxe-table--render-default.size--mini .vxe-header--column:not(.col--ellipsis),
|
|
104
|
+
.vxe-table--render-default.size--mini .vxe-body--column:not(.col--ellipsis),
|
|
105
|
+
.vxe-table--render-default.size--mini .vxe-footer--column:not(.col--ellipsis) {
|
|
106
|
+
padding: 5px 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// small-size
|
|
110
|
+
.vxe-table--render-default.size--small .vxe-header--column:not(.col--ellipsis),
|
|
111
|
+
.vxe-table--render-default.size--small .vxe-body--column:not(.col--ellipsis),
|
|
112
|
+
.vxe-table--render-default.size--small .vxe-footer--column:not(.col--ellipsis) {
|
|
113
|
+
padding: 5px 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.vxe-toolbar {
|
|
117
|
+
height: 36px !important;
|
|
118
|
+
padding: 0 10px;
|
|
119
|
+
color: white;
|
|
120
|
+
|
|
121
|
+
.vxe-custom--option-wrapper {
|
|
122
|
+
.vxe-custom--body {
|
|
123
|
+
li:not([class~='is--checked']) {
|
|
124
|
+
color: #000;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/********************* vxe-modal *****************/
|
|
131
|
+
.vxe-modal {
|
|
132
|
+
.vxe-modal--wrapper .vxe-modal--content {
|
|
133
|
+
padding: 0.4em 0.8em !important;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/********************* vxe-modal *****************/
|
|
138
|
+
|
|
139
|
+
/************* button *******************/
|
|
140
|
+
|
|
141
|
+
// .vxe-button + .vxe-button:not(.type--text) {
|
|
142
|
+
// margin-left: 6px;
|
|
143
|
+
// }
|
|
144
|
+
|
|
145
|
+
.vxe-button {
|
|
146
|
+
padding: 0 0.5em !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/************* button *******************/
|
|
150
|
+
|
|
151
|
+
/************* pulldown *******************/
|
|
152
|
+
.vxe-pulldown {
|
|
153
|
+
width: 100%;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/************* pulldown *******************/
|
|
157
|
+
|
|
158
|
+
.vxe-form {
|
|
159
|
+
.vxe-input.size--mini {
|
|
160
|
+
height: 24px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.vxe-form--item-trigger-node {
|
|
164
|
+
min-width: 60px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// 表单分组标题
|
|
168
|
+
.vxe-form--group-title {
|
|
169
|
+
border-bottom: 1px solid #eee;
|
|
170
|
+
|
|
171
|
+
.vxe-form--item-title-content {
|
|
172
|
+
font-size: 13px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.vxe-form--group-title::before {
|
|
177
|
+
position: relative;
|
|
178
|
+
top: 2px;
|
|
179
|
+
padding-right: 5px;
|
|
180
|
+
color: var(--udp-theme-project-text);
|
|
181
|
+
content: '▉';
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.vxe-form.size--mini .vxe-form--item-inner {
|
|
186
|
+
min-height: 26px !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ut-input-suffix.vxe-input {
|
|
190
|
+
width: 100%;
|
|
191
|
+
height: 34px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.ut-input-suffix.vxe-input .vxe-input--suffix {
|
|
195
|
+
top: 1px;
|
|
196
|
+
width: 40px;
|
|
197
|
+
height: 32px;
|
|
198
|
+
text-align: center;
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
background-color: #f5f7fa;
|
|
201
|
+
border-left: 1px solid #dcdfe6;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ut-input-suffix.vxe-input .vxe-input--inner {
|
|
205
|
+
padding-right: 40px;
|
|
206
|
+
border: 1px solid #dcdfe6;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// 斑马线颜色
|
|
210
|
+
.vxe-table--render-default .vxe-body--row.row--stripe {
|
|
211
|
+
background-color: #e6f7ff;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// 点击高亮
|
|
215
|
+
.vxe-table--render-default {
|
|
216
|
+
.vxe-body--row.row--current {
|
|
217
|
+
.vxe-cell--label {
|
|
218
|
+
font-weight: bold;
|
|
219
|
+
color: #fff;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.vxe-cell > span:first-child:not(.vxe-cell--title, .el-tag) {
|
|
223
|
+
font-weight: bold;
|
|
224
|
+
color: #fff;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.col--checkbox {
|
|
228
|
+
background: #fff !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.vxe-body--column {
|
|
232
|
+
font-weight: bold;
|
|
233
|
+
color: #fff;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// .vxe-cell--label > span:first-child:not(.vxe-cell--title),
|
|
239
|
+
// .vxe-cell > span:first-child:not(.vxe-cell--title) {
|
|
240
|
+
// color: #000;
|
|
241
|
+
// }
|
|
242
|
+
|
|
243
|
+
.vxe-cell {
|
|
244
|
+
.el-tag:first-child:not(.vxe-cell--title) {
|
|
245
|
+
.el-tag__content {
|
|
246
|
+
color: #fff !important;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.el-switch span:first-child:not(.vxe-cell--title) {
|
|
251
|
+
color: #fff !important;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.vxe-table--header-wrapper {
|
|
256
|
+
// .vxe-checkbox--icon {
|
|
257
|
+
// // color: #fff !important;
|
|
258
|
+
// }
|
|
259
|
+
|
|
260
|
+
.vxe-icon-checkbox-checked,
|
|
261
|
+
.vxe-icon-checkbox-indeterminate {
|
|
262
|
+
color: #409eff !important;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon {
|
|
266
|
+
// color: #fff !important;
|
|
267
|
+
// }
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.ut-grid-wrapper {
|
|
271
|
+
.vxe-form--item-content {
|
|
272
|
+
.vxe-switch {
|
|
273
|
+
height: 24px;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.vxe-table--body {
|
|
279
|
+
.vxe-body--row:hover {
|
|
280
|
+
font-weight: bold;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.el-table th.el-table__cell {
|
|
285
|
+
font-weight: 700;
|
|
286
|
+
color: #34538b;
|
|
287
|
+
background-color: #d8e5f7;
|
|
288
|
+
background-image: linear-gradient(180deg, #d8e5f7, #bcd3f5);
|
|
289
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: wei.li
|
|
3
3
|
* @Date: 2021-11-29 18:18:00
|
|
4
4
|
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-
|
|
5
|
+
* @LastEditTime: 2025-08-16 18:28:08
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -243,10 +243,7 @@ export const useRender = () => {
|
|
|
243
243
|
*/
|
|
244
244
|
const renderNumber = (attrs?, methods?) => {
|
|
245
245
|
const events = getEvents(methods);
|
|
246
|
-
const props = Object.assign(
|
|
247
|
-
{ type: 'number', clearable: true, min: 0, controls: false },
|
|
248
|
-
attrs || {}
|
|
249
|
-
);
|
|
246
|
+
const props = Object.assign({ type: 'number', clearable: true, min: 0, controls: false }, attrs || {});
|
|
250
247
|
|
|
251
248
|
return {
|
|
252
249
|
name: 'VxeInput',
|
|
@@ -375,6 +372,19 @@ export const useRender = () => {
|
|
|
375
372
|
return { name: '#treeSelect', sourceData, props, events };
|
|
376
373
|
};
|
|
377
374
|
|
|
375
|
+
const renderUpload = (props?, events?) => {
|
|
376
|
+
// 单个模式下,限制只能单个上传
|
|
377
|
+
props = props || {};
|
|
378
|
+
const { singleMode, mode } = props;
|
|
379
|
+
if (singleMode) {
|
|
380
|
+
Object.assign(props, { multiple: false, limitCount: 1, autoHiddenButton: true });
|
|
381
|
+
}
|
|
382
|
+
if (!mode || mode === 'image') {
|
|
383
|
+
props.imageTypes = ['jpg', 'jpeg', 'png', 'gif', 'apk'];
|
|
384
|
+
}
|
|
385
|
+
return { name: '#upload', props, events };
|
|
386
|
+
};
|
|
387
|
+
|
|
378
388
|
const getEvents = (methods: IEvents | Fn) => {
|
|
379
389
|
let events: any = {};
|
|
380
390
|
if (isObject(methods) && !isFunction(methods)) {
|
|
@@ -415,6 +425,7 @@ export const useRender = () => {
|
|
|
415
425
|
renderCellTag,
|
|
416
426
|
renderEnabled,
|
|
417
427
|
renderIconSelect,
|
|
418
|
-
renderTreeSelect
|
|
428
|
+
renderTreeSelect,
|
|
429
|
+
renderUpload
|
|
419
430
|
};
|
|
420
431
|
};
|
|
@@ -24,14 +24,18 @@ const url = '/uums/org';
|
|
|
24
24
|
const xgrid = ref(null);
|
|
25
25
|
const renderHook = useRender();
|
|
26
26
|
|
|
27
|
-
const formItems = [
|
|
27
|
+
const formItems = [
|
|
28
|
+
{ field: 'orgCode', title: 'message.udp.orgCode' },
|
|
29
|
+
{ field: 'orgName', title: 'message.udp.orgName' },
|
|
30
|
+
{ field: 'orgAlias', title: 'message.udp.orgAlias' }
|
|
31
|
+
];
|
|
28
32
|
// 列字段
|
|
29
33
|
const columns = [
|
|
30
34
|
{ type: 'checkbox', width: 50, align: 'center' },
|
|
31
|
-
{ field: 'orgCode', required: true, editRender: { name: '$input' } },
|
|
32
|
-
{ field: 'orgName', required: true, minWidth: 200, editRender: { name: '$input' } },
|
|
33
|
-
{ field: 'orgAlias', editRender: { name: '$input' } },
|
|
34
|
-
{ field: 'orgDesc', editRender: { name: '$input' } },
|
|
35
|
+
{ field: 'orgCode', title: 'message.udp.orgCode', required: true, editRender: { name: '$input' } },
|
|
36
|
+
{ field: 'orgName', title: 'message.udp.orgName', required: true, minWidth: 200, editRender: { name: '$input' } },
|
|
37
|
+
{ field: 'orgAlias', title: 'message.udp.orgAlias', editRender: { name: '$input' } },
|
|
38
|
+
{ field: 'orgDesc', title: 'message.udp.orgDesc', editRender: { name: '$input' } },
|
|
35
39
|
{ field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) }
|
|
36
40
|
];
|
|
37
41
|
|