@utogether/udp-core 2.0.0-beta.25 → 2.0.0-beta.27
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-gdcH0-Bo.js +65 -0
- package/dist/404-Se2SF97M.js +65 -0
- package/dist/500-B6j9AqLo.js +67 -0
- package/dist/AuthorityInfo-CQ8ydZvr.js +4 -0
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-C4NRvS8p.js +100 -0
- package/dist/AuthorityPanel-lVnZ5bce.js +4 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-nsfhDlvV.js +113 -0
- package/dist/Company-BzSVBSC4.js +25 -0
- package/dist/CompanyPanel-DBjZB4aJ.js +204 -0
- package/dist/DataSet-iBHzs75s.js +147 -0
- package/dist/Department-BkgseHo8.js +25 -0
- package/dist/DepartmentPanel-Sen93_2M.js +249 -0
- package/dist/DesignPanel-pqDcwaFC.js +4 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BjtYyEw7.js +1013 -0
- package/dist/DictView-CJLG4LlE.js +110 -0
- package/dist/InvOrganization-D0Jq1IAa.js +74 -0
- package/dist/Org-CO_1WT39.js +39 -0
- package/dist/Preview-DLI4Bwel.js +48 -0
- package/dist/ReportDefine-Cw46OnJ_.js +10 -0
- package/dist/ReportDesign-D4sHTXT7.js +165 -0
- package/dist/ReportQuery-DtOCvQSN.js +74 -0
- package/dist/ReportQueryFrom-QjL-ETPq.js +4 -0
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-Dj9ne87n.js +177 -0
- package/dist/ReportTemplate-BxAgc_Aj.js +161 -0
- package/dist/Role-Df77BBD-.js +25 -0
- package/dist/RoleAssign-BrunouML.js +26 -0
- package/dist/RolePanel-DSVwqhiD.js +4 -0
- package/dist/RolePanel-HLA7XBlN.js +4 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CKlbqRa5.js +132 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CN0rUxKz.js +152 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-D_FeSXKv.js +99 -0
- package/dist/Staff-BeL1xcRf.js +26 -0
- package/dist/StaffInfo-CIfnltyX.js +4 -0
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-DbLFwWfG.js +107 -0
- package/dist/StaffPanel-BV2CHWac.js +4 -0
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-CvT-Vp2G.js +153 -0
- package/dist/SysUser-DPfNvthk.js +15 -0
- package/dist/SysUserPanel-CoLKYlQE.js +4 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-lcO3Cjbq.js +353 -0
- package/dist/SystemMenu-sdj1dRDA.js +156 -0
- package/dist/UserInfo-CTX4hhFl.js +4 -0
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-ClhCd_8z.js +160 -0
- package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
- package/dist/childView-BDmWwJO5.js +4 -0
- package/dist/childView-Dx3ACtHa.js +4 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-CfKq_0FN.js +183 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-DxZNtkhd.js +143 -0
- package/dist/code-rule-cvN4gYC_.js +148 -0
- package/dist/core.es.js +24 -6
- package/dist/cron-task-B0TkxFdp.js +135 -0
- package/dist/flow-task-PoDnE_kE.js +10 -0
- package/dist/frameView-5cy5BSgS.js +43 -0
- package/dist/img/minicolors.png +0 -0
- package/dist/index-C5WRTwvI.js +3006 -0
- package/dist/layout-home-DrARg-3o.js +232 -0
- package/dist/layoutView-25v_ngk5.js +3191 -0
- package/dist/log-in-Bmz5Uhbt.js +116 -0
- package/dist/log-out-B-8m3oNj.js +130 -0
- package/dist/login-Cmp2RvvW.js +217 -0
- package/dist/login-log-CVvRgZSu.js +70 -0
- package/dist/lov-view-BATtzw2X.js +99 -0
- package/dist/menuInfo-BIvrE7nm.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-B6USomit.js +360 -0
- package/dist/pda-app-CzHVyeEa.js +707 -0
- package/dist/redirect-DTz8GSnv.js +15 -0
- package/dist/resource-Y5lGB38n.js +97 -0
- package/dist/su-welcome-CXA6OzBw.js +878 -0
- package/dist/sys-config-CqO03LeC.js +385 -0
- package/dist/udp-core.css +1 -2
- package/dist/useNav-C-rCgubt.js +84 -0
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/dist/wecom-push-B75FLee5.js +70 -0
- package/index.ts +3 -2
- package/package.json +1 -1
- package/src/App.vue +79 -73
- package/src/api/index.ts +1 -1
- package/src/components/SuQrcode/src/index.tsx +231 -236
- package/src/components/udp/grid/index.vue +9 -11
- package/src/components/udp/utils.ts +420 -414
- package/src/layout/components/lay-panel/index.vue +2 -6
- package/src/layout/components/lay-search/components/SearchModal.vue +7 -3
- package/src/main.ts +111 -110
- package/src/router/index.ts +156 -187
- package/src/router/utils.ts +2 -3
- package/src/store/modules/system.ts +7 -0
- package/src/style/vxetable.scss +372 -364
- package/src/utils/authority/index.ts +46 -29
- package/src/utils/udp/http/index.ts +115 -64
- package/src/utils/udp/http/types.d.ts +15 -14
- package/src/views/login/login-view.vue +280 -301
- package/src/views/organization/department/DepartmentPanel.vue +3 -4
- package/src/views/system/sys/sys-config.vue +344 -344
- package/src/views/uhome/components/home-todo.vue +179 -178
- package/src/views/ulogin/login.vue +8 -41
- package/tsconfig.json +2 -3
- package/types/global.d.ts +234 -234
- package/vite.config.ts +2 -1
- package/dist/403-QwBKrRZE.js +0 -72
- package/dist/404-Cr7MbzNV.js +0 -72
- package/dist/500-B7kCOeIA.js +0 -77
- package/dist/AuthorityInfo-Dwml2K4S.js +0 -91
- package/dist/AuthorityPanel-DzPhsPpa.js +0 -98
- package/dist/Company-BhOlvl7Q.js +0 -21
- package/dist/CompanyPanel-ByhY5-Sq.js +0 -199
- package/dist/DataSet-CuGZcKC-.js +0 -141
- package/dist/Department-QvngN63N.js +0 -21
- package/dist/DepartmentPanel-BCXqC39J.js +0 -2
- package/dist/DepartmentPanel-DntGycxr.js +0 -242
- package/dist/DesignPanel-BMN4DZ0R.js +0 -1196
- package/dist/DictView-ERFqZ5VD.js +0 -100
- package/dist/File-WJXjGYxr.js +0 -89
- package/dist/InvOrganization-BwMmD8Ua.js +0 -76
- package/dist/Org-HgnOWubi.js +0 -76
- package/dist/Preview-CVZdnHB1.js +0 -45
- package/dist/ReIcon-DecitXmg.js +0 -413
- package/dist/ReportDefine-BgLM-Rjk.js +0 -10
- package/dist/ReportDesign-CjfTyyy_.js +0 -158
- package/dist/ReportQuery-CP-E0Puv.js +0 -101
- package/dist/ReportQueryFrom-D7SPPAps.js +0 -198
- package/dist/ReportTemplate-DE25zc1f.js +0 -162
- package/dist/Role-K7v_ZhFE.js +0 -21
- package/dist/RoleAssign-C16fjLaX.js +0 -22
- package/dist/RolePanel-CV-xPlYJ.js +0 -176
- package/dist/RolePanel-DPCe9k8f.js +0 -131
- package/dist/ScrollPanel-DW30pGz1.js +0 -88
- package/dist/Staff-w2ly4qd0.js +0 -22
- package/dist/StaffInfo-DPDRpz6F.js +0 -149
- package/dist/StaffPanel-DI1eTTp9.js +0 -143
- package/dist/SysUser-BMTX1cJM.js +0 -12
- package/dist/SysUserPanel-xwZdVjdp.js +0 -365
- package/dist/SystemMenu-TXhiQZVm.js +0 -154
- package/dist/UserInfo-JQqw8FMT.js +0 -194
- package/dist/_plugin-vue_export-helper-C6QCLu9I.js +0 -8
- package/dist/api-BFNxcxSN.js +0 -30
- package/dist/authority-Bi6BGB5B.js +0 -20
- package/dist/await-to-js.es5-DkWYmPXW.js +0 -10
- package/dist/childView-Bk8OD9bV.js +0 -181
- package/dist/childView-CyrcwshT.js +0 -184
- package/dist/code-rule-QFrhqFrW.js +0 -151
- package/dist/contant-Q77dU_V3.js +0 -4
- package/dist/cron-task-BpUDKEAU.js +0 -131
- package/dist/flow-task-DAc2NrDU.js +0 -11
- package/dist/frameView-Di0zJZUR.js +0 -39
- package/dist/layout-home-BVp7vYLR.js +0 -239
- package/dist/layoutView-DFUjrqAS.js +0 -2662
- package/dist/log-in-BrNB0mLz.js +0 -117
- package/dist/log-out-dYfqvzy6.js +0 -111
- package/dist/login-BdCDnuXL.js +0 -233
- package/dist/login-log-CJak-ANA.js +0 -79
- package/dist/lov-view-DkmG4K57.js +0 -95
- package/dist/menuInfo-kp2wNYOp.js +0 -346
- package/dist/mitt-CQgI7DYU.js +0 -27
- package/dist/pda-app-CA7YI37u.js +0 -589
- package/dist/redirect-N0k4tImU.js +0 -16
- package/dist/resource-CfQTHFcs.js +0 -94
- package/dist/router-CeluSGiD.js +0 -1531
- package/dist/su-welcome-JeiovGpe.js +0 -799
- package/dist/sys-config-Ddb3vBpK.js +0 -316
- package/dist/udp-core-Dhm-BlAs.js +0 -2032
- package/dist/useDataThemeChange-BCy8JBG7.js +0 -226
- package/dist/useNav-DY8FkltH.js +0 -106
- package/dist/utogether-l7JXs4Lv.js +0 -4
- package/dist/water-mark-WDQZ9YqB.js +0 -119
- package/dist/wecom-push-kWkAVRCj.js +0 -77
package/dist/pda-app-CA7YI37u.js
DELETED
|
@@ -1,589 +0,0 @@
|
|
|
1
|
-
import { r as e, t } from "./api-BFNxcxSN.js";
|
|
2
|
-
import { t as n } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
-
import { t as r } from "./await-to-js.es5-DkWYmPXW.js";
|
|
4
|
-
import { n as i } from "./ReIcon-DecitXmg.js";
|
|
5
|
-
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createVNode as u, defineComponent as d, isVNode as f, nextTick as p, openBlock as m, ref as h, resolveComponent as g, resolveDirective as _, unref as v, watch as y, withDirectives as b } from "vue";
|
|
6
|
-
import { useRender as x, withInstall as S } from "@utogether/utils";
|
|
7
|
-
import { clone as C, isString as w } from "xe-utils";
|
|
8
|
-
import { useI18n as T } from "vue-i18n";
|
|
9
|
-
import E from "qrcode";
|
|
10
|
-
//#region ../../node_modules/.pnpm/vue-types@6.0.0_vue@3.5.31_typescript@6.0.2_/node_modules/vue-types/dist/shared/vue-types.8139b772.mjs
|
|
11
|
-
var D = {
|
|
12
|
-
silent: !1,
|
|
13
|
-
logLevel: "warn"
|
|
14
|
-
};
|
|
15
|
-
function O(e) {
|
|
16
|
-
if (typeof e != "object" || !e) return !1;
|
|
17
|
-
let t = Object.getPrototypeOf(e);
|
|
18
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
19
|
-
}
|
|
20
|
-
var ee = () => ({
|
|
21
|
-
func: () => void 0,
|
|
22
|
-
bool: !0,
|
|
23
|
-
string: "",
|
|
24
|
-
number: 0,
|
|
25
|
-
array: () => [],
|
|
26
|
-
object: () => ({}),
|
|
27
|
-
integer: 0
|
|
28
|
-
}), k = Object.prototype, A = k.toString, te = k.hasOwnProperty, j = /^\s*function (\w+)/;
|
|
29
|
-
function M(e) {
|
|
30
|
-
let t = e?.type ?? e;
|
|
31
|
-
if (t) {
|
|
32
|
-
let e = t.toString().match(j);
|
|
33
|
-
return e ? e[1] : "";
|
|
34
|
-
}
|
|
35
|
-
return "";
|
|
36
|
-
}
|
|
37
|
-
function ne(e) {
|
|
38
|
-
if (e == null) return "";
|
|
39
|
-
let t = e.constructor.toString().match(j);
|
|
40
|
-
return t ? t[1].replace(/^Async/, "") : "";
|
|
41
|
-
}
|
|
42
|
-
function re(e) {
|
|
43
|
-
return "structuredClone" in globalThis ? structuredClone(e) : Array.isArray(e) ? [...e] : O(e) ? Object.assign({}, e) : e;
|
|
44
|
-
}
|
|
45
|
-
function N() {}
|
|
46
|
-
var P = N;
|
|
47
|
-
process.env.NODE_ENV !== "production" && (P = typeof console < "u" ? function(e, t = D.logLevel) {
|
|
48
|
-
D.silent === !1 && console[t](`[VueTypes warn]: ${e}`);
|
|
49
|
-
} : N);
|
|
50
|
-
var F = (e, t) => te.call(e, t), I = Number.isInteger || function(e) {
|
|
51
|
-
return typeof e == "number" && isFinite(e) && Math.floor(e) === e;
|
|
52
|
-
}, L = Array.isArray || function(e) {
|
|
53
|
-
return A.call(e) === "[object Array]";
|
|
54
|
-
}, R = (e) => A.call(e) === "[object Function]", z = (e, t) => O(e) && F(e, "_vueTypes_name") && (!t || e._vueTypes_name === t), B = (e) => O(e) && (F(e, "type") || [
|
|
55
|
-
"_vueTypes_name",
|
|
56
|
-
"validator",
|
|
57
|
-
"default",
|
|
58
|
-
"required"
|
|
59
|
-
].some((t) => F(e, t)));
|
|
60
|
-
function V(e, t) {
|
|
61
|
-
return Object.defineProperty(e.bind(t), "__original", { value: e });
|
|
62
|
-
}
|
|
63
|
-
function H(e, t, n = !1) {
|
|
64
|
-
let r, i = !0, a = "";
|
|
65
|
-
r = O(e) ? e : { type: e };
|
|
66
|
-
let o = z(r) ? r._vueTypes_name + " - " : "";
|
|
67
|
-
if (B(r) && r.type !== null) {
|
|
68
|
-
if (r.type === void 0 || r.type === !0 || !r.required && t == null) return i;
|
|
69
|
-
L(r.type) ? (i = r.type.some((e) => H(e, t, !0) === !0), a = r.type.map((e) => M(e)).join(" or ")) : (a = M(r), i = a === "Array" ? L(t) : a === "Object" ? O(t) : a === "String" || a === "Number" || a === "Boolean" || a === "Function" ? ne(t) === a : t instanceof r.type);
|
|
70
|
-
}
|
|
71
|
-
if (!i) {
|
|
72
|
-
let e = `${o}value "${t}" should be of type "${a}"`;
|
|
73
|
-
return n === !1 ? (P(e), !1) : e;
|
|
74
|
-
}
|
|
75
|
-
if (F(r, "validator") && R(r.validator)) {
|
|
76
|
-
let e = P, a = [];
|
|
77
|
-
if (P = (e) => {
|
|
78
|
-
a.push(e);
|
|
79
|
-
}, i = r.validator(t), P = e, !i) {
|
|
80
|
-
let e = (a.length > 1 ? "* " : "") + a.join("\n* ");
|
|
81
|
-
return a.length = 0, n === !1 ? (P(e), i) : e;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return i;
|
|
85
|
-
}
|
|
86
|
-
function U(e, t) {
|
|
87
|
-
let n = Object.defineProperties(t, {
|
|
88
|
-
_vueTypes_name: {
|
|
89
|
-
value: e,
|
|
90
|
-
writable: !0
|
|
91
|
-
},
|
|
92
|
-
isRequired: { get() {
|
|
93
|
-
return this.required = !0, this;
|
|
94
|
-
} },
|
|
95
|
-
def: { value(e) {
|
|
96
|
-
if (e === void 0) {
|
|
97
|
-
if (this.type === Boolean || Array.isArray(this.type) && this.type.includes(Boolean)) {
|
|
98
|
-
this.default = void 0;
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
return F(this, "default") && delete this.default, this;
|
|
102
|
-
}
|
|
103
|
-
return !R(e) && H(this, e, !0) !== !0 ? (P(`${this._vueTypes_name} - invalid default value: "${e}"`), this) : (L(e) || O(e) ? this.default = () => re(e) : this.default = e, this);
|
|
104
|
-
} }
|
|
105
|
-
}), { validator: r } = n;
|
|
106
|
-
return R(r) && (n.validator = V(r, n)), n;
|
|
107
|
-
}
|
|
108
|
-
function W(e, t) {
|
|
109
|
-
let n = U(e, t);
|
|
110
|
-
return Object.defineProperty(n, "validate", { value(e) {
|
|
111
|
-
return R(this.validator) && P(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
|
|
112
|
-
${JSON.stringify(this)}`), this.validator = V(e, this), this;
|
|
113
|
-
} });
|
|
114
|
-
}
|
|
115
|
-
function G(e) {
|
|
116
|
-
return e.replace(/^(?!\s*$)/gm, " ");
|
|
117
|
-
}
|
|
118
|
-
var K = () => W("any", {}), q = () => W("function", { type: Function }), J = () => W("boolean", { type: Boolean }), Y = () => W("string", { type: String }), ie = () => W("number", { type: Number }), ae = () => W("array", { type: Array }), oe = () => W("object", { type: Object }), se = () => U("integer", {
|
|
119
|
-
type: Number,
|
|
120
|
-
validator(e) {
|
|
121
|
-
let t = I(e);
|
|
122
|
-
return t === !1 && P(`integer - "${e}" is not an integer`), t;
|
|
123
|
-
}
|
|
124
|
-
}), ce = () => U("symbol", { validator(e) {
|
|
125
|
-
let t = typeof e == "symbol";
|
|
126
|
-
return t === !1 && P(`symbol - invalid value "${e}"`), t;
|
|
127
|
-
} }), le = () => Object.defineProperty({
|
|
128
|
-
type: null,
|
|
129
|
-
validator(e) {
|
|
130
|
-
let t = e === null;
|
|
131
|
-
return t === !1 && P("nullable - value should be null"), t;
|
|
132
|
-
}
|
|
133
|
-
}, "_vueTypes_name", { value: "nullable" });
|
|
134
|
-
function ue(e, t = "custom validation failed") {
|
|
135
|
-
if (typeof e != "function") throw TypeError("[VueTypes error]: You must provide a function as argument");
|
|
136
|
-
return U(e.name || "<<anonymous function>>", {
|
|
137
|
-
type: null,
|
|
138
|
-
validator(n) {
|
|
139
|
-
let r = e(n);
|
|
140
|
-
return r || P(`${this._vueTypes_name} - ${t}`), r;
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
function de(e) {
|
|
145
|
-
if (!L(e)) throw TypeError("[VueTypes error]: You must provide an array as argument.");
|
|
146
|
-
let t = `oneOf - value should be one of "${e.map((e) => typeof e == "symbol" ? e.toString() : e).join("\", \"")}".`, n = { validator(n) {
|
|
147
|
-
let r = e.indexOf(n) !== -1;
|
|
148
|
-
return r || P(t), r;
|
|
149
|
-
} };
|
|
150
|
-
if (e.indexOf(null) === -1) {
|
|
151
|
-
let t = e.reduce((e, t) => {
|
|
152
|
-
if (t != null) {
|
|
153
|
-
let n = t.constructor;
|
|
154
|
-
e.indexOf(n) === -1 && e.push(n);
|
|
155
|
-
}
|
|
156
|
-
return e;
|
|
157
|
-
}, []);
|
|
158
|
-
t.length > 0 && (n.type = t);
|
|
159
|
-
}
|
|
160
|
-
return U("oneOf", n);
|
|
161
|
-
}
|
|
162
|
-
function fe(e) {
|
|
163
|
-
if (!L(e)) throw TypeError("[VueTypes error]: You must provide an array as argument");
|
|
164
|
-
let t = !1, n = !1, r = [];
|
|
165
|
-
for (let i = 0; i < e.length; i += 1) {
|
|
166
|
-
let a = e[i];
|
|
167
|
-
if (B(a)) {
|
|
168
|
-
if (R(a.validator) && (t = !0), z(a, "oneOf") && a.type) {
|
|
169
|
-
r = r.concat(a.type);
|
|
170
|
-
continue;
|
|
171
|
-
}
|
|
172
|
-
if (z(a, "nullable")) {
|
|
173
|
-
n = !0;
|
|
174
|
-
continue;
|
|
175
|
-
}
|
|
176
|
-
if (a.type === !0 || !a.type) {
|
|
177
|
-
P("oneOfType - invalid usage of \"true\" and \"null\" as types.");
|
|
178
|
-
continue;
|
|
179
|
-
}
|
|
180
|
-
r = r.concat(a.type);
|
|
181
|
-
} else r.push(a);
|
|
182
|
-
}
|
|
183
|
-
r = r.filter((e, t) => r.indexOf(e) === t);
|
|
184
|
-
let i = n === !1 && r.length > 0 ? r : null;
|
|
185
|
-
return t ? U("oneOfType", {
|
|
186
|
-
type: i,
|
|
187
|
-
validator(t) {
|
|
188
|
-
let n = [], r = e.some((e) => {
|
|
189
|
-
let r = H(e, t, !0);
|
|
190
|
-
return typeof r == "string" && n.push(r), r === !0;
|
|
191
|
-
});
|
|
192
|
-
return r || P(`oneOfType - provided value does not match any of the ${n.length} passed-in validators:
|
|
193
|
-
${G(n.join("\n"))}`), r;
|
|
194
|
-
}
|
|
195
|
-
}) : U("oneOfType", { type: i });
|
|
196
|
-
}
|
|
197
|
-
function pe(e) {
|
|
198
|
-
return U("arrayOf", {
|
|
199
|
-
type: Array,
|
|
200
|
-
validator(t) {
|
|
201
|
-
let n = "", r = t.every((t) => (n = H(e, t, !0), n === !0));
|
|
202
|
-
return r || P(`arrayOf - value validation error:
|
|
203
|
-
${G(n)}`), r;
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
function me(e) {
|
|
208
|
-
return U("instanceOf", { type: e });
|
|
209
|
-
}
|
|
210
|
-
function he(e) {
|
|
211
|
-
return U("objectOf", {
|
|
212
|
-
type: Object,
|
|
213
|
-
validator(t) {
|
|
214
|
-
let n = "";
|
|
215
|
-
if (!O(t)) return !1;
|
|
216
|
-
let r = Object.keys(t).every((r) => (n = H(e, t[r], !0), n === !0));
|
|
217
|
-
return r || P(`objectOf - value validation error:
|
|
218
|
-
${G(n)}`), r;
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
function ge(e) {
|
|
223
|
-
let t = Object.keys(e), n = t.filter((t) => !!e[t]?.required), r = U("shape", {
|
|
224
|
-
type: Object,
|
|
225
|
-
validator(r) {
|
|
226
|
-
if (!O(r)) return !1;
|
|
227
|
-
let i = Object.keys(r);
|
|
228
|
-
if (n.length > 0 && n.some((e) => i.indexOf(e) === -1)) {
|
|
229
|
-
let e = n.filter((e) => i.indexOf(e) === -1);
|
|
230
|
-
return e.length === 1 ? P(`shape - required property "${e[0]}" is not defined.`) : P(`shape - required properties "${e.join("\", \"")}" are not defined.`), !1;
|
|
231
|
-
}
|
|
232
|
-
return i.every((n) => {
|
|
233
|
-
if (t.indexOf(n) === -1) return this._vueTypes_isLoose === !0 ? !0 : (P(`shape - shape definition does not include a "${n}" property. Allowed keys: "${t.join("\", \"")}".`), !1);
|
|
234
|
-
let i = e[n], a = H(i, r[n], !0);
|
|
235
|
-
return typeof a == "string" && P(`shape - "${n}" property validation error:
|
|
236
|
-
${G(a)}`), a === !0;
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
return Object.defineProperty(r, "_vueTypes_isLoose", {
|
|
241
|
-
writable: !0,
|
|
242
|
-
value: !1
|
|
243
|
-
}), Object.defineProperty(r, "loose", { get() {
|
|
244
|
-
return this._vueTypes_isLoose = !0, this;
|
|
245
|
-
} }), r;
|
|
246
|
-
}
|
|
247
|
-
var X = Object.defineProperty, _e = (e, t, n) => t in e ? X(e, t, {
|
|
248
|
-
enumerable: !0,
|
|
249
|
-
configurable: !0,
|
|
250
|
-
writable: !0,
|
|
251
|
-
value: n
|
|
252
|
-
}) : e[t] = n, Z = (e, t, n) => (_e(e, typeof t == "symbol" ? t : t + "", n), n), ve = /* @__PURE__ */ (() => {
|
|
253
|
-
var e;
|
|
254
|
-
return e = class {
|
|
255
|
-
static get any() {
|
|
256
|
-
return K();
|
|
257
|
-
}
|
|
258
|
-
static get func() {
|
|
259
|
-
return q().def(this.defaults.func);
|
|
260
|
-
}
|
|
261
|
-
static get bool() {
|
|
262
|
-
return this.defaults.bool === void 0 ? J() : J().def(this.defaults.bool);
|
|
263
|
-
}
|
|
264
|
-
static get string() {
|
|
265
|
-
return Y().def(this.defaults.string);
|
|
266
|
-
}
|
|
267
|
-
static get number() {
|
|
268
|
-
return ie().def(this.defaults.number);
|
|
269
|
-
}
|
|
270
|
-
static get array() {
|
|
271
|
-
return ae().def(this.defaults.array);
|
|
272
|
-
}
|
|
273
|
-
static get object() {
|
|
274
|
-
return oe().def(this.defaults.object);
|
|
275
|
-
}
|
|
276
|
-
static get integer() {
|
|
277
|
-
return se().def(this.defaults.integer);
|
|
278
|
-
}
|
|
279
|
-
static get symbol() {
|
|
280
|
-
return ce();
|
|
281
|
-
}
|
|
282
|
-
static get nullable() {
|
|
283
|
-
return le();
|
|
284
|
-
}
|
|
285
|
-
static extend(...e) {
|
|
286
|
-
P("VueTypes.extend has been removed. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details.");
|
|
287
|
-
}
|
|
288
|
-
}, Z(e, "defaults", {}), Z(e, "sensibleDefaults"), Z(e, "config", D), Z(e, "custom", ue), Z(e, "oneOf", de), Z(e, "instanceOf", me), Z(e, "oneOfType", fe), Z(e, "arrayOf", pe), Z(e, "objectOf", he), Z(e, "shape", ge), Z(e, "utils", {
|
|
289
|
-
validate(e, t) {
|
|
290
|
-
return H(t, e, !0) === !0;
|
|
291
|
-
},
|
|
292
|
-
toType(e, t, n = !1) {
|
|
293
|
-
return n ? W(e, t) : U(e, t);
|
|
294
|
-
}
|
|
295
|
-
}), e;
|
|
296
|
-
})();
|
|
297
|
-
function Q(e = ee()) {
|
|
298
|
-
var t;
|
|
299
|
-
return t = class extends ve {
|
|
300
|
-
static get sensibleDefaults() {
|
|
301
|
-
return { ...this.defaults };
|
|
302
|
-
}
|
|
303
|
-
static set sensibleDefaults(t) {
|
|
304
|
-
if (t === !1) {
|
|
305
|
-
this.defaults = {};
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
if (t === !0) {
|
|
309
|
-
this.defaults = { ...e };
|
|
310
|
-
return;
|
|
311
|
-
}
|
|
312
|
-
this.defaults = { ...t };
|
|
313
|
-
}
|
|
314
|
-
}, Z(t, "defaults", { ...e }), t;
|
|
315
|
-
}
|
|
316
|
-
Q();
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region src/utils/propTypes.ts
|
|
319
|
-
var ye = Q({
|
|
320
|
-
func: void 0,
|
|
321
|
-
bool: void 0,
|
|
322
|
-
string: void 0,
|
|
323
|
-
number: void 0,
|
|
324
|
-
object: void 0,
|
|
325
|
-
integer: void 0
|
|
326
|
-
}), $ = class extends ye {
|
|
327
|
-
static get style() {
|
|
328
|
-
return W("style", { type: [String, Object] });
|
|
329
|
-
}
|
|
330
|
-
static get VNodeChild() {
|
|
331
|
-
return W("VNodeChild", { type: void 0 });
|
|
332
|
-
}
|
|
333
|
-
}, be = S(/* @__PURE__ */ d({
|
|
334
|
-
name: "SuQrcode",
|
|
335
|
-
props: {
|
|
336
|
-
tag: $.string.validate((e) => ["canvas", "img"].includes(e)).def("canvas"),
|
|
337
|
-
text: {
|
|
338
|
-
type: [String, Array],
|
|
339
|
-
default: null
|
|
340
|
-
},
|
|
341
|
-
options: {
|
|
342
|
-
type: Object,
|
|
343
|
-
default: () => ({})
|
|
344
|
-
},
|
|
345
|
-
width: $.number.def(200),
|
|
346
|
-
logo: {
|
|
347
|
-
type: [String, Object],
|
|
348
|
-
default: () => ""
|
|
349
|
-
},
|
|
350
|
-
disabled: $.bool.def(!1),
|
|
351
|
-
disabledText: $.string.def("")
|
|
352
|
-
},
|
|
353
|
-
emits: [
|
|
354
|
-
"done",
|
|
355
|
-
"click",
|
|
356
|
-
"disabled-click"
|
|
357
|
-
],
|
|
358
|
-
setup(e, { emit: t }) {
|
|
359
|
-
let { toCanvas: n, toDataURL: r } = E, s = h(!0), c = h(null), l = o(() => String(e.text)), d = o(() => ({
|
|
360
|
-
width: e.width + "px",
|
|
361
|
-
height: e.width + "px"
|
|
362
|
-
})), f = async () => {
|
|
363
|
-
await p();
|
|
364
|
-
let i = C(e.options || {}, !0);
|
|
365
|
-
if (e.tag === "canvas") {
|
|
366
|
-
i.errorCorrectionLevel = i.errorCorrectionLevel || x(v(l));
|
|
367
|
-
let r = await g(v(l), i);
|
|
368
|
-
i.scale = e.width === 0 ? void 0 : e.width / r * 4;
|
|
369
|
-
let a = await n(v(c), v(l), i);
|
|
370
|
-
e.logo ? (t("done", await m(a)), s.value = !1) : (t("done", a.toDataURL()), s.value = !1);
|
|
371
|
-
} else {
|
|
372
|
-
let n = await r(l.value, {
|
|
373
|
-
errorCorrectionLevel: "H",
|
|
374
|
-
width: e.width,
|
|
375
|
-
...i
|
|
376
|
-
});
|
|
377
|
-
v(c).src = n, t("done", n), s.value = !1;
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
y(() => l.value, (e) => {
|
|
381
|
-
e && f();
|
|
382
|
-
}, {
|
|
383
|
-
deep: !0,
|
|
384
|
-
immediate: !0
|
|
385
|
-
});
|
|
386
|
-
let m = (t) => {
|
|
387
|
-
let n = t.width, { logoSize: r = .15, bgColor: i = "#ffffff", borderSize: a = .05, crossOrigin: o = "anonymous", borderRadius: s = 8, logoRadius: c = 0 } = Object.assign({
|
|
388
|
-
logoSize: .15,
|
|
389
|
-
bgColor: "#ffffff",
|
|
390
|
-
borderSize: .05,
|
|
391
|
-
crossOrigin: "anonymous",
|
|
392
|
-
borderRadius: 8,
|
|
393
|
-
logoRadius: 0
|
|
394
|
-
}, w(e.logo) ? {} : e.logo), l = w(e.logo) ? e.logo : e.logo.src, u = n * r, d = n * (1 - r) / 2, f = n * (r + a), p = n * (1 - r - a) / 2, m = t.getContext("2d");
|
|
395
|
-
if (!m) return;
|
|
396
|
-
S(m)(p, p, f, f, s), m.fillStyle = i, m.fill();
|
|
397
|
-
let h = new Image();
|
|
398
|
-
(o || c) && h.setAttribute("crossOrigin", o), h.src = l;
|
|
399
|
-
let g = (e) => {
|
|
400
|
-
m.drawImage(e, d, d, u, u);
|
|
401
|
-
}, _ = (e) => {
|
|
402
|
-
let t = document.createElement("canvas");
|
|
403
|
-
t.width = d + u, t.height = d + u;
|
|
404
|
-
let n = t.getContext("2d");
|
|
405
|
-
if (!n || !m || (n.drawImage(e, d, d, u, u), S(m)(d, d, u, u, c), !m)) return;
|
|
406
|
-
let r = m.createPattern(t, "no-repeat");
|
|
407
|
-
r && (m.fillStyle = r, m.fill());
|
|
408
|
-
};
|
|
409
|
-
return new Promise((e) => {
|
|
410
|
-
h.onload = () => {
|
|
411
|
-
c ? _(h) : g(h), e(t.toDataURL());
|
|
412
|
-
};
|
|
413
|
-
});
|
|
414
|
-
}, g = async (e, t) => {
|
|
415
|
-
let r = document.createElement("canvas");
|
|
416
|
-
return await n(r, e, t), r.width;
|
|
417
|
-
}, x = (e) => e.length > 36 ? "M" : e.length > 16 ? "Q" : "H", S = (e) => (t, n, r, i, a) => {
|
|
418
|
-
let o = Math.min(r, i);
|
|
419
|
-
return a > o / 2 && (a = o / 2), e.beginPath(), e.moveTo(t + a, n), e.arcTo(t + r, n, t + r, n + i, a), e.arcTo(t + r, n + i, t, n + i, a), e.arcTo(t, n + i, t, n, a), e.arcTo(t, n, t + r, n, a), e.closePath(), e;
|
|
420
|
-
}, T = () => {
|
|
421
|
-
t("click");
|
|
422
|
-
}, D = () => {
|
|
423
|
-
t("disabled-click");
|
|
424
|
-
};
|
|
425
|
-
return () => u(a, null, [b(u("div", {
|
|
426
|
-
class: "qrcode relative inline-block",
|
|
427
|
-
style: v(d)
|
|
428
|
-
}, [e.tag === "canvas" ? u("canvas", {
|
|
429
|
-
ref: c,
|
|
430
|
-
onClick: T
|
|
431
|
-
}, null) : u("img", {
|
|
432
|
-
ref: c,
|
|
433
|
-
onClick: T
|
|
434
|
-
}, null), e.disabled && u("div", {
|
|
435
|
-
class: "qrcode--disabled absolute top-0 left-0 flex w-full h-full items-center justify-center",
|
|
436
|
-
onClick: D
|
|
437
|
-
}, [u("div", { class: "absolute top-[50%] left-[50%] font-bold" }, [u(i, {
|
|
438
|
-
class: "cursor-pointer",
|
|
439
|
-
icon: "refresh-right",
|
|
440
|
-
width: "30",
|
|
441
|
-
color: "var(--el-color-primary)"
|
|
442
|
-
}, null), u("div", null, [e.disabledText])])])]), [[_("loading"), v(s)]])]);
|
|
443
|
-
}
|
|
444
|
-
}));
|
|
445
|
-
//#endregion
|
|
446
|
-
//#region src/views/uapp/pda/pda-app.vue?vue&type=script&setup=true&lang.tsx
|
|
447
|
-
function xe(e) {
|
|
448
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
|
|
449
|
-
}
|
|
450
|
-
//#endregion
|
|
451
|
-
//#region src/views/uapp/pda/pda-app.vue
|
|
452
|
-
var Se = /* @__PURE__ */ n(/* @__PURE__ */ d({
|
|
453
|
-
name: "PdaApp",
|
|
454
|
-
setup(n) {
|
|
455
|
-
let i = t(), o = x(), { t: d } = T(), f = "/upms/v1/app-manage", p = h(null), _ = h({}), v = [
|
|
456
|
-
{
|
|
457
|
-
type: "checkbox",
|
|
458
|
-
width: 45,
|
|
459
|
-
align: "center"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
field: "appVersion",
|
|
463
|
-
title: "message.udp.appVersion",
|
|
464
|
-
width: 110
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
field: "buildNo",
|
|
468
|
-
title: "message.udp.buildNo",
|
|
469
|
-
width: 130
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
field: "isForceUpdate",
|
|
473
|
-
title: "message.udp.isForceUpdate",
|
|
474
|
-
width: 130,
|
|
475
|
-
formatter: ({ row: e }) => e.isForceUpdate === "Y" ? d("message.udp.forceUpdate") : d("message.udp.freeUpdate")
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
field: "versionInfo",
|
|
479
|
-
title: "message.udp.versionInfo",
|
|
480
|
-
miWidth: 200
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
field: "enabled",
|
|
484
|
-
title: "message.status",
|
|
485
|
-
width: 90,
|
|
486
|
-
formatter: ({ row: e }) => e.enabled === "1" ? d("message.udp.appupper") : d("message.udp.applower")
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
field: "creationDate",
|
|
490
|
-
width: 140
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
field: "operate",
|
|
494
|
-
width: 260,
|
|
495
|
-
fixed: "right",
|
|
496
|
-
slots: { default: ({ row: e }) => {
|
|
497
|
-
let t = e.enabled === "1" ? "applower" : "appupper", n = e.enabled === "1" ? "warning" : "primary", r = e.enabled === "1" ? "ri-inbox-archive-line" : "ri-inbox-unarchive-line";
|
|
498
|
-
return e.enabled === "1" ? [u(a, null, [u("div", { style: "display: flex; justify-content: space-between;" }, [u(g("ut-button"), {
|
|
499
|
-
content: t,
|
|
500
|
-
icon: r,
|
|
501
|
-
status: n,
|
|
502
|
-
onTap: () => y(e)
|
|
503
|
-
}, null), u(g("el-popover"), { placement: "left" }, {
|
|
504
|
-
default: () => [u(a, null, [u(be, { text: i + "/ufil/" + e.downloadUrl }, null)])],
|
|
505
|
-
reference: () => {
|
|
506
|
-
let e;
|
|
507
|
-
return u(g("el-button"), { type: "success" }, xe(e = d("message.btn.scan")) ? e : { default: () => [e] });
|
|
508
|
-
}
|
|
509
|
-
})])])] : [u(g("ut-button"), {
|
|
510
|
-
content: t,
|
|
511
|
-
icon: r,
|
|
512
|
-
status: n,
|
|
513
|
-
onTap: () => y(e)
|
|
514
|
-
}, null)];
|
|
515
|
-
} }
|
|
516
|
-
}
|
|
517
|
-
], y = async (t) => {
|
|
518
|
-
let n = C(t, !0);
|
|
519
|
-
n.enabled = t.enabled === "1" ? "0" : "1", await r(e().put(f, n)), p.value.refreshData();
|
|
520
|
-
}, b = (e) => {
|
|
521
|
-
e === "add" && E(), e === "del" && D();
|
|
522
|
-
}, S = [
|
|
523
|
-
{
|
|
524
|
-
field: "appVersion",
|
|
525
|
-
title: "message.udp.appVersion",
|
|
526
|
-
required: !0
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
field: "buildNo",
|
|
530
|
-
title: "message.udp.buildNo",
|
|
531
|
-
required: !0
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
field: "isForceUpdate",
|
|
535
|
-
title: "message.udp.isForceUpdate",
|
|
536
|
-
required: !0,
|
|
537
|
-
itemRender: o.renderSwitch({
|
|
538
|
-
openLabel: d("message.udp.forceUpdate"),
|
|
539
|
-
closeLabel: d("message.udp.freeUpdate"),
|
|
540
|
-
openValue: "Y",
|
|
541
|
-
closeValue: "N"
|
|
542
|
-
})
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
field: "versionInfo",
|
|
546
|
-
title: "message.udp.versionInfo",
|
|
547
|
-
required: !0,
|
|
548
|
-
itemRender: o.renderTextarea()
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
field: "downloadUrl",
|
|
552
|
-
required: !1,
|
|
553
|
-
title: "message.udp.downloadUrl",
|
|
554
|
-
itemRender: o.renderUpload()
|
|
555
|
-
}
|
|
556
|
-
], w = h(!1), E = () => {
|
|
557
|
-
_.value = {}, w.value = !0;
|
|
558
|
-
}, D = () => {
|
|
559
|
-
p.value.getInstance().commitProxy("delete");
|
|
560
|
-
}, O = () => {
|
|
561
|
-
p.value.refreshData();
|
|
562
|
-
};
|
|
563
|
-
return (e, t) => {
|
|
564
|
-
let n = g("ut-grid"), r = g("ut-modal-form");
|
|
565
|
-
return m(), l("div", null, [u(n, {
|
|
566
|
-
ref_key: "xgrid",
|
|
567
|
-
ref: p,
|
|
568
|
-
columns: v,
|
|
569
|
-
url: f,
|
|
570
|
-
mode: "form",
|
|
571
|
-
onButtonClick: b
|
|
572
|
-
}, null, 512), w.value ? (m(), s(r, {
|
|
573
|
-
key: 0,
|
|
574
|
-
record: _.value,
|
|
575
|
-
items: S,
|
|
576
|
-
width: 420,
|
|
577
|
-
height: 450,
|
|
578
|
-
title: e.$t("message.title.appAdd"),
|
|
579
|
-
url: f,
|
|
580
|
-
class: "ut-app-form",
|
|
581
|
-
"data-status": "add",
|
|
582
|
-
onClose: t[0] ||= (e) => w.value = !1,
|
|
583
|
-
onConfirm: O
|
|
584
|
-
}, null, 8, ["record", "title"])) : c("", !0)]);
|
|
585
|
-
};
|
|
586
|
-
}
|
|
587
|
-
}), [["__scopeId", "data-v-4c7392db"]]);
|
|
588
|
-
//#endregion
|
|
589
|
-
export { Se as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as e, defineComponent as t, openBlock as n, unref as r } from "vue";
|
|
2
|
-
import { useRouter as i } from "vue-router";
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/layout/redirect.vue
|
|
5
|
-
var a = /* @__PURE__ */ t({
|
|
6
|
-
name: "Redirect",
|
|
7
|
-
setup(t) {
|
|
8
|
-
let { currentRoute: a, replace: o } = i(), { params: s, query: c } = r(a), { path: l } = s;
|
|
9
|
-
return o({
|
|
10
|
-
path: "/" + (Array.isArray(l) ? l.join("/") : l),
|
|
11
|
-
query: c
|
|
12
|
-
}), (t, r) => (n(), e("div"));
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { a as default };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./api-BFNxcxSN.js";
|
|
2
|
-
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, ref as c, resolveComponent as l } from "vue";
|
|
3
|
-
import { successMessage as u } from "@utogether/utils";
|
|
4
|
-
import { useClipboard as d } from "@vueuse/core";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/views/urpt/static-resource/resource.vue
|
|
7
|
-
var f = /* @__PURE__ */ o({
|
|
8
|
-
name: "StaticResource",
|
|
9
|
-
setup(o) {
|
|
10
|
-
let { copy: f } = d(), p = "/upms/v1/pdfTemplate", m = c(null), h = c({}), g = e(), _ = [
|
|
11
|
-
{
|
|
12
|
-
type: "checkbox",
|
|
13
|
-
width: 40,
|
|
14
|
-
align: "center"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
field: "templateCode",
|
|
18
|
-
title: "message.urpt.resourceCode",
|
|
19
|
-
width: 140
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
field: "templateName",
|
|
23
|
-
title: "message.urpt.resourceName",
|
|
24
|
-
width: 150
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
field: "templateUrl",
|
|
28
|
-
title: "message.urpt.resourceUrl",
|
|
29
|
-
miWidth: 200
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
field: "operate",
|
|
33
|
-
width: 180,
|
|
34
|
-
fixed: "right",
|
|
35
|
-
slots: { default: ({ row: e }) => [a(t, null, [a(l("ut-button"), {
|
|
36
|
-
content: "download",
|
|
37
|
-
icon: "ri-download-line",
|
|
38
|
-
status: "success",
|
|
39
|
-
onTap: () => S(e)
|
|
40
|
-
}, null)])] }
|
|
41
|
-
}
|
|
42
|
-
], v = { toolbarButtonClick({ code: e }) {
|
|
43
|
-
e === "add" && x(e);
|
|
44
|
-
} }, y = [
|
|
45
|
-
{
|
|
46
|
-
field: "templateCode",
|
|
47
|
-
required: !0
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
field: "templateName",
|
|
51
|
-
required: !0
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
field: "templateUrl",
|
|
55
|
-
required: !0,
|
|
56
|
-
itemRender: {
|
|
57
|
-
name: "#upload",
|
|
58
|
-
props: { baseUrl: g }
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
], b = c(!1), x = (e) => {
|
|
62
|
-
h.value = {}, b.value = !0;
|
|
63
|
-
}, S = (e) => {
|
|
64
|
-
f(g + "/ufil/" + e.templateUrl), u("复制成功,快试试右键粘贴吧");
|
|
65
|
-
}, C = () => {
|
|
66
|
-
m.value.refreshData();
|
|
67
|
-
};
|
|
68
|
-
return (e, t) => {
|
|
69
|
-
let o = l("ut-grid"), c = l("ut-modal-form");
|
|
70
|
-
return s(), i("div", null, [a(o, {
|
|
71
|
-
ref_key: "xgrid",
|
|
72
|
-
ref: m,
|
|
73
|
-
columns: _,
|
|
74
|
-
url: p,
|
|
75
|
-
editable: !1,
|
|
76
|
-
mode: "form",
|
|
77
|
-
events: v
|
|
78
|
-
}, null, 512), b.value ? (s(), n(c, {
|
|
79
|
-
key: 0,
|
|
80
|
-
record: h.value,
|
|
81
|
-
items: y,
|
|
82
|
-
width: 300,
|
|
83
|
-
height: 340,
|
|
84
|
-
"data-status": "add",
|
|
85
|
-
title: "静态资源新增",
|
|
86
|
-
url: p,
|
|
87
|
-
onClose: t[0] ||= (e) => b.value = !1,
|
|
88
|
-
onConfirm: C
|
|
89
|
-
}, null, 8, ["record"])) : r("", !0)]);
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
//#endregion
|
|
94
|
-
export { f as default };
|