@pubinfo/module-rbac 2.2.0-beta.2 → 2.2.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/{ComponentSelect-CYmAgdm3.js → ComponentSelect-CWokGm7B.js} +665 -668
  2. package/dist/{DynamicRoutesForm-CMF3oh8h.js → DynamicRoutesForm-CstxkG5g.js} +2 -2
  3. package/dist/{HoverCard-B-uU48hF.js → HoverCard-ZGaQxL_a.js} +1 -1
  4. package/dist/{IconSelect-CvxGRN_O.js → IconSelect-_oirLsYS.js} +2 -2
  5. package/dist/ImportExport-BVxWc6FR.js +2 -0
  6. package/dist/{ImportExport-CzZssb7_.js → ImportExport-Cy_4EJLq.js} +4 -4
  7. package/dist/{LayoutForm-Bpdyi_2o.js → LayoutForm-_vBGeWiz.js} +3 -3
  8. package/dist/{MetaForm-ZLzLz68d.js → MetaForm-5_KpiusU.js} +4341 -4342
  9. package/dist/{OrgAndPosition-B0RE1Vc_.js → OrgAndPosition-COhhOBJL.js} +2 -2
  10. package/dist/{OrgSelector-C2rPIonI.js → OrgSelector-BX08YC6x.js} +314 -308
  11. package/dist/OrgUserSelector-DmmJMv-T.js +257 -0
  12. package/dist/{ResourceEdit-9fvxbd0K.js → ResourceEdit-3mgwBq-u.js} +9 -9
  13. package/dist/ResourceEdit-CsfgDKOf.js +2 -0
  14. package/dist/{ResourceRelation-IJvXnlpo.js → ResourceRelation-B4652Ceb.js} +3 -3
  15. package/dist/{ResourceRelation-BrluMHdX.js → ResourceRelation-R6cdzbIi.js} +3 -4
  16. package/dist/ResourceSelector-CS6VsQR7.js +237 -0
  17. package/dist/ResourceSelector.css +1 -0
  18. package/dist/{RoleRelation-DuRuQG08.js → RoleRelation-DCIke8tM.js} +2 -2
  19. package/dist/{RoleSelector-BTNYbcC6.js → RoleSelector-AE2dfmlz.js} +2 -2
  20. package/dist/{TenantEdit-Df3gZKLA.js → TenantEdit-KZYEtH3w.js} +4 -4
  21. package/dist/{UserAuthorization-DX7jNDDe.js → UserAuthorization-DOpcNUCm.js} +4 -4
  22. package/dist/{UserEdit-BLb0n7WM.js → UserEdit-BptyAvXG.js} +5 -5
  23. package/dist/{_baseClone-C7vkGgsW.js → _baseClone-YaHrtIbN.js} +1 -1
  24. package/dist/_baseSlice-Ca-qgxJ8.js +9 -0
  25. package/dist/{_initCloneObject-r-eWKqzl.js → _initCloneObject-D4OWzQJP.js} +3 -3
  26. package/dist/_plugin-vue_export-helper-gLzyemvl.js +8 -0
  27. package/dist/{animation_item-Coe-B0jQ.js → animation_item-ugNUvN0t.js} +7 -9
  28. package/dist/api/modules/assist/index.d.ts +0 -1
  29. package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
  30. package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
  31. package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
  32. package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
  33. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
  34. package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
  35. package/dist/{blackWhiteList-d6TVsK48.js → blackWhiteList-SNDF6H2d.js} +9 -9
  36. package/dist/{breadcrumb_setting-DMbvWP5t.js → breadcrumb_setting-DnAbw6Ty.js} +4 -6
  37. package/dist/{cloneDeep-REaxTPsZ.js → cloneDeep-DmYKbzBt.js} +1 -1
  38. package/dist/configData-CSxIdgBO.js +110 -0
  39. package/dist/{createAndEditDataPermission-OunqmBu_.js → createAndEditDataPermission-0LzmHcCV.js} +10 -9
  40. package/dist/{data-permission-2pzeFLxP.js → data-permission-BNwvh8Cy.js} +5 -10
  41. package/dist/{dictionary-DGqlAhRk.js → dictionary-DDTrw8BQ.js} +3 -4
  42. package/dist/{drawerBlackWhiteList-VxyjaBkA.js → drawerBlackWhiteList-dHAREMtd.js} +3 -3
  43. package/dist/{drawerDictionary-DhAB-LV9.js → drawerDictionary-Dq0MnTak.js} +3 -3
  44. package/dist/{drawerDictionaryItem-DYsJzZ2f.js → drawerDictionaryItem-C3XC0ZTH.js} +3 -3
  45. package/dist/{drawerGroup-CTO8Lmbb.js → drawerGroup-BzQHpv61.js} +11 -11
  46. package/dist/drawerOrganization-BvQcr5AP.js +289 -0
  47. package/dist/{drawerPosition-BmM9mLlP.js → drawerPosition-Cc6zxMDa.js} +3 -3
  48. package/dist/{drawerRegion-BD-xc1x2.js → drawerRegion-r3LaT1oP.js} +3 -3
  49. package/dist/{drawerRole-Cjp9iDsa.js → drawerRole-Bh3eb9Hr.js} +4 -4
  50. package/dist/{drawerRole-CgAPM-0g.js → drawerRole-CXDcX8Wv.js} +3 -3
  51. package/dist/{drawerRole-B348x40k.js → drawerRole-saCktlhp.js} +4 -4
  52. package/dist/{group-C6Rj3K5I.js → group-BKjChIg2.js} +4 -7
  53. package/dist/index.css +1 -1
  54. package/dist/index.js +168 -772
  55. package/dist/{isEmpty-2rx9iUQv.js → isEmpty-CxzDo-wx.js} +1 -1
  56. package/dist/{isEqual-CNeQLaCM.js → isEqual-CItLfH0k.js} +1 -1
  57. package/dist/{itemlist-BGe-z1IR.js → itemlist-BowSBoEx.js} +3 -4
  58. package/dist/{layout_setting-Cds3TCHc.js → layout_setting-DOodE1ZC.js} +3 -3
  59. package/dist/{loginHistoryDetail-Coba_ajy.js → loginHistoryDetail-D49ObmJp.js} +2 -2
  60. package/dist/{login_history-CrXkEsHb.js → login_history-Bio4B_vj.js} +3 -5
  61. package/dist/{menu_setting-Br5dOEUk.js → menu_setting-BPqs2Reh.js} +4 -6
  62. package/dist/{operateHistoryDetail-DfDQL5BF.js → operateHistoryDetail-DdEjFBPD.js} +2 -2
  63. package/dist/{operate_history-BtHgPhmF.js → operate_history-KQGzD4rn.js} +3 -5
  64. package/dist/{organization-BbFERZ1l.js → organization-BPJXMIsl.js} +20 -25
  65. package/dist/{other_setting-D92SlFvl.js → other_setting-BmN5mDQu.js} +4 -6
  66. package/dist/{page_animation_setting-Cy2R0vZy.js → page_animation_setting-B0ZMSxPR.js} +4 -4
  67. package/dist/{page_w_setting-DryWrqcx.js → page_w_setting-D4rHkTZk.js} +3 -3
  68. package/dist/{position-B1bqGly6.js → position-Bqcr98mj.js} +2 -3
  69. package/dist/{region-B_n1KXMG.js → region-BYNJ5YPt.js} +3 -4
  70. package/dist/{resource-CPNNd1l0.js → resource-BAjLl4BQ.js} +6 -16
  71. package/dist/{role-CMd7WDRC.js → role-B92mU8Xy.js} +3 -5
  72. package/dist/{role_group-DHh2s911.js → role_group-B8A2VV7y.js} +2 -4
  73. package/dist/{safe_setting-CuTBmUve.js → safe_setting-Ct-ZuM22.js} +7 -8
  74. package/dist/setItem-DEsf8kVv.js +2 -0
  75. package/dist/{setItem-DlhIkIgh.js → setItem-xdOcMJ1t.js} +3 -3
  76. package/dist/{tabbar_setting-CjW9LGPp.js → tabbar_setting-D_yX_4DE.js} +4 -6
  77. package/dist/{tenant-B_vgufMG.js → tenant-C9ecwsxr.js} +3 -4
  78. package/dist/{theme_setting-DMP0_nZ1.js → theme_setting-CVKpSR14.js} +3 -3
  79. package/dist/{toolbar_setting-ClxxvA7R.js → toolbar_setting-D09MJTQ0.js} +4 -6
  80. package/dist/{useAppAndResource-D6WnpUPR.js → useAppAndResource-CBlPPcNy.js} +2 -2
  81. package/dist/{user-BhytPqnx.js → user-DJ35BYay.js} +5 -10
  82. package/dist/{watermark_setting-b3vBYWwY.js → watermark_setting-Cr4Xmwhh.js} +4 -4
  83. package/package.json +4 -4
  84. package/src/api/modules/assist/index.ts +0 -1
  85. package/src/api/modules/assist/qunzujiekou.ts +72 -0
  86. package/src/api/modules/assist/typings.d.ts +17 -129
  87. package/src/api/modules/rbac/gangweijiekou.ts +18 -0
  88. package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
  89. package/src/api/modules/rbac/typings.d.ts +133 -1
  90. package/src/api/modules/rbac/yonghujiekou.ts +122 -0
  91. package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
  92. package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
  93. package/src/components/OrgUserSelector/provider.ts +2 -2
  94. package/src/views/organization/components/drawerOrganization.vue +43 -0
  95. package/dist/ImportExport-b1SnWRLj.js +0 -6
  96. package/dist/ResourceEdit-BMqfJ3aQ.js +0 -13
  97. package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
  98. package/dist/drawerOrganization-DWhTc1fB.js +0 -253
  99. package/dist/setItem-BwXZ5Uqx.js +0 -4
  100. package/src/api/modules/assist/gonggaofuwu.ts +0 -124
  101. /package/dist/{HCheckList-CAhQwX7m.js → HCheckList-D6BkIlte.js} +0 -0
  102. /package/dist/{add-child-DPb_m2by.js → add-child-SqHvzhn2.js} +0 -0
  103. /package/dist/{assist-BRMYD-oT.js → assist-CCEHZYbk.js} +0 -0
  104. /package/dist/{authority-B9wtmsQd.js → authority-DZG6frqG.js} +0 -0
  105. /package/dist/{authorize-DxrutyIG.js → authorize-RS7p0wpP.js} +0 -0
  106. /package/dist/{blacklist-disable-BKSw91qq.js → blacklist-disable-ZtV-YVD4.js} +0 -0
  107. /package/dist/{blacklist-enable-CIB1fOHT.js → blacklist-enable-litWbSHv.js} +0 -0
  108. /package/dist/{browser-chrome-CM60RcrG.js → browser-chrome-BiVlXqFZ.js} +0 -0
  109. /package/dist/{browser-edge-4LBRzooM.js → browser-edge-D5PWVn6o.js} +0 -0
  110. /package/dist/{browser-ie-BF-wqbf6.js → browser-ie-BgsN3Ne3.js} +0 -0
  111. /package/dist/{browser-other-iXJH-9iL.js → browser-other-DMB23plx.js} +0 -0
  112. /package/dist/{browser-safari-CIpt0yPc.js → browser-safari-CvpCuRD1.js} +0 -0
  113. /package/dist/{browserType-Bik20-72.js → browserType-KQp2uAi9.js} +0 -0
  114. /package/dist/{dayjs.min-CJunOGCc.js → dayjs.min-BgJlrzRN.js} +0 -0
  115. /package/dist/{dist-DxAYQq3U.js → dist--qcnkvZ0.js} +0 -0
  116. /package/dist/{edit-Drp8yjRe.js → edit-B3kW-D-h.js} +0 -0
  117. /package/dist/{enum-DS4SGhiF.js → enum-CE12tD9J.js} +0 -0
  118. /package/dist/{enum-CR5ztb5v2.js → enum-CI_B-PzB2.js} +0 -0
  119. /package/dist/{enum-CG0P82pn.js → enum-DPlX5kGz.js} +0 -0
  120. /package/dist/{enum-zdKA3Jy-.js → enum-K9XzmA01.js} +0 -0
  121. /package/dist/{enum-CYCebJeC.js → enum-lpo6KsjD.js} +0 -0
  122. /package/dist/{icard-BULUUV5m.js → icard-CjidQkoC.js} +0 -0
  123. /package/dist/{icon_animation-DuEY1FMm.js → icon_animation-DeNcSU6L.js} +0 -0
  124. /package/dist/{icon_breadcrumb-Y788iP_T.js → icon_breadcrumb-Bpjp0d0O.js} +0 -0
  125. /package/dist/{icon_copyright-C1BER6kq.js → icon_copyright-B8OgrlNo.js} +0 -0
  126. /package/dist/{icon_jt-ICOdrIF6.js → icon_jt-DfKcGg_Q.js} +0 -0
  127. /package/dist/{icon_layout-D_wV9rX3.js → icon_layout-W4bq7wfz.js} +0 -0
  128. /package/dist/{icon_mainpage-Cz6_cxpJ.js → icon_mainpage-C38tMFtH.js} +0 -0
  129. /package/dist/{icon_menu-y7SblUoR.js → icon_menu-CBLk6iMA.js} +0 -0
  130. /package/dist/{icon_page_size-BjwT656E.js → icon_page_size-CYjv-vP3.js} +0 -0
  131. /package/dist/{icon_position_type-CPxcDgmM.js → icon_position_type-IasquxGG.js} +0 -0
  132. /package/dist/{icon_safe_manage-CoqVRBLl.js → icon_safe_manage-CV1MBNKv.js} +0 -0
  133. /package/dist/{icon_screen_scale-DURlkq3C.js → icon_screen_scale-Cu1qHiz_.js} +0 -0
  134. /package/dist/{icon_system_manage-BLXs2CQg.js → icon_system_manage-Lgt_k1uF.js} +0 -0
  135. /package/dist/{icon_tabbar-_0QWhSBV.js → icon_tabbar-DwBJfDbP.js} +0 -0
  136. /package/dist/{icon_toolbar-BXpfu0iq.js → icon_toolbar-DN25KLtF.js} +0 -0
  137. /package/dist/{icon_topbar-DrwvB8Jw.js → icon_topbar-l89sztnQ.js} +0 -0
  138. /package/dist/{icon_watermark-DwNqjAiA.js → icon_watermark-DL6f1aYx.js} +0 -0
  139. /package/dist/{log-center-BrGlNhMd.js → log-center-BfPDO_E8.js} +0 -0
  140. /package/dist/{log-DOMU9MyH.js → log-epFUj_5H.js} +0 -0
  141. /package/dist/{not-data-C-MacYF3.js → not-data-C6xyifvi.js} +0 -0
  142. /package/dist/{org-main-BRMBumDm.js → org-main-BbPnTL9E.js} +0 -0
  143. /package/dist/{org-unmain-0BHnrNdD.js → org-unmain-QSDnl74k.js} +0 -0
  144. /package/dist/{rbac-B59CVHDt.js → rbac-MKC8Y6Bl.js} +0 -0
  145. /package/dist/{remove-BTME2Fhs.js → remove-4enQSlxs.js} +0 -0
  146. /package/dist/{resource-app-D8to3Lkn.js → resource-app-U0GIaRHX.js} +0 -0
  147. /package/dist/{resource-btn-Cz-A_EQF.js → resource-btn-BYZaDWcM.js} +0 -0
  148. /package/dist/{resource-dynamic-BUqWxUiU.js → resource-dynamic-DqIjQcBG.js} +0 -0
  149. /package/dist/{resource-index-D2roT002.js → resource-index-gVQ9qSGV.js} +0 -0
  150. /package/dist/{resource-menu-BRER68rK.js → resource-menu-Cp6r9eRI.js} +0 -0
  151. /package/dist/{resource-micro-Hyucl9de.js → resource-micro-BxycfE8K.js} +0 -0
  152. /package/dist/{resource-nonmenu-7FcPEpHv.js → resource-nonmenu-CvGE_ILo.js} +0 -0
  153. /package/dist/{setting-manage-UHelpLrr.js → setting-manage-BIiyA0Mh.js} +0 -0
  154. /package/dist/{stores-C-zbXsms.js → stores-kAilSV2k.js} +0 -0
  155. /package/dist/{theme-check-mark-DRzx4sTs.js → theme-check-mark-C2J6cCwx.js} +0 -0
  156. /package/dist/{theme-title-BRvQ_qPg.js → theme-title-D5K9nUws.js} +0 -0
  157. /package/dist/{vanilla-picker-2HFham9c.js → vanilla-picker-yba16Mqn.js} +0 -0
  158. /package/dist/{view-Cridj7u2.js → view-Bckjhd1X.js} +0 -0
  159. /package/dist/{zddata-CnvPWtIW.js → zddata-DSibBPmo.js} +0 -0
  160. /package/dist/{zy_checked-C25HQlnr.js → zy_checked-CeABq1Mr.js} +0 -0
  161. /package/dist/{zy_default-B7RKtyqy.js → zy_default-DhiBHEmX.js} +0 -0
