@utogether/udp-core 1.0.1-beta.2 → 1.0.1-beta.4
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/build/plugins.ts +6 -1
- package/dist/{403-BBQoJwTM.js → 403-CT4J-t-o.js} +1 -1
- package/dist/{404-BbJPSIWM.js → 404-BAudfnaK.js} +1 -1
- package/dist/{500-BtFL9R4M.js → 500-BlOGtpEE.js} +1 -1
- package/dist/{AuthorityInfo-DhiwCeLN.js → AuthorityInfo-Bl03tEhF.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Duyweh89.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CUwS2F3R.js} +1 -1
- package/dist/{Company-CGqmslx-.js → Company-CIj9XgQn.js} +3 -3
- package/dist/{CompanyPanel-hlDsxD-6.js → CompanyPanel-CublK5NN.js} +16 -16
- package/dist/{Department-BZyJtacc.js → Department-BolPW-W3.js} +3 -3
- package/dist/{DepartmentPanel-D-a_EBFt.js → DepartmentPanel-BttxSHfM.js} +1 -1
- package/dist/{DesignPanel-Bl4luWDV.js → DesignPanel-BwCbn92O.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-I8C3iGvz.js → DesignPanel.vue_vue_type_style_index_0_lang-y2AnCTg6.js} +2 -2
- package/dist/{DictView-B4a7Hs1X.js → DictView-D85ziNV2.js} +13 -12
- package/dist/InvOrganization-CaAk_f7F.js +66 -0
- package/dist/{Org-BTGTrAVz.js → Org-CreIihFE.js} +1 -1
- package/dist/{Preview-pHD84xqI.js → Preview-DMGbhV6q.js} +1 -1
- package/dist/{ReportDefine-DnnCNQWS.js → ReportDefine-DogZwa8T.js} +1 -1
- package/dist/{ReportDesign-BnI_Q4pg.js → ReportDesign-CdSsJJeA.js} +2 -2
- package/dist/{ReportQuery-Dby2MmtM.js → ReportQuery-DPvKqeUm.js} +1 -1
- package/dist/{ReportQueryFrom-Blm1N8P1.js → ReportQueryFrom-UokkfBx_.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CnG_Ybnt.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BlOoThY7.js} +1 -1
- package/dist/{ReportTemplate-D65RXRY_.js → ReportTemplate-DCnmllXW.js} +1 -1
- package/dist/{Role-eFZoTpXc.js → Role-sfmwLiNM.js} +3 -3
- package/dist/{RoleAssign-D9-Y3UNz.js → RoleAssign-WRk90VO2.js} +3 -3
- package/dist/{RolePanel-DlFw6HSf.js → RolePanel-DhP0_5ur.js} +1 -1
- package/dist/{RolePanel-CoUOc3sX.js → RolePanel-iWysS02n.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DKHgNWQP.js → RolePanel.vue_vue_type_script_setup_true_lang-CYXqW-d4.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Clwk-MHw.js → RolePanel.vue_vue_type_script_setup_true_lang-_hVY31HC.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-M2FQJwPU.js → ScrollPanel.vue_vue_type_style_index_0_lang-BozDFES-.js} +1 -1
- package/dist/{Staff-DFBLCsAd.js → Staff-Bha-Ijax.js} +3 -3
- package/dist/{StaffInfo-d2CK0oBA.js → StaffInfo-CbfYI8UW.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-4m8wK9tq.js → StaffInfo.vue_vue_type_script_setup_true_lang-Ce-MUVYH.js} +1 -1
- package/dist/{StaffPanel-D6aWLKN3.js → StaffPanel-B8094e97.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-C7YT2CVb.js → StaffPanel.vue_vue_type_script_setup_true_lang-_kJIBCtx.js} +2 -2
- package/dist/{SysUser-BdZvYxQH.js → SysUser-D1J9vPnb.js} +2 -2
- package/dist/{SysUserPanel-BIVa6LLr.js → SysUserPanel-DGDPKKoY.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BsBKpYR7.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D-5-zKn6.js} +1 -1
- package/dist/{SystemMenu-C-5VKlHK.js → SystemMenu-Dz8Pllh5.js} +9 -9
- package/dist/{UserInfo-DqXCRZts.js → UserInfo-ecAJA2Yg.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-N3TwfpPx.js → UserInfo.vue_vue_type_style_index_0_lang-4_-I_sQN.js} +1 -1
- package/dist/{childView-B2lSsqS3.js → childView-4uI_RT2m.js} +1 -1
- package/dist/{childView-DRUNqgjI.js → childView-OXXoMFg3.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-oGriyFTv.js → childView.vue_vue_type_style_index_0_lang-DC-yx4Kv.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B9XBDDU_.js → childView.vue_vue_type_style_index_0_lang-e43PUsUO.js} +1 -1
- package/dist/{code-rule-DZC9T6cl.js → code-rule-B667R66s.js} +1 -1
- package/dist/core.es.js +14 -11
- package/dist/{cron-task-BJwPeA5F.js → cron-task-DcmGSr2D.js} +1 -1
- package/dist/{frameView-C6wkvok-.js → frameView-BzgaLYjQ.js} +1 -1
- package/dist/img/l_img.svg +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/{index-DZc3qRTx.js → index-CLliRySq.js} +516 -560
- package/dist/{layoutView-CeJBpZb_.js → layoutView-BBQB8pDc.js} +109 -108
- package/dist/{login-BOxwzwdB.js → login-DIG7pRU7.js} +2 -2
- package/dist/{lov-view-DRF-99U4.js → lov-view-CSIPKZSY.js} +2 -2
- package/dist/{menuInfo-3Sjvs9nM.js → menuInfo-CPHjl7id.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DrQ560nm.js → menuInfo.vue_vue_type_style_index_0_lang-BXNiinTg.js} +31 -29
- package/dist/{pda-app-B9tn7jdv.js → pda-app-BLjbMcdt.js} +1 -1
- package/dist/{resource-BqnxbQNe.js → resource-MxqaSJqB.js} +1 -1
- package/dist/{su-welcome-VwifUK_O.js → su-welcome-C0flTYCx.js} +1 -1
- package/dist/{sys-config-C0-gSBFO.js → sys-config-CXzGs3Nl.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-Di1byIum.js → utogether-CFdIDuAT.js} +1 -1
- package/index.ts +40 -36
- package/package.json +1 -1
- package/src/App.vue +70 -70
- package/src/components/udp/grid.vue +505 -0
- package/src/components/udp/index.ts +7 -4
- package/src/components/udp/lov.vue +410 -0
- package/src/components/udp/modal-form.vue +2 -2
- package/src/components/udp/modal-grid.vue +297 -0
- package/src/components/udp/utils.ts +379 -40
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +1 -1
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
- package/src/layout/components/lay-tag/index.vue +625 -625
- package/src/layout/layoutView.vue +215 -215
- package/src/main.ts +7 -6
- package/src/plugins/i18n/en.ts +291 -289
- package/src/plugins/i18n/zh.ts +338 -337
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +4 -2
- package/src/router/index.ts +187 -183
- package/src/router/modules/remaining.ts +58 -83
- package/src/style/button.scss +85 -78
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +265 -256
- package/src/utils/authority/index.ts +1 -1
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/inv-org/InvOrganization.vue +2 -3
- package/src/views/system/menu/SystemMenu.vue +1 -1
- package/src/views/system/menu/menuInfo.vue +376 -373
- package/src/views/udev/dict/DictView.vue +106 -106
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/types/global.d.ts +2 -1
- package/vite.config.ts +4 -1
- package/dist/InvOrganization-q4T3y8dQ.js +0 -260
package/build/plugins.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: wei.li
|
|
3
3
|
* @Date: 2022-05-26 10:25:57
|
|
4
4
|
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-07-
|
|
5
|
+
* @LastEditTime: 2025-07-26 10:31:27
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
import vue from '@vitejs/plugin-vue';
|
|
@@ -11,6 +11,7 @@ import svgLoader from 'vite-svg-loader';
|
|
|
11
11
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
12
12
|
import tailwindcss from '@tailwindcss/vite';
|
|
13
13
|
import { visualizer } from 'rollup-plugin-visualizer';
|
|
14
|
+
import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
|
|
14
15
|
|
|
15
16
|
export function getPluginsList() {
|
|
16
17
|
const lifecycle = process.env.npm_lifecycle_event;
|
|
@@ -24,6 +25,10 @@ export function getPluginsList() {
|
|
|
24
25
|
// 自定义主题
|
|
25
26
|
// svg组件化支持
|
|
26
27
|
svgLoader(),
|
|
28
|
+
ViteImageOptimizer({
|
|
29
|
+
png: { quality: 70 },
|
|
30
|
+
jpg: { quality: 70 }
|
|
31
|
+
}),
|
|
27
32
|
// 打包分析
|
|
28
33
|
lifecycle === 'report'
|
|
29
34
|
? visualizer({ open: true, brotliSize: true, filename: 'report.html' })
|
|
@@ -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-CLliRySq.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-CLliRySq.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-CLliRySq.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "254",
|
|
6
6
|
height: "294"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as m, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as f, openBlock as p, createVNode as t, withCtx as h, withDirectives as D, createElementVNode as _ } from "vue";
|
|
2
|
-
import { q as r } from "./index-
|
|
2
|
+
import { q as r } from "./index-CLliRySq.js";
|
|
3
3
|
import { t as K } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
const S = { class: "config" }, E = {
|
|
5
5
|
"element-loading-text": "Loading...",
|
|
@@ -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-BozDFES-.js";
|
|
3
|
+
import p from "./CompanyPanel-CublK5NN.js";
|
|
4
|
+
import { _ as d } from "./index-CLliRySq.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) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as V, reactive as j, inject as w, watch as B, resolveComponent as i, createElementBlock as E, openBlock as l, createVNode as s, createBlock as
|
|
1
|
+
import { defineComponent as V, reactive as j, inject as w, watch as B, resolveComponent as i, createElementBlock as E, openBlock as l, createVNode as s, createBlock as c, withCtx as d, createElementVNode as n, createCommentVNode as v, createTextVNode as D, toDisplayString as L } from "vue";
|
|
2
2
|
import { useI18n as M } from "vue-i18n";
|
|
3
3
|
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-CLliRySq.js";
|
|
8
8
|
const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
9
9
|
__name: "CompanyPanel",
|
|
10
10
|
setup(W) {
|
|
@@ -28,18 +28,18 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
28
28
|
message: `${r("message.required")}${r("message.udp.unitCode")}`
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
|
-
},
|
|
31
|
+
}, m = w("active"), $ = w("scrollPanelChange"), f = J();
|
|
32
32
|
B(
|
|
33
|
-
() =>
|
|
33
|
+
() => m.value,
|
|
34
34
|
(t, a) => {
|
|
35
|
-
e.record =
|
|
35
|
+
e.record = m.value, t != null && t.id && (a != null && a.id) && t !== a && x("detail");
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
const S = () => {
|
|
39
39
|
var t;
|
|
40
|
-
e.dataStatus = "add", e.record = {}, e.record.parentId = (t =
|
|
40
|
+
e.dataStatus = "add", e.record = {}, e.record.parentId = (t = m.value) == null ? void 0 : t.id, e.isChecked = !1, e.dialogFormVisible = !0;
|
|
41
41
|
}, x = (t) => {
|
|
42
|
-
e.dataStatus = t, e.record = z(
|
|
42
|
+
e.dataStatus = t, e.record = z(m.value, !0), e.dialogFormVisible = !0;
|
|
43
43
|
}, y = R("xForm", null), h = () => {
|
|
44
44
|
y.value.validate(async (t) => {
|
|
45
45
|
if (!t) {
|
|
@@ -60,7 +60,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
60
60
|
e.dialogFormVisible = !1;
|
|
61
61
|
};
|
|
62
62
|
return (t, a) => {
|
|
63
|
-
const o = i("ut-button"), I = i("vxe-toolbar"), g = i("vxe-form-item"), P = i("vxe-form"),
|
|
63
|
+
const o = i("ut-button"), I = i("vxe-toolbar"), g = i("vxe-form-item"), P = i("vxe-form"), u = i("el-row"), A = i("vxe-checkbox"), C = i("vxe-button"), T = i("el-card");
|
|
64
64
|
return l(), E("div", O, [
|
|
65
65
|
s(I, {
|
|
66
66
|
perfect: "",
|
|
@@ -88,7 +88,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
88
88
|
]),
|
|
89
89
|
_: 1
|
|
90
90
|
}),
|
|
91
|
-
e.dialogFormVisible ? (l(),
|
|
91
|
+
e.dialogFormVisible ? (l(), c(u, {
|
|
92
92
|
key: 0,
|
|
93
93
|
type: "flex",
|
|
94
94
|
justify: "center",
|
|
@@ -105,7 +105,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
105
105
|
a[4] || (a[4] = n("div", { class: "clearfix" }, [
|
|
106
106
|
n("span", { class: "w-card-title" })
|
|
107
107
|
], -1)),
|
|
108
|
-
s(
|
|
108
|
+
s(u, null, {
|
|
109
109
|
default: d(() => [
|
|
110
110
|
s(P, {
|
|
111
111
|
ref_key: "xForm",
|
|
@@ -139,12 +139,12 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
139
139
|
]),
|
|
140
140
|
_: 1
|
|
141
141
|
}),
|
|
142
|
-
s(
|
|
142
|
+
s(u, {
|
|
143
143
|
type: "flex",
|
|
144
144
|
justify: "center"
|
|
145
145
|
}, {
|
|
146
146
|
default: d(() => [
|
|
147
|
-
e.dataStatus === "add" ? (l(),
|
|
147
|
+
e.dataStatus === "add" ? (l(), c(A, {
|
|
148
148
|
key: 0,
|
|
149
149
|
modelValue: e.isChecked,
|
|
150
150
|
"onUpdate:modelValue": a[3] || (a[3] = (p) => e.isChecked = p),
|
|
@@ -155,13 +155,13 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
155
155
|
]),
|
|
156
156
|
_: 1
|
|
157
157
|
}, 8, ["modelValue"])) : v("", !0),
|
|
158
|
-
e.dataStatus !== "detail" ? (l(),
|
|
158
|
+
e.dataStatus !== "detail" ? (l(), c(C, {
|
|
159
159
|
key: 1,
|
|
160
160
|
status: "primary",
|
|
161
161
|
content: t.$t("message.btn.confirm"),
|
|
162
162
|
onClick: h
|
|
163
163
|
}, null, 8, ["content"])) : v("", !0),
|
|
164
|
-
e.dataStatus !== "detail" ? (l(),
|
|
164
|
+
e.dataStatus !== "detail" ? (l(), c(C, {
|
|
165
165
|
key: 2,
|
|
166
166
|
status: "warning",
|
|
167
167
|
content: t.$t("message.btn.cancel"),
|
|
@@ -175,7 +175,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
175
175
|
})
|
|
176
176
|
]),
|
|
177
177
|
_: 1
|
|
178
|
-
})) : (l(),
|
|
178
|
+
})) : (l(), c(u, {
|
|
179
179
|
key: 1,
|
|
180
180
|
class: "w-noclick-wrapper"
|
|
181
181
|
}, {
|
|
@@ -200,7 +200,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
200
200
|
]);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
}), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-
|
|
203
|
+
}), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-9d7dfca5"]]);
|
|
204
204
|
export {
|
|
205
205
|
se as default
|
|
206
206
|
};
|
|
@@ -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-BozDFES-.js";
|
|
3
|
+
import _ from "./DepartmentPanel-BttxSHfM.js";
|
|
4
|
+
import { _ as d } from "./index-CLliRySq.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-CLliRySq.js";
|
|
9
9
|
const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
|
|
10
10
|
__name: "DepartmentPanel",
|
|
11
11
|
setup(ae) {
|
|
@@ -3,8 +3,8 @@ import { VXETable as U } from "vxe-table";
|
|
|
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-CLliRySq.js";
|
|
7
|
+
import vt from "./Preview-DMGbhV6q.js";
|
|
8
8
|
const xt = {
|
|
9
9
|
panels: [
|
|
10
10
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as v, ref as n, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as h, openBlock as u, createBlock as C, createCommentVNode as D } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
import { useRender as
|
|
2
|
+
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-DC-yx4Kv.js";
|
|
3
|
+
import { useRender as k } from "@utogether/utils";
|
|
4
4
|
const E = {
|
|
5
5
|
name: "DictView"
|
|
6
|
-
},
|
|
6
|
+
}, x = /* @__PURE__ */ v({
|
|
7
7
|
...E,
|
|
8
8
|
setup(N) {
|
|
9
|
-
const
|
|
9
|
+
const o = n(null), a = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -14,8 +14,9 @@ const E = {
|
|
|
14
14
|
title: "message.udp.dictName"
|
|
15
15
|
}, {
|
|
16
16
|
field: "dictType",
|
|
17
|
-
title: "message.udp.dictType"
|
|
18
|
-
|
|
17
|
+
title: "message.udp.dictType",
|
|
18
|
+
code: "SU.DICT.TYPE"
|
|
19
|
+
}], t = k(), l = [{
|
|
19
20
|
type: "checkbox",
|
|
20
21
|
width: 40,
|
|
21
22
|
align: "center"
|
|
@@ -64,24 +65,24 @@ const E = {
|
|
|
64
65
|
d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
|
|
65
66
|
});
|
|
66
67
|
}, f = () => {
|
|
67
|
-
|
|
68
|
+
o.value.refreshData(), d.value = !1;
|
|
68
69
|
}, p = {
|
|
69
70
|
editActived({
|
|
70
71
|
row: e
|
|
71
72
|
}) {
|
|
72
|
-
|
|
73
|
+
l[1].editRender.props.disabled = !!e.id;
|
|
73
74
|
}
|
|
74
75
|
};
|
|
75
76
|
return (e, i) => {
|
|
76
77
|
const _ = s("ut-grid");
|
|
77
78
|
return u(), h("div", null, [c(_, {
|
|
78
79
|
ref_key: "xgrid",
|
|
79
|
-
ref:
|
|
80
|
+
ref: o,
|
|
80
81
|
items: a,
|
|
81
|
-
columns:
|
|
82
|
+
columns: l,
|
|
82
83
|
url: "/upfm/v1/lov",
|
|
83
84
|
events: p
|
|
84
|
-
}, null, 512), d.value ? (u(), C(
|
|
85
|
+
}, null, 512), d.value ? (u(), C(T, {
|
|
85
86
|
key: 0,
|
|
86
87
|
show: d.value,
|
|
87
88
|
record: r.value,
|
|
@@ -91,5 +92,5 @@ const E = {
|
|
|
91
92
|
}
|
|
92
93
|
});
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
x as default
|
|
95
96
|
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent as u, ref as s, reactive as m, resolveComponent as f, createBlock as p, openBlock as g } from "vue";
|
|
2
|
+
import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
+
import { useRender as h } from "@utogether/utils";
|
|
4
|
+
import { q as z } from "./index-CLliRySq.js";
|
|
5
|
+
const k = {
|
|
6
|
+
name: "InvOrganization"
|
|
7
|
+
}, R = /* @__PURE__ */ u({
|
|
8
|
+
...k,
|
|
9
|
+
setup(C) {
|
|
10
|
+
const r = "/uums/cusOrganization", n = s(null), e = h(), i = [{
|
|
11
|
+
field: "organizationCode"
|
|
12
|
+
}, {
|
|
13
|
+
field: "organizationName"
|
|
14
|
+
}], d = [{
|
|
15
|
+
type: "checkbox",
|
|
16
|
+
width: 40,
|
|
17
|
+
align: "center"
|
|
18
|
+
}, {
|
|
19
|
+
field: "organizationCode",
|
|
20
|
+
width: 120,
|
|
21
|
+
required: !0,
|
|
22
|
+
editRender: e.renderInput()
|
|
23
|
+
}, {
|
|
24
|
+
field: "organizationName",
|
|
25
|
+
minWidth: 120,
|
|
26
|
+
required: !0,
|
|
27
|
+
editRender: e.renderInput()
|
|
28
|
+
}, {
|
|
29
|
+
field: "orgName",
|
|
30
|
+
minWidth: 170,
|
|
31
|
+
required: !0,
|
|
32
|
+
editRender: e.renderBU()
|
|
33
|
+
}, {
|
|
34
|
+
field: "orgCode",
|
|
35
|
+
width: 110
|
|
36
|
+
}, {
|
|
37
|
+
field: "enabled",
|
|
38
|
+
width: 80,
|
|
39
|
+
cellRender: e.renderEnabled(a)
|
|
40
|
+
}];
|
|
41
|
+
async function a(t) {
|
|
42
|
+
const [o] = await _(z().put(r, [t]));
|
|
43
|
+
!o && n.value.refreshData();
|
|
44
|
+
}
|
|
45
|
+
const c = m({
|
|
46
|
+
columns: d
|
|
47
|
+
});
|
|
48
|
+
return (t, o) => {
|
|
49
|
+
const l = f("ut-grid");
|
|
50
|
+
return g(), p(l, {
|
|
51
|
+
ref_key: "xgrid",
|
|
52
|
+
ref: n,
|
|
53
|
+
items: i,
|
|
54
|
+
"default-params": {
|
|
55
|
+
organizationId: "",
|
|
56
|
+
orgId: ""
|
|
57
|
+
},
|
|
58
|
+
columns: c.columns,
|
|
59
|
+
url: r
|
|
60
|
+
}, null, 8, ["columns"]);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
export {
|
|
65
|
+
R as default
|
|
66
|
+
};
|
|
@@ -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-CLliRySq.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-CLliRySq.js";
|
|
3
3
|
const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
|
|
4
4
|
__name: "Preview",
|
|
5
5
|
setup(T, { expose: d }) {
|
|
@@ -2,8 +2,8 @@ import { defineComponent as P, ref as s, createVNode as r, Fragment as A, resolv
|
|
|
2
2
|
import { useRender as S, successMessage as $ } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as M } from "@vueuse/core";
|
|
4
4
|
import { t as V } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
|
-
import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { q as U } from "./index-
|
|
5
|
+
import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-y2AnCTg6.js";
|
|
6
|
+
import { q as U } from "./index-CLliRySq.js";
|
|
7
7
|
const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ P({
|
|
8
8
|
name: "ReportDesign",
|
|
9
9
|
__name: "ReportDesign",
|
|
@@ -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-BlOoThY7.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-CLliRySq.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-CLliRySq.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 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-BozDFES-.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-_hVY31HC.js";
|
|
4
|
+
import { _ as d } from "./index-CLliRySq.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) {
|
|
@@ -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-BozDFES-.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-CYXqW-d4.js";
|
|
4
|
+
import { _ as d } from "./index-CLliRySq.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) {
|
|
@@ -4,7 +4,7 @@ import { clone as U } from "xe-utils";
|
|
|
4
4
|
import { VxeUI as j } from "vxe-pc-ui";
|
|
5
5
|
import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
6
|
import { successMessage as v } from "@utogether/utils";
|
|
7
|
-
import { q as C } from "./index-
|
|
7
|
+
import { q as C } from "./index-CLliRySq.js";
|
|
8
8
|
const q = {
|
|
9
9
|
class: "page-content"
|
|
10
10
|
}, d = "/uums/orgRole", W = /* @__PURE__ */ V({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as N, reactive as S, inject as I, ref as l, watch as B, createVNode as s, Fragment as M, resolveComponent as r, createElementBlock as E, openBlock as d, createBlock as i, createCommentVNode as c } from "vue";
|
|
2
2
|
import { useRender as $ } from "@utogether/utils";
|
|
3
|
-
import { _ as q } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as O } from "./UserInfo.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { q as P, e as R } from "./index-
|
|
3
|
+
import { _ as q } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-CUwS2F3R.js";
|
|
4
|
+
import { _ as O } from "./UserInfo.vue_vue_type_style_index_0_lang-4_-I_sQN.js";
|
|
5
|
+
import { q as P, e as R } from "./index-CLliRySq.js";
|
|
6
6
|
const T = {
|
|
7
7
|
class: "page-content"
|
|
8
8
|
}, J = /* @__PURE__ */ N({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as v, createElementBlock as D, openBlock as f, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as g, createVNode as y, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
|
|
2
|
-
import { q as j } from "./index-
|
|
2
|
+
import { q as j } from "./index-CLliRySq.js";
|
|
3
3
|
const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
|
|
4
4
|
__name: "ScrollPanel",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as _, openBlock as i, createElementVNode as n, createVNode as a } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as p } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BozDFES-.js";
|
|
3
|
+
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-_kJIBCtx.js";
|
|
4
|
+
import { _ as p } from "./index-CLliRySq.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
|
|
6
6
|
...v,
|
|
7
7
|
setup(N) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as u, onMounted as D, resolveComponent as d, createElementBlock as E, openBlock as k, createVNode as n, withCtx as f } from "vue";
|
|
2
2
|
import { useRender as q } from "@utogether/utils";
|
|
3
|
-
import { q as _ } from "./index-
|
|
3
|
+
import { q as _ } from "./index-CLliRySq.js";
|
|
4
4
|
const F = { class: "config" }, x = /* @__PURE__ */ b({
|
|
5
5
|
__name: "StaffInfo",
|
|
6
6
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as b, ref as g, inject as w, reactive as x, watch as y, nextTick as E, resolveComponent as l, createElementBlock as N, openBlock as c, createVNode as d, createBlock as k, createCommentVNode as C, Fragment as S } from "vue";
|
|
2
2
|
import { clone as D } from "xe-utils";
|
|
3
3
|
import { warnMessage as M } from "@utogether/utils";
|
|
4
|
-
import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { q as P } from "./index-
|
|
4
|
+
import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-Ce-MUVYH.js";
|
|
5
|
+
import { q as P } from "./index-CLliRySq.js";
|
|
6
6
|
const A = {
|
|
7
7
|
class: "page-content"
|
|
8
8
|
}, s = "/uums/employee", j = /* @__PURE__ */ b({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, ref as o, provide as s, createElementBlock as r, openBlock as c, createVNode as _ } from "vue";
|
|
2
|
-
import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as a } from "./index-
|
|
2
|
+
import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-D-5-zKn6.js";
|
|
3
|
+
import { _ as a } from "./index-CLliRySq.js";
|
|
4
4
|
const p = { class: "u-content-panel1" }, i = /* @__PURE__ */ t({
|
|
5
5
|
__name: "SysUser",
|
|
6
6
|
setup(m) {
|
|
@@ -4,7 +4,7 @@ import { t as $ } from "./await-to-js.es5-BtRbN2QH.js";
|
|
|
4
4
|
import { useRender as X, warnMessage as Z, errorMessage as ee } from "@utogether/utils";
|
|
5
5
|
import { VxeUI as te } from "vxe-pc-ui";
|
|
6
6
|
import { isEmpty as se } from "xe-utils";
|
|
7
|
-
import { q as ae } from "./index-
|
|
7
|
+
import { q as ae } from "./index-CLliRySq.js";
|
|
8
8
|
const re = {
|
|
9
9
|
class: "page"
|
|
10
10
|
}, u = "/uums/user", pe = /* @__PURE__ */ z({
|