@utogether/udp-core 2.0.0-beta.24 → 2.0.0-beta.26
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-D6Wb3JJh.js +72 -0
- package/dist/404-B_HNbPNV.js +72 -0
- package/dist/500-BMemTTy1.js +77 -0
- package/dist/AuthorityInfo-6wHxwiFM.js +91 -0
- package/dist/AuthorityPanel-OqF_DvXA.js +98 -0
- package/dist/Company-BLXSfow0.js +21 -0
- package/dist/CompanyPanel-B4kRZ5Cg.js +199 -0
- package/dist/DataSet-CuGZcKC-.js +141 -0
- package/dist/Department-oFhsa7cd.js +21 -0
- package/dist/DepartmentPanel-B1UGpu-r.js +242 -0
- package/dist/DepartmentPanel-BL58AdoT.js +2 -0
- package/dist/DesignPanel-DmkFVw1N.js +1196 -0
- package/dist/DictView-CC5yMzOq.js +100 -0
- package/dist/File-WJXjGYxr.js +89 -0
- package/dist/InvOrganization-BwMmD8Ua.js +76 -0
- package/dist/Org-HgnOWubi.js +76 -0
- package/dist/Preview-CAzWxLmP.js +45 -0
- package/dist/ReIcon-DecitXmg.js +413 -0
- package/dist/ReportDefine-BgLM-Rjk.js +10 -0
- package/dist/ReportDesign-DwchGG2P.js +158 -0
- package/dist/ReportQuery-D5jaRJEn.js +101 -0
- package/dist/ReportQueryFrom-CNlmtYey.js +198 -0
- package/dist/ReportTemplate-CNcTmccs.js +162 -0
- package/dist/Role-Be8WfdCA.js +21 -0
- package/dist/RoleAssign-CtehGAUf.js +22 -0
- package/dist/RolePanel-CAwITg_q.js +131 -0
- package/dist/RolePanel-SN0FGFZ7.js +176 -0
- package/dist/ScrollPanel-DW30pGz1.js +88 -0
- package/dist/Staff-V2YsNKcj.js +22 -0
- package/dist/StaffInfo-CKRPW0r4.js +149 -0
- package/dist/StaffPanel-BxcgMg7u.js +143 -0
- package/dist/SysUser-Dxyj5w5m.js +12 -0
- package/dist/SysUserPanel-DI6CWcZo.js +365 -0
- package/dist/SystemMenu-BBHREM8T.js +154 -0
- package/dist/UserInfo-BMVQ0xwE.js +194 -0
- package/dist/_plugin-vue_export-helper-C6QCLu9I.js +8 -0
- package/dist/api-BFNxcxSN.js +30 -0
- package/dist/authority-BJFEUdrh.js +20 -0
- package/dist/await-to-js.es5-DkWYmPXW.js +10 -0
- package/dist/childView-BBjPEraB.js +184 -0
- package/dist/childView-DNqG2UVm.js +181 -0
- package/dist/code-rule-QFrhqFrW.js +151 -0
- package/dist/contant-Q77dU_V3.js +4 -0
- package/dist/core.es.js +6 -23
- package/dist/cron-task-BpUDKEAU.js +131 -0
- package/dist/flow-task-DAc2NrDU.js +11 -0
- package/dist/frameView-Di0zJZUR.js +39 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/layout-home-BVp7vYLR.js +239 -0
- package/dist/layoutView-B6Mx2ERA.js +2662 -0
- package/dist/log-in-BrNB0mLz.js +117 -0
- package/dist/log-out-dYfqvzy6.js +111 -0
- package/dist/login-D_Hjy3Jd.js +231 -0
- package/dist/login-log-CJak-ANA.js +79 -0
- package/dist/lov-view-DM5Nm5tW.js +95 -0
- package/dist/menuInfo-BlOY1KZW.js +346 -0
- package/dist/mitt-CQgI7DYU.js +27 -0
- package/dist/pda-app-CA7YI37u.js +589 -0
- package/dist/redirect-N0k4tImU.js +16 -0
- package/dist/resource-CfQTHFcs.js +94 -0
- package/dist/su-welcome-DVD3S_du.js +799 -0
- package/dist/sys-config-Ddb3vBpK.js +316 -0
- package/dist/system-Cm3lyBas.js +1528 -0
- package/dist/udp-core-DaQd5CF1.js +2028 -0
- package/dist/udp-core.css +2 -1
- package/dist/useDataThemeChange-DJ4K3VGp.js +226 -0
- package/dist/useNav-BhOJIdrJ.js +106 -0
- package/dist/utogether-l7JXs4Lv.js +4 -0
- package/dist/water-mark-WDQZ9YqB.js +119 -0
- package/dist/wecom-push-kWkAVRCj.js +77 -0
- package/package.json +1 -1
- package/src/App.vue +5 -0
- package/src/api/index.ts +51 -51
- package/src/components/udp/grid/index.vue +9 -11
- package/src/components/udp/index.ts +9 -8
- package/src/components/udp/lov/index.vue +430 -0
- package/src/components/udp/upload/index.vue +444 -444
- package/src/components/udp/utils.ts +420 -414
- package/src/main.ts +4 -6
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +999 -998
- package/src/router/utils.ts +2 -3
- package/src/views/login/login-view.vue +297 -301
- package/src/views/ulogin/login.vue +3 -32
- package/tsconfig.json +1 -1
- package/vite.config.ts +8 -3
- package/dist/403-DDCAPCYb.js +0 -65
- package/dist/404-BclWW4UB.js +0 -65
- package/dist/500-BAggMgTl.js +0 -67
- package/dist/AuthorityInfo-liCxYVNc.js +0 -4
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bd5A4CD-.js +0 -100
- package/dist/AuthorityPanel-CRlAwbaI.js +0 -4
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js +0 -114
- package/dist/Company-DjaOAaWM.js +0 -25
- package/dist/CompanyPanel-Dp_2z717.js +0 -206
- package/dist/DataSet-DT-rGICv.js +0 -147
- package/dist/Department-Bp5RGbl9.js +0 -25
- package/dist/DepartmentPanel-Bg4xM4Lx.js +0 -254
- package/dist/DesignPanel-BS2ioHd_.js +0 -4
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-DWwfRVCj.js +0 -1013
- package/dist/DictView-pYJXt6IS.js +0 -111
- package/dist/InvOrganization-D90gRzlN.js +0 -74
- package/dist/Org-Dk4KuIx2.js +0 -39
- package/dist/Preview-DpZR6uKs.js +0 -48
- package/dist/ReportDefine-PtJnfaLw.js +0 -10
- package/dist/ReportDesign-4HWkcTtA.js +0 -165
- package/dist/ReportQuery-BPY1lWFn.js +0 -75
- package/dist/ReportQueryFrom-CHFlkZ42.js +0 -4
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DbbQydKz.js +0 -178
- package/dist/ReportTemplate-C2F3oy8I.js +0 -161
- package/dist/Role-iTP6DYOi.js +0 -25
- package/dist/RoleAssign-DIYNHQeF.js +0 -26
- package/dist/RolePanel-0ojFIz9G.js +0 -4
- package/dist/RolePanel-B0Yr5vjo.js +0 -4
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CHAj3dCD.js +0 -132
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CXZBxePU.js +0 -154
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-DtNzPRjS.js +0 -101
- package/dist/Staff-sftZ0bIV.js +0 -26
- package/dist/StaffInfo-BG2FMXzR.js +0 -4
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-DzGn0pYY.js +0 -108
- package/dist/StaffPanel-BydqiitC.js +0 -4
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-C42Pnb-b.js +0 -154
- package/dist/SysUser-qMGVHpJ_.js +0 -15
- package/dist/SysUserPanel-Bh1HgSAr.js +0 -4
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BBEMYLQN.js +0 -356
- package/dist/SystemMenu-DUbWmLip.js +0 -156
- package/dist/UserInfo-DNkiTdWm.js +0 -4
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-B1eNklEd.js +0 -160
- package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
- package/dist/childView-CjUjh8Da.js +0 -4
- package/dist/childView-DT9luEEK.js +0 -4
- package/dist/childView.vue_vue_type_style_index_0_lang-CgqosFJQ.js +0 -183
- package/dist/childView.vue_vue_type_style_index_0_lang-DkXHMFPd.js +0 -143
- package/dist/code-rule-uOazxFfn.js +0 -148
- package/dist/cron-task-DEykunjo.js +0 -135
- package/dist/flow-task-B07st2aD.js +0 -10
- package/dist/frameView-FxzlbkeM.js +0 -44
- package/dist/index-BnxyUGKa.js +0 -7944
- package/dist/layout-home-C0jme8Ju.js +0 -232
- package/dist/layoutView-BqMAHIxF.js +0 -3239
- package/dist/log-in-skZaWMBY.js +0 -117
- package/dist/log-out-BiND7muW.js +0 -130
- package/dist/login-C-184YPO.js +0 -235
- package/dist/login-log-BEHYT0v0.js +0 -70
- package/dist/lov-view-Df-swRfy.js +0 -99
- package/dist/menuInfo-CpyjX4a4.js +0 -4
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-D09-OKji.js +0 -363
- package/dist/pda-app-DP87aTBc.js +0 -710
- package/dist/redirect-BqegffKC.js +0 -15
- package/dist/resource-CAldbnw4.js +0 -97
- package/dist/su-welcome-DoBUqadB.js +0 -42225
- package/dist/sys-config-hGuE7DUf.js +0 -385
- package/dist/useNav-Cf_e5pBY.js +0 -92
- package/dist/utogether-MlnyYtNS.js +0 -4
- package/dist/wecom-push-DR7NsNro.js +0 -70
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { t as e } from "./childView-DNqG2UVm.js";
|
|
2
|
+
import { createBlock as t, createCommentVNode as n, createElementBlock as r, createVNode as i, defineComponent as a, nextTick as o, openBlock as s, ref as c, resolveComponent as l } from "vue";
|
|
3
|
+
import { useRender as u } from "@utogether/utils";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/views/udev/dict/DictView.vue
|
|
6
|
+
var d = /* @__PURE__ */ a({
|
|
7
|
+
name: "DictView",
|
|
8
|
+
setup(a) {
|
|
9
|
+
let d = c(null), f = [
|
|
10
|
+
{
|
|
11
|
+
field: "dictCode",
|
|
12
|
+
title: "message.udp.dictCode"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
field: "dictName",
|
|
16
|
+
title: "message.udp.dictName"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
field: "dictType",
|
|
20
|
+
title: "message.udp.dictType",
|
|
21
|
+
code: "SU.DICT.TYPE"
|
|
22
|
+
}
|
|
23
|
+
], p = u(), m = [
|
|
24
|
+
{
|
|
25
|
+
type: "checkbox",
|
|
26
|
+
width: 40,
|
|
27
|
+
align: "center"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
field: "dictCode",
|
|
31
|
+
title: "message.udp.dictCode",
|
|
32
|
+
required: !0,
|
|
33
|
+
editRender: p.renderInput()
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
field: "dictName",
|
|
37
|
+
title: "message.udp.dictName",
|
|
38
|
+
required: !0,
|
|
39
|
+
editRender: p.renderInput()
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
field: "dictType",
|
|
43
|
+
title: "message.udp.dictType",
|
|
44
|
+
required: !0,
|
|
45
|
+
editRender: p.renderDict("SU.DICT.TYPE"),
|
|
46
|
+
formatter: ["formatDict", "SU.DICT.TYPE"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
field: "dictDesc",
|
|
50
|
+
title: "message.udp.dictDesc",
|
|
51
|
+
editRender: p.renderInput()
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
field: "enabled",
|
|
55
|
+
width: 110,
|
|
56
|
+
editRender: p.renderDict({
|
|
57
|
+
code: "SU.ENABLE",
|
|
58
|
+
defaultValue: "1"
|
|
59
|
+
}),
|
|
60
|
+
formatter: ["formatDict", "SU.ENABLE"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
field: "operate",
|
|
64
|
+
width: 80,
|
|
65
|
+
slots: { default: ({ row: e }) => e.id ? [i(l("ut-button"), {
|
|
66
|
+
content: "lov",
|
|
67
|
+
icon: "ri-dice-6-line",
|
|
68
|
+
onClick: () => _(e)
|
|
69
|
+
}, null)] : null }
|
|
70
|
+
}
|
|
71
|
+
], h = c(!1), g = c(null), _ = (e) => {
|
|
72
|
+
o(() => {
|
|
73
|
+
h.value = !0, g.value = e, g.value.total = e.children?.length;
|
|
74
|
+
});
|
|
75
|
+
}, v = () => {
|
|
76
|
+
d.value.refreshData(), h.value = !1;
|
|
77
|
+
}, y = { editActived({ row: e }) {
|
|
78
|
+
m[1].editRender.props.disabled = !!e.id;
|
|
79
|
+
} }, b = (e) => e.dictType !== "0";
|
|
80
|
+
return (a, o) => {
|
|
81
|
+
let c = l("ut-grid");
|
|
82
|
+
return s(), r("div", null, [i(c, {
|
|
83
|
+
ref_key: "xgrid",
|
|
84
|
+
ref: d,
|
|
85
|
+
items: f,
|
|
86
|
+
columns: m,
|
|
87
|
+
"check-method": b,
|
|
88
|
+
events: y,
|
|
89
|
+
url: "/upfm/v1/lov"
|
|
90
|
+
}, null, 512), h.value ? (s(), t(e, {
|
|
91
|
+
key: 0,
|
|
92
|
+
show: h.value,
|
|
93
|
+
record: g.value,
|
|
94
|
+
onOnClose: v
|
|
95
|
+
}, null, 8, ["show", "record"])) : n("", !0)]);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
//#endregion
|
|
100
|
+
export { d as default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { t as e } from "./api-BFNxcxSN.js";
|
|
2
|
+
import { createElementBlock as t, createVNode as n, defineComponent as r, openBlock as i, ref as a, resolveComponent as o } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/views/ufile/aggregation/File.vue
|
|
5
|
+
var s = /* @__PURE__ */ r({
|
|
6
|
+
name: "AggregationFile",
|
|
7
|
+
setup(r) {
|
|
8
|
+
let s = a(null), c = [
|
|
9
|
+
{
|
|
10
|
+
field: "fileName",
|
|
11
|
+
title: "message.urpt.fileName"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
field: "creationDate",
|
|
15
|
+
itemRender: {
|
|
16
|
+
name: "#SuDateRange",
|
|
17
|
+
props: { type: "daterange" }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{ field: "createdByName" }
|
|
21
|
+
], l = [
|
|
22
|
+
{
|
|
23
|
+
field: "fileName",
|
|
24
|
+
title: "message.urpt.fileName",
|
|
25
|
+
width: 240
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
field: "fileSize",
|
|
29
|
+
title: "message.urpt.fileSize",
|
|
30
|
+
width: 110
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
field: "fileExtend",
|
|
34
|
+
title: "message.urpt.fileExtend",
|
|
35
|
+
width: 100
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
field: "realpath",
|
|
39
|
+
title: "message.urpt.filePath"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
field: "createdByName",
|
|
43
|
+
width: 120
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
field: "creationDate",
|
|
47
|
+
width: 160
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
field: "operate",
|
|
51
|
+
width: 70,
|
|
52
|
+
fixed: "right",
|
|
53
|
+
slots: { default: ({ row: e }) => [
|
|
54
|
+
"png",
|
|
55
|
+
"jpeg",
|
|
56
|
+
"jpg"
|
|
57
|
+
].includes(e.fileExtend) ? [n(o("ut-button"), {
|
|
58
|
+
content: "review",
|
|
59
|
+
icon: "ri-search-line-plus",
|
|
60
|
+
onTap: () => u(e)
|
|
61
|
+
}, null)] : [n(o("ut-button"), {
|
|
62
|
+
content: "download",
|
|
63
|
+
icon: "ri-download-2-fill",
|
|
64
|
+
status: "warning",
|
|
65
|
+
onTap: () => d(e)
|
|
66
|
+
}, null)] }
|
|
67
|
+
}
|
|
68
|
+
], u = (t) => {
|
|
69
|
+
`${e()}${t.realpath}`;
|
|
70
|
+
}, d = (t) => {
|
|
71
|
+
let n = e() + "/ufil" + t.realpath, r = document.createElement("a");
|
|
72
|
+
r.style.display = "none";
|
|
73
|
+
let i = t.fileName.split(".");
|
|
74
|
+
r.href = n, r.setAttribute("download", i[0]), document.body.appendChild(r), r.click(), document.body.removeChild(r);
|
|
75
|
+
};
|
|
76
|
+
return (e, r) => {
|
|
77
|
+
let a = o("ut-grid");
|
|
78
|
+
return i(), t("div", null, [n(a, {
|
|
79
|
+
ref_key: "xgrid",
|
|
80
|
+
ref: s,
|
|
81
|
+
items: c,
|
|
82
|
+
columns: l,
|
|
83
|
+
url: "/ufil/v1/attachment"
|
|
84
|
+
}, null, 512)]);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
//#endregion
|
|
89
|
+
export { s as default };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { r as e } from "./api-BFNxcxSN.js";
|
|
2
|
+
import { t } from "./await-to-js.es5-DkWYmPXW.js";
|
|
3
|
+
import { createBlock as n, defineComponent as r, openBlock as i, reactive as a, ref as o, resolveComponent as s } from "vue";
|
|
4
|
+
import { useRender as c } from "@utogether/utils";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/views/organization/inv-org/InvOrganization.vue
|
|
7
|
+
var l = /* @__PURE__ */ r({
|
|
8
|
+
name: "InvOrganization",
|
|
9
|
+
setup(r) {
|
|
10
|
+
let l = "/uums/cusOrganization", u = o(null), d = c(), f = [{
|
|
11
|
+
field: "organizationCode",
|
|
12
|
+
title: "message.udp.organizationCode"
|
|
13
|
+
}, {
|
|
14
|
+
field: "organizationName",
|
|
15
|
+
title: "message.udp.organizationName"
|
|
16
|
+
}], p = [
|
|
17
|
+
{
|
|
18
|
+
type: "checkbox",
|
|
19
|
+
width: 40,
|
|
20
|
+
align: "center"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
field: "organizationCode",
|
|
24
|
+
width: 120,
|
|
25
|
+
title: "message.udp.organizationCode",
|
|
26
|
+
required: !0,
|
|
27
|
+
editRender: d.renderInput()
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
field: "organizationName",
|
|
31
|
+
minWidth: 120,
|
|
32
|
+
title: "message.udp.organizationName",
|
|
33
|
+
required: !0,
|
|
34
|
+
editRender: d.renderInput()
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
field: "orgName",
|
|
38
|
+
minWidth: 170,
|
|
39
|
+
title: "message.udp.orgName",
|
|
40
|
+
required: !0,
|
|
41
|
+
editRender: d.renderBU()
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
field: "orgCode",
|
|
45
|
+
width: 110,
|
|
46
|
+
title: "message.udp.orgCode"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
field: "enabled",
|
|
50
|
+
width: 80,
|
|
51
|
+
cellRender: d.renderEnabled(m)
|
|
52
|
+
}
|
|
53
|
+
];
|
|
54
|
+
async function m({ row: n }) {
|
|
55
|
+
let [r] = await t(e().put(l, [n]));
|
|
56
|
+
!r && u.value.refreshData();
|
|
57
|
+
}
|
|
58
|
+
let h = a({ columns: p });
|
|
59
|
+
return (e, t) => {
|
|
60
|
+
let r = s("ut-grid");
|
|
61
|
+
return i(), n(r, {
|
|
62
|
+
ref_key: "xgrid",
|
|
63
|
+
ref: u,
|
|
64
|
+
items: f,
|
|
65
|
+
"default-params": {
|
|
66
|
+
organizationId: "",
|
|
67
|
+
orgId: ""
|
|
68
|
+
},
|
|
69
|
+
columns: h.columns,
|
|
70
|
+
url: l
|
|
71
|
+
}, null, 8, ["columns"]);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
export { l as default };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { r as e } from "./api-BFNxcxSN.js";
|
|
2
|
+
import { t } from "./await-to-js.es5-DkWYmPXW.js";
|
|
3
|
+
import { createBlock as n, defineComponent as r, openBlock as i, ref as a, resolveComponent as o } from "vue";
|
|
4
|
+
import { useRender as s } from "@utogether/utils";
|
|
5
|
+
import { clone as c } from "xe-utils";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/views/organization/org/Org.vue
|
|
8
|
+
var l = /* @__PURE__ */ r({
|
|
9
|
+
name: "OrgUnit",
|
|
10
|
+
setup(r) {
|
|
11
|
+
let l = "/uums/org", u = a(null), d = s(), f = [
|
|
12
|
+
{
|
|
13
|
+
field: "orgCode",
|
|
14
|
+
title: "message.udp.orgCode"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
field: "orgName",
|
|
18
|
+
title: "message.udp.orgName"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
field: "orgAlias",
|
|
22
|
+
title: "message.udp.orgAlias"
|
|
23
|
+
}
|
|
24
|
+
], p = [
|
|
25
|
+
{
|
|
26
|
+
type: "checkbox",
|
|
27
|
+
width: 50,
|
|
28
|
+
align: "center"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
field: "orgCode",
|
|
32
|
+
title: "message.udp.orgCode",
|
|
33
|
+
required: !0,
|
|
34
|
+
editRender: { name: "$input" }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
field: "orgName",
|
|
38
|
+
title: "message.udp.orgName",
|
|
39
|
+
required: !0,
|
|
40
|
+
minWidth: 200,
|
|
41
|
+
editRender: { name: "$input" }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
field: "orgAlias",
|
|
45
|
+
title: "message.udp.orgAlias",
|
|
46
|
+
editRender: { name: "$input" }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
field: "orgDesc",
|
|
50
|
+
title: "message.udp.orgDesc",
|
|
51
|
+
editRender: { name: "$input" }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
field: "enabled",
|
|
55
|
+
width: 80,
|
|
56
|
+
cellRender: d.renderEnabled(m)
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
async function m({ row: n }) {
|
|
60
|
+
let r = c(n, !0), [i] = await t(e().put(l, [r]));
|
|
61
|
+
!i && u.value.refreshData();
|
|
62
|
+
}
|
|
63
|
+
return (e, t) => {
|
|
64
|
+
let r = o("ut-grid");
|
|
65
|
+
return i(), n(r, {
|
|
66
|
+
ref_key: "xgrid",
|
|
67
|
+
ref: u,
|
|
68
|
+
items: f,
|
|
69
|
+
columns: p,
|
|
70
|
+
url: l
|
|
71
|
+
}, null, 512);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
export { l as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { I as e } from "./system-Cm3lyBas.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { createElementBlock as n, createElementVNode as r, createVNode as i, defineComponent as a, nextTick as o, openBlock as s, ref as c, resolveComponent as l, withCtx as u } from "vue";
|
|
4
|
+
//#region src/views/urpt/design/Preview.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var d = { class: "ut-preview-contain" }, f = /* @__PURE__ */ a({
|
|
6
|
+
__name: "Preview",
|
|
7
|
+
setup(e, { expose: t }) {
|
|
8
|
+
let a = c(!1), f = c(!1), p = c(null), m = c(null), h = c(220), g = (e, t) => {
|
|
9
|
+
f.value = !0, p.value = e, m.value = t, o(() => {
|
|
10
|
+
$("#preview_content").html(e.getHtml(t)), f.value = !1;
|
|
11
|
+
});
|
|
12
|
+
}, _ = () => {
|
|
13
|
+
p.value.print(m.value, {});
|
|
14
|
+
};
|
|
15
|
+
return t({ show: (e, t, n = 220) => {
|
|
16
|
+
a.value = !0, h.value = n, g(e, t);
|
|
17
|
+
} }), (e, t) => {
|
|
18
|
+
let o = l("ut-button"), c = l("vxe-modal");
|
|
19
|
+
return s(), n("div", d, [i(c, {
|
|
20
|
+
modelValue: a.value,
|
|
21
|
+
"onUpdate:modelValue": t[0] ||= (e) => a.value = e,
|
|
22
|
+
loading: f.value,
|
|
23
|
+
width: h.value + "mm",
|
|
24
|
+
"min-height": "480",
|
|
25
|
+
"lock-scroll": !1,
|
|
26
|
+
"show-footer": !1
|
|
27
|
+
}, {
|
|
28
|
+
title: u(() => [i(o, {
|
|
29
|
+
status: "u-cyan",
|
|
30
|
+
icon: "ri-printer-line",
|
|
31
|
+
content: "print",
|
|
32
|
+
onTap: _
|
|
33
|
+
})]),
|
|
34
|
+
default: u(() => [...t[1] ||= [r("div", { id: "preview_content" }, null, -1)]]),
|
|
35
|
+
_: 1
|
|
36
|
+
}, 8, [
|
|
37
|
+
"modelValue",
|
|
38
|
+
"loading",
|
|
39
|
+
"width"
|
|
40
|
+
])]);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}), p = /* @__PURE__ */ e({ default: () => m }), m = /* @__PURE__ */ t(f, [["__scopeId", "data-v-e51c0962"]]);
|
|
44
|
+
//#endregion
|
|
45
|
+
export { p as n, m as t };
|