@@ -0,0 +1,289 @@
1
+ import { r as e } from "./chunk-WQLz0Won.js";
2
+ import { n as t } from "./OrgUserSelector-DmmJMv-T.js";
3
+ import { n } from "./dist--qcnkvZ0.js";
4
+ import { l as r, n as i, o as a } from "./rbac-MKC8Y6Bl.js";
5
+ import { r as o } from "./configData-CSxIdgBO.js";
6
+ import { createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, isRef as m, openBlock as h, reactive as g, ref as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
7
+ import { message as x } from "ant-design-vue";
8
+ import { Button as S, Drawer as C, Form as w, FormItem as T, Input as E, InputNumber as D, Select as O, Space as k, Switch as A } from "ant-design-vue/es";
9
+ //#region src/views/organization/enum.ts
10
+ var j = /* @__PURE__ */ function(e) {
11
+ return e.AUTHORIZE = "授权", e.ADD = "新增", e.ADDNEXT = "新增下级", e.EDIT = "编辑", e.REMOVE = "删除", e;
12
+ }({}), M = /* @__PURE__ */ function(e) {
13
+ return e.OWNER = "1", e.ALL = "2", e;
14
+ }({}), N = /* @__PURE__ */ function(e) {
15
+ return e[e.ON = 1] = "ON", e[e.OFF = 0] = "OFF", e;
16
+ }({});
17
+ M.OWNER, M.ALL, N.ON, N.OFF;
18
+ //#endregion
19
+ //#region src/views/organization/components/drawerOrganization.vue?vue&type=script&setup=true&lang.ts
20
+ var P = {
21
+ flex: "",
22
+ "items-center": ""
23
+ }, F = {
24
+ key: 0,
25
+ "mr-6px": ""
26
+ }, I = /* @__PURE__ */ p({
27
+ name: "OrganizationEdit",
28
+ __name: "drawerOrganization",
29
+ emits: ["submit"],
30
+ setup(e, { expose: p, emit: M }) {
31
+ let N = M, I = {
32
+ name: [{
33
+ required: !0,
34
+ message: "请输入组织名称",
35
+ trigger: "blur"
36
+ }, {
37
+ max: 128,
38
+ message: "长度不能超过128位",
39
+ trigger: "change"
40
+ }],
41
+ code: [{
42
+ required: !0,
43
+ message: "请输入组织编码",
44
+ trigger: "blur"
45
+ }, {
46
+ max: 50,
47
+ message: "长度不能超过50位",
48
+ trigger: "change"
49
+ }],
50
+ type: [{
51
+ required: !0,
52
+ message: "请输入组织类型",
53
+ trigger: "blur"
54
+ }],
55
+ areaCode: [{
56
+ max: 16,
57
+ message: "长度不能超过16位",
58
+ trigger: "change"
59
+ }],
60
+ creditCode: [{
61
+ max: 50,
62
+ message: "长度不能超过50位",
63
+ trigger: "change"
64
+ }],
65
+ contactPerson: [{
66
+ max: 50,
67
+ message: "长度不能超过50位",
68
+ trigger: "change"
69
+ }],
70
+ contactMobile: [{
71
+ max: 20,
72
+ message: "长度不能超过20位",
73
+ trigger: "change"
74
+ }]
75
+ }, L = g({
76
+ title: "",
77
+ type: ""
78
+ }), [R, z] = n(!1), B = _(), V = _([]);
79
+ o({ dictCode: "orgType" }).then((e) => {
80
+ V.value = e.data?.map((e) => ({
81
+ label: e.dictLabel,
82
+ value: e.dictValue
83
+ }));
84
+ });
85
+ let H = _({
86
+ parentId: "",
87
+ enable: !0
88
+ }), U = _([]);
89
+ async function W(e, t) {
90
+ if (z(!0), L.title = e, U.value = [], e === j.EDIT) {
91
+ let e = await i({ id: t?.id });
92
+ e.success && (H.value = e.data ?? {}, U.value = [{
93
+ orgId: e.data?.leaderUserOrgId ?? "",
94
+ userId: e.data?.leaderUserId ?? "",
95
+ userName: e.data?.leaderUserName ?? ""
96
+ }]);
97
+ } else e === j.ADDNEXT ? H.value = {
98
+ parentName: t?.name,
99
+ parentId: t?.id,
100
+ enable: !0,
101
+ district: !1
102
+ } : H.value = {
103
+ parentId: "",
104
+ enable: !0,
105
+ district: !1
106
+ };
107
+ }
108
+ function G() {
109
+ t({
110
+ modelValue: U.value,
111
+ multiple: !1,
112
+ onSubmit(e = []) {
113
+ U.value = e.map((e) => ({
114
+ orgId: e.orgId,
115
+ userId: e.userId,
116
+ userName: e.userName
117
+ }));
118
+ }
119
+ });
120
+ }
121
+ let [K, q] = n(!1);
122
+ function J() {
123
+ let e = L.title === j.EDIT ? r : a;
124
+ B.value?.validate().then(() => {
125
+ q(!0);
126
+ let t = { ...H.value };
127
+ U.value.length > 0 && (t.leaderUserId = U.value[0].userId, t.leaderUserName = U.value[0].userName, t.leaderUserOrgId = U.value[0].orgId), e(t).then((e) => {
128
+ e.success && (x.success(`${L.title}成功!`), z(!1), N("submit", { ...H.value }));
129
+ }).finally(() => q(!1));
130
+ });
131
+ }
132
+ function Y() {
133
+ H.value = { enable: !1 }, z(!1);
134
+ }
135
+ return p({ open: W }), (e, t) => {
136
+ let n = T, r = E, i = O, a = A, o = D, p = S, g = w, _ = k, x = C;
137
+ return h(), s(x, {
138
+ open: y(R),
139
+ "onUpdate:open": t[11] ||= (e) => m(R) ? R.value = e : null,
140
+ title: `${y(L).title}组织`,
141
+ placement: "right",
142
+ width: 600,
143
+ "destroy-on-close": "",
144
+ "footer-style": { textAlign: "right" },
145
+ onClose: Y
146
+ }, {
147
+ footer: b(() => [f(_, null, {
148
+ default: b(() => [f(p, { onClick: Y }, {
149
+ default: b(() => [...t[13] ||= [d(" 取消 ", -1)]]),
150
+ _: 1
151
+ }), f(p, {
152
+ type: "primary",
153
+ loading: y(K),
154
+ onClick: t[10] ||= (e) => J()
155
+ }, {
156
+ default: b(() => [...t[14] ||= [d(" 提交 ", -1)]]),
157
+ _: 1
158
+ }, 8, ["loading"])]),
159
+ _: 1
160
+ })]),
161
+ default: b(() => [f(g, {
162
+ ref_key: "formRef",
163
+ ref: B,
164
+ model: y(H),
165
+ rules: I,
166
+ "label-col": { span: 6 },
167
+ "label-wrap": !0
168
+ }, {
169
+ default: b(() => [
170
+ y(H).parentId !== "" && y(H).parentId !== "0" ? (h(), s(n, {
171
+ key: 0,
172
+ label: "所属上级"
173
+ }, {
174
+ default: b(() => [d(v(y(H).parentName), 1)]),
175
+ _: 1
176
+ })) : c("", !0),
177
+ f(n, {
178
+ label: "组织名称",
179
+ name: "name"
180
+ }, {
181
+ default: b(() => [f(r, {
182
+ value: y(H).name,
183
+ "onUpdate:value": t[0] ||= (e) => y(H).name = e
184
+ }, null, 8, ["value"])]),
185
+ _: 1
186
+ }),
187
+ f(n, {
188
+ label: "组织编码",
189
+ name: "code"
190
+ }, {
191
+ default: b(() => [f(r, {
192
+ value: y(H).code,
193
+ "onUpdate:value": t[1] ||= (e) => y(H).code = e
194
+ }, null, 8, ["value"])]),
195
+ _: 1
196
+ }),
197
+ f(n, {
198
+ label: "组织类型",
199
+ name: "type"
200
+ }, {
201
+ default: b(() => [f(i, {
202
+ value: y(H).type,
203
+ "onUpdate:value": t[2] ||= (e) => y(H).type = e,
204
+ options: y(V)
205
+ }, null, 8, ["value", "options"])]),
206
+ _: 1
207
+ }),
208
+ f(n, { label: "是否行政区划" }, {
209
+ default: b(() => [f(a, {
210
+ checked: y(H).district,
211
+ "onUpdate:checked": t[3] ||= (e) => y(H).district = e
212
+ }, null, 8, ["checked"])]),
213
+ _: 1
214
+ }),
215
+ y(H).district ? (h(), s(n, {
216
+ key: 1,
217
+ label: "行政区划编码",
218
+ name: "areaCode"
219
+ }, {
220
+ default: b(() => [f(r, {
221
+ value: y(H).areaCode,
222
+ "onUpdate:value": t[4] ||= (e) => y(H).areaCode = e
223
+ }, null, 8, ["value"])]),
224
+ _: 1
225
+ })) : c("", !0),
226
+ f(n, { label: "是否启用" }, {
227
+ default: b(() => [f(a, {
228
+ checked: y(H).enable,
229
+ "onUpdate:checked": t[5] ||= (e) => y(H).enable = e
230
+ }, null, 8, ["checked"])]),
231
+ _: 1
232
+ }),
233
+ f(n, { label: "排序" }, {
234
+ default: b(() => [f(o, {
235
+ value: y(H).sort,
236
+ "onUpdate:value": t[6] ||= (e) => y(H).sort = e
237
+ }, null, 8, ["value"])]),
238
+ _: 1
239
+ }),
240
+ f(n, { label: "组织负责人" }, {
241
+ default: b(() => [u("div", P, [y(U).length > 0 ? (h(), l("span", F, v(y(U)[0]?.userName), 1)) : c("", !0), f(p, {
242
+ type: "primary",
243
+ onClick: G
244
+ }, {
245
+ default: b(() => [...t[12] ||= [d(" 选择负责人 ", -1)]]),
246
+ _: 1
247
+ })])]),
248
+ _: 1
249
+ }),
250
+ f(n, {
251
+ label: "统一社会信用代码",
252
+ name: "creditCode"
253
+ }, {
254
+ default: b(() => [f(r, {
255
+ value: y(H).creditCode,
256
+ "onUpdate:value": t[7] ||= (e) => y(H).creditCode = e
257
+ }, null, 8, ["value"])]),
258
+ _: 1
259
+ }),
260
+ f(n, {
261
+ label: "联系人",
262
+ name: "contactPerson"
263
+ }, {
264
+ default: b(() => [f(r, {
265
+ value: y(H).contactPerson,
266
+ "onUpdate:value": t[8] ||= (e) => y(H).contactPerson = e
267
+ }, null, 8, ["value"])]),
268
+ _: 1
269
+ }),
270
+ f(n, {
271
+ label: "联系方式",
272
+ name: "contactMobile"
273
+ }, {
274
+ default: b(() => [f(r, {
275
+ value: y(H).contactMobile,
276
+ "onUpdate:value": t[9] ||= (e) => y(H).contactMobile = e
277
+ }, null, 8, ["value"])]),
278
+ _: 1
279
+ })
280
+ ]),
281
+ _: 1
282
+ }, 8, ["model"])]),
283
+ _: 1
284
+ }, 8, ["open", "title"]);
285
+ };
286
+ }
287
+ }), L = /* @__PURE__ */ e({ default: () => R }), R = I;
288
+ //#endregion
289
+ export { L as n, j as r, R as t };
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t } from "./dist-DxAYQq3U.js";
3
- import { _t as n, mt as r } from "./rbac-B59CVHDt.js";
4
- import { r as i } from "./index.js";
2
+ import { n as t } from "./dist--qcnkvZ0.js";
3
+ import { _t as n, mt as r } from "./rbac-MKC8Y6Bl.js";
4
+ import { r as i } from "./configData-CSxIdgBO.js";
5
5
  import { createBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, isRef as l, openBlock as u, reactive as d, ref as f, unref as p, withCtx as m } from "vue";
