@utogether/udp-core 1.0.1-beta.4 → 1.0.1-beta.6
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/build/plugins.ts +39 -37
- package/dist/{403-CT4J-t-o.js → 403-Co4hnzlW.js} +1 -1
- package/dist/{404-BAudfnaK.js → 404-BsseeBQQ.js} +1 -1
- package/dist/{500-BlOGtpEE.js → 500-DtKz7MA4.js} +1 -1
- package/dist/{AuthorityInfo-Bl03tEhF.js → AuthorityInfo-iWYEWOmC.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CUwS2F3R.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BWp7PKyH.js} +1 -1
- package/dist/{Company-CIj9XgQn.js → Company-CK8Zkcv3.js} +3 -3
- package/dist/{CompanyPanel-CublK5NN.js → CompanyPanel-DL4UrYYG.js} +1 -1
- package/dist/{Department-BolPW-W3.js → Department-BPHn8to4.js} +3 -3
- package/dist/{DepartmentPanel-BttxSHfM.js → DepartmentPanel-Bqraa_NB.js} +1 -1
- package/dist/{DesignPanel-BwCbn92O.js → DesignPanel-CFOIOZme.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-y2AnCTg6.js → DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js} +2 -2
- package/dist/{DictView-D85ziNV2.js → DictView-CaD1yHQS.js} +1 -1
- package/dist/{InvOrganization-CaAk_f7F.js → InvOrganization-CoO0_wsY.js} +1 -1
- package/dist/{Org-CreIihFE.js → Org-BU3oaFx3.js} +1 -1
- package/dist/{Preview-DMGbhV6q.js → Preview-B-K_bxDG.js} +1 -1
- package/dist/{ReportDefine-DogZwa8T.js → ReportDefine-DElbukSL.js} +1 -1
- package/dist/{ReportDesign-CdSsJJeA.js → ReportDesign-DvUHOKDK.js} +27 -27
- package/dist/{ReportQuery-DPvKqeUm.js → ReportQuery-BcSYRNT3.js} +1 -1
- package/dist/{ReportQueryFrom-UokkfBx_.js → ReportQueryFrom-BGEA4Pqk.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BlOoThY7.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-B-KEPnfY.js} +1 -1
- package/dist/{ReportTemplate-DCnmllXW.js → ReportTemplate-DnPtEoxn.js} +28 -28
- package/dist/{Role-sfmwLiNM.js → Role-CMKkWZil.js} +3 -3
- package/dist/{RoleAssign-WRk90VO2.js → RoleAssign-BToNzG9a.js} +8 -8
- package/dist/{RolePanel-iWysS02n.js → RolePanel-BNqd7-M6.js} +1 -1
- package/dist/{RolePanel-DhP0_5ur.js → RolePanel-BikZ-D2u.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CYXqW-d4.js → RolePanel.vue_vue_type_script_setup_true_lang-DYP3u1Nv.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-_hVY31HC.js → RolePanel.vue_vue_type_script_setup_true_lang-Nngq860f.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BozDFES-.js → ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js} +21 -21
- package/dist/{Staff-Bha-Ijax.js → Staff-DBFATgM_.js} +3 -3
- package/dist/{StaffInfo-CbfYI8UW.js → StaffInfo-CrfwZcEL.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-Ce-MUVYH.js → StaffInfo.vue_vue_type_script_setup_true_lang-CE3_NJF_.js} +11 -11
- package/dist/{StaffPanel-B8094e97.js → StaffPanel-D54Rl_Bg.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-_kJIBCtx.js → StaffPanel.vue_vue_type_script_setup_true_lang-B8wtuSZD.js} +2 -2
- package/dist/{SysUser-D1J9vPnb.js → SysUser-CsuovBei.js} +2 -2
- package/dist/{SysUserPanel-DGDPKKoY.js → SysUserPanel-DNUwWEVp.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-D-5-zKn6.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CY6mhBV0.js} +55 -53
- package/dist/{SystemMenu-Dz8Pllh5.js → SystemMenu-oLmwvaqT.js} +26 -26
- package/dist/{UserInfo-ecAJA2Yg.js → UserInfo-LyrDwBG1.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-4_-I_sQN.js → UserInfo.vue_vue_type_style_index_0_lang-vinrRyOG.js} +1 -1
- package/dist/{childView-4uI_RT2m.js → childView-DGKp87fT.js} +1 -1
- package/dist/{childView-OXXoMFg3.js → childView-SmYl4G6c.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DC-yx4Kv.js → childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js} +40 -40
- package/dist/{childView.vue_vue_type_style_index_0_lang-e43PUsUO.js → childView.vue_vue_type_style_index_0_lang-wVoPvyRY.js} +1 -1
- package/dist/{code-rule-B667R66s.js → code-rule-CfbGjmOs.js} +9 -10
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DcmGSr2D.js → cron-task-DMfwGfms.js} +1 -1
- package/dist/{frameView-BzgaLYjQ.js → frameView-D-hu_pqQ.js} +1 -1
- package/dist/index-ADANSV-q.js +4278 -0
- package/dist/{layoutView-BBQB8pDc.js → layoutView-D3SikBPr.js} +5 -5
- package/dist/{login-DIG7pRU7.js → login-CQ1yBBdY.js} +39 -38
- package/dist/{login-log-CvVnyGi3.js → login-log-kqKzKTto.js} +1 -1
- package/dist/{lov-view-CSIPKZSY.js → lov-view-CSobDBH7.js} +2 -2
- package/dist/{menuInfo-CPHjl7id.js → menuInfo-mFuM30f1.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BXNiinTg.js → menuInfo.vue_vue_type_style_index_0_lang-BsIPzYg0.js} +1 -1
- package/dist/{pda-app-BLjbMcdt.js → pda-app-CIGFsvrX.js} +51 -47
- package/dist/{resource-MxqaSJqB.js → resource-mbd4LPi-.js} +15 -15
- package/dist/{su-welcome-C0flTYCx.js → su-welcome-DruLsVvu.js} +109 -110
- package/dist/{sys-config-CXzGs3Nl.js → sys-config-TXb5cJM4.js} +7 -7
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CFdIDuAT.js → utogether-Cv0UXnEX.js} +1 -1
- package/package.json +18 -18
- package/src/App.vue +1 -1
- package/src/api/index.ts +1 -1
- package/src/components/SuScrollTree/ScrollPanel.vue +3 -3
- package/src/components/udp/count-down.vue +536 -0
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +251 -0
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +4 -0
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +113 -0
- package/src/components/udp/form.vue +107 -0
- package/src/components/udp/grid.vue +12 -6
- package/src/components/udp/index.ts +4 -1
- package/src/components/udp/lov.vue +1 -1
- package/src/components/udp/modal-form.vue +9 -0
- package/src/components/udp/upload.vue +425 -0
- package/src/components/udp/utils.ts +72 -3
- package/src/layout/components/lay-panel/index.vue +3 -3
- package/src/layout/components/lay-search/index.vue +25 -25
- package/src/main.ts +21 -20
- package/src/plugins/i18n/zh.ts +342 -338
- package/src/plugins/vxe-table/render.tsx +5 -3
- package/src/style/vxetable.scss +24 -2
- package/src/utils/{http → udp/http}/index.ts +8 -24
- package/src/utils/{http → udp/http}/types.d.ts +8 -5
- package/src/views/login/login-view.vue +2 -2
- package/src/views/system/menu/menuInfo.vue +1 -1
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/sys/sys-config.vue +1 -1
- package/src/views/system/sysUser/SysUserPanel.vue +9 -5
- package/src/views/uapp/pda/pda-app.vue +9 -3
- package/src/views/udev/dict/childView.vue +6 -1
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/su-welcome.vue +3 -3
- package/src/views/ulogin/login.vue +11 -2
- package/src/views/upms/user/login-log.vue +1 -1
- package/src/views/urpt/design/ReportDesign.vue +8 -8
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/dist/index-CLliRySq.js +0 -2606
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: wei.li
|
|
3
3
|
* @Date: 2021-11-27 20:34:11
|
|
4
4
|
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-
|
|
5
|
+
* @LastEditTime: 2025-08-06 10:46:40
|
|
6
6
|
* @Description: 模板设计器
|
|
7
7
|
-->
|
|
8
8
|
<template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
ref="xgrid"
|
|
13
13
|
:items="formItems"
|
|
14
14
|
:columns="columns"
|
|
15
|
-
:
|
|
15
|
+
:check-method="onCheckMethod"
|
|
16
16
|
:url="url"
|
|
17
17
|
:events="onGridEvents"
|
|
18
18
|
/>
|
|
@@ -53,8 +53,8 @@ const { copy } = useClipboard();
|
|
|
53
53
|
// const printPlugin = $printPlugin.print;
|
|
54
54
|
const serviceApi = getServiceApi();
|
|
55
55
|
const formItems = [
|
|
56
|
-
{ field: 'templateCode', title: 'message.
|
|
57
|
-
{ field: 'templateName', title: 'message.
|
|
56
|
+
{ field: 'templateCode', title: 'message.urpt.templateCode' },
|
|
57
|
+
{ field: 'templateName', title: 'message.urpt.templateName' }
|
|
58
58
|
];
|
|
59
59
|
const url = '/urpt/v1/printTemplate';
|
|
60
60
|
// 列字段
|
|
@@ -62,21 +62,21 @@ const columns = [
|
|
|
62
62
|
{ type: 'checkbox', width: 50, align: 'center' },
|
|
63
63
|
{
|
|
64
64
|
field: 'templateCode',
|
|
65
|
-
title: 'message.
|
|
65
|
+
title: 'message.urpt.templateCode',
|
|
66
66
|
required: true,
|
|
67
67
|
width: 150,
|
|
68
68
|
editRender: renderHook.renderInput()
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
field: 'templateName',
|
|
72
|
-
title: 'message.
|
|
72
|
+
title: 'message.urpt.templateName',
|
|
73
73
|
required: true,
|
|
74
74
|
width: 240,
|
|
75
75
|
editRender: renderHook.renderInput()
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
field: 'paperType',
|
|
79
|
-
title: 'message.
|
|
79
|
+
title: 'message.urpt.paperType',
|
|
80
80
|
width: 120,
|
|
81
81
|
required: true,
|
|
82
82
|
editRender: renderHook.renderDict({ code: 'SU.PRINT.PAPER', defaultValue: 'A4' }),
|
|
@@ -238,7 +238,7 @@ const onGridEvents = {
|
|
|
238
238
|
};
|
|
239
239
|
|
|
240
240
|
const onCheckMethod = ({ row }) => {
|
|
241
|
-
return row
|
|
241
|
+
return row?.enabled !== '1';
|
|
242
242
|
};
|
|
243
243
|
|
|
244
244
|
const onClose = () => {
|
|
@@ -45,9 +45,9 @@ const baseUrl = getBaseURL();
|
|
|
45
45
|
// 列字段
|
|
46
46
|
const columns = [
|
|
47
47
|
{ type: 'checkbox', width: 40, align: 'center' },
|
|
48
|
-
{ field: 'templateCode', title: 'message.
|
|
49
|
-
{ field: 'templateName', title: 'message.
|
|
50
|
-
{ field: 'templateUrl', title: 'message.
|
|
48
|
+
{ field: 'templateCode', title: 'message.urpt.resourceCode', width: 140 },
|
|
49
|
+
{ field: 'templateName', title: 'message.urpt.resourceName', width: 150 },
|
|
50
|
+
{ field: 'templateUrl', title: 'message.urpt.resourceUrl', miWidth: 200 },
|
|
51
51
|
{
|
|
52
52
|
field: 'operate',
|
|
53
53
|
width: 180,
|
|
@@ -62,9 +62,9 @@ const record = ref<IRecord>({});
|
|
|
62
62
|
|
|
63
63
|
const url = '/upms/v1/printTemplateConfig';
|
|
64
64
|
const formItems = [
|
|
65
|
-
{ field: 'templateCode', title: 'message.
|
|
66
|
-
{ field: 'templateName', title: 'message.
|
|
67
|
-
{ field: 'printPosition', title: 'message.
|
|
65
|
+
{ field: 'templateCode', title: 'message.urpt.templateCode' },
|
|
66
|
+
{ field: 'templateName', title: 'message.urpt.templateName' },
|
|
67
|
+
{ field: 'printPosition', title: 'message.urpt.printPosition', code: 'SU.PRINT.VIEW' }
|
|
68
68
|
];
|
|
69
69
|
|
|
70
70
|
// 列字段
|
|
@@ -72,7 +72,7 @@ const columns = [
|
|
|
72
72
|
{ type: 'checkbox', width: 40, align: 'center' },
|
|
73
73
|
{
|
|
74
74
|
field: 'templateCode',
|
|
75
|
-
title: 'message.
|
|
75
|
+
title: 'message.urpt.templateCode',
|
|
76
76
|
required: true,
|
|
77
77
|
width: 120,
|
|
78
78
|
editRender: renderHook.renderLov({
|
|
@@ -81,10 +81,10 @@ const columns = [
|
|
|
81
81
|
mapField: { templateName: 'templateName' }
|
|
82
82
|
})
|
|
83
83
|
},
|
|
84
|
-
{ field: 'templateName', title: 'message.
|
|
84
|
+
{ field: 'templateName', title: 'message.urpt.templateName', width: 180 },
|
|
85
85
|
{
|
|
86
86
|
field: 'printPosition',
|
|
87
|
-
title: 'message.
|
|
87
|
+
title: 'message.urpt.printPosition',
|
|
88
88
|
required: true,
|
|
89
89
|
width: 120,
|
|
90
90
|
formatter: ['formatDict', 'SU.PRINT.VIEW'],
|
|
@@ -92,7 +92,7 @@ const columns = [
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
field: 'buttonCode',
|
|
95
|
-
title: 'message.
|
|
95
|
+
title: 'message.urpt.buttonCode',
|
|
96
96
|
width: 120,
|
|
97
97
|
required: true,
|
|
98
98
|
editRender: renderHook.renderInput()
|