@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
|
@@ -217,8 +217,7 @@ export const getExportConfig = attrs => {
|
|
|
217
217
|
types: ['xlsx', 'csv'],
|
|
218
218
|
modes: ['current', 'selected', 'all'],
|
|
219
219
|
useStyle: true,
|
|
220
|
-
sheetMethod: ({ worksheet }) =>
|
|
221
|
-
attrs.onSheetMethod ? attrs.onSheetMethod(worksheet) : onSheetMethod(worksheet),
|
|
220
|
+
sheetMethod: ({ worksheet }) => (attrs.onSheetMethod ? attrs.onSheetMethod(worksheet) : onSheetMethod(worksheet)),
|
|
222
221
|
columnFilterMethod: ({ column }) =>
|
|
223
222
|
attrs.columnFilter
|
|
224
223
|
? !!attrs.columnFilter(column)
|
|
@@ -227,7 +226,7 @@ export const getExportConfig = attrs => {
|
|
|
227
226
|
};
|
|
228
227
|
|
|
229
228
|
export const getToolBarConfig = (data, props, attrs, hasAuthority) => {
|
|
230
|
-
const
|
|
229
|
+
const refreshOptions = {
|
|
231
230
|
icon: 'ri-refresh-line',
|
|
232
231
|
iconLoading: 'vxe-icon-spinner roll vxe-loading--default-icon'
|
|
233
232
|
};
|
|
@@ -241,9 +240,9 @@ export const getToolBarConfig = (data, props, attrs, hasAuthority) => {
|
|
|
241
240
|
data.toolbarConfig = {
|
|
242
241
|
buttons: [],
|
|
243
242
|
enabled: hasExport,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
refreshOptions,
|
|
244
|
+
exportOptions: { icon: 'ri-download-2-line', code: 'export' },
|
|
245
|
+
customOptions: !!attrs.gridId,
|
|
247
246
|
perfect: true
|
|
248
247
|
};
|
|
249
248
|
return data;
|
|
@@ -259,19 +258,14 @@ export const getToolBarConfig = (data, props, attrs, hasAuthority) => {
|
|
|
259
258
|
toolButtons.reverse().forEach(btn => {
|
|
260
259
|
!buttons.some(s => s.code === btn.code) && buttons.unshift(btn);
|
|
261
260
|
if (attrs.authPrefix && !['print', 'export'].includes(btn.auth)) {
|
|
262
|
-
btn.auth =
|
|
263
|
-
attrs.authPrefix +
|
|
264
|
-
btn.auth.slice(0, 1).toLocaleUpperCase() +
|
|
265
|
-
btn.auth.slice(1).toLocaleLowerCase();
|
|
261
|
+
btn.auth = attrs.authPrefix + btn.auth.slice(0, 1).toLocaleUpperCase() + btn.auth.slice(1).toLocaleLowerCase();
|
|
266
262
|
}
|
|
267
263
|
});
|
|
268
264
|
|
|
269
265
|
buttons = formatButton(buttons, props.auth).filter(button => {
|
|
270
266
|
const flag = button.auth ? hasAuthority(button.auth) : true;
|
|
271
267
|
if (button.dropdowns?.length) {
|
|
272
|
-
button.dropdowns = button.dropdowns.filter(
|
|
273
|
-
btn => !btn.auth || (btn.auth && hasAuthority(btn.auth))
|
|
274
|
-
);
|
|
268
|
+
button.dropdowns = button.dropdowns.filter(btn => !btn.auth || (btn.auth && hasAuthority(btn.auth)));
|
|
275
269
|
}
|
|
276
270
|
return flag;
|
|
277
271
|
});
|
|
@@ -288,9 +282,9 @@ export const getToolBarConfig = (data, props, attrs, hasAuthority) => {
|
|
|
288
282
|
data.toolbarConfig = {
|
|
289
283
|
buttons,
|
|
290
284
|
enabled: true,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
285
|
+
refreshOptions,
|
|
286
|
+
customOptions: !!attrs.gridId,
|
|
287
|
+
exportOptions: exportBtn,
|
|
294
288
|
perfect: true
|
|
295
289
|
};
|
|
296
290
|
return data;
|
|
@@ -400,8 +394,7 @@ export const formatItems = (items, status, span = 24) => {
|
|
|
400
394
|
disabled = true;
|
|
401
395
|
item.placeholder = null;
|
|
402
396
|
} else {
|
|
403
|
-
disabled =
|
|
404
|
-
item.disabled === false ? item.disabled : item.disabled || item.itemRender?.props?.disabled;
|
|
397
|
+
disabled = item.disabled === false ? item.disabled : item.disabled || item.itemRender?.props?.disabled;
|
|
405
398
|
}
|
|
406
399
|
let itemRender = {
|
|
407
400
|
name: 'VxeInput',
|
package/src/main.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: levi7754 levi7754@163.com
|
|
3
|
+
* @Date: 2025-07-25 13:38:20
|
|
4
|
+
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
+
* @LastEditTime: 2025-08-11 16:55:33
|
|
6
|
+
* @FilePath: \udp-front\packages\udp-core\src\main.ts
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/
|
|
1
9
|
/*
|
|
2
10
|
* @Author: wei.li
|
|
3
11
|
* @Date: 2022-10-18 18:13:54
|
|
@@ -41,7 +49,7 @@ import {
|
|
|
41
49
|
// UtForm2,
|
|
42
50
|
// UtGrid2,
|
|
43
51
|
// UtContent,
|
|
44
|
-
|
|
52
|
+
UtModalGrid2
|
|
45
53
|
// UtUpload2
|
|
46
54
|
// UtIconSelect,
|
|
47
55
|
// UtCalendar
|
|
@@ -92,7 +100,7 @@ const init = ({ router, config, lang, views, env, tableConfig }) => {
|
|
|
92
100
|
// app.component('UtModalForm2', UtModalForm2);
|
|
93
101
|
// app.component('UtGrid2', UtGrid2);
|
|
94
102
|
// app.component('UtForm2', UtForm2);
|
|
95
|
-
app.component('
|
|
103
|
+
app.component('UtModalGrid2', UtModalGrid2);
|
|
96
104
|
// .component('UtIconSelect', UtIconSelect)
|
|
97
105
|
// app.component('UtUpload2', UtUpload2);
|
|
98
106
|
// .component('UtCalendar', UtCalendar)
|
package/src/plugins/i18n/en.ts
CHANGED
|
@@ -13,7 +13,6 @@ export default {
|
|
|
13
13
|
login: 'Login',
|
|
14
14
|
home: 'Home',
|
|
15
15
|
logout: 'Logout',
|
|
16
|
-
userName: 'User Name',
|
|
17
16
|
password: 'Password',
|
|
18
17
|
passwordReset: 'Password Reset',
|
|
19
18
|
oldPwd: 'Old Password',
|
|
@@ -78,7 +77,30 @@ export default {
|
|
|
78
77
|
lastMonth: 'Last Month',
|
|
79
78
|
threeMonth: 'Three Month',
|
|
80
79
|
halfYear: 'Half Year',
|
|
81
|
-
anniversary: 'Anniversary'
|
|
80
|
+
anniversary: 'Anniversary',
|
|
81
|
+
|
|
82
|
+
newVersion: '检测到新版本',
|
|
83
|
+
updatenow: '立即更新',
|
|
84
|
+
updateLater: '稍后更新',
|
|
85
|
+
appVersion: '版本号',
|
|
86
|
+
buildNo: '构建号',
|
|
87
|
+
versionInfo: '版本信息',
|
|
88
|
+
isForceUpdate: '安装方式',
|
|
89
|
+
downloadUrl: 'APK文件',
|
|
90
|
+
forceUpdate: '强制更新',
|
|
91
|
+
freeUpdate: '自主更新',
|
|
92
|
+
|
|
93
|
+
userName: 'User Name',
|
|
94
|
+
userCode: 'user Code',
|
|
95
|
+
sysType: 'User Type',
|
|
96
|
+
|
|
97
|
+
orgCode: 'Business Unit Code',
|
|
98
|
+
orgName: 'Business Unit Name',
|
|
99
|
+
orgAlias: 'Business Unit Alias',
|
|
100
|
+
orgDesc: 'Business Unit Descript',
|
|
101
|
+
|
|
102
|
+
organizationName: 'Organization Name',
|
|
103
|
+
organizationCode: 'Organization Code'
|
|
82
104
|
},
|
|
83
105
|
btn: {
|
|
84
106
|
add: 'Add',
|
|
@@ -243,13 +265,10 @@ export default {
|
|
|
243
265
|
responseContent: 'Response Content',
|
|
244
266
|
stacktrace: 'Stacktrace',
|
|
245
267
|
|
|
246
|
-
userName: 'User Name',
|
|
247
|
-
userCode: 'user Code',
|
|
248
268
|
status: 'Status',
|
|
249
269
|
email: 'Email',
|
|
250
270
|
userPassword: 'Password',
|
|
251
271
|
remarks: 'Remarks',
|
|
252
|
-
sysType: 'User Type',
|
|
253
272
|
userPwd: 'Password',
|
|
254
273
|
unitName: 'Department',
|
|
255
274
|
|
|
@@ -269,14 +288,6 @@ export default {
|
|
|
269
288
|
deptType: 'Department Type',
|
|
270
289
|
deletePartment: 'There are child levels in the department, please delete the child level first',
|
|
271
290
|
|
|
272
|
-
orgCode: 'Business Unit Code',
|
|
273
|
-
orgName: 'Business Unit Name',
|
|
274
|
-
orgAlias: 'Business Unit Alias',
|
|
275
|
-
orgDesc: 'Business Unit Descript',
|
|
276
|
-
|
|
277
|
-
organizationName: 'Organization Name',
|
|
278
|
-
organizationCode: 'Organization Code',
|
|
279
|
-
|
|
280
291
|
lovCode: 'LovCode',
|
|
281
292
|
lovName: 'lovName',
|
|
282
293
|
valueField: 'valueField',
|