6
6
  import { message as h } from "ant-design-vue";
7
7
  import { Button as g, Drawer as _, Form as v, FormItem as y, Input as b, Select as x, Space as S, Switch as C, Textarea as w } from "ant-design-vue/es";
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t } from "./dist-DxAYQq3U.js";
3
- import { a as n, i as r, r as i } from "./assist-BRMYD-oT.js";
4
- import { r as a } from "./index.js";
2
+ import { n as t } from "./dist--qcnkvZ0.js";
3
+ import { a as n, i as r, r as i } from "./assist-CCEHZYbk.js";
4
+ import { r as a } from "./configData-CSxIdgBO.js";
5
5
  import { createBlock as o, createCommentVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, isRef as d, openBlock as f, reactive as p, ref as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
6
6
  import { message as v } from "ant-design-vue";
7
7
  import { Button as y, Drawer as b, Form as x, FormItem as S, Input as C, InputNumber as w, Select as T, Space as E } from "ant-design-vue/es";
@@ -1,8 +1,8 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t } from "./dist-DxAYQq3U.js";
3
- import { f as n, u as r } from "./rbac-B59CVHDt.js";
4
- import { t as i } from "./useAppAndResource-D6WnpUPR.js";
5
- import { t as a } from "./RoleSelector-BTNYbcC6.js";
2
+ import { n as t } from "./dist--qcnkvZ0.js";
3
+ import { f as n, u as r } from "./rbac-MKC8Y6Bl.js";
4
+ import { t as i } from "./useAppAndResource-CBlPPcNy.js";
5
+ import { t as a } from "./RoleSelector-AE2dfmlz.js";
6
6
  import { Fragment as o, createBlock as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, isRef as p, openBlock as m, reactive as h, ref as g, renderList as _, toDisplayString as v, unref as y, vShow as b, withCtx as x, withDirectives as S } from "vue";
