@utogether/udp-core 2.0.0-beta.21 → 2.0.0-beta.22
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-DICzHwBh.js → 403-CAQ-gKzB.js} +1 -1
- package/dist/{404-CE2ilza7.js → 404-Bt741znF.js} +3 -3
- package/dist/{500-DqbOUpFQ.js → 500-D2jT-L5U.js} +1 -1
- package/dist/{AuthorityInfo-DD9xMuFM.js → AuthorityInfo-rrhMImq9.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-aH0WIYDG.js → AuthorityInfo.vue_vue_type_style_index_0_lang-t3TtTkNB.js} +1 -1
- package/dist/{Company-CZSbX6Cr.js → Company-OyHHgUiy.js} +3 -3
- package/dist/{CompanyPanel-DRz2RdEP.js → CompanyPanel-D-V5PE9g.js} +1 -1
- package/dist/{Department-B8HWfFX7.js → Department-Do3AcdWQ.js} +3 -3
- package/dist/{DepartmentPanel-DXfqf0O-.js → DepartmentPanel-DIchoE6d.js} +1 -1
- package/dist/{DesignPanel-DCemiRmN.js → DesignPanel-BsiGLb2w.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BpI6lZ8h.js → DesignPanel.vue_vue_type_style_index_0_lang-BsVJx8eH.js} +2 -2
- package/dist/{DictView-CQZ_Z-_n.js → DictView-BKnZ5JxT.js} +1 -1
- package/dist/{InvOrganization-Nq87pxzj.js → InvOrganization-VDNOjLdb.js} +1 -1
- package/dist/{Org-DuqSCs0N.js → Org-C952e0fi.js} +1 -1
- package/dist/{Preview-Du_1OWoT.js → Preview-dC0AaoU7.js} +1 -1
- package/dist/{ReportDefine-QSidK9OU.js → ReportDefine-B0ZonkeO.js} +1 -1
- package/dist/{ReportDesign-BH7WbI4K.js → ReportDesign-DR5HJeO5.js} +2 -2
- package/dist/{ReportQuery-Br5UKVjQ.js → ReportQuery-BPFvznsJ.js} +1 -1
- package/dist/{ReportQueryFrom-Dg-DjcMi.js → ReportQueryFrom-CFlIzHWH.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D3RWJEGQ.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-C3x30JMB.js} +1 -1
- package/dist/{ReportTemplate-BU3VS8FO.js → ReportTemplate-BRmUyR0F.js} +1 -1
- package/dist/{Role-CN18RZjI.js → Role-CSIjXuu-.js} +3 -3
- package/dist/{RoleAssign-DXloJByw.js → RoleAssign-C65mKTY3.js} +3 -3
- package/dist/{RolePanel-DGW5mWjQ.js → RolePanel-T2688066.js} +1 -1
- package/dist/{RolePanel-CZmXekBA.js → RolePanel-fXVapub8.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DdvxxsMl.js → RolePanel.vue_vue_type_script_setup_true_lang-UcdeYYCU.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DAtJnQI4.js → RolePanel.vue_vue_type_script_setup_true_lang-vCQj6JUM.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DzZ9CZig.js → ScrollPanel.vue_vue_type_style_index_0_lang-BMX37C_H.js} +1 -1
- package/dist/{Staff-qG73AUgD.js → Staff-BTVwMPI4.js} +3 -3
- package/dist/{StaffInfo-COP7bCup.js → StaffInfo-DMTV0fkA.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BityQi7n.js → StaffInfo.vue_vue_type_script_setup_true_lang-Di6Tay8o.js} +1 -1
- package/dist/{StaffPanel-CB7cBhYD.js → StaffPanel-2NlyN2og.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DcPck6b8.js → StaffPanel.vue_vue_type_script_setup_true_lang-Dcsi9178.js} +2 -2
- package/dist/{SysUser-Dmfu9N7S.js → SysUser-BPn3kj57.js} +2 -2
- package/dist/{SysUserPanel-C2O-P9nB.js → SysUserPanel-DnQdgH26.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DyF3Tmps.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BWhieaeS.js} +1 -1
- package/dist/{SystemMenu-QZaHtPet.js → SystemMenu-BEH6JSE4.js} +2 -2
- package/dist/{UserInfo-CxP5kr_T.js → UserInfo-BbdolDWz.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-pe7FALf9.js → UserInfo.vue_vue_type_style_index_0_lang-BWb0ey1b.js} +1 -1
- package/dist/{childView-LCu_Df1q.js → childView-D8IQ-Eik.js} +1 -1
- package/dist/{childView-ohYBzZ0o.js → childView-DWjpPkND.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-jbOoVsYJ.js → childView.vue_vue_type_style_index_0_lang-C5JuSstn.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DJletJUx.js → childView.vue_vue_type_style_index_0_lang-DBXMbacv.js} +1 -1
- package/dist/{code-rule-B9eZeeo8.js → code-rule-Ch6YNyCA.js} +1 -1
- package/dist/core.es.js +6 -6
- package/dist/{cron-task-Dp71tYa4.js → cron-task--_VgTkCZ.js} +1 -1
- package/dist/{frameView-02snW4T6.js → frameView-BIFR0oH0.js} +1 -1
- package/dist/{index-gL1hMTqJ.js → index-DPTWuyo7.js} +2670 -2071
- package/dist/{layout-home-DCrNKejz.js → layout-home-adtU8Yoh.js} +1 -1
- package/dist/{layoutView-Cu3YZ1zM.js → layoutView-qTmcDeoI.js} +554 -558
- package/dist/{log-in-C0oqCCsq.js → log-in-iYiw0kPB.js} +1 -1
- package/dist/{log-out-DsTsQcQT.js → log-out-H2Kni3Qk.js} +1 -1
- package/dist/{login-_IgWG4L5.js → login-C7Z-Xg5H.js} +14 -14
- package/dist/{lov-view-B4HvQI1i.js → lov-view-CyYhwwrT.js} +2 -2
- package/dist/{menuInfo-y_CFBZLU.js → menuInfo-BBUlFO0X.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BNgwCBo4.js → menuInfo.vue_vue_type_style_index_0_lang-fUKEpjAA.js} +1 -1
- package/dist/{pda-app-DplNCuYS.js → pda-app-DU146LR1.js} +18 -18
- package/dist/{resource-C2fCs2gF.js → resource-fTfF9epk.js} +5 -5
- package/dist/{su-welcome-Q0C5LnI_.js → su-welcome-BRFxhduP.js} +3 -3
- package/dist/{sys-config-Bsb7aFcn.js → sys-config-Do7SIoN-.js} +13 -13
- package/dist/udp-core.css +1 -1
- package/dist/{useNav-D5jP-2AH.js → useNav-BRX5xftp.js} +20 -20
- package/package.json +1 -1
- package/src/api/index.ts +47 -33
- package/src/components/udp/content/index.vue +93 -88
- package/src/components/udp/grid/index.vue +546 -524
- package/src/components/udp/index.ts +8 -6
- package/src/components/udp/upload/index.vue +444 -0
- package/src/main.ts +111 -111
- package/types/global.d.ts +234 -232
- package/src/components/SuTable/SuTable.vue +0 -334
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as q, ref as $, reactive as T, computed as
|
|
1
|
+
import { defineComponent as q, ref as $, reactive as T, computed as J, onMounted as x, resolveComponent as p, resolveDirective as R, withDirectives as K, createElementBlock as H, openBlock as k, createElementVNode as u, createVNode as a, withCtx as s, createBlock as A, createCommentVNode as P, unref as b, createTextVNode as F, toDisplayString as d } from "vue";
|
|
2
2
|
import { useI18n as Q } from "vue-i18n";
|
|
3
|
-
import { t as
|
|
3
|
+
import { t as z } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
4
4
|
import { cookies as E, successMessage as W, warnMessage as X } from "@utogether/utils";
|
|
5
5
|
import { isArray as Z } from "xe-utils";
|
|
6
|
-
import {
|
|
6
|
+
import { y as ee, z as te, A as B, i as le } from "./index-DPTWuyo7.js";
|
|
7
7
|
const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, oe = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, se = { class: "flex items-center" }, ie = { class: "pl-2 text-xs" }, ne = { class: "pl-2" }, ue = { class: "pl-2" }, de = { class: "flex items-center" }, re = { class: "pl-2 text-xs" }, pe = { class: "pl-2" }, me = { class: "flex items-center" }, ce = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, N = "/upfm/v1/sysConfig", Ve = /* @__PURE__ */ q({
|
|
8
8
|
__name: "sys-config",
|
|
9
9
|
setup(fe) {
|
|
@@ -23,7 +23,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
23
23
|
favicon: []
|
|
24
24
|
}), h = le(), { t: g } = Q(), f = $(ee());
|
|
25
25
|
let m = [];
|
|
26
|
-
const
|
|
26
|
+
const M = [
|
|
27
27
|
"#DC143C",
|
|
28
28
|
"#FF1493",
|
|
29
29
|
"#FF00FF",
|
|
@@ -54,7 +54,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
54
54
|
"#FF0000",
|
|
55
55
|
"#800000",
|
|
56
56
|
"#C0C0C0"
|
|
57
|
-
],
|
|
57
|
+
], S = T({
|
|
58
58
|
defaultLanguage: [
|
|
59
59
|
{
|
|
60
60
|
required: !0,
|
|
@@ -63,7 +63,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
65
|
title: [{ required: !0, message: g("message.required") + g("message.udp.systemTitle"), trigger: "blur" }]
|
|
66
|
-
}), _ =
|
|
66
|
+
}), _ = J(() => {
|
|
67
67
|
const e = E.get(te);
|
|
68
68
|
return {
|
|
69
69
|
Authorization: "Bearer " + JSON.parse(e).accessToken
|
|
@@ -84,7 +84,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
84
84
|
y.value = !0;
|
|
85
85
|
const n = m.filter((r) => !r.id), i = m.filter((r) => r.id), c = [];
|
|
86
86
|
n.length ? c.push(h.post(N, n)) : c.push(h.put(N, i));
|
|
87
|
-
const [C] = await
|
|
87
|
+
const [C] = await z(Promise.all(c));
|
|
88
88
|
C || (W(), U()), y.value = !1;
|
|
89
89
|
}
|
|
90
90
|
});
|
|
@@ -102,10 +102,10 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
}, I = async () => {
|
|
105
|
-
const [e, t] = await
|
|
105
|
+
const [e, t] = await z(h.get(N, {}));
|
|
106
106
|
e || (m = t.list), U();
|
|
107
107
|
};
|
|
108
|
-
return
|
|
108
|
+
return x(() => {
|
|
109
109
|
I();
|
|
110
110
|
}), (e, t) => {
|
|
111
111
|
const n = p("el-input"), i = p("el-form-item"), c = p("el-option"), C = p("el-select"), r = p("el-switch"), Y = p("vxe-color-picker"), v = p("el-button"), w = p("el-upload"), G = p("el-form"), O = R("spinning");
|
|
@@ -115,7 +115,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
115
115
|
ref_key: "xfrom",
|
|
116
116
|
ref: j,
|
|
117
117
|
model: l,
|
|
118
|
-
rules:
|
|
118
|
+
rules: S,
|
|
119
119
|
"label-width": "90",
|
|
120
120
|
size: "small",
|
|
121
121
|
"status-icon": "",
|
|
@@ -227,7 +227,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
227
227
|
]),
|
|
228
228
|
_: 1
|
|
229
229
|
}, 8, ["label"]),
|
|
230
|
-
["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(
|
|
230
|
+
["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(B))) ? (k(), A(i, {
|
|
231
231
|
key: 0,
|
|
232
232
|
label: e.$t("message.udp.techSupport"),
|
|
233
233
|
prop: "techSupport"
|
|
@@ -242,7 +242,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
242
242
|
]),
|
|
243
243
|
_: 1
|
|
244
244
|
}, 8, ["label"])) : P("", !0),
|
|
245
|
-
["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(
|
|
245
|
+
["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(B))) ? (k(), A(i, {
|
|
246
246
|
key: 1,
|
|
247
247
|
label: e.$t("message.udp.baseColor"),
|
|
248
248
|
prop: "baseColor"
|
|
@@ -251,7 +251,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
|
|
|
251
251
|
a(Y, {
|
|
252
252
|
modelValue: l.baseColor,
|
|
253
253
|
"onUpdate:modelValue": t[8] || (t[8] = (o) => l.baseColor = o),
|
|
254
|
-
colors:
|
|
254
|
+
colors: M,
|
|
255
255
|
type: "hex",
|
|
256
256
|
clearable: "",
|
|
257
257
|
transfer: ""
|