@utogether/udp-core 1.0.1-beta.3 → 1.0.1-beta.31
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 +3 -3
- package/dist/{403-BuP9jvH9.js → 403-DdjDWbkf.js} +1 -1
- package/dist/{404-DfQk8kKl.js → 404-D9vF2gFz.js} +1 -1
- package/dist/{500-OgROWdiZ.js → 500-mVaDmUjL.js} +1 -1
- package/dist/{AuthorityInfo-q2ksfkWH.js → AuthorityInfo-DOUJ_Zrj.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-B12sAzqt.js +100 -0
- package/dist/{Company-DgqowAxc.js → Company-DY__kM9F.js} +3 -3
- package/dist/{CompanyPanel-BNb1rUhD.js → CompanyPanel-C5N8QcMA.js} +17 -17
- package/dist/{Department-Cl8CROSU.js → Department-DsuDZdy5.js} +3 -3
- package/dist/{DepartmentPanel-D5VkqKeP.js → DepartmentPanel-CdwI7Rzu.js} +25 -25
- package/dist/{DesignPanel-BGvEusHC.js → DesignPanel-B50-g0TL.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js → DesignPanel.vue_vue_type_style_index_0_lang-KV8JOZ6v.js} +28 -30
- package/dist/DictView-Be2Z5Obk.js +110 -0
- package/dist/InvOrganization-Lui1q3Ou.js +74 -0
- package/dist/Org-qO5ExsPN.js +39 -0
- package/dist/{Preview-BaGmXH7r.js → Preview-Dq4dfV2D.js} +2 -2
- package/dist/{ReportDefine-DkQdBErt.js → ReportDefine-DH3FvbS1.js} +1 -1
- package/dist/{ReportDesign-DzB_A_G6.js → ReportDesign-Bou01Jbr.js} +43 -43
- package/dist/{ReportQuery-DRcMb6ya.js → ReportQuery-BBkmPPSw.js} +1 -1
- package/dist/{ReportQueryFrom-CeA9xhR4.js → ReportQueryFrom-BCY8lTJ7.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CpktcM8J.js} +1 -1
- package/dist/{ReportTemplate-qaiTMQuT.js → ReportTemplate-C_yJXxQ-.js} +28 -28
- package/dist/{Role-DsFulAjq.js → Role-CTatYsrC.js} +6 -6
- package/dist/{RoleAssign-DMRdocpa.js → RoleAssign-Cqt3CelK.js} +9 -9
- package/dist/{RolePanel-wXVysDHM.js → RolePanel-C3JMpNu8.js} +1 -1
- package/dist/{RolePanel-B9POS_pg.js → RolePanel-brKRJIhD.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DD8u9pq8.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js → RolePanel.vue_vue_type_script_setup_true_lang-i6Gq4r5B.js} +44 -38
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js → ScrollPanel.vue_vue_type_style_index_0_lang-CiWKyjm3.js} +23 -23
- package/dist/{Staff-Cq4V7ruC.js → Staff-Cd3twQ6Y.js} +3 -3
- package/dist/{StaffInfo-CJDKMbud.js → StaffInfo-DJp0a0qd.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js → StaffInfo.vue_vue_type_script_setup_true_lang-Dp2AhJ4I.js} +16 -16
- package/dist/{StaffPanel-CG-uggdr.js → StaffPanel-B93hClzs.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js → StaffPanel.vue_vue_type_script_setup_true_lang-CXjUzq7n.js} +2 -2
- package/dist/{SysUser-kwnzRNdD.js → SysUser-BvI6vaqI.js} +2 -2
- package/dist/{SysUserPanel-DTlZf3vk.js → SysUserPanel-C9V8X-Ek.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-bMqTui07.js +343 -0
- package/dist/{SystemMenu-BVT0n-L2.js → SystemMenu-D4WME5d0.js} +27 -27
- package/dist/{UserInfo-BbTQ9Zat.js → UserInfo-D-AfdfJs.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js → UserInfo.vue_vue_type_style_index_0_lang-C-JQYIxe.js} +41 -39
- package/dist/{childView-BJbIhjmf.js → childView--WMSo-wH.js} +1 -1
- package/dist/{childView-DCsGFrG-.js → childView-1MTl6Kaj.js} +1 -1
- package/dist/childView.vue_vue_type_style_index_0_lang-B8Losc4Y.js +170 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js → childView.vue_vue_type_style_index_0_lang-BAVKNIXs.js} +1 -1
- package/dist/{code-rule-DePU6cdp.js → code-rule-D-RqrQB6.js} +42 -41
- package/dist/core.es.js +19 -10
- package/dist/{cron-task-DUM1SIGL.js → cron-task-D-X-KFZm.js} +11 -11
- package/dist/flow-task-B07st2aD.js +10 -0
- package/dist/{frameView-CEUTDtSm.js → frameView-MAW_-GHJ.js} +1 -1
- package/dist/index-Bc9vCX7z.js +2904 -0
- package/dist/{layoutView-PCjwVwkX.js → layoutView-De2QIEr2.js} +1639 -1629
- package/dist/{log-in-e7D5Ss1P.js → log-in-CpGqc33f.js} +5 -4
- package/dist/{log-out--RRncZhN.js → log-out-D1b4VRMZ.js} +30 -24
- package/dist/{login-log-CvVnyGi3.js → login-log-BNRXLeMi.js} +4 -3
- package/dist/login-rdZ0GPYc.js +249 -0
- package/dist/{lov-view-D8wwkxFJ.js → lov-view-Ao7LMspL.js} +5 -5
- package/dist/{menuInfo-B5JKVwrB.js → menuInfo-DmOcK6An.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js → menuInfo.vue_vue_type_style_index_0_lang-Ln-zFWV7.js} +121 -99
- package/dist/{pda-app-DIa1p1Ww.js → pda-app-DY63mQ2T.js} +202 -188
- package/dist/{resource-CCQ7Dd-5.js → resource-B21uV58T.js} +18 -18
- package/dist/{su-welcome-CLp9YaJa.js → su-welcome-DgjzJeDF.js} +122 -121
- package/dist/sys-config-DOtK2I32.js +370 -0
- package/dist/udp-core.css +1 -9
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/index.ts +19 -6
- package/package.json +1 -1
- package/src/App.vue +65 -70
- package/src/api/http.ts +1 -4
- package/src/api/index.ts +5 -3
- package/src/api/user.ts +2 -2
- package/src/components/SuCharts/src/UserInfo.vue +3 -3
- package/src/components/SuScrollTree/ScrollPanel.vue +4 -9
- package/src/components/udp/content/index.vue +88 -0
- package/src/components/udp/form/form.vue +109 -0
- package/src/components/udp/{grid.vue → grid/index.vue} +524 -500
- package/src/components/udp/index.ts +4 -6
- package/src/components/udp/ut-stamp-badge/index.vue +272 -0
- package/src/components/udp/utils.ts +408 -379
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +8 -6
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-search/index.vue +1 -1
- package/src/layout/components/lay-select-org/index.vue +4 -9
- package/src/layout/components/lay-sidebar/horizontal.vue +8 -6
- package/src/layout/components/lay-sidebar/mixNav.vue +260 -258
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +8 -12
- package/src/layout/components/lay-tag/index.vue +596 -625
- package/src/layout/hooks/useTag.ts +12 -18
- package/src/layout/types.ts +3 -2
- package/src/main.ts +115 -110
- package/src/plugins/i18n/en.ts +302 -291
- package/src/plugins/i18n/module/u-workflow.ts +1 -1
- package/src/plugins/i18n/zh.ts +362 -338
- package/src/plugins/vxe-table/index.ts +116 -53
- package/src/plugins/vxe-table/render.tsx +183 -57
- package/src/router/index.ts +101 -97
- package/src/router/modules/flow.ts +35 -0
- package/src/router/modules/remaining.ts +1 -26
- package/src/router/utils.ts +50 -7
- package/src/store/modules/app.ts +1 -3
- package/src/store/modules/multiTags.ts +15 -14
- package/src/store/modules/permission.ts +25 -15
- package/src/store/modules/system.ts +1 -3
- package/src/style/button.scss +85 -85
- package/src/style/login.css +1 -1
- package/src/style/vxetable.scss +348 -258
- package/src/utils/authority/index.ts +1 -1
- package/src/utils/index.ts +3 -1
- package/src/utils/propTypes.ts +1 -6
- package/src/utils/{http → udp/http}/index.ts +27 -30
- package/src/utils/{http → udp/http}/types.d.ts +2 -6
- package/src/views/login/login-view.vue +6 -20
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/department/DepartmentPanel.vue +6 -20
- package/src/views/organization/inv-org/InvOrganization.vue +22 -7
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/cron/cron-task.vue +2 -12
- package/src/views/system/menu/SystemMenu.vue +185 -197
- package/src/views/system/menu/menuInfo.vue +384 -372
- package/src/views/system/role/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +11 -9
- package/src/views/system/role-assign/RoleAssign.vue +2 -2
- package/src/views/system/role-assign/RolePanel.vue +12 -9
- package/src/views/system/sys/sys-config.vue +70 -21
- package/src/views/system/sysUser/SysUserPanel.vue +132 -62
- package/src/views/uapp/pda/pda-app.vue +48 -16
- package/src/views/udev/coderule/code-rule.vue +132 -121
- package/src/views/udev/dict/DictView.vue +118 -106
- package/src/views/udev/dict/childView.vue +71 -111
- package/src/views/udev/lov/childView.vue +1 -7
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/components/menu-favorite.vue +314 -331
- package/src/views/uhome/su-welcome.vue +3 -3
- package/src/views/ulogin/login.vue +19 -12
- package/src/views/upms/interface/log-in.vue +2 -8
- package/src/views/upms/interface/log-out.vue +2 -8
- package/src/views/upms/user/login-log.vue +2 -8
- package/src/views/urpt/design/DesignPanel.vue +16 -35
- package/src/views/urpt/design/Preview.vue +1 -0
- package/src/views/urpt/design/ReportDesign.vue +17 -23
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/src/views/utask/flow-task.vue +18 -0
- package/types/global.d.ts +4 -9
- package/vite.config.ts +2 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js +0 -102
- package/dist/DictView-BnxfaOBv.js +0 -96
- package/dist/InvOrganization-5y79ZLdY.js +0 -66
- package/dist/Org-2oBAXN2r.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js +0 -126
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js +0 -288
- package/dist/childView.vue_vue_type_style_index_0_lang-CDtsalCm.js +0 -187
- package/dist/index-ZdgOD7cF.js +0 -3399
- package/dist/login-B1CjWVKu.js +0 -252
- package/dist/sys-config-BBmf_SqF.js +0 -277
- package/dist/utogether-Bkptx2lB.js +0 -182
- package/src/components/udp/form-upload.vue +0 -183
- package/src/components/udp/lov.vue +0 -410
- package/src/components/udp/modal-form.vue +0 -180
- package/src/components/udp/modal-grid.vue +0 -297
- package/src/utils/udp/useRender.ts +0 -420
package/build/plugins.ts
CHANGED
|
@@ -12,6 +12,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
|
12
12
|
import tailwindcss from '@tailwindcss/vite';
|
|
13
13
|
import { visualizer } from 'rollup-plugin-visualizer';
|
|
14
14
|
import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
|
|
15
|
+
import removeConsole from 'vite-plugin-remove-console';
|
|
15
16
|
|
|
16
17
|
export function getPluginsList() {
|
|
17
18
|
const lifecycle = process.env.npm_lifecycle_event;
|
|
@@ -21,6 +22,7 @@ export function getPluginsList() {
|
|
|
21
22
|
// jsx、tsx语法支持
|
|
22
23
|
vueJsx(),
|
|
23
24
|
// 线上环境删除console
|
|
25
|
+
removeConsole(),
|
|
24
26
|
viteBuildInfo(),
|
|
25
27
|
// 自定义主题
|
|
26
28
|
// svg组件化支持
|
|
@@ -30,8 +32,6 @@ export function getPluginsList() {
|
|
|
30
32
|
jpg: { quality: 70 }
|
|
31
33
|
}),
|
|
32
34
|
// 打包分析
|
|
33
|
-
lifecycle === 'report'
|
|
34
|
-
? visualizer({ open: true, brotliSize: true, filename: 'report.html' })
|
|
35
|
-
: (null as any)
|
|
35
|
+
lifecycle === 'report' ? visualizer({ open: true, brotliSize: true, filename: 'report.html' }) : (null as any)
|
|
36
36
|
];
|
|
37
37
|
}
|
|
@@ -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-Bc9vCX7z.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-Bc9vCX7z.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-Bc9vCX7z.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "254",
|
|
6
6
|
height: "294"
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as N, ref as f, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as p, openBlock as _, createVNode as t, withCtx as r, withDirectives as D, createElementVNode as K } from "vue";
|
|
2
|
+
import { w as c } from "./index-Bc9vCX7z.js";
|
|
3
|
+
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
+
const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, H = /* @__PURE__ */ N({
|
|
5
|
+
__name: "AuthorityInfo",
|
|
6
|
+
props: {
|
|
7
|
+
show: { type: Boolean, default: !1 },
|
|
8
|
+
record: { default: () => ({}) },
|
|
9
|
+
dataStatus: { default: "detail" },
|
|
10
|
+
direction: { default: "rtl" }
|
|
11
|
+
},
|
|
12
|
+
emits: ["onClose"],
|
|
13
|
+
setup(h, { emit: y }) {
|
|
14
|
+
const d = h, u = f(null), o = f(!1), s = B({
|
|
15
|
+
dataList: [],
|
|
16
|
+
defaultCheckedKeys: []
|
|
17
|
+
// 默认权限
|
|
18
|
+
}), v = window.innerHeight - 180, g = y, w = async () => {
|
|
19
|
+
const e = await c().get("/uums/menu/listMenuTree", {});
|
|
20
|
+
o.value = !1, s.dataList = e;
|
|
21
|
+
}, k = async () => {
|
|
22
|
+
const e = {
|
|
23
|
+
roleId: d.record.id,
|
|
24
|
+
menuType: "1"
|
|
25
|
+
}, a = await c().get("/uums/role/getRoleMenus", e);
|
|
26
|
+
s.defaultCheckedKeys = a.map((i) => i.id);
|
|
27
|
+
}, C = async () => {
|
|
28
|
+
const { record: e } = d;
|
|
29
|
+
o.value = !0;
|
|
30
|
+
const a = u.value.getCheckedNodes(!1, !0);
|
|
31
|
+
e.sysMenus = a, await S(c().put("/uums/role", [e])), o.value = !1, l();
|
|
32
|
+
};
|
|
33
|
+
function l() {
|
|
34
|
+
g("onClose");
|
|
35
|
+
}
|
|
36
|
+
return M(() => {
|
|
37
|
+
o.value = !0, k(), w();
|
|
38
|
+
}), (e, a) => {
|
|
39
|
+
const i = n("el-tree-v2"), b = n("el-divider"), m = n("ut-button"), x = n("el-row"), T = n("el-drawer"), L = A("spinning");
|
|
40
|
+
return _(), p("div", E, [
|
|
41
|
+
t(T, {
|
|
42
|
+
"model-value": e.show,
|
|
43
|
+
title: e.$t("message.title.authority", { role: e.record.roleName }),
|
|
44
|
+
"before-close": l,
|
|
45
|
+
direction: "rtl",
|
|
46
|
+
"destroy-on-close": "",
|
|
47
|
+
"body-class": "ut-draw-body",
|
|
48
|
+
size: "40%"
|
|
49
|
+
}, {
|
|
50
|
+
footer: r(() => [
|
|
51
|
+
t(b, { style: { margin: "16px 0" } }),
|
|
52
|
+
t(x, {
|
|
53
|
+
type: "flex",
|
|
54
|
+
justify: "end",
|
|
55
|
+
style: { "padding-right": "20px" }
|
|
56
|
+
}, {
|
|
57
|
+
default: r(() => [
|
|
58
|
+
t(m, {
|
|
59
|
+
content: "cancel",
|
|
60
|
+
icon: "ri-close-fill",
|
|
61
|
+
status: "warning",
|
|
62
|
+
onTap: l
|
|
63
|
+
}),
|
|
64
|
+
t(m, {
|
|
65
|
+
content: "confirm",
|
|
66
|
+
icon: "ri-save-3-fill",
|
|
67
|
+
status: "u-cyan",
|
|
68
|
+
onTap: C
|
|
69
|
+
})
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
})
|
|
73
|
+
]),
|
|
74
|
+
default: r(() => [
|
|
75
|
+
D((_(), p("div", I, [
|
|
76
|
+
K("div", null, [
|
|
77
|
+
t(i, {
|
|
78
|
+
ref_key: "xTree",
|
|
79
|
+
ref: u,
|
|
80
|
+
data: s.dataList,
|
|
81
|
+
props: { children: "children", label: "menuName" },
|
|
82
|
+
"default-checked-keys": s.defaultCheckedKeys,
|
|
83
|
+
height: v,
|
|
84
|
+
"show-checkbox": "",
|
|
85
|
+
"node-key": "id"
|
|
86
|
+
}, null, 8, ["data", "default-checked-keys"])
|
|
87
|
+
])
|
|
88
|
+
])), [
|
|
89
|
+
[L, o.value]
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["model-value", "title"])
|
|
94
|
+
]);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
H as _
|
|
100
|
+
};
|
|
@@ -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-CiWKyjm3.js";
|
|
3
|
+
import p from "./CompanyPanel-C5N8QcMA.js";
|
|
4
|
+
import { _ as d } from "./index-Bc9vCX7z.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 C, 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 {
|
|
7
|
+
import { w as J, _ as K } from "./index-Bc9vCX7z.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
|
-
}, m =
|
|
31
|
+
}, m = C("active"), $ = C("scrollPanelChange"), f = J();
|
|
32
32
|
B(
|
|
33
33
|
() => m.value,
|
|
34
34
|
(t, a) => {
|
|
@@ -40,29 +40,29 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
40
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
42
|
e.dataStatus = t, e.record = z(m.value, !0), e.dialogFormVisible = !0;
|
|
43
|
-
},
|
|
44
|
-
|
|
43
|
+
}, b = R("xForm", null), h = () => {
|
|
44
|
+
b.value.validate(async (t) => {
|
|
45
45
|
if (!t) {
|
|
46
46
|
const { record: a, dataStatus: o } = e;
|
|
47
|
-
o === "add" ? await f.post(_, a) : await f.put(_, a),
|
|
47
|
+
o === "add" ? await f.post(_, a) : await f.put(_, a), y();
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
}, N = async () => {
|
|
51
51
|
var o;
|
|
52
52
|
const { record: t } = e;
|
|
53
53
|
if ((o = t.children) != null && o.length) return G(r("message.deletePartment"));
|
|
54
|
-
await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t),
|
|
55
|
-
},
|
|
56
|
-
$.value = !0, H(r("message.operateSuccess")),
|
|
54
|
+
await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t), y());
|
|
55
|
+
}, y = () => {
|
|
56
|
+
$.value = !0, H(r("message.operateSuccess")), I();
|
|
57
57
|
}, F = () => {
|
|
58
58
|
e.dialogFormVisible = !1, e.dataStatus = "";
|
|
59
|
-
},
|
|
59
|
+
}, I = () => {
|
|
60
60
|
e.dialogFormVisible = !1;
|
|
61
61
|
};
|
|
62
62
|
return (t, a) => {
|
|
63
|
-
const o = i("ut-button"),
|
|
63
|
+
const o = i("ut-button"), P = i("vxe-toolbar"), g = i("vxe-form-item"), q = i("vxe-form"), u = i("el-row"), A = i("vxe-checkbox"), w = i("vxe-button"), T = i("el-card");
|
|
64
64
|
return l(), E("div", O, [
|
|
65
|
-
s(
|
|
65
|
+
s(P, {
|
|
66
66
|
perfect: "",
|
|
67
67
|
class: ""
|
|
68
68
|
}, {
|
|
@@ -107,9 +107,9 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
|
107
107
|
], -1)),
|
|
108
108
|
s(u, null, {
|
|
109
109
|
default: d(() => [
|
|
110
|
-
s(
|
|
110
|
+
s(q, {
|
|
111
111
|
ref_key: "xForm",
|
|
112
|
-
ref:
|
|
112
|
+
ref: b,
|
|
113
113
|
data: e.record,
|
|
114
114
|
rules: k,
|
|
115
115
|
"label-width": "80px"
|
|
@@ -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(), c(
|
|
158
|
+
e.dataStatus !== "detail" ? (l(), c(w, {
|
|
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(), c(
|
|
164
|
+
e.dataStatus !== "detail" ? (l(), c(w, {
|
|
165
165
|
key: 2,
|
|
166
166
|
status: "warning",
|
|
167
167
|
content: t.$t("message.btn.cancel"),
|
|
@@ -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-bc1a230e"]]);
|
|
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-CiWKyjm3.js";
|
|
3
|
+
import _ from "./DepartmentPanel-CdwI7Rzu.js";
|
|
4
|
+
import { _ as d } from "./index-Bc9vCX7z.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 { i as Q, w as W, _ as Z } from "./index-Bc9vCX7z.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
|
+
}, w = z("xForm", null), D = () => {
|
|
51
|
+
w.value.validate(async (a) => {
|
|
52
52
|
if (!a) {
|
|
53
|
-
const { record: t, dataStatus:
|
|
53
|
+
const { record: t, dataStatus: i } = e;
|
|
54
54
|
e.loading = !0;
|
|
55
|
-
const [g] =
|
|
56
|
-
e.loading = !1, g ||
|
|
55
|
+
const [g] = i === "add" ? await k(f.post(y, t)) : await k(f.put(y, t));
|
|
56
|
+
e.loading = !1, g || b();
|
|
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), b());
|
|
63
|
+
}, b = () => {
|
|
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 i = l("ut-button"), g = l("vxe-toolbar"), v = l("vxe-form-item"), E = l("vxe-form"), u = l("el-row"), q = 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(i, {
|
|
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] = (r) => T())
|
|
83
83
|
}),
|
|
84
|
-
n(
|
|
84
|
+
n(i, {
|
|
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] = (r) => x("update"))
|
|
89
89
|
}),
|
|
90
|
-
n(
|
|
90
|
+
n(i, {
|
|
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] = (r) => 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(E, {
|
|
119
119
|
ref_key: "xForm",
|
|
120
|
-
ref:
|
|
120
|
+
ref: w,
|
|
121
121
|
data: e.record,
|
|
122
122
|
rules: $,
|
|
123
123
|
"label-width": "90px"
|
|
124
124
|
}, {
|
|
125
125
|
default: d(() => {
|
|
126
|
-
var
|
|
126
|
+
var r;
|
|
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: (r = H(S)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : r.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(q, {
|
|
164
164
|
key: 0,
|
|
165
165
|
modelValue: e.isChecked,
|
|
166
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
166
|
+
"onUpdate:modelValue": t[3] || (t[3] = (r) => e.isChecked = r),
|
|
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(i, {
|
|
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(i, {
|
|
181
181
|
key: 2,
|
|
182
182
|
status: "warning",
|
|
183
183
|
content: "cancel",
|
|
@@ -202,7 +202,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
202
202
|
s("ul", null, [
|
|
203
203
|
s("li", { class: "w-department-line" }, [
|
|
204
204
|
s("div", null, "● 点击新建,新建部门信息。"),
|
|
205
|
-
s("div", { style: { margin: "0", "text-indent": "2em" } }, "
|
|
205
|
+
s("div", { style: { margin: "0", "text-indent": "2em" } }, "已点击树结构上的部门名称,默认创建为当前部门的下属部门"),
|
|
206
206
|
s("div", { style: { margin: "0", "text-indent": "2em" } }, "未点击树结构上的部门名称,则创建为一级部门")
|
|
207
207
|
]),
|
|
208
208
|
s("li", { class: "w-department-line" }, "● 点击树结构上的部门名称,点击修改按钮,修改部门信息。"),
|
|
@@ -218,7 +218,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
|
|
|
218
218
|
]);
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
|
-
}), me = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-
|
|
221
|
+
}), me = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-a2e7b8a3"]]);
|
|
222
222
|
export {
|
|
223
223
|
me as default
|
|
224
224
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as it, ref as f, reactive as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as it, ref as f, reactive as M, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as U, nextTick as ht } from "vue";
|
|
2
|
+
import { VxeUI as O } from "vxe-pc-ui";
|
|
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 { i as gt, w as yt } from "./index-Bc9vCX7z.js";
|
|
7
|
+
import vt from "./Preview-Dq4dfV2D.js";
|
|
8
8
|
const xt = {
|
|
9
9
|
panels: [
|
|
10
10
|
{
|
|
@@ -490,11 +490,11 @@ const xt = {
|
|
|
490
490
|
},
|
|
491
491
|
emits: ["onClose"],
|
|
492
492
|
setup(J, { emit: B }) {
|
|
493
|
-
const
|
|
493
|
+
const I = J;
|
|
494
494
|
let { $printPlugin: u } = ut();
|
|
495
|
-
const
|
|
495
|
+
const R = gt().getDataDict, W = yt();
|
|
496
496
|
let s = null;
|
|
497
|
-
const C = f(!1), g = f(!1), y = f(!1), v = f(!1), z = f(null), T = f(""), m = f({}), d =
|
|
497
|
+
const C = f(!1), g = f(!1), y = f(!1), v = f(!1), z = f(null), T = f(""), m = f({}), d = M({}), h = M({ max: 5, min: 0.5, value: 1, ration: "100%" }), j = () => {
|
|
498
498
|
g.value = !1, s.setPaper(d.width || 210, d.height || 296.6);
|
|
499
499
|
}, V = async (n) => {
|
|
500
500
|
const t = m.value;
|
|
@@ -507,29 +507,29 @@ 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
|
+
F("onClose");
|
|
511
|
+
}, F = 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
|
-
},
|
|
515
|
-
await
|
|
514
|
+
}, q = async () => {
|
|
515
|
+
await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
|
|
516
516
|
}, L = async () => {
|
|
517
517
|
y.value = !0;
|
|
518
518
|
}, Y = async () => {
|
|
519
|
-
await
|
|
519
|
+
await O.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(P), y.value = !1);
|
|
520
520
|
}, G = async () => {
|
|
521
521
|
C.value = !0;
|
|
522
522
|
const n = {};
|
|
523
523
|
ht(() => {
|
|
524
524
|
z.value.show(s, n, d.width || 220);
|
|
525
525
|
});
|
|
526
|
-
},
|
|
526
|
+
}, K = (n) => {
|
|
527
527
|
if (n !== "customize") {
|
|
528
|
-
const { width: t, height: p } =
|
|
528
|
+
const { width: t, height: p } = Q(n);
|
|
529
529
|
d.width = t, d.height = p, s.setPaper(d.width, d.height);
|
|
530
530
|
} else
|
|
531
531
|
g.value = !0;
|
|
532
|
-
},
|
|
532
|
+
}, Q = (n) => ({
|
|
533
533
|
A3: { width: 420, height: 296.6 },
|
|
534
534
|
A4: { width: 210, height: 296.6 },
|
|
535
535
|
A5: { width: 210, height: 147.6 },
|
|
@@ -537,7 +537,7 @@ const xt = {
|
|
|
537
537
|
trisection: { width: 241, height: 93 }
|
|
538
538
|
})[n];
|
|
539
539
|
return ot(() => {
|
|
540
|
-
const { record: n } =
|
|
540
|
+
const { record: n } = I;
|
|
541
541
|
v.value = !0, m.value = ft(n, !0);
|
|
542
542
|
const t = n.templateContent ? JSON.parse(n.templateContent) : xt;
|
|
543
543
|
$("#hiprint-printTemplate").empty(), u.print.init({
|
|
@@ -560,7 +560,7 @@ const xt = {
|
|
|
560
560
|
}), nt(() => {
|
|
561
561
|
u = null, s = null;
|
|
562
562
|
}), (n, t) => {
|
|
563
|
-
const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"),
|
|
563
|
+
const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"), X = r("el-popover"), k = r("vxe-button"), Z = r("el-space"), c = r("el-row"), a = r("el-col"), b = r("el-card"), tt = r("vxe-textarea"), et = r("vxe-modal"), lt = pt("spinning");
|
|
564
564
|
return at((w(), N("div", wt, [
|
|
565
565
|
l(b, { class: "design-panel-contain" }, {
|
|
566
566
|
default: i(() => [
|
|
@@ -583,10 +583,10 @@ const xt = {
|
|
|
583
583
|
placeholder: "Select Paper",
|
|
584
584
|
class: "ml-1 mr-1",
|
|
585
585
|
style: { width: "100px !important" },
|
|
586
|
-
onChange: t[1] || (t[1] = (o) =>
|
|
586
|
+
onChange: t[1] || (t[1] = (o) => K(m.value.paperType))
|
|
587
587
|
}, {
|
|
588
588
|
default: i(() => [
|
|
589
|
-
(w(!0), N(rt, null, st(dt(
|
|
589
|
+
(w(!0), N(rt, null, st(dt(R)["SU.PRINT.PAPER"].children, (o) => (w(), S(E, {
|
|
590
590
|
key: o.dictCode,
|
|
591
591
|
label: o.dictName,
|
|
592
592
|
value: o.dictCode
|
|
@@ -600,7 +600,7 @@ const xt = {
|
|
|
600
600
|
]),
|
|
601
601
|
_: 1
|
|
602
602
|
}, 8, ["modelValue"]),
|
|
603
|
-
m.value.paperType === "customize" ? (w(), S(
|
|
603
|
+
m.value.paperType === "customize" ? (w(), S(X, {
|
|
604
604
|
key: 0,
|
|
605
605
|
visible: g.value,
|
|
606
606
|
"onUpdate:visible": t[5] || (t[5] = (o) => g.value = o),
|
|
@@ -614,7 +614,7 @@ const xt = {
|
|
|
614
614
|
l(p, {
|
|
615
615
|
icon: "ri-font-size",
|
|
616
616
|
content: "customSize",
|
|
617
|
-
|
|
617
|
+
onTap: t[4] || (t[4] = ct((o) => g.value = !0, ["stop"]))
|
|
618
618
|
})
|
|
619
619
|
]),
|
|
620
620
|
default: i(() => [
|
|
@@ -652,7 +652,7 @@ const xt = {
|
|
|
652
652
|
auth: "import",
|
|
653
653
|
onTap: t[6] || (t[6] = (o) => L())
|
|
654
654
|
}),
|
|
655
|
-
l(
|
|
655
|
+
l(k, {
|
|
656
656
|
icon: "ri-indeterminate-circle-line ",
|
|
657
657
|
class: "design-custom-button",
|
|
658
658
|
onClick: t[7] || (t[7] = (o) => A("N"))
|
|
@@ -664,7 +664,7 @@ const xt = {
|
|
|
664
664
|
align: "center",
|
|
665
665
|
style: { width: "70px", "margin-left": "10px" }
|
|
666
666
|
}, null, 8, ["modelValue"]),
|
|
667
|
-
l(
|
|
667
|
+
l(k, {
|
|
668
668
|
icon: "ri-add-circle-fill ",
|
|
669
669
|
class: "design-custom-button",
|
|
670
670
|
onClick: t[9] || (t[9] = (o) => A("Y"))
|
|
@@ -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) => q())
|
|
678
678
|
})
|
|
679
679
|
]),
|
|
680
680
|
e("div", null, [
|
|
@@ -710,7 +710,7 @@ const xt = {
|
|
|
710
710
|
default: i(() => [
|
|
711
711
|
l(c, { class: "drag_item_title" }, {
|
|
712
712
|
default: i(() => t[17] || (t[17] = [
|
|
713
|
-
|
|
713
|
+
U("拖拽组件列表")
|
|
714
714
|
])),
|
|
715
715
|
_: 1
|
|
716
716
|
}),
|
|
@@ -738,8 +738,7 @@ const xt = {
|
|
|
738
738
|
}),
|
|
739
739
|
l(a, {
|
|
740
740
|
span: 12,
|
|
741
|
-
class: "drag_item_box"
|
|
742
|
-
tid: "defaultModule.text"
|
|
741
|
+
class: "drag_item_box"
|
|
743
742
|
}, {
|
|
744
743
|
default: i(() => t[19] || (t[19] = [
|
|
745
744
|
e("div", null, [
|
|
@@ -785,8 +784,7 @@ const xt = {
|
|
|
785
784
|
}),
|
|
786
785
|
l(a, {
|
|
787
786
|
span: 12,
|
|
788
|
-
class: "drag_item_box"
|
|
789
|
-
tid: "defaultModule.text"
|
|
787
|
+
class: "drag_item_box"
|
|
790
788
|
}, {
|
|
791
789
|
default: i(() => t[21] || (t[21] = [
|
|
792
790
|
e("div", null, [
|
|
@@ -809,7 +807,7 @@ const xt = {
|
|
|
809
807
|
}),
|
|
810
808
|
l(c, { class: "drag_item_title" }, {
|
|
811
809
|
default: i(() => t[22] || (t[22] = [
|
|
812
|
-
|
|
810
|
+
U("辅助")
|
|
813
811
|
])),
|
|
814
812
|
_: 1
|
|
815
813
|
}),
|