@utogether/udp-core 1.0.0 → 1.0.1-beta.2
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 +8 -2
- package/dist/{403-B1R-4vXw.js → 403-BBQoJwTM.js} +9 -8
- package/dist/{404-fXPl8csw.js → 404-BbJPSIWM.js} +15 -14
- package/dist/{500-eI5842YB.js → 500-BtFL9R4M.js} +11 -10
- package/dist/{AuthorityInfo-CfVH6PaB.js → AuthorityInfo-DhiwCeLN.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Duyweh89.js} +3 -3
- package/dist/{AuthorityPanel-BaLMwMgW.js → AuthorityPanel-BeBNiwqc.js} +1 -1
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js → AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js} +6 -6
- package/dist/{Company-CYC9Avfz.js → Company-CGqmslx-.js} +3 -3
- package/dist/{CompanyPanel-B4MzoqN_.js → CompanyPanel-hlDsxD-6.js} +10 -10
- package/dist/{Department-B4BNSiYx.js → Department-BZyJtacc.js} +3 -3
- package/dist/{DepartmentPanel-zJO89L2O.js → DepartmentPanel-D-a_EBFt.js} +23 -23
- package/dist/{DesignPanel-S8P0J97f.js → DesignPanel-Bl4luWDV.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js → DesignPanel.vue_vue_type_style_index_0_lang-I8C3iGvz.js} +6 -6
- package/dist/{DictView-bIS5-rK-.js → DictView-B4a7Hs1X.js} +9 -9
- package/dist/InvOrganization-q4T3y8dQ.js +260 -0
- package/dist/{Org-kXHSjsgJ.js → Org-BTGTrAVz.js} +3 -3
- package/dist/{Preview-CRyiwUIR.js → Preview-pHD84xqI.js} +1 -1
- package/dist/{ReportDefine-WZYIx8Sm.js → ReportDefine-DnnCNQWS.js} +1 -1
- package/dist/{ReportDesign-D-7GKgpb.js → ReportDesign-BnI_Q4pg.js} +10 -10
- package/dist/{ReportQuery-BIIJny6w.js → ReportQuery-Dby2MmtM.js} +5 -5
- package/dist/{ReportQueryFrom-OoUl7N2O.js → ReportQueryFrom-Blm1N8P1.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CnG_Ybnt.js} +6 -5
- package/dist/{ReportTemplate-Cfeq9US-.js → ReportTemplate-D65RXRY_.js} +11 -11
- package/dist/{Role-BwTV2QMH.js → Role-eFZoTpXc.js} +3 -3
- package/dist/{RoleAssign-De1JjOun.js → RoleAssign-D9-Y3UNz.js} +3 -3
- package/dist/{RolePanel-pUBXsqCM.js → RolePanel-CoUOc3sX.js} +1 -1
- package/dist/{RolePanel-E3RcdByM.js → RolePanel-DlFw6HSf.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js → RolePanel.vue_vue_type_script_setup_true_lang-Clwk-MHw.js} +12 -12
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js → RolePanel.vue_vue_type_script_setup_true_lang-DKHgNWQP.js} +4 -4
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js → ScrollPanel.vue_vue_type_style_index_0_lang-M2FQJwPU.js} +8 -8
- package/dist/{Staff-Czm7A8vI.js → Staff-DFBLCsAd.js} +3 -3
- package/dist/StaffInfo-d2CK0oBA.js +4 -0
- package/dist/{StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js → StaffInfo.vue_vue_type_script_setup_true_lang-4m8wK9tq.js} +7 -7
- package/dist/{StaffPanel-CHk60LEz.js → StaffPanel-D6aWLKN3.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js → StaffPanel.vue_vue_type_script_setup_true_lang-C7YT2CVb.js} +46 -49
- package/dist/{SysUser-BGwbttRn.js → SysUser-BdZvYxQH.js} +2 -2
- package/dist/{SysUserPanel-BCbKoLKt.js → SysUserPanel-BIVa6LLr.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BsBKpYR7.js} +1 -2
- package/dist/{SystemMenu-BkqZSDKl.js → SystemMenu-C-5VKlHK.js} +51 -49
- package/dist/{UserInfo-BsyAcT2d.js → UserInfo-DqXCRZts.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js → UserInfo.vue_vue_type_style_index_0_lang-N3TwfpPx.js} +13 -13
- package/dist/{childView-CyuLTUqC.js → childView-B2lSsqS3.js} +1 -1
- package/dist/{childView-CF83nhxb.js → childView-DRUNqgjI.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js → childView.vue_vue_type_style_index_0_lang-B9XBDDU_.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CNSgGda3.js → childView.vue_vue_type_style_index_0_lang-oGriyFTv.js} +6 -6
- package/dist/{code-rule-Bz-gnktN.js → code-rule-DZC9T6cl.js} +6 -6
- package/dist/core.es.js +4 -4
- package/dist/{cron-task-CIifSUdW.js → cron-task-BJwPeA5F.js} +11 -11
- package/dist/{frameView-_d2mqjjQ.js → frameView-C6wkvok-.js} +15 -14
- package/dist/index-DZc3qRTx.js +2650 -0
- package/dist/{layoutView-DLKVepB8.js → layoutView-CeJBpZb_.js} +658 -653
- package/dist/{login-LREiDfFU.js → login-BOxwzwdB.js} +26 -25
- package/dist/{lov-view-DDrIVILB.js → lov-view-DRF-99U4.js} +5 -5
- package/dist/{menuInfo-B1FUV-Sk.js → menuInfo-3Sjvs9nM.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js → menuInfo.vue_vue_type_style_index_0_lang-DrQ560nm.js} +95 -94
- package/dist/pda-app-B9tn7jdv.js +696 -0
- package/dist/redirect-BqegffKC.js +15 -0
- package/dist/{resource-BCwx9fEv.js → resource-BqnxbQNe.js} +7 -7
- package/dist/{su-welcome-189A7N4r.js → su-welcome-VwifUK_O.js} +41 -40
- package/dist/{sys-config-BZ3sejow.js → sys-config-C0-gSBFO.js} +18 -18
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-r08LNiIZ.js → utogether-Di1byIum.js} +6 -6
- package/package.json +18 -16
- package/src/App.vue +3 -3
- package/src/components/udp/form-upload.vue +183 -0
- package/src/components/udp/index.ts +4 -0
- package/src/components/udp/modal-form.vue +180 -0
- package/src/components/udp/utils.ts +40 -0
- package/src/main.ts +109 -108
- package/src/plugins/vxe-table/index.ts +53 -46
- package/src/plugins/vxe-table/render.tsx +604 -184
- package/src/utils/udp/useRender.ts +420 -0
- package/src/views/organization/inv-org/InvOrganization.vue +2 -1
- package/src/views/organization/staff/StaffInfo.vue +0 -30
- package/src/views/organization/staff/StaffPanel.vue +4 -3
- package/src/views/system/menu/AuthorityPanel.vue +2 -2
- package/src/views/system/menu/SystemMenu.vue +197 -191
- package/src/views/system/menu/menuInfo.vue +11 -6
- package/src/views/system/role/AuthorityInfo.vue +1 -19
- package/src/views/system/sysUser/SysUserPanel.vue +1 -1
- package/src/views/udev/dict/DictView.vue +2 -2
- package/src/views/uhome/components/menu-favorite.vue +1 -1
- package/src/views/uhome/su-welcome.vue +1 -1
- package/src/views/ulogin/login.vue +1 -1
- package/types/global.d.ts +0 -1
- package/vite.config.ts +9 -2
- package/dist/InvOrganization-MuM2jtsG.js +0 -66
- package/dist/StaffInfo-DJzvBuxy.js +0 -4
- package/dist/core.umd.js +0 -173
- package/dist/index-BKIw8tSn.js +0 -9195
- package/dist/pda-app-CRhVGijN.js +0 -2209
- package/dist/redirect-DiaNDu8F.js +0 -15
- package/src/assets/images/empty.png +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/components/ReCountTo/README.md +0 -2
- package/src/components/ReCountTo/index.ts +0 -18
- package/src/components/ReCountTo/src/normal/index.tsx +0 -165
- package/src/components/ReCountTo/src/normal/props.ts +0 -37
- package/src/components/ReCountTo/src/rebound/index.tsx +0 -67
- package/src/components/ReCountTo/src/rebound/props.ts +0 -14
- package/src/components/ReCountTo/src/rebound/rebound.css +0 -77
- package/src/components/ReCropper/index.ts +0 -14
- package/src/components/ReCropper/src/index.tsx +0 -141
- package/src/components/ReFlicker/index.css +0 -39
- package/src/components/ReFlicker/index.ts +0 -50
- package/src/components/ReFlop/index.ts +0 -14
- package/src/components/ReFlop/src/Filpper.tsx +0 -99
- package/src/components/ReFlop/src/filpper.css +0 -184
- package/src/components/ReFlop/src/index.vue +0 -126
- package/src/components/ReFlowChart/index.ts +0 -24
- package/src/components/ReFlowChart/src/Control.vue +0 -139
- package/src/components/ReFlowChart/src/DataDialog.vue +0 -12
- package/src/components/ReFlowChart/src/NodePanel.vue +0 -151
- package/src/components/ReFlowChart/src/adpterForTurbo.ts +0 -160
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +0 -49
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +0 -61
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +0 -58
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +0 -47
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/components/ReFlowChart/src/config.ts +0 -62
- package/src/components/ReSplitPane/index.css +0 -49
- package/src/components/ReSplitPane/index.tsx +0 -119
- package/src/components/ReSplitPane/resizer.css +0 -45
- package/src/components/ReSplitPane/resizer.tsx +0 -30
- package/src/components/SuCommon/card/components/Card.vue +0 -148
- package/src/components/SuCommon/card/components/DialogForm.vue +0 -127
- package/src/components/SuCommon/card/index.vue +0 -142
- package/src/components/SuCommon/icon-select/index.vue +0 -241
- package/src/components/SuCommon/table/index.vue +0 -208
- package/src/components/SuCommon/utils/index.ts +0 -103
- package/src/components/SuCommon/utils/slot.tsx +0 -50
- package/src/views/components/contextmenu/basic.vue +0 -74
- package/src/views/components/contextmenu/context-menu.vue +0 -40
- package/src/views/components/contextmenu/menuDynamic.vue +0 -99
- package/src/views/components/contextmenu/menuGroup.vue +0 -71
- package/src/views/components/count-to/index.vue +0 -43
- package/src/views/components/cropping/index.vue +0 -59
- package/src/views/components/cropping/picture.jpeg +0 -0
- package/src/views/components/split-pane/index.vue +0 -82
- package/src/views/components/video/index.vue +0 -57
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-
|
|
5
|
+
* @LastEditTime: 2025-07-16 17:46:57
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
import vue from '@vitejs/plugin-vue';
|
|
@@ -10,8 +10,10 @@ import { viteBuildInfo } from './';
|
|
|
10
10
|
import svgLoader from 'vite-svg-loader';
|
|
11
11
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
12
12
|
import tailwindcss from '@tailwindcss/vite';
|
|
13
|
+
import { visualizer } from 'rollup-plugin-visualizer';
|
|
13
14
|
|
|
14
15
|
export function getPluginsList() {
|
|
16
|
+
const lifecycle = process.env.npm_lifecycle_event;
|
|
15
17
|
return [
|
|
16
18
|
tailwindcss(),
|
|
17
19
|
vue(),
|
|
@@ -21,6 +23,10 @@ export function getPluginsList() {
|
|
|
21
23
|
viteBuildInfo(),
|
|
22
24
|
// 自定义主题
|
|
23
25
|
// svg组件化支持
|
|
24
|
-
svgLoader()
|
|
26
|
+
svgLoader(),
|
|
27
|
+
// 打包分析
|
|
28
|
+
lifecycle === 'report'
|
|
29
|
+
? visualizer({ open: true, brotliSize: true, filename: 'report.html' })
|
|
30
|
+
: (null as any)
|
|
25
31
|
];
|
|
26
32
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
2
|
-
import {
|
|
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
|
+
import { useRouter as y, useRoute as C } from "vue-router";
|
|
3
|
+
import { C as v } from "./index-DZc3qRTx.js";
|
|
3
4
|
const E = {
|
|
4
5
|
width: "251",
|
|
5
6
|
height: "294"
|
|
@@ -20,11 +21,11 @@ const A = { render: _ }, D = {
|
|
|
20
21
|
class: "mb-4 text-gray-500",
|
|
21
22
|
initial: { opacity: 0, y: 100 },
|
|
22
23
|
enter: { opacity: 1, y: 0, transition: { delay: 300 } }
|
|
23
|
-
},
|
|
24
|
+
}, R = /* @__PURE__ */ r({
|
|
24
25
|
__name: "403",
|
|
25
26
|
setup(c) {
|
|
26
|
-
const s = y(), i =
|
|
27
|
-
|
|
27
|
+
const s = y(), i = C(), o = () => {
|
|
28
|
+
v(i, !1), s.push("/");
|
|
28
29
|
};
|
|
29
30
|
return (V, t) => {
|
|
30
31
|
const d = F("el-button"), p = n("motion");
|
|
@@ -41,13 +42,13 @@ const A = { render: _ }, D = {
|
|
|
41
42
|
]))), [
|
|
42
43
|
[p]
|
|
43
44
|
]),
|
|
44
|
-
h((a(),
|
|
45
|
+
h((a(), k(d, {
|
|
45
46
|
initial: { opacity: 0, y: 100 },
|
|
46
47
|
enter: { opacity: 1, y: 0, transition: { delay: 500 } },
|
|
47
48
|
type: "primary",
|
|
48
49
|
onClick: o
|
|
49
50
|
}, {
|
|
50
|
-
default:
|
|
51
|
+
default: u(() => t[2] || (t[2] = [
|
|
51
52
|
e("返回首页")
|
|
52
53
|
])),
|
|
53
54
|
_: 1
|
|
@@ -60,5 +61,5 @@ const A = { render: _ }, D = {
|
|
|
60
61
|
}
|
|
61
62
|
});
|
|
62
63
|
export {
|
|
63
|
-
|
|
64
|
+
R as default
|
|
64
65
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
import {
|
|
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
|
+
import { useRouter as C, useRoute as k } from "vue-router";
|
|
3
|
+
import { C as u } from "./index-DZc3qRTx.js";
|
|
3
4
|
const y = {
|
|
4
5
|
width: "252",
|
|
5
6
|
height: "294"
|
|
6
7
|
};
|
|
7
8
|
function E(c, h) {
|
|
8
|
-
return a(),
|
|
9
|
+
return a(), l("svg", y, h[0] || (h[0] = [
|
|
9
10
|
m('<g fill="none"><path fill="#E4EBF7" d="M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321" mask="url(#b)" transform="translate(0 .012)"></path><path fill="#FFF" d="M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66"></path><path stroke="#FFF" d="m36.975 134.297 10.482 5.943m.916 6.268-12.648 10.788"></path><path fill="#FFF" d="M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136m17.713-16.105a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145m41.43-116.372 29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176m11.406 18.336 29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175"></path><path fill="#FFF" d="M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172m71.725 108.807c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93s9.483 5.447 8.93 10.932"></path><path stroke="#FFF" d="m179.26 141.75 12.64 7.167m1.106 7.56-15.255 13.011"></path><path fill="#FFF" d="M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372m18.672-16.732a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382"></path><path stroke="#FFF" d="M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zm73.339-76.268a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zm-8.89 35.024a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zm-39.463-43.444a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zm18.374-15.471a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zm6.767 88.546a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z"></path><path stroke="#FFF" d="m214.404 153.302-1.912 20.184-10.928 5.99m-27.903-4.684-6.356 9.814h-11.36l-4.508 6.484m23.504-65.922v-15.804m45.883 7.886-12.84 7.901-15.31-7.902V94.39"></path><path fill="#FFF" d="M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742"></path><path fill="#1890FF" d="M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48s-13.2 29.48-29.48 29.48c-16.282 0-29.48-13.2-29.48-29.48"></path><path fill="#FFF" d="M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964a2.9 2.9 0 0 1-2 .75c-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928q.75-.75 1.93-.75c.785 0 1.462.25 1.999.75m4.285-19.463q2.143 1.874 2.143 5.142c0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.1 5.1 0 0 0-1.428 1.75 5.2 5.2 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43q-.553.75-.76 1.904a2 2 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894"></path><path fill="#FFB594" d="M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88"></path><path fill="#FFC6A0" d="m90.483 67.504-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132s-2.412 3.624-2.412 3.624"></path><path fill="#FFF" d="M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682"></path><path fill="#CBD1D1" d="M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178s6.874 1.1 11.686-1.26c-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573"></path><path fill="#2B0849" d="M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286z"></path><path fill="#A4AABA" d="M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558"></path><path fill="#CBD1D1" d="M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199z"></path><path fill="#2B0849" d="M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062"></path><path fill="#A4AABA" d="M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252s-4.903-2.119-5.624.15"></path><path fill="#7BB2F9" d="m99.66 278.514 13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165"></path><path stroke="#648BD8" d="M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935m23.32 8.451s2.774-1.11 6.103-3.883M107.275 222.1s2.773-1.11 6.102-3.884M74.74 224.767s2.622-.591 6.505-3.365m4.785-69.768c-.27 3.106.3 8.525-4.336 9.123m21.931-10.877s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944m.448-16.451s.035 12.88-1.196 24.377m-4.921 1.096s7.212-1.664 9.431-1.664M74.31 205.861a212 212 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776-.947 2.045-4.985 15.355c-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12m14.931-60.462a321 321 0 0 1-.882 4.754m7.784-50.328L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31"></path><path fill="#192064" d="M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038"></path><path fill="#FFF" d="m106.322 151.165.003-4.911a.81.81 0 0 0-.778-.815 110 110 0 0 0-7.836-.014.82.82 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81"></path><path fill="#192064" d="m105.207 150.233.002-3.076a.64.64 0 0 0-.619-.646 94 94 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121 121 0 0 1 5.794.011c.362.01.665-.28.665-.642"></path><path stroke="#648BD8" d="M100.263 275.415h12.338m-11.165-4.885c.006 3.387.042 5.79.111 6.506m-.096-12.488a916 916 0 0 0-.015 4.337m-.45-93.92.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243s.897 1.122 0 3.365c-.596 1.489-.994 21.1-1.096 35.146"></path><path fill="#FFC6A0" d="M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801m57.584 7.63.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.32.32 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.33.33 0 0 0 .264-.268"></path><path fill="#FFC6A0" d="M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456"></path><path fill="#520038" d="M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15z"></path><path fill="#552950" d="M104.977 76.064c-.103.61-.582 1.038-1.07.956s-.801-.644-.698-1.254.582-1.038 1.07-.956.8.644.698 1.254m7.155 1.63c-.103.61-.582 1.038-1.07.956s-.8-.644-.698-1.254.582-1.038 1.07-.956.8.643.698 1.254"></path><path stroke="#DB836E" d="m110.13 74.84-.896 1.61-.298 4.357h-2.228"></path><path stroke="#5C2552" d="M110.846 74.481s1.79-.716 2.506.537"></path><path stroke="#DB836E" d="M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67"></path><path stroke="#5C2552" d="M103.287 72.93s1.83 1.113 4.137.954"></path><path stroke="#DB836E" d="M103.685 81.762s2.227 1.193 4.376 1.193m-3.421 1.353s.954.398 1.511.318m-11.458-3.421s2.308 7.4 10.424 7.639"></path><path stroke="#E4EBF7" d="M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206M129.405 122.865s-5.272 7.403-9.422 10.768M119.306 107.329s.452 4.366-2.127 32.062"></path><path fill="#F2D7AD" d="M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01"></path><path fill="#F4D19D" d="M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92"></path><path fill="#F2D7AD" d="M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092z"></path><path fill="#CC9B6E" d="M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"></path><path fill="#F4D19D" d="M158.298 127.896h-18.669a2.07 2.07 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83"></path><path fill="#CC9B6E" d="M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zm-27.293 22.206-.032-8.177.519-.002.032 8.177z"></path><path fill="#CC9B6E" d="m130.511 139.783-.08-21.414.519-.002.08 21.414zm-18.635 1.149-.498-.143 1.479-5.167.498.143zm-3.439.128-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zm8.17 0-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"></path><path fill="#FFC6A0" d="m154.316 131.892-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238"></path><path stroke="#DB836E" d="M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044"></path><path stroke="#DB836E" d="M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617"></path><path stroke="#DB836E" d="M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402m.504 2.692s-1.103 3.16 5.44 3.533m-.352-14.469v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754"></path><path fill="#5BA02E" d="M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647"></path><path fill="#92C110" d="M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647"></path><path fill="#F2D7AD" d="M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187"></path><path stroke="#E4EBF7" d="M88.979 89.48s7.776 5.384 16.6 2.842"></path></g>', 1)
|
|
10
11
|
]));
|
|
11
12
|
}
|
|
@@ -20,26 +21,26 @@ const _ = { render: E }, z = {
|
|
|
20
21
|
class: "mb-4 text-gray-500",
|
|
21
22
|
initial: { opacity: 0, y: 100 },
|
|
22
23
|
enter: { opacity: 1, y: 0, transition: { delay: 300 } }
|
|
23
|
-
},
|
|
24
|
+
}, N = /* @__PURE__ */ r({
|
|
24
25
|
__name: "404",
|
|
25
26
|
setup(c) {
|
|
26
|
-
const h =
|
|
27
|
-
|
|
27
|
+
const h = C(), i = k(), o = () => {
|
|
28
|
+
u(i, !1), h.push("/");
|
|
28
29
|
};
|
|
29
30
|
return (b, t) => {
|
|
30
|
-
const d = n("el-button"),
|
|
31
|
-
return a(),
|
|
31
|
+
const d = n("el-button"), s = F("motion");
|
|
32
|
+
return a(), l("div", z, [
|
|
32
33
|
f(v(_)),
|
|
33
34
|
M("div", A, [
|
|
34
|
-
p((a(),
|
|
35
|
+
p((a(), l("p", x, t[0] || (t[0] = [
|
|
35
36
|
e(" 404 ")
|
|
36
37
|
]))), [
|
|
37
|
-
[
|
|
38
|
+
[s]
|
|
38
39
|
]),
|
|
39
|
-
p((a(),
|
|
40
|
+
p((a(), l("p", g, t[1] || (t[1] = [
|
|
40
41
|
e(" 抱歉,你访问的页面不存在 ")
|
|
41
42
|
]))), [
|
|
42
|
-
[
|
|
43
|
+
[s]
|
|
43
44
|
]),
|
|
44
45
|
p((a(), B(d, {
|
|
45
46
|
initial: { opacity: 0, y: 100 },
|
|
@@ -52,7 +53,7 @@ const _ = { render: E }, z = {
|
|
|
52
53
|
])),
|
|
53
54
|
_: 1
|
|
54
55
|
})), [
|
|
55
|
-
[
|
|
56
|
+
[s]
|
|
56
57
|
])
|
|
57
58
|
])
|
|
58
59
|
]);
|
|
@@ -60,5 +61,5 @@ const _ = { render: E }, z = {
|
|
|
60
61
|
}
|
|
61
62
|
});
|
|
62
63
|
export {
|
|
63
|
-
|
|
64
|
+
N as default
|
|
64
65
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as
|
|
2
|
-
import {
|
|
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
|
+
import { useRouter as u, useRoute as C } from "vue-router";
|
|
3
|
+
import { C as D } from "./index-DZc3qRTx.js";
|
|
3
4
|
const y = {
|
|
4
5
|
width: "254",
|
|
5
6
|
height: "294"
|
|
@@ -20,16 +21,16 @@ const E = { render: A }, _ = {
|
|
|
20
21
|
class: "mb-4 text-gray-500",
|
|
21
22
|
initial: { opacity: 0, y: 100 },
|
|
22
23
|
enter: { opacity: 1, y: 0, transition: { delay: 300 } }
|
|
23
|
-
},
|
|
24
|
+
}, N = /* @__PURE__ */ r({
|
|
24
25
|
__name: "500",
|
|
25
26
|
setup(c) {
|
|
26
|
-
const h =
|
|
27
|
+
const h = u(), i = C(), d = () => {
|
|
27
28
|
D(i, !1), h.push("/");
|
|
28
29
|
};
|
|
29
|
-
return (
|
|
30
|
-
const m = F("el-button"), l =
|
|
30
|
+
return (b, t) => {
|
|
31
|
+
const m = F("el-button"), l = f("motion");
|
|
31
32
|
return a(), s("div", _, [
|
|
32
|
-
|
|
33
|
+
n(k(E)),
|
|
33
34
|
M("div", x, [
|
|
34
35
|
p((a(), s("p", g, t[0] || (t[0] = [
|
|
35
36
|
e(" 500 ")
|
|
@@ -41,7 +42,7 @@ const E = { render: A }, _ = {
|
|
|
41
42
|
]))), [
|
|
42
43
|
[l]
|
|
43
44
|
]),
|
|
44
|
-
p((a(),
|
|
45
|
+
p((a(), v(m, {
|
|
45
46
|
initial: { opacity: 0, y: 100 },
|
|
46
47
|
enter: { opacity: 1, y: 0, transition: { delay: 500 } },
|
|
47
48
|
type: "primary",
|
|
@@ -49,7 +50,7 @@ const E = { render: A }, _ = {
|
|
|
49
50
|
style: { width: "150px", "font-size": "20px" },
|
|
50
51
|
onClick: d
|
|
51
52
|
}, {
|
|
52
|
-
default:
|
|
53
|
+
default: B(() => t[2] || (t[2] = [
|
|
53
54
|
e("返回首页")
|
|
54
55
|
])),
|
|
55
56
|
_: 1
|
|
@@ -62,5 +63,5 @@ const E = { render: A }, _ = {
|
|
|
62
63
|
}
|
|
63
64
|
});
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
+
N as default
|
|
66
67
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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 {
|
|
2
|
+
import { q as r } from "./index-DZc3qRTx.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...",
|
|
6
6
|
style: { position: "relative", height: "80vh" }
|
|
7
|
-
}, I = { style: { height: "85%", overflow: "auto" } }, V = { style: { position: "absolute", width: "100%", height: "15%" } },
|
|
7
|
+
}, I = { style: { height: "85%", overflow: "auto" } }, V = { style: { position: "absolute", width: "100%", height: "15%" } }, R = /* @__PURE__ */ N({
|
|
8
8
|
__name: "AuthorityInfo",
|
|
9
9
|
props: {
|
|
10
10
|
show: { type: Boolean, default: !1 },
|
|
@@ -98,5 +98,5 @@ const S = { class: "config" }, E = {
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
export {
|
|
101
|
-
|
|
101
|
+
R as _
|
|
102
102
|
};
|
|
@@ -13,15 +13,15 @@ const x = {
|
|
|
13
13
|
default: !1
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
emits: ["
|
|
16
|
+
emits: ["close"],
|
|
17
17
|
setup(a, {
|
|
18
18
|
emit: u
|
|
19
19
|
}) {
|
|
20
20
|
const s = a;
|
|
21
21
|
_(() => s.show, () => {
|
|
22
|
-
n.value = s.show &&
|
|
22
|
+
n.value = s.show && p();
|
|
23
23
|
});
|
|
24
|
-
const n = v(""), i = N(),
|
|
24
|
+
const n = v(""), i = N(), c = [{
|
|
25
25
|
type: "checkbox",
|
|
26
26
|
width: 50,
|
|
27
27
|
align: "center"
|
|
@@ -60,7 +60,7 @@ const x = {
|
|
|
60
60
|
defaultValue: "1"
|
|
61
61
|
}),
|
|
62
62
|
formatter: ["formatDict", "SU.ENABLE"]
|
|
63
|
-
}],
|
|
63
|
+
}], p = () => {
|
|
64
64
|
const {
|
|
65
65
|
record: e
|
|
66
66
|
} = s, {
|
|
@@ -73,7 +73,7 @@ const x = {
|
|
|
73
73
|
e.permissionCode = `${n.value}.${e.dispalyCode}`;
|
|
74
74
|
}, f = u;
|
|
75
75
|
function C() {
|
|
76
|
-
f("
|
|
76
|
+
f("close");
|
|
77
77
|
}
|
|
78
78
|
return (e, r) => {
|
|
79
79
|
const t = l("ut-grid"), o = l("el-drawer");
|
|
@@ -87,7 +87,7 @@ const x = {
|
|
|
87
87
|
}, {
|
|
88
88
|
default: w(() => [d(t, {
|
|
89
89
|
ref: "SuGridRef",
|
|
90
|
-
columns:
|
|
90
|
+
columns: c,
|
|
91
91
|
url: "/uums/menu",
|
|
92
92
|
"default-params": {
|
|
93
93
|
parentId: e.record.id
|
|
@@ -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-M2FQJwPU.js";
|
|
3
|
+
import p from "./CompanyPanel-hlDsxD-6.js";
|
|
4
|
+
import { _ as d } from "./index-DZc3qRTx.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
|
|
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 m, 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 {
|
|
7
|
+
import { q as J, _ as K } from "./index-DZc3qRTx.js";
|
|
8
8
|
const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
9
9
|
__name: "CompanyPanel",
|
|
10
10
|
setup(W) {
|
|
@@ -28,7 +28,7 @@ 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
|
-
}, u =
|
|
31
|
+
}, u = w("active"), $ = w("scrollPanelChange"), f = J();
|
|
32
32
|
B(
|
|
33
33
|
() => u.value,
|
|
34
34
|
(t, a) => {
|
|
@@ -53,16 +53,16 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
53
53
|
if ((o = t.children) != null && o.length) return G(r("message.deletePartment"));
|
|
54
54
|
await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t), b());
|
|
55
55
|
}, b = () => {
|
|
56
|
-
$.value = !0, H(r("message.operateSuccess")),
|
|
56
|
+
$.value = !0, H(r("message.operateSuccess")), q();
|
|
57
57
|
}, F = () => {
|
|
58
58
|
e.dialogFormVisible = !1, e.dataStatus = "";
|
|
59
|
-
},
|
|
59
|
+
}, q = () => {
|
|
60
60
|
e.dialogFormVisible = !1;
|
|
61
61
|
};
|
|
62
62
|
return (t, a) => {
|
|
63
|
-
const o = i("ut-button"),
|
|
63
|
+
const o = i("ut-button"), I = i("vxe-toolbar"), g = i("vxe-form-item"), P = i("vxe-form"), c = i("el-row"), A = i("vxe-checkbox"), C = i("vxe-button"), T = i("el-card");
|
|
64
64
|
return l(), E("div", O, [
|
|
65
|
-
s(
|
|
65
|
+
s(I, {
|
|
66
66
|
perfect: "",
|
|
67
67
|
class: ""
|
|
68
68
|
}, {
|
|
@@ -107,7 +107,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
107
107
|
], -1)),
|
|
108
108
|
s(c, null, {
|
|
109
109
|
default: d(() => [
|
|
110
|
-
s(
|
|
110
|
+
s(P, {
|
|
111
111
|
ref_key: "xForm",
|
|
112
112
|
ref: y,
|
|
113
113
|
data: e.record,
|
|
@@ -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(), m(
|
|
158
|
+
e.dataStatus !== "detail" ? (l(), m(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(), m(
|
|
164
|
+
e.dataStatus !== "detail" ? (l(), m(C, {
|
|
165
165
|
key: 2,
|
|
166
166
|
status: "warning",
|
|
167
167
|
content: t.$t("message.btn.cancel"),
|
|
@@ -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-M2FQJwPU.js";
|
|
3
|
+
import _ from "./DepartmentPanel-D-a_EBFt.js";
|
|
4
|
+
import { _ as d } from "./index-DZc3qRTx.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 {
|
|
8
|
+
import { e as Q, q as W, _ as Z } from "./index-DZc3qRTx.js";
|
|
9
9
|
const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
|
|
10
10
|
__name: "DepartmentPanel",
|
|
11
11
|
setup(ae) {
|
|
@@ -47,20 +47,20 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
47
47
|
e.dataStatus = "add", e.record = {}, e.record.parentId = (a = p.value) == null ? void 0 : a.id, e.isChecked = !1, e.dialogFormVisible = !0;
|
|
48
48
|
}, x = (a) => {
|
|
49
49
|
e.dataStatus = a, e.record = G(p.value, !0), e.dialogFormVisible = !0;
|
|
50
|
-
},
|
|
51
|
-
|
|
50
|
+
}, b = z("xForm", null), D = () => {
|
|
51
|
+
b.value.validate(async (a) => {
|
|
52
52
|
if (!a) {
|
|
53
|
-
const { record: t, dataStatus:
|
|
53
|
+
const { record: t, dataStatus: r } = e;
|
|
54
54
|
e.loading = !0;
|
|
55
|
-
const [g] =
|
|
56
|
-
e.loading = !1, g ||
|
|
55
|
+
const [g] = r === "add" ? await k(f.post(y, t)) : await k(f.put(y, t));
|
|
56
|
+
e.loading = !1, g || w();
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
}, N = async () => {
|
|
60
60
|
const { record: a } = e;
|
|
61
61
|
if (a.children.length) return K(o("message.deletePartment"));
|
|
62
|
-
await J.modal.confirm(o("message.tip.del")) === "confirm" && (await f.delete(y, a),
|
|
63
|
-
},
|
|
62
|
+
await J.modal.confirm(o("message.tip.del")) === "confirm" && (await f.delete(y, a), w());
|
|
63
|
+
}, w = () => {
|
|
64
64
|
h.value = !0, O(o("message.operateSuccess")), P();
|
|
65
65
|
}, F = () => {
|
|
66
66
|
e.dataStatus === "add" && (e.dialogFormVisible = !1), e.dataStatus = "";
|
|
@@ -68,30 +68,30 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
68
68
|
e.dialogFormVisible = !1;
|
|
69
69
|
};
|
|
70
70
|
return (a, t) => {
|
|
71
|
-
const
|
|
71
|
+
const r = l("ut-button"), g = l("vxe-toolbar"), v = l("vxe-form-item"), q = l("vxe-form"), u = l("el-row"), E = l("vxe-checkbox"), A = l("el-card"), I = M("spinning");
|
|
72
72
|
return c(), R("div", ee, [
|
|
73
73
|
n(g, {
|
|
74
74
|
perfect: "",
|
|
75
75
|
class: ""
|
|
76
76
|
}, {
|
|
77
77
|
buttons: d(() => [
|
|
78
|
-
n(
|
|
78
|
+
n(r, {
|
|
79
79
|
status: "u-cyan",
|
|
80
80
|
icon: "ri-add-line",
|
|
81
81
|
content: "add",
|
|
82
|
-
onTap: t[0] || (t[0] = (
|
|
82
|
+
onTap: t[0] || (t[0] = (i) => T())
|
|
83
83
|
}),
|
|
84
|
-
n(
|
|
84
|
+
n(r, {
|
|
85
85
|
status: "primary",
|
|
86
86
|
icon: "ri-edit-box-line",
|
|
87
87
|
content: "edit",
|
|
88
|
-
onTap: t[1] || (t[1] = (
|
|
88
|
+
onTap: t[1] || (t[1] = (i) => x("update"))
|
|
89
89
|
}),
|
|
90
|
-
n(
|
|
90
|
+
n(r, {
|
|
91
91
|
status: "danger",
|
|
92
92
|
icon: "ri-close-fill",
|
|
93
93
|
content: "delete",
|
|
94
|
-
onTap: t[2] || (t[2] = (
|
|
94
|
+
onTap: t[2] || (t[2] = (i) => N())
|
|
95
95
|
})
|
|
96
96
|
]),
|
|
97
97
|
_: 1
|
|
@@ -115,15 +115,15 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
115
115
|
], -1)),
|
|
116
116
|
n(u, null, {
|
|
117
117
|
default: d(() => [
|
|
118
|
-
n(
|
|
118
|
+
n(q, {
|
|
119
119
|
ref_key: "xForm",
|
|
120
|
-
ref:
|
|
120
|
+
ref: b,
|
|
121
121
|
data: e.record,
|
|
122
122
|
rules: $,
|
|
123
123
|
"label-width": "90px"
|
|
124
124
|
}, {
|
|
125
125
|
default: d(() => {
|
|
126
|
-
var
|
|
126
|
+
var i;
|
|
127
127
|
return [
|
|
128
128
|
n(v, {
|
|
129
129
|
title: a.$t("message.deptName"),
|
|
@@ -142,7 +142,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
142
142
|
field: "deptType",
|
|
143
143
|
"item-render": {
|
|
144
144
|
name: "$select",
|
|
145
|
-
options: (
|
|
145
|
+
options: (i = H(S)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : i.children,
|
|
146
146
|
optionProps: { label: "dictName", value: "dictCode" },
|
|
147
147
|
props: { disabled: e.dataStatus === "detail" }
|
|
148
148
|
},
|
|
@@ -160,10 +160,10 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
160
160
|
justify: "center"
|
|
161
161
|
}, {
|
|
162
162
|
default: d(() => [
|
|
163
|
-
e.dataStatus === "add" ? (c(), m(
|
|
163
|
+
e.dataStatus === "add" ? (c(), m(E, {
|
|
164
164
|
key: 0,
|
|
165
165
|
modelValue: e.isChecked,
|
|
166
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
166
|
+
"onUpdate:modelValue": t[3] || (t[3] = (i) => e.isChecked = i),
|
|
167
167
|
style: { "padding-top": "5px", "margin-right": "8px" }
|
|
168
168
|
}, {
|
|
169
169
|
default: d(() => [
|
|
@@ -171,13 +171,13 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
171
171
|
]),
|
|
172
172
|
_: 1
|
|
173
173
|
}, 8, ["modelValue"])) : _("", !0),
|
|
174
|
-
e.dataStatus !== "detail" ? (c(), m(
|
|
174
|
+
e.dataStatus !== "detail" ? (c(), m(r, {
|
|
175
175
|
key: 1,
|
|
176
176
|
status: "primary",
|
|
177
177
|
content: "confirm",
|
|
178
178
|
onTap: D
|
|
179
179
|
})) : _("", !0),
|
|
180
|
-
e.dataStatus !== "detail" ? (c(), m(
|
|
180
|
+
e.dataStatus !== "detail" ? (c(), m(r, {
|
|
181
181
|
key: 2,
|
|
182
182
|
status: "warning",
|
|
183
183
|
content: "cancel",
|
|
@@ -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 {
|
|
7
|
-
import vt from "./Preview-
|
|
6
|
+
import { e as gt, q as yt } from "./index-DZc3qRTx.js";
|
|
7
|
+
import vt from "./Preview-pHD84xqI.js";
|
|
8
8
|
const xt = {
|
|
9
9
|
panels: [
|
|
10
10
|
{
|
|
@@ -507,11 +507,11 @@ const xt = {
|
|
|
507
507
|
const [E, _] = await mt(W.put("/urpt/v1/printTemplate", [t]));
|
|
508
508
|
v.value = !1, E || (T.value = "", m.value = _[0]), n && n();
|
|
509
509
|
}, P = () => {
|
|
510
|
-
|
|
511
|
-
},
|
|
510
|
+
q("onClose");
|
|
511
|
+
}, q = B, A = (n) => {
|
|
512
512
|
let t = h.value;
|
|
513
513
|
n === "Y" ? (t += 0.1, t > h.max && (t = 5)) : (t -= 0.1, t < h.min && (t = 0.5)), s && (s.zoom(t), h.value = t, h.ration = `${(t * 100).toFixed(0)}%`);
|
|
514
|
-
},
|
|
514
|
+
}, F = async () => {
|
|
515
515
|
await U.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
|
|
516
516
|
}, L = async () => {
|
|
517
517
|
y.value = !0;
|
|
@@ -674,7 +674,7 @@ const xt = {
|
|
|
674
674
|
icon: "ri-delete-bin-5-fill",
|
|
675
675
|
content: "repaint",
|
|
676
676
|
auth: "repaint",
|
|
677
|
-
onTap: t[10] || (t[10] = (o) =>
|
|
677
|
+
onTap: t[10] || (t[10] = (o) => F())
|
|
678
678
|
})
|
|
679
679
|
]),
|
|
680
680
|
e("div", null, [
|
|
@@ -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 k } from "./childView.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { _ as k } from "./childView.vue_vue_type_style_index_0_lang-oGriyFTv.js";
|
|
3
3
|
import { useRender as T } from "@utogether/utils";
|
|
4
4
|
const E = {
|
|
5
5
|
name: "DictView"
|
|
6
6
|
}, I = /* @__PURE__ */ v({
|
|
7
7
|
...E,
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
8
|
+
setup(N) {
|
|
9
|
+
const l = n(null), a = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -15,7 +15,7 @@ const E = {
|
|
|
15
15
|
}, {
|
|
16
16
|
field: "dictType",
|
|
17
17
|
title: "message.udp.dictType"
|
|
18
|
-
}], t = T(),
|
|
18
|
+
}], t = T(), o = [{
|
|
19
19
|
type: "checkbox",
|
|
20
20
|
width: 40,
|
|
21
21
|
align: "center"
|
|
@@ -26,7 +26,7 @@ const E = {
|
|
|
26
26
|
editRender: t.renderInput()
|
|
27
27
|
}, {
|
|
28
28
|
field: "dictName",
|
|
29
|
-
title: "message.udp.
|
|
29
|
+
title: "message.udp.dictName",
|
|
30
30
|
required: !0,
|
|
31
31
|
editRender: t.renderInput()
|
|
32
32
|
}, {
|
|
@@ -64,21 +64,21 @@ const E = {
|
|
|
64
64
|
d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
|
|
65
65
|
});
|
|
66
66
|
}, f = () => {
|
|
67
|
-
|
|
67
|
+
l.value.refreshData(), d.value = !1;
|
|
68
68
|
}, p = {
|
|
69
69
|
editActived({
|
|
70
70
|
row: e
|
|
71
71
|
}) {
|
|
72
|
-
|
|
72
|
+
o[1].editRender.props.disabled = !!e.id;
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
return (e, i) => {
|
|
76
76
|
const _ = s("ut-grid");
|
|
77
77
|
return u(), h("div", null, [c(_, {
|
|
78
78
|
ref_key: "xgrid",
|
|
79
|
-
ref:
|
|
79
|
+
ref: l,
|
|
80
80
|
items: a,
|
|
81
|
-
columns:
|
|
81
|
+
columns: o,
|
|
82
82
|
url: "/upfm/v1/lov",
|
|
83
83
|
events: p
|
|
84
84
|
}, null, 512), d.value ? (u(), C(k, {
|