@utogether/udp-core 1.0.1-beta.9 → 1.0.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 +37 -39
- package/dist/{403-BOzKHdlm.js → 403-B1rIjAAu.js} +6 -6
- package/dist/{404-uwgt4Nll.js → 404-mBqc2y4t.js} +4 -4
- package/dist/{500-4HBf6V9m.js → 500-BoI45Zdh.js} +2 -2
- package/dist/{AuthorityInfo-DvbIh1vT.js → AuthorityInfo-B08NBIIn.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BlCPvwXU.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js} +3 -3
- package/dist/{Company-D7Q9BFmr.js → Company-JGGyWEWH.js} +3 -3
- package/dist/{CompanyPanel-C0-PJlrt.js → CompanyPanel-BQ_cCmDx.js} +7 -7
- package/dist/{Department-h2hlXACv.js → Department-z2iO6hwM.js} +10 -10
- package/dist/{DepartmentPanel-B6hDEQpG.js → DepartmentPanel-BtQe7zwU.js} +108 -78
- package/dist/{DesignPanel-cS58-1v9.js → DesignPanel-7mhtVWas.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-LdvLC8VU.js → DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js} +6 -6
- package/dist/{DictView-T3TmpBa8.js → DictView-CjchV2Yk.js} +15 -16
- package/dist/InvOrganization-Pn1O_XP0.js +74 -0
- package/dist/{Org-CnCBDGKF.js → Org-BqytV_vi.js} +1 -1
- package/dist/{Preview-BaktKXB1.js → Preview-CLpUUMay.js} +2 -2
- package/dist/{ReportDefine-5Rb0PO9A.js → ReportDefine-Cz1KtEUF.js} +1 -1
- package/dist/{ReportDesign-DYdkVREA.js → ReportDesign-BaORYud4.js} +13 -13
- package/dist/{ReportQuery-BwhzIXMt.js → ReportQuery-CPCPXiXz.js} +1 -1
- package/dist/{ReportQueryFrom-PHtWwlOe.js → ReportQueryFrom-C_AcrfkJ.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BE5yZNPM.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Bm67ejay.js} +1 -1
- package/dist/{ReportTemplate-DaadVXIi.js → ReportTemplate-CFiNMz79.js} +11 -11
- package/dist/{Role-Dtg3nAmG.js → Role-B-XDoJd5.js} +3 -3
- package/dist/{RoleAssign-DEGtLssH.js → RoleAssign-BolW8YVs.js} +8 -8
- package/dist/{RolePanel-DpUzfE_o.js → RolePanel-2kfs5tw9.js} +1 -1
- package/dist/{RolePanel-CT7BTPmy.js → RolePanel-HilSuYns.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Xyo0YEI0.js → RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Dg2A6DJu.js → RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js} +13 -13
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CyutzDZS.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCTH4RkH.js} +4 -4
- package/dist/{Staff-_NlAGkrh.js → Staff-BTk3whFC.js} +3 -3
- package/dist/{StaffInfo-DVgUvVgd.js → StaffInfo-d3AuSzlA.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-C8hmlFgX.js → StaffInfo.vue_vue_type_script_setup_true_lang-eOL4VlfE.js} +5 -5
- package/dist/{StaffPanel-DKNZE3IE.js → StaffPanel-DV-D4jjz.js} +1 -1
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js +135 -0
- package/dist/{SysUser-kQUf7XKz.js → SysUser-BnjYytws.js} +2 -2
- package/dist/{SysUserPanel-C191uX3U.js → SysUserPanel-CBoyD-Qi.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-PrTlTZR-.js +341 -0
- package/dist/{SystemMenu-DwuSvHnj.js → SystemMenu-kYB_ZaUt.js} +36 -36
- package/dist/{UserInfo-DIsInFld.js → UserInfo-4dx97VBL.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CnvGdbej.js → UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js} +10 -10
- package/dist/{childView-3Bs2UBEw.js → childView-CHPNfTEb.js} +1 -1
- package/dist/{childView-BawyULD7.js → childView-CKA_JgVZ.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-YpWF-p2F.js → childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js} +7 -7
- package/dist/childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js +177 -0
- package/dist/{code-rule-DVaYcn8S.js → code-rule-CbxuZg0-.js} +40 -38
- package/dist/core.es.js +18 -12
- package/dist/{cron-task-xuzP-BpE.js → cron-task-nTOpqQYf.js} +7 -7
- package/dist/flow-task-B07st2aD.js +10 -0
- package/dist/{frameView-Cudt06qS.js → frameView-Z1tPUyCh.js} +1 -1
- package/dist/index-C3q8HoJM.js +4650 -0
- package/dist/{layoutView-BlFTV2jX.js → layoutView--MGA9zUB.js} +1766 -1760
- package/dist/{log-in-e7D5Ss1P.js → log-in-CSYJDA6m.js} +36 -29
- package/dist/log-out-DiwGCg7p.js +130 -0
- package/dist/login-C6Y0ajDp.js +251 -0
- package/dist/{login-log-kqKzKTto.js → login-log-C0V-_l3F.js} +5 -3
- package/dist/{lov-view-B2HaxyMs.js → lov-view-Cmv7wZZ9.js} +6 -6
- package/dist/{menuInfo-BxCTJ1VW.js → menuInfo-UeutJpOa.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CLOPNeUW.js → menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js} +118 -98
- package/dist/{pda-app-DPsAFNiw.js → pda-app-B6w99SJo.js} +10 -10
- package/dist/{resource-Dibb7t8u.js → resource-BybJvUv0.js} +4 -4
- package/dist/{su-welcome-DejR0KkM.js → su-welcome-C1bmxHoY.js} +119 -121
- package/dist/sys-config-BnmIDnCj.js +370 -0
- package/dist/udp-core.css +1 -9
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/index.ts +49 -40
- package/package.json +18 -18
- package/src/App.vue +65 -65
- package/src/api/http.ts +1 -4
- package/src/api/index.ts +4 -2
- package/src/api/user.ts +2 -2
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/SuScrollTree/ScrollPanel.vue +1 -6
- package/src/components/udp/content/index.vue +88 -0
- package/src/components/udp/{form.vue → form/form.vue} +13 -16
- package/src/components/udp/{grid.vue → grid/index.vue} +56 -27
- package/src/components/udp/index.ts +4 -9
- package/src/components/udp/ut-stamp-badge/index.vue +271 -0
- package/src/components/udp/utils.ts +66 -105
- 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 +25 -25
- package/src/layout/components/lay-select-org/index.vue +4 -9
- package/src/layout/components/lay-setting/index.vue +503 -510
- 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 +101 -98
- package/src/layout/components/lay-tag/index.vue +24 -51
- package/src/layout/hooks/useDataThemeChange.ts +1 -1
- package/src/layout/hooks/useNav.ts +176 -173
- package/src/layout/hooks/useTag.ts +227 -233
- package/src/layout/types.ts +93 -92
- package/src/main.ts +115 -119
- package/src/plugins/i18n/en.ts +302 -302
- package/src/plugins/i18n/module/u-workflow.ts +1 -1
- package/src/plugins/i18n/zh.ts +21 -6
- package/src/plugins/vxe-table/index.ts +116 -53
- package/src/plugins/vxe-table/render.tsx +945 -956
- package/src/router/index.ts +17 -17
- package/src/router/modules/flow.ts +35 -0
- package/src/router/modules/home.ts +32 -32
- package/src/router/modules/remaining.ts +58 -58
- package/src/router/utils.ts +420 -377
- package/src/store/modules/app.ts +2 -4
- package/src/store/modules/epTheme.ts +48 -49
- 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 +61 -2
- package/src/utils/dataFormat/index.ts +223 -223
- package/src/utils/index.ts +3 -1
- package/src/utils/lifecycle.ts +39 -20
- package/src/utils/propTypes.ts +1 -6
- package/src/utils/storage/index.ts +2 -2
- package/src/utils/udp/http/index.ts +24 -11
- package/src/utils/udp/http/types.d.ts +3 -10
- package/src/views/login/login-view.vue +4 -18
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/department/Department.vue +58 -58
- package/src/views/organization/department/DepartmentPanel.vue +303 -283
- package/src/views/organization/inv-org/InvOrganization.vue +22 -7
- package/src/views/organization/staff/StaffInfo.vue +127 -133
- package/src/views/organization/staff/StaffPanel.vue +162 -145
- package/src/views/system/cron/cron-task.vue +2 -12
- package/src/views/system/menu/SystemMenu.vue +185 -183
- package/src/views/system/menu/menuInfo.vue +384 -363
- package/src/views/system/role/UserInfo.vue +195 -195
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/role-assign/RolePanel.vue +139 -139
- package/src/views/system/sys/sys-config.vue +69 -20
- package/src/views/system/sysUser/SysUserPanel.vue +97 -28
- package/src/views/uapp/pda/pda-app.vue +208 -208
- package/src/views/udev/coderule/code-rule.vue +132 -121
- package/src/views/udev/dict/DictView.vue +2 -2
- package/src/views/udev/dict/childView.vue +183 -222
- package/src/views/udev/lov/childView.vue +1 -7
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/uhome/components/menu-favorite.vue +314 -331
- package/src/views/uhome/su-welcome.vue +319 -339
- package/src/views/ulogin/login.vue +325 -321
- package/src/views/upms/interface/log-in.vue +100 -106
- package/src/views/upms/interface/log-out.vue +104 -107
- package/src/views/upms/user/login-log.vue +54 -60
- package/src/views/urpt/design/DesignPanel.vue +507 -507
- package/src/views/urpt/design/Preview.vue +1 -0
- package/src/views/urpt/design/ReportDesign.vue +2 -4
- package/src/views/utask/flow-task.vue +18 -0
- package/types/global.d.ts +231 -236
- package/dist/InvOrganization-BVuOhzbt.js +0 -66
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-BOOO6Cek.js +0 -111
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-SwNbAEvW.js +0 -294
- package/dist/childView.vue_vue_type_style_index_0_lang-DWIFCX3X.js +0 -187
- package/dist/index-CKnq5xIa.js +0 -2623
- package/dist/log-out--RRncZhN.js +0 -120
- package/dist/login-CpKykfdf.js +0 -253
- package/dist/sys-config-DiySRWns.js +0 -277
- package/dist/utogether-Dct_14Zk.js +0 -182
- package/src/components/udp/count-down.vue +0 -536
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +0 -251
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +0 -4
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +0 -113
- package/src/components/udp/form-upload.vue +0 -482
- package/src/components/udp/lov.vue +0 -388
- package/src/components/udp/modal-form.vue +0 -189
- package/src/components/udp/modal-grid.vue +0 -288
- package/src/components/udp/upload.vue +0 -423
- package/src/utils/udp/useRender.ts +0 -431
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as v, ref as
|
|
2
|
-
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { defineComponent as v, ref as o, createVNode as l, resolveComponent as c, nextTick as g, createElementBlock as C, openBlock as s, createBlock as k, createCommentVNode as D } from "vue";
|
|
2
|
+
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js";
|
|
3
3
|
import { useRender as E } from "@utogether/utils";
|
|
4
4
|
const y = {
|
|
5
5
|
name: "DictView"
|
|
6
|
-
},
|
|
6
|
+
}, R = /* @__PURE__ */ v({
|
|
7
7
|
...y,
|
|
8
8
|
setup(N) {
|
|
9
|
-
const
|
|
9
|
+
const i = o(null), u = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -16,7 +16,7 @@ const y = {
|
|
|
16
16
|
field: "dictType",
|
|
17
17
|
title: "message.udp.dictType",
|
|
18
18
|
code: "SU.DICT.TYPE"
|
|
19
|
-
}], t = E(),
|
|
19
|
+
}], t = E(), a = [
|
|
20
20
|
{
|
|
21
21
|
type: "checkbox",
|
|
22
22
|
width: 40,
|
|
@@ -66,37 +66,36 @@ const y = {
|
|
|
66
66
|
slots: {
|
|
67
67
|
default: ({
|
|
68
68
|
row: e
|
|
69
|
-
}) => e.id ? [c(
|
|
69
|
+
}) => e.id ? [l(c("ut-button"), {
|
|
70
70
|
content: "lov",
|
|
71
71
|
onClick: () => m(e)
|
|
72
72
|
}, null)] : null
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
], d =
|
|
75
|
+
], d = o(!1), r = o(null), m = (e) => {
|
|
76
76
|
g(() => {
|
|
77
77
|
var n;
|
|
78
78
|
d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
|
|
79
79
|
});
|
|
80
80
|
}, f = () => {
|
|
81
|
-
|
|
81
|
+
i.value.refreshData(), d.value = !1;
|
|
82
82
|
}, p = {
|
|
83
83
|
editActived({
|
|
84
84
|
row: e
|
|
85
85
|
}) {
|
|
86
|
-
l[1].editRender.props.disabled = !!e.id;
|
|
87
86
|
}
|
|
88
87
|
}, h = (e) => e.dictType !== "0";
|
|
89
88
|
return (e, n) => {
|
|
90
|
-
const _ =
|
|
91
|
-
return
|
|
89
|
+
const _ = c("ut-grid");
|
|
90
|
+
return s(), C("div", null, [l(_, {
|
|
92
91
|
ref_key: "xgrid",
|
|
93
|
-
ref:
|
|
94
|
-
items:
|
|
95
|
-
columns:
|
|
92
|
+
ref: i,
|
|
93
|
+
items: u,
|
|
94
|
+
columns: a,
|
|
96
95
|
"check-method": h,
|
|
97
96
|
events: p,
|
|
98
97
|
url: "/upfm/v1/lov"
|
|
99
|
-
}, null, 512), d.value ? (
|
|
98
|
+
}, null, 512), d.value ? (s(), k(T, {
|
|
100
99
|
key: 0,
|
|
101
100
|
show: d.value,
|
|
102
101
|
record: r.value,
|
|
@@ -106,5 +105,5 @@ const y = {
|
|
|
106
105
|
}
|
|
107
106
|
});
|
|
108
107
|
export {
|
|
109
|
-
|
|
108
|
+
R as default
|
|
110
109
|
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as u, ref as m, reactive as c, resolveComponent as g, createBlock as p, openBlock as f } from "vue";
|
|
2
|
+
import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
+
import { useRender as z } from "@utogether/utils";
|
|
4
|
+
import { y as h } from "./index-C3q8HoJM.js";
|
|
5
|
+
const C = {
|
|
6
|
+
name: "InvOrganization"
|
|
7
|
+
}, x = /* @__PURE__ */ u({
|
|
8
|
+
...C,
|
|
9
|
+
setup(k) {
|
|
10
|
+
const t = "/uums/cusOrganization", r = m(null), e = z(), i = [{
|
|
11
|
+
field: "organizationCode",
|
|
12
|
+
title: "message.udp.organizationCode"
|
|
13
|
+
}, {
|
|
14
|
+
field: "organizationName",
|
|
15
|
+
title: "message.udp.organizationName"
|
|
16
|
+
}], a = [{
|
|
17
|
+
type: "checkbox",
|
|
18
|
+
width: 40,
|
|
19
|
+
align: "center"
|
|
20
|
+
}, {
|
|
21
|
+
field: "organizationCode",
|
|
22
|
+
width: 120,
|
|
23
|
+
title: "message.udp.organizationCode",
|
|
24
|
+
required: !0,
|
|
25
|
+
editRender: e.renderInput()
|
|
26
|
+
}, {
|
|
27
|
+
field: "organizationName",
|
|
28
|
+
minWidth: 120,
|
|
29
|
+
title: "message.udp.organizationName",
|
|
30
|
+
required: !0,
|
|
31
|
+
editRender: e.renderInput()
|
|
32
|
+
}, {
|
|
33
|
+
field: "orgName",
|
|
34
|
+
minWidth: 170,
|
|
35
|
+
title: "message.udp.orgName",
|
|
36
|
+
required: !0,
|
|
37
|
+
editRender: e.renderBU()
|
|
38
|
+
}, {
|
|
39
|
+
field: "orgCode",
|
|
40
|
+
width: 110,
|
|
41
|
+
title: "message.udp.orgCode"
|
|
42
|
+
}, {
|
|
43
|
+
field: "enabled",
|
|
44
|
+
width: 80,
|
|
45
|
+
cellRender: e.renderEnabled(d)
|
|
46
|
+
}];
|
|
47
|
+
async function d({
|
|
48
|
+
row: n
|
|
49
|
+
}) {
|
|
50
|
+
const [o] = await _(h().put(t, [n]));
|
|
51
|
+
!o && r.value.refreshData();
|
|
52
|
+
}
|
|
53
|
+
const s = c({
|
|
54
|
+
columns: a
|
|
55
|
+
});
|
|
56
|
+
return (n, o) => {
|
|
57
|
+
const l = g("ut-grid");
|
|
58
|
+
return f(), p(l, {
|
|
59
|
+
ref_key: "xgrid",
|
|
60
|
+
ref: r,
|
|
61
|
+
items: i,
|
|
62
|
+
"default-params": {
|
|
63
|
+
organizationId: "",
|
|
64
|
+
orgId: ""
|
|
65
|
+
},
|
|
66
|
+
columns: s.columns,
|
|
67
|
+
url: t
|
|
68
|
+
}, null, 8, ["columns"]);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
x as default
|
|
74
|
+
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as a, ref as m, resolveComponent as u, createBlock as c
|
|
|
2
2
|
import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { clone as f } from "xe-utils";
|
|
4
4
|
import { useRender as _ } from "@utogether/utils";
|
|
5
|
-
import {
|
|
5
|
+
import { y as h } from "./index-C3q8HoJM.js";
|
|
6
6
|
const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
|
|
7
7
|
...C,
|
|
8
8
|
setup(k) {
|
|
@@ -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-C3q8HoJM.js";
|
|
3
3
|
const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
|
|
4
4
|
__name: "Preview",
|
|
5
5
|
setup(T, { expose: d }) {
|
|
@@ -42,7 +42,7 @@ const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
|
|
|
42
42
|
]);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
}), N = /* @__PURE__ */ k(C, [["__scopeId", "data-v-
|
|
45
|
+
}), N = /* @__PURE__ */ k(C, [["__scopeId", "data-v-e51c0962"]]);
|
|
46
46
|
export {
|
|
47
47
|
N as default
|
|
48
48
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I, ref as s, createVNode as r, Fragment as b, resolveComponent as a, nextTick as q, createElementBlock as x, openBlock as u, withDirectives as w, createBlock as m, createCommentVNode as c, vShow as E } from "vue";
|
|
2
2
|
import { useRender as S, successMessage as $ } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as V } from "@vueuse/core";
|
|
4
4
|
import { t as B } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
|
-
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import {
|
|
7
|
-
const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */
|
|
5
|
+
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js";
|
|
6
|
+
import { y as U } from "./index-C3q8HoJM.js";
|
|
7
|
+
const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ I({
|
|
8
8
|
name: "ReportDesign",
|
|
9
9
|
__name: "ReportDesign",
|
|
10
10
|
setup(F) {
|
|
@@ -61,7 +61,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
61
61
|
slots: {
|
|
62
62
|
default: ({
|
|
63
63
|
row: e
|
|
64
|
-
}) => e.id ? r(
|
|
64
|
+
}) => e.id ? r(b, null, [r(a("ut-button"), {
|
|
65
65
|
content: "design",
|
|
66
66
|
icon: "ri-quill-pen-line",
|
|
67
67
|
onTap: () => k(e)
|
|
@@ -69,12 +69,12 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
69
69
|
content: "copy",
|
|
70
70
|
status: "warning",
|
|
71
71
|
icon: "ri-file-copy-2-fill",
|
|
72
|
-
onTap: () =>
|
|
72
|
+
onTap: () => y(e)
|
|
73
73
|
}, null), r(a("ut-button"), {
|
|
74
74
|
content: "export",
|
|
75
75
|
status: "u-cyan",
|
|
76
76
|
icon: "ri-folder-download-fill",
|
|
77
|
-
onTap: () =>
|
|
77
|
+
onTap: () => R(e)
|
|
78
78
|
}, null)]) : null
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -110,22 +110,22 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
110
110
|
name: "$input"
|
|
111
111
|
},
|
|
112
112
|
span: 24
|
|
113
|
-
}],
|
|
113
|
+
}], y = (e) => {
|
|
114
114
|
t.value.templateContent = e.templateContent, t.value.paperType = e.paperType, i.value = !0;
|
|
115
|
-
},
|
|
115
|
+
}, R = (e) => {
|
|
116
116
|
v(e.templateContent), $("复制成功,快试试右键粘贴吧");
|
|
117
117
|
}, _ = async () => {
|
|
118
118
|
const [e] = await B(g.post(f, [t.value]));
|
|
119
119
|
!e && l.value.refreshData(), i.value = !1;
|
|
120
120
|
}, k = (e) => {
|
|
121
|
-
t.value = e,
|
|
121
|
+
t.value = e, q(() => {
|
|
122
122
|
o.value = !0;
|
|
123
123
|
});
|
|
124
124
|
}, T = {
|
|
125
125
|
editActived({
|
|
126
126
|
row: e
|
|
127
127
|
}) {
|
|
128
|
-
|
|
128
|
+
d[1].editRender.props.disabled = !!e.id, l.value.getInstance().refreshColumn();
|
|
129
129
|
}
|
|
130
130
|
}, N = ({
|
|
131
131
|
row: e
|
|
@@ -133,7 +133,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
133
133
|
t.value = {}, o.value = !1, l.value.refreshData();
|
|
134
134
|
};
|
|
135
135
|
return (e, p) => {
|
|
136
|
-
const P = a("ut-grid"),
|
|
136
|
+
const P = a("ut-grid"), A = a("ut-modal-form");
|
|
137
137
|
return u(), x("div", null, [w(r(P, {
|
|
138
138
|
ref_key: "xgrid",
|
|
139
139
|
ref: l,
|
|
@@ -146,7 +146,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
|
|
|
146
146
|
key: 0,
|
|
147
147
|
record: t.value,
|
|
148
148
|
onOnClose: D
|
|
149
|
-
}, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(
|
|
149
|
+
}, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(A, {
|
|
150
150
|
key: 1,
|
|
151
151
|
record: t.value,
|
|
152
152
|
items: C,
|
|
@@ -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-Bm67ejay.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 {
|
|
6
|
+
import { y as V } from "./index-C3q8HoJM.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",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolveComponent as s, createElementBlock as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolveComponent as s, createElementBlock as O, openBlock as f, createBlock as v, createCommentVNode as h } from "vue";
|
|
2
|
+
import { useI18n as q } 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 {
|
|
5
|
+
import { i as C, y as D } from "./index-C3q8HoJM.js";
|
|
6
6
|
const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
7
7
|
__name: "ReportTemplate",
|
|
8
8
|
setup(W) {
|
|
9
9
|
const {
|
|
10
10
|
t: b
|
|
11
|
-
} =
|
|
11
|
+
} = q(), o = V(), i = r(null), l = r(!1), d = r(!1), g = r({}), u = r([]), a = r({}), R = [{
|
|
12
12
|
field: "templateCode",
|
|
13
13
|
title: "message.urpt.templateCode"
|
|
14
14
|
}, {
|
|
@@ -72,7 +72,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
|
72
72
|
}, null)])]
|
|
73
73
|
}
|
|
74
74
|
}], N = () => {
|
|
75
|
-
if (!
|
|
75
|
+
if (!i.value.getInstance().getCheckboxRecords().length)
|
|
76
76
|
return M(b("message.selectedRecord"));
|
|
77
77
|
u.value = [], u.value.push({
|
|
78
78
|
field: "orgName",
|
|
@@ -87,7 +87,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
|
87
87
|
}), a.value = {}, l.value = !0;
|
|
88
88
|
}, _ = () => {
|
|
89
89
|
if (a.value.orgName) {
|
|
90
|
-
const t =
|
|
90
|
+
const t = i.value.getInstance().getCheckboxRecords(), e = [];
|
|
91
91
|
t.forEach((m) => {
|
|
92
92
|
a.value.orgName.forEach((c) => {
|
|
93
93
|
const n = U(m, !0);
|
|
@@ -115,7 +115,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
|
115
115
|
}], y = (t) => {
|
|
116
116
|
g.value = {
|
|
117
117
|
headerId: t.id
|
|
118
|
-
},
|
|
118
|
+
}, d.value = !0;
|
|
119
119
|
}, P = [{
|
|
120
120
|
code: "copy",
|
|
121
121
|
icon: "ri-file-copy-line",
|
|
@@ -124,9 +124,9 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
|
124
124
|
}];
|
|
125
125
|
return (t, e) => {
|
|
126
126
|
const m = s("ut-grid"), c = s("ut-modal-form"), n = s("ut-modal-grid");
|
|
127
|
-
return f(),
|
|
127
|
+
return f(), O("div", null, [p(m, {
|
|
128
128
|
ref_key: "xgrid",
|
|
129
|
-
ref:
|
|
129
|
+
ref: i,
|
|
130
130
|
items: R,
|
|
131
131
|
buttons: P,
|
|
132
132
|
columns: k,
|
|
@@ -143,7 +143,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
|
143
143
|
title: "单据复制",
|
|
144
144
|
onConfirm: _,
|
|
145
145
|
onClose: e[0] || (e[0] = (T) => l.value = !1)
|
|
146
|
-
}, null, 8, ["record", "items"])) : h("", !0),
|
|
146
|
+
}, null, 8, ["record", "items"])) : h("", !0), d.value ? (f(), v(n, {
|
|
147
147
|
key: 1,
|
|
148
148
|
ref: "xmgrid",
|
|
149
149
|
"default-value": g.value,
|
|
@@ -151,7 +151,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
|
151
151
|
url: "/upms/v1/printTemplateConfigOgn",
|
|
152
152
|
title: "库存组织",
|
|
153
153
|
width: "45%",
|
|
154
|
-
onClose: e[1] || (e[1] = (T) =>
|
|
154
|
+
onClose: e[1] || (e[1] = (T) => d.value = !1)
|
|
155
155
|
}, null, 8, ["default-value"])) : h("", !0)]);
|
|
156
156
|
};
|
|
157
157
|
}
|
|
@@ -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 d } from "./RolePanel.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-CCTH4RkH.js";
|
|
3
|
+
import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js";
|
|
4
|
+
import { _ as p } from "./index-C3q8HoJM.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,15 +1,15 @@
|
|
|
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-CCTH4RkH.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js";
|
|
4
|
+
import { _ as d } from "./index-C3q8HoJM.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) {
|
|
8
|
-
const n = e({}), a = e(!1),
|
|
9
|
-
return t("active", n), t("scrollPanelChange", a), t("treeList",
|
|
8
|
+
const n = e({}), a = e(!1), r = e([]);
|
|
9
|
+
return t("active", n), t("scrollPanelChange", a), t("treeList", r), (c, C) => (_(), i("div", f, [
|
|
10
10
|
o("div", u, [
|
|
11
11
|
s(m, {
|
|
12
|
-
title:
|
|
12
|
+
title: c.$t("SuOrg"),
|
|
13
13
|
"tree-otions": { children: "children", label: "orgName" },
|
|
14
14
|
"default-params": { pageSize: 500 },
|
|
15
15
|
url: "/uums/org"
|
|
@@ -20,7 +20,7 @@ const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, g = { cla
|
|
|
20
20
|
])
|
|
21
21
|
]));
|
|
22
22
|
}
|
|
23
|
-
}),
|
|
23
|
+
}), A = /* @__PURE__ */ d(h, [["__scopeId", "data-v-ee175fa5"]]);
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
A as default
|
|
26
26
|
};
|
|
@@ -4,7 +4,7 @@ import { clone as $ } from "xe-utils";
|
|
|
4
4
|
import { VxeUI as j } from "vxe-pc-ui";
|
|
5
5
|
import { t as v } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
6
|
import { successMessage as _ } from "@utogether/utils";
|
|
7
|
-
import {
|
|
7
|
+
import { y as C } from "./index-C3q8HoJM.js";
|
|
8
8
|
const q = {
|
|
9
9
|
class: "page-content"
|
|
10
10
|
}, d = "/uums/orgRole", X = /* @__PURE__ */ b({
|
|
@@ -64,13 +64,13 @@ const q = {
|
|
|
64
64
|
content: "del",
|
|
65
65
|
status: "danger",
|
|
66
66
|
auth: "del",
|
|
67
|
-
onTap: () =>
|
|
67
|
+
onTap: () => y(o)
|
|
68
68
|
}, null)]
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
const x = () => {
|
|
72
72
|
e.record = {}, e.record.orgId = t.value.id, e.showModalView = !0;
|
|
73
|
-
},
|
|
73
|
+
}, y = async (o) => {
|
|
74
74
|
if (await j.modal.confirm(c("message.tip.del")) === "confirm") {
|
|
75
75
|
const a = {
|
|
76
76
|
orgId: t.value.id,
|
|
@@ -80,7 +80,7 @@ const q = {
|
|
|
80
80
|
const [s] = await v(C().delete(d, a));
|
|
81
81
|
s || _(c("message.operateSuccess")), n.value.refreshData(), e.loading = !1;
|
|
82
82
|
}
|
|
83
|
-
},
|
|
83
|
+
}, D = async (o) => {
|
|
84
84
|
const r = [];
|
|
85
85
|
o.forEach((l) => {
|
|
86
86
|
l.orgId = t.value.id, l.roleId = l.id, r.push(l);
|
|
@@ -91,7 +91,7 @@ const q = {
|
|
|
91
91
|
u.value.showLoading();
|
|
92
92
|
const [s] = await v(C().post(d, a));
|
|
93
93
|
s || (_(), n.value.refreshData(), e.showModalView = !1);
|
|
94
|
-
},
|
|
94
|
+
}, I = (o) => o.roleCode !== "admin", V = (o) => {
|
|
95
95
|
o === "add" && x();
|
|
96
96
|
};
|
|
97
97
|
return (o, r) => {
|
|
@@ -106,7 +106,7 @@ const q = {
|
|
|
106
106
|
buttons: k,
|
|
107
107
|
"auto-load": !1,
|
|
108
108
|
url: d,
|
|
109
|
-
"check-method":
|
|
109
|
+
"check-method": I,
|
|
110
110
|
mode: "form",
|
|
111
111
|
onButtonClick: V
|
|
112
112
|
}, null, 8, ["columns", "default-params", "default-value"]), e.showModalView ? (w(), R(s, {
|
|
@@ -122,7 +122,7 @@ const q = {
|
|
|
122
122
|
width: "60%",
|
|
123
123
|
height: "75%",
|
|
124
124
|
onClose: r[0] || (r[0] = (F) => e.showModalView = !1),
|
|
125
|
-
onConfirm:
|
|
125
|
+
onConfirm: D
|
|
126
126
|
}, null, 8, ["title"])) : S("", !0)])), [[l, e.loading]]);
|
|
127
127
|
};
|
|
128
128
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as S, reactive as I, inject as M, ref as l, watch as B, createVNode as s, Fragment as E, resolveComponent as r, createElementBlock as $, openBlock as d, createBlock as i, createCommentVNode as c } from "vue";
|
|
2
|
-
import { useRender as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as
|
|
5
|
-
import {
|
|
2
|
+
import { useRender as O } from "@utogether/utils";
|
|
3
|
+
import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js";
|
|
4
|
+
import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js";
|
|
5
|
+
import { y as T, i as q } from "./index-C3q8HoJM.js";
|
|
6
6
|
const H = {
|
|
7
7
|
class: "page-content"
|
|
8
8
|
}, K = /* @__PURE__ */ S({
|
|
@@ -14,7 +14,7 @@ const H = {
|
|
|
14
14
|
showModalView: !1,
|
|
15
15
|
showUserView: !1,
|
|
16
16
|
dataStatus: ""
|
|
17
|
-
}), o = M("active"), f =
|
|
17
|
+
}), o = M("active"), f = O(), a = l(null), n = l(""), p = l({}), u = l("");
|
|
18
18
|
B(() => o.value, () => {
|
|
19
19
|
C();
|
|
20
20
|
});
|
|
@@ -70,13 +70,13 @@ const H = {
|
|
|
70
70
|
status: "warning",
|
|
71
71
|
icon: "ri-user-3-line",
|
|
72
72
|
auth: "user",
|
|
73
|
-
onTap: () =>
|
|
73
|
+
onTap: () => D(t)
|
|
74
74
|
}, null), s(r("ut-button"), {
|
|
75
75
|
content: "dispatchAuth",
|
|
76
76
|
status: "success",
|
|
77
77
|
icon: "ri-plane-line",
|
|
78
78
|
auth: "auth",
|
|
79
|
-
onTap: () =>
|
|
79
|
+
onTap: () => y(t)
|
|
80
80
|
}, null)])]
|
|
81
81
|
}
|
|
82
82
|
}], C = () => {
|
|
@@ -88,14 +88,14 @@ const H = {
|
|
|
88
88
|
t === "add" && v(), t === "del" && b();
|
|
89
89
|
}, v = () => {
|
|
90
90
|
var t;
|
|
91
|
-
e.dataStatus = "add", n.value = "post", u.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId =
|
|
91
|
+
e.dataStatus = "add", n.value = "post", u.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId = q().getOrgId, e.showModalView = !0;
|
|
92
92
|
}, k = (t) => {
|
|
93
93
|
n.value = "put", u.value = "/uums/role/singleUpdate", e.dataStatus = "update", e.record = t, e.showModalView = !0;
|
|
94
94
|
}, b = () => {
|
|
95
95
|
a.value.getInstance().commitProxy("delete");
|
|
96
|
-
}, D = (t) => {
|
|
97
|
-
e.record = t, e.showAuthView = !0;
|
|
98
96
|
}, y = (t) => {
|
|
97
|
+
e.record = t, e.showAuthView = !0;
|
|
98
|
+
}, D = (t) => {
|
|
99
99
|
e.record = t, e.showUserView = !0;
|
|
100
100
|
};
|
|
101
101
|
async function A({
|
|
@@ -105,7 +105,7 @@ const H = {
|
|
|
105
105
|
t.enabled = "1";
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
|
-
await
|
|
108
|
+
await T().put("/uums/role/singleUpdate", t), a.value.refreshData();
|
|
109
109
|
}
|
|
110
110
|
const m = () => {
|
|
111
111
|
e.showDrawView = !1, e.showAuthView = !1, e.showUserView = !1;
|
|
@@ -121,13 +121,13 @@ const H = {
|
|
|
121
121
|
url: "/uums/role",
|
|
122
122
|
mode: "form",
|
|
123
123
|
onButtonClick: V
|
|
124
|
-
}, null, 512), e.showAuthView ? (d(), i(
|
|
124
|
+
}, null, 512), e.showAuthView ? (d(), i(P, {
|
|
125
125
|
key: 0,
|
|
126
126
|
show: e.showAuthView,
|
|
127
127
|
record: e.record,
|
|
128
128
|
"data-status": e.dataStatus,
|
|
129
129
|
onOnClose: m
|
|
130
|
-
}, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (d(), i(
|
|
130
|
+
}, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (d(), i(R, {
|
|
131
131
|
key: 1,
|
|
132
132
|
show: e.showUserView,
|
|
133
133
|
record: e.record,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as f, createElementBlock as D, openBlock as v, 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 {
|
|
3
|
-
const
|
|
2
|
+
import { y as j } from "./index-C3q8HoJM.js";
|
|
3
|
+
const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
|
|
4
4
|
__name: "ScrollPanel",
|
|
5
5
|
props: {
|
|
6
6
|
title: {},
|
|
@@ -46,7 +46,7 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
|
|
|
46
46
|
class: "u-scroll-panel",
|
|
47
47
|
onClick: O(P, ["prevent"])
|
|
48
48
|
}, [
|
|
49
|
-
a("div",
|
|
49
|
+
a("div", M, [
|
|
50
50
|
a("h2", null, _(l.title), 1),
|
|
51
51
|
l.showAllButton ? (v(), C(e, {
|
|
52
52
|
key: 0,
|
|
@@ -64,7 +64,7 @@ const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scro
|
|
|
64
64
|
onClick: m
|
|
65
65
|
})
|
|
66
66
|
]),
|
|
67
|
-
a("div",
|
|
67
|
+
a("div", $, [
|
|
68
68
|
y(E, {
|
|
69
69
|
ref_key: "tree",
|
|
70
70
|
ref: o,
|
|
@@ -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-CCTH4RkH.js";
|
|
3
|
+
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js";
|
|
4
|
+
import { _ as p } from "./index-C3q8HoJM.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,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, ref as u, onMounted as D, resolveComponent as r, createElementBlock as E, openBlock as k, createVNode as n, withCtx as f } from "vue";
|
|
2
|
-
import { useRender as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { useRender as F } from "@utogether/utils";
|
|
3
|
+
import { y as _ } from "./index-C3q8HoJM.js";
|
|
4
|
+
const T = { class: "config" }, x = /* @__PURE__ */ b({
|
|
5
5
|
__name: "StaffInfo",
|
|
6
6
|
props: {
|
|
7
7
|
show: { type: Boolean, default: !0 },
|
|
@@ -10,7 +10,7 @@ const F = { class: "config" }, x = /* @__PURE__ */ b({
|
|
|
10
10
|
},
|
|
11
11
|
emits: ["onClose"],
|
|
12
12
|
setup(v, { emit: y }) {
|
|
13
|
-
const i = v, t =
|
|
13
|
+
const i = v, t = F(), d = u({}), p = u(null), l = u(!1), R = { userName: "userName", userId: "id" }, w = { disabled: i.dataStatus !== "add" }, g = [
|
|
14
14
|
{
|
|
15
15
|
field: "employeeCode",
|
|
16
16
|
required: !0,
|
|
@@ -57,7 +57,7 @@ const F = { class: "config" }, x = /* @__PURE__ */ b({
|
|
|
57
57
|
d.value = i.record;
|
|
58
58
|
}), (e, o) => {
|
|
59
59
|
const a = r("ut-form"), s = r("el-divider"), c = r("ut-button"), S = r("el-row"), h = r("el-drawer");
|
|
60
|
-
return k(), E("div",
|
|
60
|
+
return k(), E("div", T, [
|
|
61
61
|
n(h, {
|
|
62
62
|
"model-value": e.show,
|
|
63
63
|
"before-close": m,
|