@utogether/udp-core 1.0.1-beta.6 → 1.0.1-beta.8
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-Co4hnzlW.js → 403-Cjzd1bv9.js} +1 -1
- package/dist/{404-BsseeBQQ.js → 404-CJ-3SXgP.js} +1 -1
- package/dist/{500-DtKz7MA4.js → 500-CQ65MvIK.js} +1 -1
- package/dist/{AuthorityInfo-iWYEWOmC.js → AuthorityInfo-BdISFrap.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DsLG5slc.js +100 -0
- package/dist/{Company-CK8Zkcv3.js → Company-Mj-z1hNb.js} +3 -3
- package/dist/{CompanyPanel-DL4UrYYG.js → CompanyPanel-BNXZ7ER3.js} +1 -1
- package/dist/{Department-BPHn8to4.js → Department-C4ygVbSP.js} +3 -3
- package/dist/{DepartmentPanel-Bqraa_NB.js → DepartmentPanel-Bk96mDlD.js} +1 -1
- package/dist/{DesignPanel-CFOIOZme.js → DesignPanel-Bwx2QwMM.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js → DesignPanel.vue_vue_type_style_index_0_lang-B3OjJTHG.js} +24 -26
- package/dist/{DictView-CaD1yHQS.js → DictView-DE3jnxnq.js} +19 -18
- package/dist/{InvOrganization-CoO0_wsY.js → InvOrganization-Drce3xUC.js} +1 -1
- package/dist/Org-C42D9lDj.js +39 -0
- package/dist/{Preview-B-K_bxDG.js → Preview-CCXoRvWF.js} +1 -1
- package/dist/{ReportDefine-DElbukSL.js → ReportDefine-BWsExcQU.js} +1 -1
- package/dist/{ReportDesign-DvUHOKDK.js → ReportDesign-BTzpUpGj.js} +26 -26
- package/dist/{ReportQuery-BcSYRNT3.js → ReportQuery-eoSmPXzc.js} +1 -1
- package/dist/{ReportQueryFrom-BGEA4Pqk.js → ReportQueryFrom-D4YlI5jl.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B-KEPnfY.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DPDGKW9a.js} +1 -1
- package/dist/{ReportTemplate-DnPtEoxn.js → ReportTemplate-BTa2YWq0.js} +1 -1
- package/dist/{Role-CMKkWZil.js → Role-BTGB91P1.js} +6 -6
- package/dist/{RoleAssign-BToNzG9a.js → RoleAssign-BBSY6bYM.js} +3 -3
- package/dist/{RolePanel-BikZ-D2u.js → RolePanel-BaTuyeVC.js} +1 -1
- package/dist/{RolePanel-BNqd7-M6.js → RolePanel-DNDI7e0g.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-BCwAp_1a.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Nngq860f.js → RolePanel.vue_vue_type_script_setup_true_lang-QUeAQHrg.js} +44 -38
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js → ScrollPanel.vue_vue_type_style_index_0_lang-nqrbOaQP.js} +1 -1
- package/dist/{Staff-DBFATgM_.js → Staff-4dbkOqzl.js} +3 -3
- package/dist/{StaffInfo-CrfwZcEL.js → StaffInfo-xFAMTWgD.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CE3_NJF_.js → StaffInfo.vue_vue_type_script_setup_true_lang-CocRlLsO.js} +1 -1
- package/dist/{StaffPanel-D54Rl_Bg.js → StaffPanel-Cx-8MHBz.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B8wtuSZD.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3wfpxel.js} +2 -2
- package/dist/{SysUser-CsuovBei.js → SysUser-BHpgPXsI.js} +2 -2
- package/dist/{SysUserPanel-DNUwWEVp.js → SysUserPanel-DH79Lsnm.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CY6mhBV0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BONl2R1a.js} +104 -100
- package/dist/{SystemMenu-oLmwvaqT.js → SystemMenu-C2JbVgyr.js} +2 -2
- package/dist/{UserInfo-LyrDwBG1.js → UserInfo-Efo-_yRo.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-vinrRyOG.js → UserInfo.vue_vue_type_style_index_0_lang-DnjjBjMU.js} +39 -37
- package/dist/{childView-DGKp87fT.js → childView-D7U7qh_A.js} +1 -1
- package/dist/{childView-SmYl4G6c.js → childView-wFMGHGiX.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-wVoPvyRY.js → childView.vue_vue_type_style_index_0_lang-Bshn4N8Y.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js → childView.vue_vue_type_style_index_0_lang-w2CkZij-.js} +1 -1
- package/dist/{code-rule-CfbGjmOs.js → code-rule-B5dIxV6g.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DMfwGfms.js → cron-task-DWGtihrw.js} +1 -1
- package/dist/{frameView-D-hu_pqQ.js → frameView-DF2mXAwO.js} +1 -1
- package/dist/{index-ADANSV-q.js → index-VU6c04nN.js} +1562 -1309
- package/dist/{layoutView-D3SikBPr.js → layoutView-DUUKW0KX.js} +2 -2
- package/dist/{login-CQ1yBBdY.js → login-ByEoQ2HH.js} +11 -11
- package/dist/{lov-view-CSobDBH7.js → lov-view-DqD__3-w.js} +2 -2
- package/dist/{menuInfo-mFuM30f1.js → menuInfo-a7jPwS1r.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BsIPzYg0.js → menuInfo.vue_vue_type_style_index_0_lang-ZzGrkylA.js} +2 -2
- package/dist/{pda-app-CIGFsvrX.js → pda-app-EP9d0Ypd.js} +201 -189
- package/dist/{resource-mbd4LPi-.js → resource-eughqxkP.js} +1 -1
- package/dist/{su-welcome-DruLsVvu.js → su-welcome-98GLKyZM.js} +1 -1
- package/dist/{sys-config-TXb5cJM4.js → sys-config-gs16tgwA.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-Cv0UXnEX.js → utogether-C4Dd2epc.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/grid.vue +2 -18
- package/src/components/udp/index.ts +2 -2
- package/src/components/udp/modal-grid.vue +288 -297
- package/src/components/udp/utils.ts +11 -18
- package/src/main.ts +10 -2
- package/src/plugins/i18n/en.ts +24 -13
- package/src/plugins/i18n/zh.ts +348 -342
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +92 -17
- package/src/style/vxetable.scss +293 -287
- 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/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +195 -193
- package/src/views/system/role-assign/RolePanel.vue +139 -136
- package/src/views/system/sysUser/SysUserPanel.vue +278 -282
- package/src/views/uapp/pda/pda-app.vue +36 -11
- package/src/views/udev/dict/DictView.vue +6 -1
- package/src/views/udev/dict/childView.vue +1 -6
- package/src/views/ulogin/login.vue +1 -5
- package/src/views/urpt/design/DesignPanel.vue +507 -526
- package/src/views/urpt/design/ReportDesign.vue +7 -11
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BWp7PKyH.js +0 -102
- package/dist/Org-BU3oaFx3.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DYP3u1Nv.js +0 -126
package/src/style/vxetable.scss
CHANGED
|
@@ -1,287 +1,293 @@
|
|
|
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
|
-
width:
|
|
195
|
-
height:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
.vxe-
|
|
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
|
-
.el-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
.vxe-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
.vxe-
|
|
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
|
+
// 表单label加粗
|
|
168
|
+
.vxe-form--item-title-content {
|
|
169
|
+
font-weight: 700;
|
|
170
|
+
color: #192847;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.vxe-form--group-title {
|
|
174
|
+
border-bottom: 1px solid #eee;
|
|
175
|
+
|
|
176
|
+
.vxe-form--item-title-content {
|
|
177
|
+
font-size: 15px;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.vxe-form--group-title::before {
|
|
182
|
+
position: relative;
|
|
183
|
+
top: 2px;
|
|
184
|
+
color: var(--udp-theme-project-text);
|
|
185
|
+
content: '▉';
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.vxe-form.size--mini .vxe-form--item-inner {
|
|
190
|
+
min-height: 26px !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.ut-input-suffix.vxe-input {
|
|
194
|
+
width: 100%;
|
|
195
|
+
height: 34px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.ut-input-suffix.vxe-input .vxe-input--suffix {
|
|
199
|
+
top: 1px;
|
|
200
|
+
width: 40px;
|
|
201
|
+
height: 32px;
|
|
202
|
+
text-align: center;
|
|
203
|
+
cursor: pointer;
|
|
204
|
+
background-color: #f5f7fa;
|
|
205
|
+
border-left: 1px solid #dcdfe6;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ut-input-suffix.vxe-input .vxe-input--inner {
|
|
209
|
+
padding-right: 40px;
|
|
210
|
+
border: 1px solid #dcdfe6;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// 斑马线颜色
|
|
214
|
+
.vxe-table--render-default .vxe-body--row.row--stripe {
|
|
215
|
+
background-color: #e6f7ff;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// 点击高亮
|
|
219
|
+
.vxe-table--render-default {
|
|
220
|
+
.vxe-body--row.row--current {
|
|
221
|
+
.vxe-cell--label {
|
|
222
|
+
font-weight: bold;
|
|
223
|
+
color: #fff;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.vxe-cell > span:first-child:not(.vxe-cell--title, .el-tag) {
|
|
227
|
+
font-weight: bold;
|
|
228
|
+
color: #fff;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.col--checkbox {
|
|
232
|
+
background: #fff !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.vxe-body--column {
|
|
236
|
+
font-weight: bold;
|
|
237
|
+
color: #fff;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// .vxe-cell--label > span:first-child:not(.vxe-cell--title),
|
|
243
|
+
// .vxe-cell > span:first-child:not(.vxe-cell--title) {
|
|
244
|
+
// color: #000;
|
|
245
|
+
// }
|
|
246
|
+
|
|
247
|
+
.vxe-cell {
|
|
248
|
+
.el-tag:first-child:not(.vxe-cell--title) {
|
|
249
|
+
.el-tag__content {
|
|
250
|
+
color: #fff !important;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.el-switch span:first-child:not(.vxe-cell--title) {
|
|
255
|
+
color: #fff !important;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.vxe-table--header-wrapper {
|
|
260
|
+
// .vxe-checkbox--icon {
|
|
261
|
+
// // color: #fff !important;
|
|
262
|
+
// }
|
|
263
|
+
|
|
264
|
+
.vxe-icon-checkbox-checked,
|
|
265
|
+
.vxe-icon-checkbox-indeterminate {
|
|
266
|
+
color: #409eff !important;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon {
|
|
270
|
+
// color: #fff !important;
|
|
271
|
+
// }
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ut-grid-wrapper {
|
|
275
|
+
.vxe-form--item-content {
|
|
276
|
+
.vxe-switch {
|
|
277
|
+
height: 24px;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.vxe-table--body {
|
|
283
|
+
.vxe-body--row:hover {
|
|
284
|
+
font-weight: bold;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.el-table th.el-table__cell {
|
|
289
|
+
font-weight: 700;
|
|
290
|
+
color: #34538b;
|
|
291
|
+
background-color: #d8e5f7;
|
|
292
|
+
background-image: linear-gradient(180deg, #d8e5f7, #bcd3f5);
|
|
293
|
+
}
|
|
@@ -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
|
|
|
@@ -16,12 +16,7 @@
|
|
|
16
16
|
mode="form"
|
|
17
17
|
@toolbarButtonClick="handleToolClick"
|
|
18
18
|
/>
|
|
19
|
-
<MenuInfo
|
|
20
|
-
:show="data.showDrawer"
|
|
21
|
-
:record="data.record"
|
|
22
|
-
:data-status="data.dataStatus"
|
|
23
|
-
@close="onClose"
|
|
24
|
-
/>
|
|
19
|
+
<MenuInfo :show="data.showDrawer" :record="data.record" :data-status="data.dataStatus" @close="onClose" />
|
|
25
20
|
<AuthorityPanel :show="data.showAuthority" :record="data.record" @close="onClose" />
|
|
26
21
|
</div>
|
|
27
22
|
</template>
|
|
@@ -88,22 +83,13 @@ const columns = [
|
|
|
88
83
|
slots: {
|
|
89
84
|
default: ({ row }) => {
|
|
90
85
|
const type = row.menuType;
|
|
91
|
-
const addCmp = (
|
|
92
|
-
|
|
93
|
-
);
|
|
94
|
-
const authCmp = (
|
|
95
|
-
<ut-button icon="ri-lock-fill" content="auth" onTap={() => handleAuthorityPanel(row)} />
|
|
96
|
-
);
|
|
86
|
+
const addCmp = <ut-button status="u-cyan" icon="ri-add-fill" content="add" onTap={() => handleAdd(row)} />;
|
|
87
|
+
const authCmp = <ut-button icon="ri-lock-fill" content="auth" onTap={() => handleAuthorityPanel(row)} />;
|
|
97
88
|
return [
|
|
98
89
|
<>
|
|
99
90
|
{!type ? (
|
|
100
91
|
<>
|
|
101
|
-
<ut-button
|
|
102
|
-
status="success"
|
|
103
|
-
icon="ri-edit-box-line"
|
|
104
|
-
content="edit"
|
|
105
|
-
onTap={() => handleEdit(row)}
|
|
106
|
-
/>
|
|
92
|
+
<ut-button status="success" icon="ri-edit-box-line" content="edit" onTap={() => handleEdit(row)} />
|
|
107
93
|
{['0', '5'].includes(row.menuCategory) ? addCmp : authCmp}
|
|
108
94
|
</>
|
|
109
95
|
) : null}
|