7
7
  import { message as C } from "ant-design-vue";
8
8
  import { Button as w, Drawer as T, Form as E, FormItem as D, Space as O, Switch as k, Tooltip as A } from "ant-design-vue/es";
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t } from "./dist-DxAYQq3U.js";
3
- import { at as n, it as r, nt as i } from "./rbac-B59CVHDt.js";
4
- import { t as a } from "./RoleSelector-BTNYbcC6.js";
2
+ import { n as t } from "./dist--qcnkvZ0.js";
3
+ import { at as n, it as r, nt as i } from "./rbac-MKC8Y6Bl.js";
4
+ import { t as a } from "./RoleSelector-AE2dfmlz.js";
5
5
  import { Fragment as o, createBlock as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, isRef as p, openBlock as m, reactive as h, ref as g, renderList as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
6
6
  import { message as x } from "ant-design-vue";
7
7
  import { Button as S, Drawer as C, Form as w, FormItem as T, Input as E, Space as D, Switch as O, Textarea as k, Tooltip as A } from "ant-design-vue/es";
@@ -1,8 +1,8 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t } from "./dist-DxAYQq3U.js";
3
- import { dt as n, lt as r, ot as i } from "./rbac-B59CVHDt.js";
4
- import { ResourceSelector as a } from "./index.js";
5
- import { t as o } from "./useAppAndResource-D6WnpUPR.js";
2
+ import { n as t } from "./dist--qcnkvZ0.js";
3
+ import { dt as n, lt as r, ot as i } from "./rbac-MKC8Y6Bl.js";
4
+ import { t as a } from "./ResourceSelector-CS6VsQR7.js";
5
+ import { t as o } from "./useAppAndResource-CBlPPcNy.js";
6
6
  import { Fragment as s, createBlock as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, isRef as m, openBlock as h, reactive as g, ref as _, renderList as ee, toDisplayString as v, unref as y, withCtx as b } from "vue";
7
7
  import { message as x } from "ant-design-vue";
8
8
  import { Button as S, Drawer as te, Form as C, FormItem as w, Input as T, Select as E, Space as D, Switch as O, Textarea as k, Tooltip as A } from "ant-design-vue/es";
@@ -1,10 +1,7 @@
1
- import "./request-7X2hpUru.js";
2
- import "./OrgSelector-C2rPIonI.js";
3
- import { c as e, o as t } from "./assist-BRMYD-oT.js";
4
- import "./rbac-B59CVHDt.js";
5
- import { h as n } from "./index.js";
6
- import { t as r } from "./enum-zdKA3Jy-.js";
7
- import { t as i } from "./drawerGroup-CTO8Lmbb.js";
1
+ import { c as e, o as t } from "./assist-CCEHZYbk.js";
2
+ import { t as n } from "./_plugin-vue_export-helper-gLzyemvl.js";
3
+ import { t as r } from "./enum-K9XzmA01.js";
4
+ import { t as i } from "./drawerGroup-BzQHpv61.js";
8
5
  import { PubinfoIcon as a } from "pubinfo";
9
6
  import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
10
7
  import { PlusCircleOutlined as b } from "@ant-design/icons-vue";