@utogether/udp-core 2.0.0-beta.3 → 2.0.0-beta.5

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.
Files changed (134) hide show
  1. package/dist/{403-CxOqlq0f.js → 403-y4Id7pky.js} +1 -1
  2. package/dist/{404-xdB6lFeQ.js → 404-DdxstlUr.js} +1 -1
  3. package/dist/{500-C94bRK2S.js → 500-BpsDn21g.js} +1 -1
  4. package/dist/{AuthorityInfo-Dy3b_nFN.js → AuthorityInfo-0CnlrZVd.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js} +1 -1
  6. package/dist/{Company-gKkfnhLt.js → Company-BPAqJfZm.js} +3 -3
  7. package/dist/{CompanyPanel-BF5Pc35s.js → CompanyPanel-CCeM96w4.js} +7 -7
  8. package/dist/{Department-D0I3QVZe.js → Department-BsLrIIrS.js} +3 -3
  9. package/dist/{DepartmentPanel-2LHODgc7.js → DepartmentPanel-B2YqwLmq.js} +20 -20
  10. package/dist/{DesignPanel-CtF3cAAQ.js → DesignPanel-CVSOCMvU.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js → DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js} +2 -2
  12. package/dist/{DictView-H3V5hxg3.js → DictView-CKVpPtFg.js} +1 -1
  13. package/dist/{InvOrganization-BiGLnbqe.js → InvOrganization-BBODO8aK.js} +1 -1
  14. package/dist/{Org-DQTCQHNY.js → Org-BYRi0OAt.js} +1 -1
  15. package/dist/{Preview-DXaiis29.js → Preview-COI8NwWh.js} +1 -1
  16. package/dist/{ReportDefine-BLh4CiER.js → ReportDefine-Dbh_8ykf.js} +1 -1
  17. package/dist/{ReportDesign-Ni1YxrLC.js → ReportDesign-DOeKYL9V.js} +6 -6
  18. package/dist/{ReportQuery-C8G88_qF.js → ReportQuery-Bb4r9lNR.js} +1 -1
  19. package/dist/{ReportQueryFrom-CuZKPtB4.js → ReportQueryFrom-CavcWtL3.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js} +7 -7
  21. package/dist/{ReportTemplate-DFnDXWmx.js → ReportTemplate-C9NzPxM4.js} +8 -8
  22. package/dist/{Role-BQ7hsfPn.js → Role-Bqt4d9Lz.js} +3 -3
  23. package/dist/{RoleAssign-UPCg2d4G.js → RoleAssign-CWcytVz3.js} +3 -3
  24. package/dist/{RolePanel-CoSXOCZN.js → RolePanel-Di5nsMqt.js} +1 -1
  25. package/dist/{RolePanel-C-mQ5XRq.js → RolePanel-DlU0aCnL.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js → RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js} +7 -7
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js → RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js} +7 -7
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js} +1 -1
  29. package/dist/{Staff-D-CmvG1R.js → Staff-DXr2Ka1N.js} +3 -3
  30. package/dist/{StaffInfo-Idhvuc6e.js → StaffInfo-C6lDK0S_.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js → StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js} +1 -1
  32. package/dist/{StaffPanel-CDDmAYE5.js → StaffPanel-WNpg0HWl.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js → StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js} +8 -8
  34. package/dist/{SysUser-a-j5bppr.js → SysUser-Dph6Qi_a.js} +2 -2
  35. package/dist/{SysUserPanel-6V232wwB.js → SysUserPanel-Iz024NS_.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js} +1 -1
  37. package/dist/{SystemMenu-BnVeOSOQ.js → SystemMenu-6mTYGwbK.js} +6 -6
  38. package/dist/{UserInfo-Cax9b2nw.js → UserInfo-RQ7VgSbk.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js → UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js} +1 -1
  40. package/dist/{childView-DKG3eZo8.js → childView-B8L4By2o.js} +1 -1
  41. package/dist/{childView-siumuBz0.js → childView-nCa8t4tr.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js → childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js} +7 -7
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js → childView.vue_vue_type_style_index_0_lang-DDx9z61J.js} +7 -7
  44. package/dist/{code-rule-Dtoree6F.js → code-rule-8dQLPHni.js} +1 -1
  45. package/dist/core.es.js +10 -10
  46. package/dist/{cron-task-GSRgA7S5.js → cron-task-aDBWT_Uh.js} +1 -1
  47. package/dist/{frameView-Cy6wxW0K.js → frameView-DM3flfo5.js} +1 -1
  48. package/dist/{index-Dc7xWMiC.js → index-ClHeZ3q4.js} +88 -88
  49. package/dist/{layout-home-3Dy4onl4.js → layout-home-DNPOu6R4.js} +27 -23
  50. package/dist/{layoutView-DMjNscJ-.js → layoutView-Ymyja_uK.js} +1 -1
  51. package/dist/{log-in-VAG6Cvcx.js → log-in-DtHf5ZcG.js} +8 -8
  52. package/dist/{log-out-DZGaMCjC.js → log-out-DZ8OkPM6.js} +3 -3
  53. package/dist/{login-CqVMdNHs.js → login-CoX7TNHE.js} +15 -15
  54. package/dist/{lov-view-Cc68_28B.js → lov-view-BWtIPBNm.js} +6 -6
  55. package/dist/{menuInfo-BIrIaJlH.js → menuInfo-wG5Zt00s.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js → menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js} +1 -1
  57. package/dist/{pda-app-DnjphrRS.js → pda-app-9b3JC2he.js} +8 -8
  58. package/dist/{resource-DISgPDM7.js → resource-DiHXYgfm.js} +4 -4
  59. package/dist/{su-welcome-CYYy-dzr-D3RKPoB0.js → su-welcome-COvSPTOW.js} +21215 -21131
  60. package/dist/{sys-config-Yc9vh1t1.js → sys-config-Mm50Y0LQ.js} +12 -12
  61. package/dist/udp-core.css +1 -1
  62. package/package.json +1 -1
  63. package/src/plugins/vxe-table/index.ts +116 -116
  64. package/src/views/system/layout/layout-home.vue +6 -5
  65. package/src/views/ufile/aggregation/File.vue +87 -87
  66. package/src/views/uhome/components/home-todo.vue +6 -6
  67. package/src/views/uhome/su-welcome.vue +2 -4
  68. package/vite.config.ts +0 -1
  69. package/dist/403-WCboRvzZ-ZAPgYStl.js +0 -65
  70. package/dist/404-2V0Qi-d7-DkNwQggp.js +0 -65
  71. package/dist/500-BYfzvixf-CGpEieyQ.js +0 -67
  72. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +0 -4
  73. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +0 -100
  74. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
  75. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
  76. package/dist/Company-B4vsXy2I-CkNCOqjJ.js +0 -25
  77. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +0 -206
  78. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
  79. package/dist/Department-D0dVUrGC-C6HJcYI1.js +0 -25
  80. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +0 -254
  81. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +0 -4
  82. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +0 -1013
  83. package/dist/DictView-BzQLOf_P-DDicwdmM.js +0 -111
  84. package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +0 -74
  85. package/dist/Org-BW1YHG-Q-Cow7JWlD.js +0 -39
  86. package/dist/Preview-DJtVsoq1-CCGidQjJ.js +0 -48
  87. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +0 -10
  88. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +0 -165
  89. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +0 -75
  90. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +0 -4
  91. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +0 -178
  92. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +0 -161
  93. package/dist/Role-ByB0WbxW-5E8Mb148.js +0 -25
  94. package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +0 -26
  95. package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +0 -4
  96. package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +0 -4
  97. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +0 -132
  98. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +0 -154
  99. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +0 -100
  100. package/dist/Staff-CuxzvhD9-D0KTcyRh.js +0 -25
  101. package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +0 -4
  102. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +0 -108
  103. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +0 -4
  104. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +0 -143
  105. package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +0 -15
  106. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +0 -4
  107. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +0 -356
  108. package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +0 -156
  109. package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +0 -4
  110. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +0 -160
  111. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
  112. package/dist/childView-0YZQ6GBn-CEqg7k5d.js +0 -4
  113. package/dist/childView-DKkgi3yo-D47ft-vi.js +0 -4
  114. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +0 -143
  115. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +0 -180
  116. package/dist/code-rule-wQyfgpNL-C4evD4Co.js +0 -148
  117. package/dist/cron-task-C-kryDtd-C0NuGZCe.js +0 -135
  118. package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
  119. package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +0 -44
  120. package/dist/layout-home-CYHksXN_-Basy-3IH.js +0 -228
  121. package/dist/layoutView-BaRvAbIa-xVgfqspc.js +0 -3302
  122. package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +0 -117
  123. package/dist/log-out-COYdxrNC-ftopGZdE.js +0 -130
  124. package/dist/login-Dg9ofNS8-Bocp1XMA.js +0 -241
  125. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
  126. package/dist/lov-view-C0T5prk8-B2DBmn55.js +0 -97
  127. package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +0 -4
  128. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +0 -363
  129. package/dist/pda-app-m9hsppHo-B4xyja1o.js +0 -710
  130. package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
  131. package/dist/resource-C6KEIXu--B_ddyecm.js +0 -97
  132. package/dist/su-welcome-BjbuSrBZ.js +0 -49424
  133. package/dist/sys-config-DCjJGtht-DARDjlrt.js +0 -370
  134. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
