@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,413 @@
|
|
|
1
|
+
import { defineComponent as e, h as t } from "vue";
|
|
2
|
+
import { Icon as n } from "@iconify/vue";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@iconify+vue@4.2.0_vue@3.5.31_typescript@6.0.2_/node_modules/@iconify/vue/dist/offline.mjs
|
|
4
|
+
var r = Object.freeze({
|
|
5
|
+
left: 0,
|
|
6
|
+
top: 0,
|
|
7
|
+
width: 16,
|
|
8
|
+
height: 16
|
|
9
|
+
}), i = Object.freeze({
|
|
10
|
+
rotate: 0,
|
|
11
|
+
vFlip: !1,
|
|
12
|
+
hFlip: !1
|
|
13
|
+
}), a = Object.freeze({
|
|
14
|
+
...r,
|
|
15
|
+
...i
|
|
16
|
+
}), o = Object.freeze({
|
|
17
|
+
...a,
|
|
18
|
+
body: "",
|
|
19
|
+
hidden: !1
|
|
20
|
+
});
|
|
21
|
+
function s(e, t) {
|
|
22
|
+
let n = {};
|
|
23
|
+
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
24
|
+
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
25
|
+
return r && (n.rotate = r), n;
|
|
26
|
+
}
|
|
27
|
+
function c(e, t) {
|
|
28
|
+
let n = s(e, t);
|
|
29
|
+
for (let r in o) r in i ? r in e && !(r in n) && (n[r] = i[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
30
|
+
return n;
|
|
31
|
+
}
|
|
32
|
+
function l(e, t) {
|
|
33
|
+
let n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null);
|
|
34
|
+
function a(e) {
|
|
35
|
+
if (n[e]) return i[e] = [];
|
|
36
|
+
if (!(e in i)) {
|
|
37
|
+
i[e] = null;
|
|
38
|
+
let t = r[e] && r[e].parent, n = t && a(t);
|
|
39
|
+
n && (i[e] = [t].concat(n));
|
|
40
|
+
}
|
|
41
|
+
return i[e];
|
|
42
|
+
}
|
|
43
|
+
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
44
|
+
}
|
|
45
|
+
function u(e, t, n) {
|
|
46
|
+
let r = e.icons, i = e.aliases || /* @__PURE__ */ Object.create(null), a = {};
|
|
47
|
+
function o(e) {
|
|
48
|
+
a = c(r[e] || i[e], a);
|
|
49
|
+
}
|
|
50
|
+
return o(t), n.forEach(o), c(e, a);
|
|
51
|
+
}
|
|
52
|
+
function d(e, t) {
|
|
53
|
+
let n = [];
|
|
54
|
+
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
55
|
+
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
56
|
+
t(e, null), n.push(e);
|
|
57
|
+
});
|
|
58
|
+
let r = l(e);
|
|
59
|
+
for (let i in r) {
|
|
60
|
+
let a = r[i];
|
|
61
|
+
a && (t(i, u(e, i, a)), n.push(i));
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
var f = {
|
|
66
|
+
provider: "",
|
|
67
|
+
aliases: {},
|
|
68
|
+
not_found: {},
|
|
69
|
+
...r
|
|
70
|
+
};
|
|
71
|
+
function p(e, t) {
|
|
72
|
+
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
73
|
+
return !0;
|
|
74
|
+
}
|
|
75
|
+
function m(e) {
|
|
76
|
+
if (typeof e != "object" || !e) return null;
|
|
77
|
+
let t = e;
|
|
78
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !p(e, f)) return null;
|
|
79
|
+
let n = t.icons;
|
|
80
|
+
for (let e in n) {
|
|
81
|
+
let t = n[e];
|
|
82
|
+
if (!e || typeof t.body != "string" || !p(t, o)) return null;
|
|
83
|
+
}
|
|
84
|
+
let r = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
85
|
+
for (let e in r) {
|
|
86
|
+
let t = r[e], i = t.parent;
|
|
87
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !p(t, o)) return null;
|
|
88
|
+
}
|
|
89
|
+
return t;
|
|
90
|
+
}
|
|
91
|
+
var h = Object.freeze({
|
|
92
|
+
width: null,
|
|
93
|
+
height: null
|
|
94
|
+
}), g = Object.freeze({
|
|
95
|
+
...h,
|
|
96
|
+
...i
|
|
97
|
+
});
|
|
98
|
+
function _(e, t) {
|
|
99
|
+
let n = { ...e };
|
|
100
|
+
for (let e in t) {
|
|
101
|
+
let r = t[e], i = typeof r;
|
|
102
|
+
e in h ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
103
|
+
}
|
|
104
|
+
return n;
|
|
105
|
+
}
|
|
106
|
+
var v = /[\s,]+/;
|
|
107
|
+
function y(e, t) {
|
|
108
|
+
t.split(v).forEach((t) => {
|
|
109
|
+
switch (t.trim()) {
|
|
110
|
+
case "horizontal":
|
|
111
|
+
e.hFlip = !0;
|
|
112
|
+
break;
|
|
113
|
+
case "vertical":
|
|
114
|
+
e.vFlip = !0;
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function b(e, t = 0) {
|
|
120
|
+
let n = e.replace(/^-?[0-9.]*/, "");
|
|
121
|
+
function r(e) {
|
|
122
|
+
for (; e < 0;) e += 4;
|
|
123
|
+
return e % 4;
|
|
124
|
+
}
|
|
125
|
+
if (n === "") {
|
|
126
|
+
let t = parseInt(e);
|
|
127
|
+
return isNaN(t) ? 0 : r(t);
|
|
128
|
+
} else if (n !== e) {
|
|
129
|
+
let t = 0;
|
|
130
|
+
switch (n) {
|
|
131
|
+
case "%":
|
|
132
|
+
t = 25;
|
|
133
|
+
break;
|
|
134
|
+
case "deg": t = 90;
|
|
135
|
+
}
|
|
136
|
+
if (t) {
|
|
137
|
+
let i = parseFloat(e.slice(0, e.length - n.length));
|
|
138
|
+
return isNaN(i) ? 0 : (i /= t, i % 1 == 0 ? r(i) : 0);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return t;
|
|
142
|
+
}
|
|
143
|
+
var x = /(-?[0-9.]*[0-9]+[0-9.]*)/g, S = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
144
|
+
function C(e, t, n) {
|
|
145
|
+
if (t === 1) return e;
|
|
146
|
+
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
147
|
+
if (typeof e != "string") return e;
|
|
148
|
+
let r = e.split(x);
|
|
149
|
+
if (r === null || !r.length) return e;
|
|
150
|
+
let i = [], a = r.shift(), o = S.test(a);
|
|
151
|
+
for (;;) {
|
|
152
|
+
if (o) {
|
|
153
|
+
let e = parseFloat(a);
|
|
154
|
+
isNaN(e) ? i.push(a) : i.push(Math.ceil(e * t * n) / n);
|
|
155
|
+
} else i.push(a);
|
|
156
|
+
if (a = r.shift(), a === void 0) return i.join("");
|
|
157
|
+
o = !o;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function w(e, t = "defs") {
|
|
161
|
+
let n = "", r = e.indexOf("<" + t);
|
|
162
|
+
for (; r >= 0;) {
|
|
163
|
+
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
164
|
+
if (i === -1 || a === -1) break;
|
|
165
|
+
let o = e.indexOf(">", a);
|
|
166
|
+
if (o === -1) break;
|
|
167
|
+
n += e.slice(i + 1, a).trim(), e = e.slice(0, r).trim() + e.slice(o + 1);
|
|
168
|
+
}
|
|
169
|
+
return {
|
|
170
|
+
defs: n,
|
|
171
|
+
content: e
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
function T(e, t) {
|
|
175
|
+
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
176
|
+
}
|
|
177
|
+
function E(e, t, n) {
|
|
178
|
+
let r = w(e);
|
|
179
|
+
return T(r.defs, t + r.content + n);
|
|
180
|
+
}
|
|
181
|
+
var D = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
182
|
+
function O(e, t) {
|
|
183
|
+
let n = {
|
|
184
|
+
...a,
|
|
185
|
+
...e
|
|
186
|
+
}, r = {
|
|
187
|
+
...g,
|
|
188
|
+
...t
|
|
189
|
+
}, i = {
|
|
190
|
+
left: n.left,
|
|
191
|
+
top: n.top,
|
|
192
|
+
width: n.width,
|
|
193
|
+
height: n.height
|
|
194
|
+
}, o = n.body;
|
|
195
|
+
[n, r].forEach((e) => {
|
|
196
|
+
let t = [], n = e.hFlip, r = e.vFlip, a = e.rotate;
|
|
197
|
+
n ? r ? a += 2 : (t.push("translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"), t.push("scale(-1 1)"), i.top = i.left = 0) : r && (t.push("translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"), t.push("scale(1 -1)"), i.top = i.left = 0);
|
|
198
|
+
let s;
|
|
199
|
+
switch (a < 0 && (a -= Math.floor(a / 4) * 4), a %= 4, a) {
|
|
200
|
+
case 1:
|
|
201
|
+
s = i.height / 2 + i.top, t.unshift("rotate(90 " + s.toString() + " " + s.toString() + ")");
|
|
202
|
+
break;
|
|
203
|
+
case 2:
|
|
204
|
+
t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
|
|
205
|
+
break;
|
|
206
|
+
case 3:
|
|
207
|
+
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
a % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (o = E(o, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
211
|
+
});
|
|
212
|
+
let s = r.width, c = r.height, l = i.width, u = i.height, d, f;
|
|
213
|
+
s === null ? (f = c === null ? "1em" : c === "auto" ? u : c, d = C(f, l / u)) : (d = s === "auto" ? l : s, f = c === null ? C(d, u / l) : c === "auto" ? u : c);
|
|
214
|
+
let p = {}, m = (e, t) => {
|
|
215
|
+
D(t) || (p[e] = t.toString());
|
|
216
|
+
};
|
|
217
|
+
m("width", d), m("height", f);
|
|
218
|
+
let h = [
|
|
219
|
+
i.left,
|
|
220
|
+
i.top,
|
|
221
|
+
l,
|
|
222
|
+
u
|
|
223
|
+
];
|
|
224
|
+
return p.viewBox = h.join(" "), {
|
|
225
|
+
attributes: p,
|
|
226
|
+
viewBox: h,
|
|
227
|
+
body: o
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
var k = /\sid="(\S+)"/g, A = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), j = 0;
|
|
231
|
+
function M(e, t = A) {
|
|
232
|
+
let n = [], r;
|
|
233
|
+
for (; r = k.exec(e);) n.push(r[1]);
|
|
234
|
+
if (!n.length) return e;
|
|
235
|
+
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
236
|
+
return n.forEach((n) => {
|
|
237
|
+
let r = typeof t == "function" ? t(n) : t + (j++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
238
|
+
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
239
|
+
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
240
|
+
}
|
|
241
|
+
function N(e, t) {
|
|
242
|
+
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
243
|
+
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
244
|
+
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
245
|
+
}
|
|
246
|
+
function P(e) {
|
|
247
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
248
|
+
}
|
|
249
|
+
function F(e) {
|
|
250
|
+
return "data:image/svg+xml," + P(e);
|
|
251
|
+
}
|
|
252
|
+
function I(e) {
|
|
253
|
+
return "url(\"" + F(e) + "\")";
|
|
254
|
+
}
|
|
255
|
+
var L = {
|
|
256
|
+
...g,
|
|
257
|
+
inline: !1
|
|
258
|
+
}, R = {
|
|
259
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
260
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
261
|
+
"aria-hidden": !0,
|
|
262
|
+
role: "img"
|
|
263
|
+
}, z = { display: "inline-block" }, B = { backgroundColor: "currentColor" }, V = { backgroundColor: "transparent" }, H = {
|
|
264
|
+
Image: "var(--svg)",
|
|
265
|
+
Repeat: "no-repeat",
|
|
266
|
+
Size: "100% 100%"
|
|
267
|
+
}, U = {
|
|
268
|
+
webkitMask: B,
|
|
269
|
+
mask: B,
|
|
270
|
+
background: V
|
|
271
|
+
};
|
|
272
|
+
for (let e in U) {
|
|
273
|
+
let t = U[e];
|
|
274
|
+
for (let n in H) t[e + n] = H[n];
|
|
275
|
+
}
|
|
276
|
+
var W = {};
|
|
277
|
+
["horizontal", "vertical"].forEach((e) => {
|
|
278
|
+
let t = e.slice(0, 1) + "Flip";
|
|
279
|
+
W[e + "-flip"] = t, W[e.slice(0, 1) + "-flip"] = t, W[e + "Flip"] = t;
|
|
280
|
+
});
|
|
281
|
+
function G(e) {
|
|
282
|
+
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
283
|
+
}
|
|
284
|
+
var K = (e, n) => {
|
|
285
|
+
let r = _(L, n), i = { ...R }, a = n.mode || "svg", o = {}, s = n.style, c = typeof s == "object" && !(s instanceof Array) ? s : {};
|
|
286
|
+
for (let e in n) {
|
|
287
|
+
let t = n[e];
|
|
288
|
+
if (t !== void 0) switch (e) {
|
|
289
|
+
case "icon":
|
|
290
|
+
case "style":
|
|
291
|
+
case "onLoad":
|
|
292
|
+
case "mode":
|
|
293
|
+
case "ssr": break;
|
|
294
|
+
case "inline":
|
|
295
|
+
case "hFlip":
|
|
296
|
+
case "vFlip":
|
|
297
|
+
r[e] = t === !0 || t === "true" || t === 1;
|
|
298
|
+
break;
|
|
299
|
+
case "flip":
|
|
300
|
+
typeof t == "string" && y(r, t);
|
|
301
|
+
break;
|
|
302
|
+
case "color":
|
|
303
|
+
o.color = t;
|
|
304
|
+
break;
|
|
305
|
+
case "rotate":
|
|
306
|
+
typeof t == "string" ? r[e] = b(t) : typeof t == "number" && (r[e] = t);
|
|
307
|
+
break;
|
|
308
|
+
case "ariaHidden":
|
|
309
|
+
case "aria-hidden":
|
|
310
|
+
t !== !0 && t !== "true" && delete i["aria-hidden"];
|
|
311
|
+
break;
|
|
312
|
+
default: {
|
|
313
|
+
let n = W[e];
|
|
314
|
+
n ? (t === !0 || t === "true" || t === 1) && (r[n] = !0) : L[e] === void 0 && (i[e] = t);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
let l = O(e, r), u = l.attributes;
|
|
319
|
+
if (r.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
320
|
+
i.style = {
|
|
321
|
+
...o,
|
|
322
|
+
...c
|
|
323
|
+
}, Object.assign(i, u);
|
|
324
|
+
let e = 0, r = n.id;
|
|
325
|
+
return typeof r == "string" && (r = r.replace(/-/g, "_")), i.innerHTML = M(l.body, r ? () => r + "ID" + e++ : "iconifyVue"), t("svg", i);
|
|
326
|
+
}
|
|
327
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = N(d, {
|
|
328
|
+
...u,
|
|
329
|
+
width: f + "",
|
|
330
|
+
height: p + ""
|
|
331
|
+
});
|
|
332
|
+
return i.style = {
|
|
333
|
+
...o,
|
|
334
|
+
"--svg": I(h),
|
|
335
|
+
width: G(u.width),
|
|
336
|
+
height: G(u.height),
|
|
337
|
+
...z,
|
|
338
|
+
...m ? B : V,
|
|
339
|
+
...c
|
|
340
|
+
}, t("span", i);
|
|
341
|
+
}, q = Object.create(null);
|
|
342
|
+
function J(e, t) {
|
|
343
|
+
q[e] = t;
|
|
344
|
+
}
|
|
345
|
+
function Y(e, t) {
|
|
346
|
+
let n = typeof t == "string" ? t : t !== !1 && typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
347
|
+
m(e) && d(e, (e, t) => {
|
|
348
|
+
t && (q[n + e] = t);
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
var X = e({
|
|
352
|
+
inheritAttrs: !1,
|
|
353
|
+
render() {
|
|
354
|
+
let e = this.$attrs, t = e.icon, n = typeof t == "string" ? q[t] : typeof t == "object" ? t : null;
|
|
355
|
+
return typeof n != "object" || !n || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : K({
|
|
356
|
+
...a,
|
|
357
|
+
...n
|
|
358
|
+
}, e);
|
|
359
|
+
}
|
|
360
|
+
}), Z = e({
|
|
361
|
+
name: "IconOffline",
|
|
362
|
+
components: { IconifyIcon: X },
|
|
363
|
+
props: { icon: { default: null } },
|
|
364
|
+
render() {
|
|
365
|
+
typeof this.icon == "object" && J(this.icon, this.icon);
|
|
366
|
+
let e = this.$attrs;
|
|
367
|
+
return t(X, {
|
|
368
|
+
icon: this.icon,
|
|
369
|
+
style: e?.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
370
|
+
...e
|
|
371
|
+
}, { default: () => [] });
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
e({
|
|
375
|
+
name: "IconifyIconOnline",
|
|
376
|
+
components: { IconifyIcon: n },
|
|
377
|
+
props: { icon: {
|
|
378
|
+
type: String,
|
|
379
|
+
default: ""
|
|
380
|
+
} },
|
|
381
|
+
render() {
|
|
382
|
+
let e = this.$attrs;
|
|
383
|
+
return t(n, {
|
|
384
|
+
icon: `${this.icon}`,
|
|
385
|
+
style: e?.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
386
|
+
...e
|
|
387
|
+
}, { default: () => [] });
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region src/components/ReIcon/src/iconfont.ts
|
|
392
|
+
var Q = e({
|
|
393
|
+
name: "FontIcon",
|
|
394
|
+
props: { icon: {
|
|
395
|
+
type: String,
|
|
396
|
+
default: ""
|
|
397
|
+
} },
|
|
398
|
+
render() {
|
|
399
|
+
let e = this.$attrs;
|
|
400
|
+
return Object.keys(e).includes("uni") || e?.iconType === "uni" ? t("i", {
|
|
401
|
+
class: "iconfont",
|
|
402
|
+
...e
|
|
403
|
+
}, this.icon) : Object.keys(e).includes("svg") || e?.iconType === "svg" ? t("svg", {
|
|
404
|
+
class: "icon-svg",
|
|
405
|
+
"aria-hidden": !0
|
|
406
|
+
}, { default: () => [t("use", { "xlink:href": `#${this.icon}` })] }) : t("i", {
|
|
407
|
+
class: `iconfont ${this.icon}`,
|
|
408
|
+
...e
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
}), $ = Z, ee = Q;
|
|
412
|
+
//#endregion
|
|
413
|
+
export { J as i, $ as n, Y as r, ee as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { createElementBlock as t, openBlock as n } from "vue";
|
|
3
|
+
//#region src/views/urpt/report-request/ReportDefine.vue
|
|
4
|
+
var r = {};
|
|
5
|
+
function i(e, r) {
|
|
6
|
+
return n(), t("div");
|
|
7
|
+
}
|
|
8
|
+
var a = /* @__PURE__ */ e(r, [["render", i]]);
|
|
9
|
+
//#endregion
|
|
10
|
+
export { a as default };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { r as e } from "./api-BFNxcxSN.js";
|
|
2
|
+
import { t } from "./await-to-js.es5-DkWYmPXW.js";
|
|
3
|
+
import { t as n } from "./DesignPanel-DmkFVw1N.js";
|
|
4
|
+
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, nextTick as l, openBlock as u, ref as d, resolveComponent as f, vShow as p, withDirectives as m } from "vue";
|
|
5
|
+
import { successMessage as h, useRender as g } from "@utogether/utils";
|
|
6
|
+
import { useClipboard as _ } from "@vueuse/core";
|
|
7
|
+
//#region src/views/urpt/design/ReportDesign.vue?vue&type=script&setup=true&lang.tsx
|
|
8
|
+
var v = "/urpt/v1/printTemplate", y = /* @__PURE__ */ c({
|
|
9
|
+
name: "ReportDesign",
|
|
10
|
+
__name: "ReportDesign",
|
|
11
|
+
setup(c) {
|
|
12
|
+
let y = d(null), b = d(!1), x = d(!1), S = g(), C = d({}), { copy: w } = _(), T = e(), E = [{
|
|
13
|
+
field: "templateCode",
|
|
14
|
+
title: "message.urpt.templateCode"
|
|
15
|
+
}, {
|
|
16
|
+
field: "templateName",
|
|
17
|
+
title: "message.urpt.templateName"
|
|
18
|
+
}], D = [
|
|
19
|
+
{
|
|
20
|
+
type: "checkbox",
|
|
21
|
+
width: 50,
|
|
22
|
+
align: "center"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
field: "templateCode",
|
|
26
|
+
title: "message.urpt.templateCode",
|
|
27
|
+
required: !0,
|
|
28
|
+
width: 150,
|
|
29
|
+
editRender: S.renderInput()
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
field: "templateName",
|
|
33
|
+
title: "message.urpt.templateName",
|
|
34
|
+
required: !0,
|
|
35
|
+
width: 240,
|
|
36
|
+
editRender: S.renderInput()
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
field: "paperType",
|
|
40
|
+
title: "message.urpt.paperType",
|
|
41
|
+
width: 120,
|
|
42
|
+
required: !0,
|
|
43
|
+
editRender: S.renderDict({
|
|
44
|
+
code: "SU.PRINT.PAPER",
|
|
45
|
+
defaultValue: "A4"
|
|
46
|
+
}),
|
|
47
|
+
formatter: ["formatDict", "SU.PRINT.PAPER"]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
field: "remarks",
|
|
51
|
+
title: "message.remark",
|
|
52
|
+
minWidth: 120,
|
|
53
|
+
editRender: S.renderInput()
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
field: "operate",
|
|
57
|
+
width: 200,
|
|
58
|
+
slots: { default: ({ row: e }) => e.id ? s(r, null, [
|
|
59
|
+
s(f("ut-button"), {
|
|
60
|
+
content: "design",
|
|
61
|
+
icon: "ri-quill-pen-line",
|
|
62
|
+
onTap: () => M(e)
|
|
63
|
+
}, null),
|
|
64
|
+
s(f("ut-button"), {
|
|
65
|
+
content: "copy",
|
|
66
|
+
status: "warning",
|
|
67
|
+
icon: "ri-file-copy-2-fill",
|
|
68
|
+
onTap: () => k(e)
|
|
69
|
+
}, null),
|
|
70
|
+
s(f("ut-button"), {
|
|
71
|
+
content: "export",
|
|
72
|
+
status: "u-cyan",
|
|
73
|
+
icon: "ri-folder-download-fill",
|
|
74
|
+
onTap: () => A(e)
|
|
75
|
+
}, null)
|
|
76
|
+
]) : null }
|
|
77
|
+
}
|
|
78
|
+
], O = [
|
|
79
|
+
{
|
|
80
|
+
field: "templateCode",
|
|
81
|
+
title: "message.urpt.templateCode",
|
|
82
|
+
required: !0,
|
|
83
|
+
itemRender: { name: "$input" },
|
|
84
|
+
span: 24
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
field: "templateName",
|
|
88
|
+
title: "message.urpt.templateName",
|
|
89
|
+
required: !0,
|
|
90
|
+
itemRender: { name: "$input" },
|
|
91
|
+
span: 24
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
field: "paperType",
|
|
95
|
+
title: "message.urpt.paperType",
|
|
96
|
+
width: 100,
|
|
97
|
+
required: !0,
|
|
98
|
+
itemRender: S.renderDict({
|
|
99
|
+
code: "SU.PRINT.PAPER",
|
|
100
|
+
defaultValue: "A4"
|
|
101
|
+
})
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
field: "remarks",
|
|
105
|
+
title: "message.remark",
|
|
106
|
+
itemRender: { name: "$input" },
|
|
107
|
+
span: 24
|
|
108
|
+
}
|
|
109
|
+
], k = (e) => {
|
|
110
|
+
C.value.templateContent = e.templateContent, C.value.paperType = e.paperType, x.value = !0;
|
|
111
|
+
}, A = (e) => {
|
|
112
|
+
w(e.templateContent), h("复制成功,快试试右键粘贴吧");
|
|
113
|
+
}, j = async () => {
|
|
114
|
+
let [e] = await t(T.post(v, [C.value]));
|
|
115
|
+
!e && y.value.refreshData(), x.value = !1;
|
|
116
|
+
}, M = (e) => {
|
|
117
|
+
C.value = e, l(() => {
|
|
118
|
+
b.value = !0;
|
|
119
|
+
});
|
|
120
|
+
}, N = { editActived({ row: e }) {
|
|
121
|
+
D[1].editRender.props.disabled = !!e.id, y.value.getInstance().refreshColumn();
|
|
122
|
+
} }, P = ({ row: e }) => e?.enabled !== "1", F = () => {
|
|
123
|
+
C.value = {}, b.value = !1, y.value.refreshData();
|
|
124
|
+
};
|
|
125
|
+
return (e, t) => {
|
|
126
|
+
let r = f("ut-grid"), c = f("ut-modal-form");
|
|
127
|
+
return u(), o("div", null, [
|
|
128
|
+
m(s(r, {
|
|
129
|
+
ref_key: "xgrid",
|
|
130
|
+
ref: y,
|
|
131
|
+
items: E,
|
|
132
|
+
columns: D,
|
|
133
|
+
"check-method": P,
|
|
134
|
+
url: v,
|
|
135
|
+
events: N
|
|
136
|
+
}, null, 512), [[p, !b.value]]),
|
|
137
|
+
b.value ? (u(), i(n, {
|
|
138
|
+
key: 0,
|
|
139
|
+
record: C.value,
|
|
140
|
+
onOnClose: F
|
|
141
|
+
}, null, 8, ["record"])) : a("", !0),
|
|
142
|
+
x.value ? (u(), i(c, {
|
|
143
|
+
key: 1,
|
|
144
|
+
record: C.value,
|
|
145
|
+
items: O,
|
|
146
|
+
width: "40%",
|
|
147
|
+
height: 290,
|
|
148
|
+
"data-status": "update",
|
|
149
|
+
title: "复制模板",
|
|
150
|
+
onConfirm: j,
|
|
151
|
+
onClose: t[0] ||= (e) => x.value = !1
|
|
152
|
+
}, null, 8, ["record"])) : a("", !0)
|
|
153
|
+
]);
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
//#endregion
|
|
158
|
+
export { y as default };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { t as e } from "./ReportQueryFrom-CNlmtYey.js";
|
|
2
|
+
import { createBlock as t, createCommentVNode as n, createElementBlock as r, createVNode as i, defineComponent as a, onMounted as o, openBlock as s, reactive as c, ref as l, resolveComponent as u, vShow as d, watch as f, withDirectives as p } from "vue";
|
|
3
|
+
import { useRender as m } from "@utogether/utils";
|
|
4
|
+
import { useRoute as h } from "vue-router";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/views/urpt/query/ReportQuery.vue
|
|
7
|
+
var g = /* @__PURE__ */ a({
|
|
8
|
+
name: "ReportQuery",
|
|
9
|
+
setup(a) {
|
|
10
|
+
let g = c({
|
|
11
|
+
record: {},
|
|
12
|
+
showChild: !1,
|
|
13
|
+
loading: !1,
|
|
14
|
+
dataStatus: ""
|
|
15
|
+
}), _ = h(), v = m();
|
|
16
|
+
f(() => _.path, () => {});
|
|
17
|
+
let y = [
|
|
18
|
+
{ field: "templateName" },
|
|
19
|
+
{ field: "createdByName" },
|
|
20
|
+
{
|
|
21
|
+
field: "exportResult",
|
|
22
|
+
itemRender: v.renderDict("SU.REPORT.EXPORT_STATUS")
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
field: "exportDate",
|
|
26
|
+
itemRender: { name: "#SuDateRange" },
|
|
27
|
+
fromField: "exportDateFrom",
|
|
28
|
+
toField: "exportDateTo"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
field: "creationDate",
|
|
32
|
+
itemRender: { name: "#SuDateRange" },
|
|
33
|
+
fromField: "createDateFrom",
|
|
34
|
+
toField: "createDateTo"
|
|
35
|
+
}
|
|
36
|
+
], b = [
|
|
37
|
+
{
|
|
38
|
+
field: "exportNo",
|
|
39
|
+
title: "message.reportCode",
|
|
40
|
+
width: 100
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
field: "templateName",
|
|
44
|
+
width: 150
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
field: "fileName",
|
|
48
|
+
width: 150
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
field: "exportStatus",
|
|
52
|
+
width: 90
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
field: "exportResult",
|
|
56
|
+
width: 70
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
field: "fileType",
|
|
60
|
+
width: 80
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
field: "exportMsg",
|
|
64
|
+
minWidth: 100
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
field: "createdByName",
|
|
68
|
+
width: 100
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
field: "exportDate",
|
|
72
|
+
width: 100
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
field: "creationDate",
|
|
76
|
+
width: 100,
|
|
77
|
+
formatter: ["formatDate"]
|
|
78
|
+
}
|
|
79
|
+
], x = l(null), S = () => {
|
|
80
|
+
g.showChild = !1;
|
|
81
|
+
};
|
|
82
|
+
return o(() => {
|
|
83
|
+
_?.params?.isJump && (g.dataStatus = "add", g.showChild = !0);
|
|
84
|
+
}), (a, o) => {
|
|
85
|
+
let c = u("ut-grid");
|
|
86
|
+
return s(), r("div", null, [p(i(c, {
|
|
87
|
+
ref_key: "xgrid",
|
|
88
|
+
ref: x,
|
|
89
|
+
tems: y,
|
|
90
|
+
columns: b
|
|
91
|
+
}, null, 512), [[d, !g.showChild]]), g.showChild ? (s(), t(e, {
|
|
92
|
+
key: 0,
|
|
93
|
+
record: g.record,
|
|
94
|
+
"data-status": g.dataStatus,
|
|
95
|
+
onOnClose: S
|
|
96
|
+
}, null, 8, ["record", "data-status"])) : n("", !0)]);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
//#endregion
|
|
101
|
+
export { g as default };
|