@utogether/udp-core 1.0.1-beta.6 → 1.0.1-beta.7
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-BQZ5OAKL.js} +1 -1
- package/dist/{404-BsseeBQQ.js → 404-H55ex36i.js} +1 -1
- package/dist/{500-DtKz7MA4.js → 500-bbrspTnK.js} +1 -1
- package/dist/{AuthorityInfo-iWYEWOmC.js → AuthorityInfo-BWni4UPQ.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-7WtOL6Hs.js +100 -0
- package/dist/{Company-CK8Zkcv3.js → Company-CuebFrQ0.js} +3 -3
- package/dist/{CompanyPanel-DL4UrYYG.js → CompanyPanel-DxPdJs6x.js} +1 -1
- package/dist/{Department-BPHn8to4.js → Department-D2a6Juur.js} +3 -3
- package/dist/{DepartmentPanel-Bqraa_NB.js → DepartmentPanel-C_s2R9yl.js} +1 -1
- package/dist/{DesignPanel-CFOIOZme.js → DesignPanel-CexZj3HF.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js → DesignPanel.vue_vue_type_style_index_0_lang-DfmysqwB.js} +19 -19
- package/dist/{DictView-CaD1yHQS.js → DictView-C0GS72rG.js} +19 -18
- package/dist/{InvOrganization-CoO0_wsY.js → InvOrganization-a1tQ2CEH.js} +1 -1
- package/dist/{Org-BU3oaFx3.js → Org-DifvzLLy.js} +1 -1
- package/dist/{Preview-B-K_bxDG.js → Preview-BOv5j9i6.js} +1 -1
- package/dist/{ReportDefine-DElbukSL.js → ReportDefine-Dli1Q0TB.js} +1 -1
- package/dist/{ReportDesign-DvUHOKDK.js → ReportDesign-zSWkcL_O.js} +26 -26
- package/dist/{ReportQuery-BcSYRNT3.js → ReportQuery-D5r3bvFc.js} +1 -1
- package/dist/{ReportQueryFrom-BGEA4Pqk.js → ReportQueryFrom-DiostHrX.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B-KEPnfY.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Cr2eKMmr.js} +1 -1
- package/dist/{ReportTemplate-DnPtEoxn.js → ReportTemplate-CYy4cZHQ.js} +1 -1
- package/dist/{Role-CMKkWZil.js → Role-BFQFxfQS.js} +6 -6
- package/dist/{RoleAssign-BToNzG9a.js → RoleAssign-BIdWSLTR.js} +3 -3
- package/dist/{RolePanel-BikZ-D2u.js → RolePanel-C7ybSknr.js} +1 -1
- package/dist/{RolePanel-BNqd7-M6.js → RolePanel-KC-UgmtF.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-C91CJO4e.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Nngq860f.js → RolePanel.vue_vue_type_script_setup_true_lang-C_ZsMf1f.js} +44 -38
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js → ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js} +1 -1
- package/dist/{Staff-DBFATgM_.js → Staff-CY0DLsTN.js} +3 -3
- package/dist/{StaffInfo-CrfwZcEL.js → StaffInfo-DA7p265h.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CE3_NJF_.js → StaffInfo.vue_vue_type_script_setup_true_lang-f29A44gS.js} +1 -1
- package/dist/{StaffPanel-D54Rl_Bg.js → StaffPanel-DYP-mMp9.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B8wtuSZD.js → StaffPanel.vue_vue_type_script_setup_true_lang-C0YAG2xV.js} +2 -2
- package/dist/{SysUser-CsuovBei.js → SysUser-FqS3Ctne.js} +2 -2
- package/dist/{SysUserPanel-DNUwWEVp.js → SysUserPanel-C_t6F99T.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CY6mhBV0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CKZjy0OF.js} +96 -92
- package/dist/{SystemMenu-oLmwvaqT.js → SystemMenu-ChFrMzRg.js} +2 -2
- package/dist/{UserInfo-LyrDwBG1.js → UserInfo-I36LAXVj.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-vinrRyOG.js → UserInfo.vue_vue_type_style_index_0_lang-BGY-LYeL.js} +30 -28
- package/dist/{childView-DGKp87fT.js → childView-CYpuOzRx.js} +1 -1
- package/dist/{childView-SmYl4G6c.js → childView-Csnlaqfs.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js → childView.vue_vue_type_style_index_0_lang-B8EnA03l.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-wVoPvyRY.js → childView.vue_vue_type_style_index_0_lang-DNVlDM_a.js} +1 -1
- package/dist/{code-rule-CfbGjmOs.js → code-rule-DHBSC5Qp.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DMfwGfms.js → cron-task-CiI1MFla.js} +1 -1
- package/dist/{frameView-D-hu_pqQ.js → frameView-ZWKlbz9p.js} +1 -1
- package/dist/index-COBMRlmJ.js +5379 -0
- package/dist/{layoutView-D3SikBPr.js → layoutView-5OsbpP0u.js} +2 -2
- package/dist/{login-CQ1yBBdY.js → login-C55sa9gN.js} +2 -2
- package/dist/{lov-view-CSobDBH7.js → lov-view-DFfaUQ5m.js} +2 -2
- package/dist/{menuInfo-mFuM30f1.js → menuInfo-CZdLtLjN.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BsIPzYg0.js → menuInfo.vue_vue_type_style_index_0_lang-DgG0aHRy.js} +1 -1
- package/dist/{pda-app-CIGFsvrX.js → pda-app-fLe8mrx-.js} +201 -189
- package/dist/{resource-mbd4LPi-.js → resource-ohWKO6Fh.js} +1 -1
- package/dist/{su-welcome-DruLsVvu.js → su-welcome-_UZTfrXX.js} +1 -1
- package/dist/{sys-config-TXb5cJM4.js → sys-config-DVuBsK7p.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/dist/{utogether-Cv0UXnEX.js → utogether-CxobZqGL.js} +1 -1
- package/package.json +1 -1
- package/src/components/udp/index.ts +2 -2
- package/src/components/udp/modal-grid.vue +288 -297
- package/src/components/udp/utils.ts +4 -11
- package/src/main.ts +10 -2
- package/src/plugins/i18n/zh.ts +7 -1
- package/src/plugins/vxe-table/index.ts +2 -2
- package/src/plugins/vxe-table/render.tsx +90 -15
- 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 +5 -3
- package/src/views/system/role-assign/RolePanel.vue +139 -136
- package/src/views/system/sysUser/SysUserPanel.vue +28 -32
- 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/urpt/design/DesignPanel.vue +10 -33
- 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/RolePanel.vue_vue_type_script_setup_true_lang-DYP3u1Nv.js +0 -126
- package/dist/index-ADANSV-q.js +0 -4278
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as B, withDirectives as h, createTextVNode as e, createBlock as k, withCtx as u } from "vue";
|
|
2
2
|
import { useRouter as y, useRoute as C } from "vue-router";
|
|
3
|
-
import { C as v } from "./index-
|
|
3
|
+
import { C as v } from "./index-COBMRlmJ.js";
|
|
4
4
|
const E = {
|
|
5
5
|
width: "251",
|
|
6
6
|
height: "294"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as n, resolveDirective as F, createVNode as f, createElementVNode as M, unref as v, withDirectives as p, createTextVNode as e, createBlock as B, withCtx as D } from "vue";
|
|
2
2
|
import { useRouter as C, useRoute as k } from "vue-router";
|
|
3
|
-
import { C as u } from "./index-
|
|
3
|
+
import { C as u } from "./index-COBMRlmJ.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "252",
|
|
6
6
|
height: "294"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as f, createVNode as n, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as v, withCtx as B } from "vue";
|
|
2
2
|
import { useRouter as u, useRoute as C } from "vue-router";
|
|
3
|
-
import { C as D } from "./index-
|
|
3
|
+
import { C as D } from "./index-COBMRlmJ.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "254",
|
|
6
6
|
height: "294"
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as N, ref as f, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as p, openBlock as _, createVNode as t, withCtx as r, withDirectives as D, createElementVNode as K } from "vue";
|
|
2
|
+
import { q as c } from "./index-COBMRlmJ.js";
|
|
3
|
+
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
+
const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, z = /* @__PURE__ */ N({
|
|
5
|
+
__name: "AuthorityInfo",
|
|
6
|
+
props: {
|
|
7
|
+
show: { type: Boolean, default: !1 },
|
|
8
|
+
record: { default: () => ({}) },
|
|
9
|
+
dataStatus: { default: "detail" },
|
|
10
|
+
direction: { default: "rtl" }
|
|
11
|
+
},
|
|
12
|
+
emits: ["onClose"],
|
|
13
|
+
setup(h, { emit: y }) {
|
|
14
|
+
const d = h, u = f(null), o = f(!1), s = B({
|
|
15
|
+
dataList: [],
|
|
16
|
+
defaultCheckedKeys: []
|
|
17
|
+
// 默认权限
|
|
18
|
+
}), v = window.innerHeight - 180, g = y, w = async () => {
|
|
19
|
+
const e = await c().get("/uums/menu/listMenuTree", {});
|
|
20
|
+
o.value = !1, s.dataList = e;
|
|
21
|
+
}, k = async () => {
|
|
22
|
+
const e = {
|
|
23
|
+
roleId: d.record.id,
|
|
24
|
+
menuType: "1"
|
|
25
|
+
}, a = await c().get("/uums/role/getRoleMenus", e);
|
|
26
|
+
s.defaultCheckedKeys = a.map((i) => i.id);
|
|
27
|
+
}, C = async () => {
|
|
28
|
+
const { record: e } = d;
|
|
29
|
+
o.value = !0;
|
|
30
|
+
const a = u.value.getCheckedNodes(!1, !0);
|
|
31
|
+
e.sysMenus = a, await S(c().put("/uums/role", [e])), o.value = !1, l();
|
|
32
|
+
};
|
|
33
|
+
function l() {
|
|
34
|
+
g("onClose");
|
|
35
|
+
}
|
|
36
|
+
return M(() => {
|
|
37
|
+
o.value = !0, k(), w();
|
|
38
|
+
}), (e, a) => {
|
|
39
|
+
const i = n("el-tree-v2"), b = n("el-divider"), m = n("ut-button"), x = n("el-row"), T = n("el-drawer"), L = A("spinning");
|
|
40
|
+
return _(), p("div", E, [
|
|
41
|
+
t(T, {
|
|
42
|
+
"model-value": e.show,
|
|
43
|
+
title: e.$t("message.title.authority", { role: e.record.roleName }),
|
|
44
|
+
"before-close": l,
|
|
45
|
+
direction: "rtl",
|
|
46
|
+
"destroy-on-close": "",
|
|
47
|
+
"body-class": "ut-draw-body",
|
|
48
|
+
size: "40%"
|
|
49
|
+
}, {
|
|
50
|
+
footer: r(() => [
|
|
51
|
+
t(b, { style: { margin: "16px 0" } }),
|
|
52
|
+
t(x, {
|
|
53
|
+
type: "flex",
|
|
54
|
+
justify: "end",
|
|
55
|
+
style: { "padding-right": "20px" }
|
|
56
|
+
}, {
|
|
57
|
+
default: r(() => [
|
|
58
|
+
t(m, {
|
|
59
|
+
content: "cancel",
|
|
60
|
+
icon: "ri-close-fill",
|
|
61
|
+
status: "warning",
|
|
62
|
+
onTap: l
|
|
63
|
+
}),
|
|
64
|
+
t(m, {
|
|
65
|
+
content: "confirm",
|
|
66
|
+
icon: "ri-save-3-fill",
|
|
67
|
+
status: "u-cyan",
|
|
68
|
+
onTap: C
|
|
69
|
+
})
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
})
|
|
73
|
+
]),
|
|
74
|
+
default: r(() => [
|
|
75
|
+
D((_(), p("div", I, [
|
|
76
|
+
K("div", null, [
|
|
77
|
+
t(i, {
|
|
78
|
+
ref_key: "xTree",
|
|
79
|
+
ref: u,
|
|
80
|
+
data: s.dataList,
|
|
81
|
+
props: { children: "children", label: "menuName" },
|
|
82
|
+
"default-checked-keys": s.defaultCheckedKeys,
|
|
83
|
+
height: v,
|
|
84
|
+
"show-checkbox": "",
|
|
85
|
+
"node-key": "id"
|
|
86
|
+
}, null, 8, ["data", "default-checked-keys"])
|
|
87
|
+
])
|
|
88
|
+
])), [
|
|
89
|
+
[L, o.value]
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["model-value", "title"])
|
|
94
|
+
]);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
z as _
|
|
100
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import p from "./CompanyPanel-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js";
|
|
3
|
+
import p from "./CompanyPanel-DxPdJs6x.js";
|
|
4
|
+
import { _ as d } from "./index-COBMRlmJ.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
|
|
6
6
|
__name: "Company",
|
|
7
7
|
setup(C) {
|
|
@@ -4,7 +4,7 @@ import { VxeUI as U } from "vxe-table";
|
|
|
4
4
|
import { templateRef as R } from "@vueuse/core";
|
|
5
5
|
import { clone as z } from "xe-utils";
|
|
6
6
|
import { warnMessage as G, successMessage as H } from "@utogether/utils";
|
|
7
|
-
import { q as J, _ as K } from "./index-
|
|
7
|
+
import { q as J, _ as K } from "./index-COBMRlmJ.js";
|
|
8
8
|
const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
9
9
|
__name: "CompanyPanel",
|
|
10
10
|
setup(W) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as o } from "vue";
|
|
2
|
-
import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import _ from "./DepartmentPanel-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js";
|
|
3
|
+
import _ from "./DepartmentPanel-C_s2R9yl.js";
|
|
4
|
+
import { _ as d } from "./index-COBMRlmJ.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ l({
|
|
6
6
|
__name: "Department",
|
|
7
7
|
setup(D) {
|
|
@@ -5,7 +5,7 @@ import { clone as G } from "xe-utils";
|
|
|
5
5
|
import { t as k } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
6
|
import { VXETable as J } from "vxe-table";
|
|
7
7
|
import { warnMessage as K, successMessage as O } from "@utogether/utils";
|
|
8
|
-
import { e as Q, q as W, _ as Z } from "./index-
|
|
8
|
+
import { e as Q, q as W, _ as Z } from "./index-COBMRlmJ.js";
|
|
9
9
|
const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
|
|
10
10
|
__name: "DepartmentPanel",
|
|
11
11
|
setup(ae) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as it, ref as f, reactive as k, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as it, ref as f, reactive as k, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as U, nextTick as ht } from "vue";
|
|
2
|
+
import { VxeUI as O } from "vxe-pc-ui";
|
|
3
3
|
import { useGlobal as ut } from "@utogether/utils";
|
|
4
4
|
import { t as mt } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
5
|
import { clone as ft } from "xe-utils";
|
|
6
|
-
import { e as gt, q as yt } from "./index-
|
|
7
|
-
import vt from "./Preview-
|
|
6
|
+
import { e as gt, q as yt } from "./index-COBMRlmJ.js";
|
|
7
|
+
import vt from "./Preview-BOv5j9i6.js";
|
|
8
8
|
const xt = {
|
|
9
9
|
panels: [
|
|
10
10
|
{
|
|
@@ -490,9 +490,9 @@ const xt = {
|
|
|
490
490
|
},
|
|
491
491
|
emits: ["onClose"],
|
|
492
492
|
setup(J, { emit: B }) {
|
|
493
|
-
const
|
|
493
|
+
const I = J;
|
|
494
494
|
let { $printPlugin: u } = ut();
|
|
495
|
-
const
|
|
495
|
+
const R = gt().getDataDict, W = yt();
|
|
496
496
|
let s = null;
|
|
497
497
|
const C = f(!1), g = f(!1), y = f(!1), v = f(!1), z = f(null), T = f(""), m = f({}), d = k({}), h = k({ max: 5, min: 0.5, value: 1, ration: "100%" }), j = () => {
|
|
498
498
|
g.value = !1, s.setPaper(d.width || 210, d.height || 296.6);
|
|
@@ -512,24 +512,24 @@ const xt = {
|
|
|
512
512
|
let t = h.value;
|
|
513
513
|
n === "Y" ? (t += 0.1, t > h.max && (t = 5)) : (t -= 0.1, t < h.min && (t = 0.5)), s && (s.zoom(t), h.value = t, h.ration = `${(t * 100).toFixed(0)}%`);
|
|
514
514
|
}, F = async () => {
|
|
515
|
-
await
|
|
515
|
+
await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
|
|
516
516
|
}, L = async () => {
|
|
517
517
|
y.value = !0;
|
|
518
518
|
}, Y = async () => {
|
|
519
|
-
await
|
|
519
|
+
await O.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(P), y.value = !1);
|
|
520
520
|
}, G = async () => {
|
|
521
521
|
C.value = !0;
|
|
522
522
|
const n = {};
|
|
523
523
|
ht(() => {
|
|
524
524
|
z.value.show(s, n, d.width || 220);
|
|
525
525
|
});
|
|
526
|
-
},
|
|
526
|
+
}, K = (n) => {
|
|
527
527
|
if (n !== "customize") {
|
|
528
|
-
const { width: t, height: p } =
|
|
528
|
+
const { width: t, height: p } = Q(n);
|
|
529
529
|
d.width = t, d.height = p, s.setPaper(d.width, d.height);
|
|
530
530
|
} else
|
|
531
531
|
g.value = !0;
|
|
532
|
-
},
|
|
532
|
+
}, Q = (n) => ({
|
|
533
533
|
A3: { width: 420, height: 296.6 },
|
|
534
534
|
A4: { width: 210, height: 296.6 },
|
|
535
535
|
A5: { width: 210, height: 147.6 },
|
|
@@ -537,7 +537,7 @@ const xt = {
|
|
|
537
537
|
trisection: { width: 241, height: 93 }
|
|
538
538
|
})[n];
|
|
539
539
|
return ot(() => {
|
|
540
|
-
const { record: n } =
|
|
540
|
+
const { record: n } = I;
|
|
541
541
|
v.value = !0, m.value = ft(n, !0);
|
|
542
542
|
const t = n.templateContent ? JSON.parse(n.templateContent) : xt;
|
|
543
543
|
$("#hiprint-printTemplate").empty(), u.print.init({
|
|
@@ -560,7 +560,7 @@ const xt = {
|
|
|
560
560
|
}), nt(() => {
|
|
561
561
|
u = null, s = null;
|
|
562
562
|
}), (n, t) => {
|
|
563
|
-
const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"),
|
|
563
|
+
const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"), X = r("el-popover"), M = r("vxe-button"), Z = r("el-space"), c = r("el-row"), a = r("el-col"), b = r("el-card"), tt = r("vxe-textarea"), et = r("vxe-modal"), lt = pt("spinning");
|
|
564
564
|
return at((w(), N("div", wt, [
|
|
565
565
|
l(b, { class: "design-panel-contain" }, {
|
|
566
566
|
default: i(() => [
|
|
@@ -583,10 +583,10 @@ const xt = {
|
|
|
583
583
|
placeholder: "Select Paper",
|
|
584
584
|
class: "ml-1 mr-1",
|
|
585
585
|
style: { width: "100px !important" },
|
|
586
|
-
onChange: t[1] || (t[1] = (o) =>
|
|
586
|
+
onChange: t[1] || (t[1] = (o) => K(m.value.paperType))
|
|
587
587
|
}, {
|
|
588
588
|
default: i(() => [
|
|
589
|
-
(w(!0), N(rt, null, st(dt(
|
|
589
|
+
(w(!0), N(rt, null, st(dt(R)["SU.PRINT.PAPER"].children, (o) => (w(), S(E, {
|
|
590
590
|
key: o.dictCode,
|
|
591
591
|
label: o.dictName,
|
|
592
592
|
value: o.dictCode
|
|
@@ -600,7 +600,7 @@ const xt = {
|
|
|
600
600
|
]),
|
|
601
601
|
_: 1
|
|
602
602
|
}, 8, ["modelValue"]),
|
|
603
|
-
m.value.paperType === "customize" ? (w(), S(
|
|
603
|
+
m.value.paperType === "customize" ? (w(), S(X, {
|
|
604
604
|
key: 0,
|
|
605
605
|
visible: g.value,
|
|
606
606
|
"onUpdate:visible": t[5] || (t[5] = (o) => g.value = o),
|
|
@@ -614,7 +614,7 @@ const xt = {
|
|
|
614
614
|
l(p, {
|
|
615
615
|
icon: "ri-font-size",
|
|
616
616
|
content: "customSize",
|
|
617
|
-
|
|
617
|
+
onTap: t[4] || (t[4] = ct((o) => g.value = !0, ["stop"]))
|
|
618
618
|
})
|
|
619
619
|
]),
|
|
620
620
|
default: i(() => [
|
|
@@ -710,7 +710,7 @@ const xt = {
|
|
|
710
710
|
default: i(() => [
|
|
711
711
|
l(c, { class: "drag_item_title" }, {
|
|
712
712
|
default: i(() => t[17] || (t[17] = [
|
|
713
|
-
|
|
713
|
+
U("拖拽组件列表")
|
|
714
714
|
])),
|
|
715
715
|
_: 1
|
|
716
716
|
}),
|
|
@@ -809,7 +809,7 @@ const xt = {
|
|
|
809
809
|
}),
|
|
810
810
|
l(c, { class: "drag_item_title" }, {
|
|
811
811
|
default: i(() => t[22] || (t[22] = [
|
|
812
|
-
|
|
812
|
+
U("辅助")
|
|
813
813
|
])),
|
|
814
814
|
_: 1
|
|
815
815
|
}),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as v, ref as
|
|
2
|
-
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { useRender as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as v, ref as i, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as C, openBlock as u, createBlock as k, createCommentVNode as D } from "vue";
|
|
2
|
+
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-B8EnA03l.js";
|
|
3
|
+
import { useRender as E } from "@utogether/utils";
|
|
4
|
+
const y = {
|
|
5
5
|
name: "DictView"
|
|
6
|
-
},
|
|
7
|
-
...
|
|
6
|
+
}, w = /* @__PURE__ */ v({
|
|
7
|
+
...y,
|
|
8
8
|
setup(N) {
|
|
9
|
-
const o =
|
|
9
|
+
const o = i(null), a = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -16,7 +16,7 @@ const E = {
|
|
|
16
16
|
field: "dictType",
|
|
17
17
|
title: "message.udp.dictType",
|
|
18
18
|
code: "SU.DICT.TYPE"
|
|
19
|
-
}], t =
|
|
19
|
+
}], t = E(), l = [{
|
|
20
20
|
type: "checkbox",
|
|
21
21
|
width: 40,
|
|
22
22
|
align: "center"
|
|
@@ -59,10 +59,10 @@ const E = {
|
|
|
59
59
|
onClick: () => m(e)
|
|
60
60
|
}, null)] : null
|
|
61
61
|
}
|
|
62
|
-
}], d =
|
|
62
|
+
}], d = i(!1), r = i(null), m = (e) => {
|
|
63
63
|
g(() => {
|
|
64
|
-
var
|
|
65
|
-
d.value = !0, r.value = e, r.value.total = (
|
|
64
|
+
var n;
|
|
65
|
+
d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
|
|
66
66
|
});
|
|
67
67
|
}, f = () => {
|
|
68
68
|
o.value.refreshData(), d.value = !1;
|
|
@@ -72,17 +72,18 @@ const E = {
|
|
|
72
72
|
}) {
|
|
73
73
|
l[1].editRender.props.disabled = !!e.id;
|
|
74
74
|
}
|
|
75
|
-
};
|
|
76
|
-
return (e,
|
|
75
|
+
}, h = (e) => e.dictType !== "0";
|
|
76
|
+
return (e, n) => {
|
|
77
77
|
const _ = s("ut-grid");
|
|
78
|
-
return u(),
|
|
78
|
+
return u(), C("div", null, [c(_, {
|
|
79
79
|
ref_key: "xgrid",
|
|
80
80
|
ref: o,
|
|
81
81
|
items: a,
|
|
82
82
|
columns: l,
|
|
83
|
-
|
|
84
|
-
events: p
|
|
85
|
-
|
|
83
|
+
"check-method": h,
|
|
84
|
+
events: p,
|
|
85
|
+
url: "/upfm/v1/lov"
|
|
86
|
+
}, null, 512), d.value ? (u(), k(T, {
|
|
86
87
|
key: 0,
|
|
87
88
|
show: d.value,
|
|
88
89
|
record: r.value,
|
|
@@ -92,5 +93,5 @@ const E = {
|
|
|
92
93
|
}
|
|
93
94
|
});
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
+
w as default
|
|
96
97
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, ref as s, reactive as m, resolveComponent as f, createBlock as p, openBlock as g } from "vue";
|
|
2
2
|
import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as h } from "@utogether/utils";
|
|
4
|
-
import { q as z } from "./index-
|
|
4
|
+
import { q as z } from "./index-COBMRlmJ.js";
|
|
5
5
|
const k = {
|
|
6
6
|
name: "InvOrganization"
|
|
7
7
|
}, R = /* @__PURE__ */ u({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as a, ref as m, resolveComponent as s, createBlock as u
|
|
|
2
2
|
import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { clone as g } from "xe-utils";
|
|
4
4
|
import { useRender as _ } from "@utogether/utils";
|
|
5
|
-
import { q as h } from "./index-
|
|
5
|
+
import { q as h } from "./index-COBMRlmJ.js";
|
|
6
6
|
const k = { name: "OrgUnit" }, q = /* @__PURE__ */ a({
|
|
7
7
|
...k,
|
|
8
8
|
setup(R) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, ref as o, resolveComponent as u, createElementBlock as h, openBlock as x, createVNode as c, withCtx as p, createElementVNode as g, nextTick as V } from "vue";
|
|
2
|
-
import { _ as k } from "./index-
|
|
2
|
+
import { _ as k } from "./index-COBMRlmJ.js";
|
|
3
3
|
const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
|
|
4
4
|
__name: "Preview",
|
|
5
5
|
setup(T, { expose: d }) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as A, ref as s, createVNode as r, Fragment as I, resolveComponent as a, nextTick as b, createElementBlock as x, openBlock as
|
|
1
|
+
import { defineComponent as A, ref as s, createVNode as r, Fragment as I, resolveComponent as a, nextTick as b, createElementBlock as x, openBlock as u, withDirectives as w, createBlock as m, createCommentVNode as c, vShow as E } from "vue";
|
|
2
2
|
import { useRender as S, successMessage as $ } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as V } from "@vueuse/core";
|
|
4
4
|
import { t as B } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
|
-
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { q as U } from "./index-
|
|
5
|
+
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-DfmysqwB.js";
|
|
6
|
+
import { q as U } from "./index-COBMRlmJ.js";
|
|
7
7
|
const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
8
8
|
name: "ReportDesign",
|
|
9
9
|
__name: "ReportDesign",
|
|
10
10
|
setup(F) {
|
|
11
|
-
const
|
|
11
|
+
const l = s(null), o = s(!1), i = s(!1), n = S(), t = s({}), {
|
|
12
12
|
copy: v
|
|
13
13
|
} = V(), g = U(), h = [{
|
|
14
14
|
field: "templateCode",
|
|
@@ -16,7 +16,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
16
16
|
}, {
|
|
17
17
|
field: "templateName",
|
|
18
18
|
title: "message.urpt.templateName"
|
|
19
|
-
}],
|
|
19
|
+
}], d = [
|
|
20
20
|
{
|
|
21
21
|
type: "checkbox",
|
|
22
22
|
width: 50,
|
|
@@ -74,13 +74,13 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
74
74
|
content: "export",
|
|
75
75
|
status: "u-cyan",
|
|
76
76
|
icon: "ri-folder-download-fill",
|
|
77
|
-
onTap: () =>
|
|
77
|
+
onTap: () => y(e)
|
|
78
78
|
}, null)]) : null
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
], C = [{
|
|
82
82
|
field: "templateCode",
|
|
83
|
-
title: "message.templateCode",
|
|
83
|
+
title: "message.urpt.templateCode",
|
|
84
84
|
required: !0,
|
|
85
85
|
itemRender: {
|
|
86
86
|
name: "$input"
|
|
@@ -88,7 +88,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
88
88
|
span: 24
|
|
89
89
|
}, {
|
|
90
90
|
field: "templateName",
|
|
91
|
-
title: "message.templateName",
|
|
91
|
+
title: "message.urpt.templateName",
|
|
92
92
|
required: !0,
|
|
93
93
|
itemRender: {
|
|
94
94
|
name: "$input"
|
|
@@ -96,6 +96,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
96
96
|
span: 24
|
|
97
97
|
}, {
|
|
98
98
|
field: "paperType",
|
|
99
|
+
title: "message.urpt.paperType",
|
|
99
100
|
width: 100,
|
|
100
101
|
required: !0,
|
|
101
102
|
itemRender: n.renderDict({
|
|
@@ -105,57 +106,56 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
105
106
|
}, {
|
|
106
107
|
field: "remarks",
|
|
107
108
|
title: "message.remark",
|
|
108
|
-
required: !0,
|
|
109
109
|
itemRender: {
|
|
110
110
|
name: "$input"
|
|
111
111
|
},
|
|
112
112
|
span: 24
|
|
113
113
|
}], R = (e) => {
|
|
114
114
|
t.value.templateContent = e.templateContent, t.value.paperType = e.paperType, i.value = !0;
|
|
115
|
-
},
|
|
115
|
+
}, y = (e) => {
|
|
116
116
|
v(e.templateContent), $("复制成功,快试试右键粘贴吧");
|
|
117
|
-
},
|
|
117
|
+
}, _ = async () => {
|
|
118
118
|
const [e] = await B(g.post(f, [t.value]));
|
|
119
|
-
!e &&
|
|
119
|
+
!e && l.value.refreshData(), i.value = !1;
|
|
120
120
|
}, k = (e) => {
|
|
121
121
|
t.value = e, b(() => {
|
|
122
|
-
|
|
122
|
+
o.value = !0;
|
|
123
123
|
});
|
|
124
124
|
}, T = {
|
|
125
125
|
editActived({
|
|
126
126
|
row: e
|
|
127
127
|
}) {
|
|
128
|
-
e.id && (
|
|
128
|
+
e.id && (d[1].editRender.props.disabled = !0, l.value.getInstance().refreshColumn());
|
|
129
129
|
}
|
|
130
130
|
}, N = ({
|
|
131
131
|
row: e
|
|
132
132
|
}) => (e == null ? void 0 : e.enabled) !== "1", D = () => {
|
|
133
|
-
t.value = {},
|
|
133
|
+
t.value = {}, o.value = !1, l.value.refreshData();
|
|
134
134
|
};
|
|
135
|
-
return (e,
|
|
136
|
-
const
|
|
137
|
-
return
|
|
135
|
+
return (e, p) => {
|
|
136
|
+
const P = a("ut-grid"), q = a("ut-modal-form");
|
|
137
|
+
return u(), x("div", null, [w(r(P, {
|
|
138
138
|
ref_key: "xgrid",
|
|
139
|
-
ref:
|
|
139
|
+
ref: l,
|
|
140
140
|
items: h,
|
|
141
|
-
columns:
|
|
141
|
+
columns: d,
|
|
142
142
|
"check-method": N,
|
|
143
143
|
url: f,
|
|
144
144
|
events: T
|
|
145
|
-
}, null, 512), [[E, !
|
|
145
|
+
}, null, 512), [[E, !o.value]]), o.value ? (u(), m(M, {
|
|
146
146
|
key: 0,
|
|
147
147
|
record: t.value,
|
|
148
148
|
onOnClose: D
|
|
149
|
-
}, null, 8, ["record"])) : c("", !0), i.value ? (
|
|
149
|
+
}, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(q, {
|
|
150
150
|
key: 1,
|
|
151
151
|
record: t.value,
|
|
152
152
|
items: C,
|
|
153
|
-
width:
|
|
154
|
-
height:
|
|
153
|
+
width: "40%",
|
|
154
|
+
height: 290,
|
|
155
155
|
"data-status": "update",
|
|
156
156
|
title: "复制模板",
|
|
157
|
-
onConfirm:
|
|
158
|
-
onClose:
|
|
157
|
+
onConfirm: _,
|
|
158
|
+
onClose: p[0] || (p[0] = (G) => i.value = !1)
|
|
159
159
|
}, null, 8, ["record"])) : c("", !0)]);
|
|
160
160
|
};
|
|
161
161
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, reactive as c, watch as f, ref as p, onMounted as u, resolveComponent as h, createElementBlock as _, openBlock as r, withDirectives as w, createBlock as x, createCommentVNode as D, createVNode as R, vShow as C } from "vue";
|
|
2
2
|
import { useRoute as S } from "vue-router";
|
|
3
|
-
import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-Cr2eKMmr.js";
|
|
4
4
|
import { useRender as N } from "@utogether/utils";
|
|
5
5
|
const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
|
|
6
6
|
...T,
|
|
@@ -3,7 +3,7 @@ import { useI18n as z } from "vue-i18n";
|
|
|
3
3
|
import { clone as A } from "xe-utils";
|
|
4
4
|
import { useRoute as J } from "vue-router";
|
|
5
5
|
import { templateRef as O } from "@vueuse/core";
|
|
6
|
-
import { q as V } from "./index-
|
|
6
|
+
import { q as V } from "./index-COBMRlmJ.js";
|
|
7
7
|
import { useRender as Y } from "@utogether/utils";
|
|
8
8
|
const H = { class: "ut-drawer-template" }, M = { class: "flex" }, te = /* @__PURE__ */ T({
|
|
9
9
|
__name: "ReportQueryFrom",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolv
|
|
|
2
2
|
import { useI18n as O } from "vue-i18n";
|
|
3
3
|
import { clone as U } from "xe-utils";
|
|
4
4
|
import { useRender as V, successMessage as B, warnMessage as M } from "@utogether/utils";
|
|
5
|
-
import { e as C, q as D } from "./index-
|
|
5
|
+
import { e as C, q as D } from "./index-COBMRlmJ.js";
|
|
6
6
|
const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
7
7
|
__name: "ReportTemplate",
|
|
8
8
|
setup(W) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js";
|
|
3
|
+
import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-C_ZsMf1f.js";
|
|
4
|
+
import { _ as p } from "./index-COBMRlmJ.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
|
|
6
6
|
__name: "Role",
|
|
7
7
|
setup(C) {
|
|
@@ -15,11 +15,11 @@ const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { cla
|
|
|
15
15
|
}, null, 8, ["title"])
|
|
16
16
|
]),
|
|
17
17
|
o("div", h, [
|
|
18
|
-
n(
|
|
18
|
+
n(d)
|
|
19
19
|
])
|
|
20
20
|
]));
|
|
21
21
|
}
|
|
22
|
-
}),
|
|
22
|
+
}), x = /* @__PURE__ */ p(v, [["__scopeId", "data-v-e31bcedc"]]);
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
x as default
|
|
25
25
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as s } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-C91CJO4e.js";
|
|
4
|
+
import { _ as d } from "./index-COBMRlmJ.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, g = { class: "content" }, h = /* @__PURE__ */ l({
|
|
6
6
|
__name: "RoleAssign",
|
|
7
7
|
setup(v) {
|