@@ -1,147 +0,0 @@
1
- import { defineComponent as w, ref as o, reactive as E, createVNode as d, Fragment as u, resolveComponent as l, createElementBlock as C, openBlock as m, createBlock as v, createCommentVNode as k } from "vue";
2
- import { useRender as I } from "@utogether/utils";
3
- import { clone as b } from "xe-utils";
4
- const T = {
5
- name: "DataSet"
6
- }, N = /* @__PURE__ */ w({
7
- ...T,
8
- setup(g) {
9
- const a = o(null), i = o({}), t = I(), r = E({
10
- paramExt: {},
11
- showChild: !1
12
- }), f = [{
13
- field: "dataSetCode"
14
- }, {
15
- field: "dataSetName"
16
- }], n = [{
17
- type: "checkbox",
18
- width: 50,
19
- align: "center"
20
- }, {
21
- field: "dataSetCode",
22
- required: !0,
23
- width: 150,
24
- editRender: t.renderSelect({
25
- optionProps: {
26
- label: "templateCode",
27
- value: "templateCode"
28
- },
29
- props: {
30
- code: "SYS075",
31
- fetchField: "templateCode"
32
- }
33
- })
34
- }, {
35
- field: "dataSetName",
36
- required: !0,
37
- width: 150,
38
- editRender: t.renderInput()
39
- }, {
40
- field: "dataSetType",
41
- required: !0,
42
- editRender: t.renderDict("SU.DATASET.TYPE"),
43
- formatter: ["formatDict", "SU.DATASET.TYPE"]
44
- }, {
45
- field: "dataSetUrl",
46
- width: 180,
47
- required: !0,
48
- editRender: t.renderInput()
49
- }, {
50
- field: "remark",
51
- minWidth: 80,
52
- editRender: t.renderInput()
53
- }, {
54
- field: "enabled",
55
- width: 80,
56
- formatter: ["formatDict", "SU.ENABLE"]
57
- }, {
58
- field: "operate",
59
- width: 150,
60
- slots: {
61
- default: ({
62
- row: e
63
- }) => e.id ? [
64
- d(u, null, [d(l("ut-button"), {
65
- icon: "ri-save-3-fill",
66
- content: "paramSet",
67
- onClick: () => c(e)
68
- }, null)])
69
- // <ut-button row={row} onTap={() => handleClick(row)} />
70
- ] : null
71
- }
72
- }], p = [{
73
- type: "checkbox",
74
- width: 50,
75
- align: "center"
76
- }, {
77
- field: "seqNo",
78
- editRender: t.renderInput({
79
- props: {
80
- type: "number"
81
- }
82
- })
83
- }, {
84
- field: "paramCode",
85
- editRender: t.renderInput()
86
- }, {
87
- field: "paramName",
88
- editRender: t.renderInput()
89
- }, {
90
- field: "defaultValue",
91
- editRender: t.renderInput()
92
- }, {
93
- field: "isRequired",
94
- required: !0,
95
- editRender: t.renderDict("SU.WHETHER"),
96
- formatter: ["formatDict", "SU.WHETHER"]
97
- }, {
98
- field: "remark",
99
- width: 100,
100
- editRender: t.renderInput()
101
- }, {
102
- field: "operate",
103
- width: 80,
104
- fixed: "right",
105
- slots: {
106
- default: ({
107
- row: e
108
- }) => e.id ? [d(u, null, [d(l("ut-button"), {
109
- row: e
110
- }, null)])] : null
111
- }
112
- }], c = (e) => {
113
- i.value = b(e, !0), r.paramExt = {
114
- dataSetId: e.id
115
- }, r.showChild = !0;
116
- }, s = {
117
- editActived({
118
- row: e,
119
- column: h
120
- }) {
121
- e.id && (n[1].editRender.props.disabled = !0, a.value.refreshColumn());
122
- }
123
- };
124
- return (e, h) => {
125
- const S = l("ut-grid"), R = l("ut-modal-grif");
126
- return m(), C("div", null, [d(S, {
127
- ref_key: "SuGridRef",
128
- ref: a,
129
- items: f,
130
- columns: n,
131
- events: s
132
- }, null, 512), r.showChild ? (m(), v(R, {
133
- key: 0,
134
- record: i.value,
135
- "default-value": r.paramExt,
136
- "default-params": r.paramExt,
137
- columns: p,
138
- title: e.$t("message.paramSet"),
139
- editable: !0,
140
- width: "60%"
141
- }, null, 8, ["record", "default-value", "default-params", "title"])) : k("", !0)]);
142
- };
143
- }
144
- });
145
- export {
146
- N as default
147
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent as m, ref as e, createElementBlock as c, provide as t, openBlock as p, createElementVNode as r, createVNode as a } from "vue";
2
- import { K as i } from "./ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js";
3
- import d from "./DepartmentPanel-e91Lxr1j-BS_A-ILd.js";
4
- import { t as u } from "./su-welcome-BjbuSrBZ.js";
5
- const f = { class: "u-content-panel" }, v = { class: "u-left-panel" }, h = { class: "content" }, _ = /* @__PURE__ */ m({
6
- __name: "Department",
7
- setup(k) {
8
- const n = e({}), o = e(!1), l = e([]);
9
- return t("active", n), t("scrollPanelChange", o), t("treeList", l), (s, C) => (p(), c("div", f, [
10
- r("div", v, [
11
- a(i, {
12
- title: s.$t("department"),
13
- url: "/uums/department/treeDepartment",
14
- "tree-otions": { children: "children", label: "deptName" }
15
- }, null, 8, ["title"])
16
- ]),
17
- r("div", h, [
18
- a(d)
19
- ])
20
- ]));
21
- }
22
- }), E = /* @__PURE__ */ u(_, [["__scopeId", "data-v-a043aab6"]]);
23
- export {
24
- E as default
25
- };
@@ -1,254 +0,0 @@
1
- import { defineComponent as U, reactive as O, inject as V, watch as R, resolveComponent as u, resolveDirective as W, createElementBlock as L, openBlock as l, createVNode as r, withDirectives as Y, createBlock as o, withCtx as c, createCommentVNode as m, unref as y, createElementVNode as s, createTextVNode as z, toDisplayString as G } from "vue";
2
- import { useI18n as H } from "vue-i18n";
3
- import { templateRef as J } from "@vueuse/core";
4
- import { clone as K } from "xe-utils";
5
- import { c as k } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
6
- import { VxeUI as _ } from "vxe-table";
7
- import { warnMessage as Q, successMessage as X } from "@utogether/utils";
8
- import { t as Z, M as ee, B as b, W as te } from "./su-welcome-BjbuSrBZ.js";
9
- const ae = { class: "page-content" }, S = "/uums/department", se = /* @__PURE__ */ U({
10
- __name: "DepartmentPanel",
11
- setup(re) {
12
- const e = O({
13
- record: {},
14
- dataList: [],
15
- loading: !1,
16
- dialogFormVisible: !1,
17
- isChecked: !1,
18
- dataStatus: ""
19
- }), $ = ee().getDataDict, { t: d } = H(), p = te(), N = {
20
- deptName: [
21
- {
22
- required: !0,
23
- message: `${d("message.required")}${d("message.deptName")}`
24
- }
25
- ],
26
- deptCode: [
27
- {
28
- required: !0,
29
- message: `${d("message.required")}${d("message.deptCode")}`
30
- }
31
- ],
32
- deptType: [
33
- {
34
- required: !0,
35
- message: `${d("message.required")}${d("message.deptType")}`
36
- }
37
- ]
38
- }, f = V("active"), D = V("scrollPanelChange");
39
- R(
40
- () => f.value,
41
- (a, t) => {
42
- e.record = f.value, a != null && a.id && t != null && t.id && a !== t && C("detail");
43
- }
44
- );
45
- const F = () => {
46
- var a;
47
- e.dataStatus = "add", e.record = {}, e.record.parentId = (a = f.value) == null ? void 0 : a.id, e.isChecked = !1, e.dialogFormVisible = !0;
48
- }, C = (a) => {
49
- e.dataStatus = a, e.record = K(f.value, !0), e.dialogFormVisible = !0;
50
- }, T = J("xForm", null), q = () => {
51
- T.value.validate(async (a) => {
52
- if (!a) {
53
- const { record: t, dataStatus: i } = e;
54
- e.loading = !0;
55
- const [h] = i === "add" ? await k(p.post(S, t)) : await k(p.put(S, t));
56
- e.loading = !1, h || w();
57
- }
58
- });
59
- }, E = async () => {
60
- const { record: a } = e;
61
- if (a.children.length) return Q(d("message.deletePartment"));
62
- await _.modal.confirm(d("message.tip.del")) === "confirm" && (await p.delete(S, a), w());
63
- }, v = async (a) => {
64
- if (await _.modal.confirm(d("message.tip.confirmSync")) === "confirm") {
65
- const [t] = await k(p.post("/uums/department/syncEwDepartment", { code: a }));
66
- if (t) return;
67
- w();
68
- }
69
- }, w = () => {
70
- D.value = !0, X(d("message.operateSuccess")), I();
71
- }, P = () => {
72
- e.dataStatus === "add" && (e.dialogFormVisible = !1), e.dataStatus = "";
73
- }, I = () => {
74
- e.dialogFormVisible = !1;
75
- };
76
- return (a, t) => {
77
- const i = u("ut-button"), h = u("vxe-toolbar"), x = u("vxe-form-item"), M = u("vxe-form"), g = u("el-row"), A = u("vxe-checkbox"), B = u("el-card"), j = W("spinning");
78
- return l(), L("div", ae, [
79
- r(h, {
80
- perfect: "",
81
- class: ""
82
- }, {
83
- buttons: c(() => [
84
- r(i, {
85
- status: "u-cyan",
86
- icon: "ri-add-line",
87
- content: "add",
88
- auth: "add",
89
- onTap: t[0] || (t[0] = (n) => F())
90
- }),
91
- y(b)("wechat") ? (l(), o(i, {
92
- key: 0,
93
- status: "success",
94
- icon: "ri-refresh-line",
95
- content: "sync",
96
- onTap: t[1] || (t[1] = (n) => v("wechat"))
97
- })) : m("", !0),
98
- y(b)("dingding") ? (l(), o(i, {
99
- key: 1,
100
- status: "success",
101
- icon: "ri-refresh-line",
102
- content: "sync",
103
- onTap: t[2] || (t[2] = (n) => v("dingding"))
104
- })) : m("", !0),
105
- y(b)("OA") ? (l(), o(i, {
106
- key: 2,
107
- status: "success",
108
- icon: "ri-refresh-line",
109
- content: "sync",
110
- onTap: t[3] || (t[3] = (n) => v("OA"))
111
- })) : m("", !0),
112
- r(i, {
113
- status: "primary",
114
- icon: "ri-edit-box-line",
115
- auth: "edit",
116
- content: "edit",
117
- onTap: t[4] || (t[4] = (n) => C("update"))
118
- }),
119
- r(i, {
120
- status: "danger",
121
- icon: "ri-close-fill",
122
- auth: "del",
123
- content: "delete",
124
- onTap: t[5] || (t[5] = (n) => E())
125
- })
126
- ]),
127
- _: 1
128
- }),
129
- e.dialogFormVisible ? Y((l(), o(g, {
130
- key: 0,
131
- type: "flex",
132
- justify: "center",
133
- align: "middle",
134
- class: "w-departInfo-wrapper"
135
- }, {
136
- default: c(() => [
137
- r(B, {
138
- width: "60%",
139
- shadow: "always",
140
- class: "box-card w-card-wrapper"
141
- }, {
142
- default: c(() => [
143
- t[7] || (t[7] = s("div", { class: "clearfix" }, [
144
- s("span", { class: "w-card-title" })
145
- ], -1)),
146
- r(g, null, {
147
- default: c(() => [
148
- r(M, {
149
- ref_key: "xForm",
150
- ref: T,
151
- data: e.record,
152
- rules: N,
153
- "label-width": "90px"
154
- }, {
155
- default: c(() => {
156
- var n;
157
- return [
158
- r(x, {
159
- title: a.$t("message.deptName"),
160
- field: "deptName",
161
- "item-render": { name: "$input", props: { disabled: e.dataStatus === "detail" } },
162
- span: 24
163
- }, null, 8, ["title", "item-render"]),
164
- r(x, {
165
- title: a.$t("message.deptCode"),
166
- field: "deptCode",
167
- "item-render": { name: "$input", props: { disabled: e.dataStatus !== "add" } },
168
- span: 24
169
- }, null, 8, ["title", "item-render"]),
170
- r(x, {
171
- title: a.$t("message.deptType"),
172
- field: "deptType",
173
- "item-render": {
174
- name: "$select",
175
- options: (n = y($)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : n.children,
176
- optionProps: { label: "dictName", value: "dictCode" },
177
- props: { disabled: e.dataStatus === "detail" }
178
- },
179
- span: 24
180
- }, null, 8, ["title", "item-render"])
181
- ];
182
- }),
183
- _: 1
184
- }, 8, ["data"])
185
- ]),
186
- _: 1
187
- }),
188
- r(g, {
189
- type: "flex",
190
- justify: "center"
191
- }, {
192
- default: c(() => [
193
- e.dataStatus === "add" ? (l(), o(A, {
194
- key: 0,
195
- modelValue: e.isChecked,
196
- "onUpdate:modelValue": t[6] || (t[6] = (n) => e.isChecked = n),
197
- style: { "padding-top": "5px", "margin-right": "8px" }
198
- }, {
199
- default: c(() => [
200
- z(G(a.$t("message.udp.continueAdd")), 1)
201
- ]),
202
- _: 1
203
- }, 8, ["modelValue"])) : m("", !0),
204
- e.dataStatus !== "detail" ? (l(), o(i, {
205
- key: 1,
206
- status: "primary",
207
- content: "confirm",
208
- onTap: q
209
- })) : m("", !0),
210
- e.dataStatus !== "detail" ? (l(), o(i, {
211
- key: 2,
212
- status: "warning",
213
- content: "cancel",
214
- onClick: P
215
- })) : m("", !0)
216
- ]),
217
- _: 1
218
- })
219
- ]),
220
- _: 1
221
- })
222
- ]),
223
- _: 1
224
- })), [
225
- [j, e.loading]
226
- ]) : (l(), o(g, {
227
- key: 1,
228
- class: "w-noclick-wrapper"
229
- }, {
230
- default: c(() => t[8] || (t[8] = [
231
- s("div", { class: "w-content-wrapper" }, [
232
- s("ul", null, [
233
- s("li", { class: "w-department-line" }, [
234
- s("div", null, "● 点击新建,新建部门信息。"),
235
- s("div", { style: { margin: "0", "text-indent": "2em" } }, "已点击树结构上的部门名称,默认创建为当前部门的下属部门"),
236
- s("div", { style: { margin: "0", "text-indent": "2em" } }, "未点击树结构上的部门名称,则创建为一级部门")
237
- ]),
238
- s("li", { class: "w-department-line" }, "● 点击树结构上的部门名称,点击修改按钮,修改部门信息。"),
239
- s("li", { class: "w-department-line" }, [
240
- s("div", null, "● 点击树结构上的部门名称,点击删除按钮,删除部门信息。"),
241
- s("div", { style: { "text-indent": "2em" } }, "当部门下有人员存在时,不允许删除部门信息。")
242
- ])
243
- ])
244
- ], -1)
245
- ])),
246
- _: 1
247
- }))
248
- ]);
249
- };
250
- }
251
- }), pe = /* @__PURE__ */ Z(se, [["__scopeId", "data-v-7c92a83d"]]);
252
- export {
253
- pe as default
254
- };
@@ -1,4 +0,0 @@
1
- import { N as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js";
2
- export {
3
- f as default
4
- };