@syzh-syzh/base 0.0.2 → 0.0.47

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 (164) hide show
  1. package/dist/chunks/401-j4EyvUmK.js +1 -0
  2. package/dist/chunks/404-D3fEl7aK.js +1 -0
  3. package/dist/chunks/Cfg-CmDrSedq.js +1 -0
  4. package/dist/chunks/CoordTransform-DNfZ23hn.js +1 -0
  5. package/dist/chunks/Dept-D2gyvvuA.js +1 -0
  6. package/dist/chunks/Depttype-4IeVOowD.js +1 -0
  7. package/dist/chunks/Verify-CwVIhkWv.js +1 -0
  8. package/dist/chunks/app-B6mA21mX.js +1 -0
  9. package/dist/chunks/apps-Bw65HAye.js +1 -0
  10. package/dist/chunks/areadept-sCk7epV5.js +1 -0
  11. package/dist/chunks/cfgtype-CAsc_krj.js +1 -0
  12. package/dist/chunks/col-CM4nDsAc.js +1 -0
  13. package/dist/chunks/daibanevent-Bd5k14P7.js +1 -0
  14. package/dist/chunks/data-ARy_BrQB.js +1 -0
  15. package/dist/chunks/data-mT7F9ePw.js +1 -0
  16. package/dist/chunks/dayjs.min-UluX5XIH.js +1 -0
  17. package/dist/chunks/deptgxfw-ZN-7xaNb.js +1 -0
  18. package/dist/chunks/detail-yK24pSCb.js +1 -0
  19. package/dist/chunks/dict-C_Q6Jtdt.js +1 -0
  20. package/dist/chunks/dict-uIH5FoYg.js +1 -0
  21. package/dist/chunks/dispose-BZfhel8P.js +3 -0
  22. package/dist/chunks/eventfb-BZyCHTy1.js +1 -0
  23. package/dist/chunks/eventsource-Nx0pfrjR.js +1 -0
  24. package/dist/chunks/gaopinevent-DGhgWTPj.js +1 -0
  25. package/dist/chunks/grade-BRFUqQDN.js +1 -0
  26. package/dist/chunks/grid-table-BRJRS7kR.js +1 -0
  27. package/dist/chunks/griddept-BvY32Xvm.js +1 -0
  28. package/dist/chunks/gridgrid-Dzb7IADI.js +1 -0
  29. package/dist/chunks/gridtype-CzNR5J95.js +1 -0
  30. package/dist/chunks/home-sip_sLOi.js +1 -0
  31. package/dist/chunks/index-5kQKMfVX.js +1 -0
  32. package/dist/chunks/index-5wKDfQTd.js +1 -0
  33. package/dist/chunks/index-6aho12l_.js +1 -0
  34. package/dist/chunks/index-B1Wq2Nsi.js +1 -0
  35. package/dist/chunks/index-B48SNYai.js +1 -0
  36. package/dist/chunks/index-B6o7uuV2.js +1 -0
  37. package/dist/chunks/index-B90SaIWD.js +1 -0
  38. package/dist/chunks/index-B9R4U3Ql.js +1 -0
  39. package/dist/chunks/index-BAVnzM6-.js +1 -0
  40. package/dist/chunks/index-BDAjTufv.js +1 -0
  41. package/dist/chunks/index-BFUjCk3-.js +1 -0
  42. package/dist/chunks/index-BLqFUpHB.js +1 -0
  43. package/dist/chunks/index-BTRELOJv.js +1 -0
  44. package/dist/chunks/index-BZBlA6A0.js +1 -0
  45. package/dist/chunks/index-BZLnGnJR.js +1 -0
  46. package/dist/chunks/index-BcfEmSps.js +1 -0
  47. package/dist/chunks/index-Bef9DA2Y.js +1 -0
  48. package/dist/chunks/index-BoXdXXYU.js +1 -0
  49. package/dist/chunks/index-Bp6vn9Zu.js +1 -0
  50. package/dist/chunks/index-BzlIXaGd.js +1 -0
  51. package/dist/chunks/index-C43DJHzn.js +1 -0
  52. package/dist/chunks/index-CAtySbfa.js +1 -0
  53. package/dist/chunks/index-CBMC4Efg.js +1 -0
  54. package/dist/chunks/index-CD2XZ234.js +1 -0
  55. package/dist/chunks/index-CGky5nq_.js +1 -0
  56. package/dist/chunks/index-CK6MIKrr.js +1 -0
  57. package/dist/chunks/index-CL9EW6n7.js +1 -0
  58. package/dist/chunks/index-CSOOwnBM.js +1 -0
  59. package/dist/chunks/index-C_mo-VmL.js +1 -0
  60. package/dist/chunks/index-C_rF0G0X.js +1 -0
  61. package/dist/chunks/index-Cenl5wnH.js +1 -0
  62. package/dist/chunks/index-CietevRR.js +1 -0
  63. package/dist/chunks/index-ClRozZ3f.js +1 -0
  64. package/dist/chunks/index-CosXmJrK.js +1 -0
  65. package/dist/chunks/index-D0lCaN4-.js +1 -0
  66. package/dist/chunks/index-D3u7ufOl.js +1 -0
  67. package/dist/chunks/index-D5EqFLeL.js +1 -0
  68. package/dist/chunks/index-D7VmOCxY.js +1 -0
  69. package/dist/chunks/index-DAiEKetv.js +1 -0
  70. package/dist/chunks/index-DHz5odTm.js +1 -0
  71. package/dist/chunks/index-DQ5vLa7z.js +1 -0
  72. package/dist/chunks/index-DQnikhDQ.js +1 -0
  73. package/dist/chunks/index-DYVh4ioC.js +1 -0
  74. package/dist/chunks/index-D_E7hHcd.js +1 -0
  75. package/dist/chunks/index-Da2kR5xN.js +1 -0
  76. package/dist/chunks/index-De66cRSY.js +1 -0
  77. package/dist/chunks/index-DhgHsSDY.js +1 -0
  78. package/dist/chunks/index-DhprXpJx.js +1 -0
  79. package/dist/chunks/index-DrJ7Hk1E.js +1 -0
  80. package/dist/chunks/index-Dt0Hk7Ha.js +1 -0
  81. package/dist/chunks/index-Dus1LC3L.js +1 -0
  82. package/dist/chunks/index-T4r76trN.js +1 -0
  83. package/dist/chunks/index-aDtsUdzm.js +1 -0
  84. package/dist/chunks/index-pW1ikerM.js +1 -0
  85. package/dist/chunks/index-uy6mQZpQ.js +1 -0
  86. package/dist/chunks/lazyTree-Dk1T7tKk.js +1 -0
  87. package/dist/chunks/logLogin-DR9VFRit.js +1 -0
  88. package/dist/chunks/logMqysmsg-CqFggt3w.js +1 -0
  89. package/dist/chunks/logMsg-CmP890DJ.js +1 -0
  90. package/dist/chunks/logQuartz-nVbHXcSM.js +1 -0
  91. package/dist/chunks/login-STfsSqQ5.js +1 -0
  92. package/dist/chunks/logmqerror-DZ_D4ufg.js +1 -0
  93. package/dist/chunks/logoperate-5wyWD8Ei.js +1 -0
  94. package/dist/chunks/lv-7013hlNW.js +1 -0
  95. package/dist/chunks/maparea-By-PVqCq.js +1 -0
  96. package/dist/chunks/nodeadd-CGm4ntje.js +1 -0
  97. package/dist/chunks/numberbox-Cq9X8weT.js +1 -0
  98. package/dist/chunks/opradd-CAaM6GXY.js +1 -0
  99. package/dist/chunks/oprauthadd-BiYRQybZ.js +1 -0
  100. package/dist/chunks/oprtype-CQE5coRB.js +1 -0
  101. package/dist/chunks/regions-BZ1k62rQ.js +1 -0
  102. package/dist/chunks/regionstype-UpXJ168T.js +1 -0
  103. package/dist/chunks/role-naGWKVRs.js +1 -0
  104. package/dist/chunks/shangbaoevent-BEJIea5w.js +1 -0
  105. package/dist/chunks/shangbaoeventfl-BQvFCnpB.js +1 -0
  106. package/dist/chunks/source-CURy3GKa.js +1 -0
  107. package/dist/chunks/splitpanes-h9OOw7VD.js +1 -0
  108. package/dist/chunks/sysholidays-ncaCMEUO.js +1 -0
  109. package/dist/chunks/sysright-manage-BnCE1RaL.js +1 -0
  110. package/dist/chunks/taskfx-aLyR8BSX.js +1 -0
  111. package/dist/chunks/taskmatter-C45Vt_Z0.js +1 -0
  112. package/dist/chunks/tasknode-BN46qpS_.js +1 -0
  113. package/dist/chunks/tasknodelog-5Q1n5nw3.js +1 -0
  114. package/dist/chunks/tasktype-BUEvmUTD.js +1 -0
  115. package/dist/chunks/title-BgVZSMB-.js +1 -0
  116. package/dist/chunks/tzgg-C0Dto7kO.js +1 -0
  117. package/dist/chunks/tzggtype-BC93Qnhj.js +1 -0
  118. package/dist/chunks/weather-BbafoMY2.js +1 -0
  119. package/dist/chunks/wfEventAdd-CKAoYEp2.js +1 -0
  120. package/dist/chunks/wfclass-DeIb-rv1.js +1 -0
  121. package/dist/chunks/wfdef-KMvv5UzX.js +1 -0
  122. package/dist/chunks/wfeventall-h2QnDarf.js +1 -0
  123. package/dist/chunks/wfeventdone-ydqT-rxo.js +1 -0
  124. package/dist/chunks/wfeventlog-BYLPykTJ.js +1 -0
  125. package/dist/chunks/wfeventtask-C91eSthr.js +1 -0
  126. package/dist/chunks/wfeventyqsqsp-FAAbQ_Hg.js +1 -0
  127. package/dist/chunks/wfjixiao-CNv_68RS.js +1 -0
  128. package/dist/chunks/wfnode-Bq66_RJm.js +1 -0
  129. package/dist/chunks/wfopr-Cuolgu8E.js +1 -0
  130. package/dist/chunks/wfoprcfg-CiRgP2ho.js +1 -0
  131. package/dist/chunks/wfyqsqcfg-B92VfuZs.js +1 -0
  132. package/dist/chunks/wfyqsqcfg-Dy3JpsJW.js +1 -0
  133. package/dist/chunks/wfzdy-CCsA7_4A.js +1 -0
  134. package/dist/resolver.js +1 -24
  135. package/dist/sybase.css +1 -1
  136. package/dist/sybase.js +1 -2748
  137. package/dist/utils.js +1 -0
  138. package/package.json +40 -6
  139. package/dist/chunks/401-CL4u0r_c.js +0 -66
  140. package/dist/chunks/404-kPZw9FCc.js +0 -35
  141. package/dist/chunks/daibanevent-C8JNsrlI.js +0 -65
  142. package/dist/chunks/dayjs.min-B97rgn_L.js +0 -283
  143. package/dist/chunks/dict-C49Ogd-n.js +0 -57009
  144. package/dist/chunks/eventfb-BTFXb03d.js +0 -51
  145. package/dist/chunks/eventsource--BhatYsm.js +0 -91
  146. package/dist/chunks/gaopinevent-B-5K3OFp.js +0 -132
  147. package/dist/chunks/index-BJS7Ejqq.js +0 -768
  148. package/dist/chunks/index-CLnO5o1_.js +0 -1446
  149. package/dist/chunks/index-D8_MkquB.js +0 -762
  150. package/dist/chunks/index-DCeOtd-T.js +0 -651
  151. package/dist/chunks/index-DOll2JRT.js +0 -1106
  152. package/dist/chunks/index-DWhfjjo6.js +0 -31
  153. package/dist/chunks/index-VyUXzwqh.js +0 -426
  154. package/dist/chunks/index-gKvU35v8.js +0 -1617
  155. package/dist/chunks/lazyTree-MjyLwMcY.js +0 -89
  156. package/dist/chunks/login-pu41rAd1.js +0 -173
  157. package/dist/chunks/lv-B7X90WVW.js +0 -5
  158. package/dist/chunks/numberbox-tQsb4wgY.js +0 -29
  159. package/dist/chunks/shangbaoevent-Veamh7z3.js +0 -451
  160. package/dist/chunks/shangbaoeventfl-BJoXH_B5.js +0 -259
  161. package/dist/chunks/sysright-manage-BmiSkG44.js +0 -474
  162. package/dist/chunks/title-NwJCTLeC.js +0 -25
  163. package/dist/chunks/weather-ptB2uA3s.js +0 -65
  164. package/dist/views.js +0 -92
@@ -1,768 +0,0 @@
1
- import { a5 as Me, ap as qe, an as Ae, at as Pe, b4 as De, W as K, b5 as ae, b6 as Ne, m as O, b7 as Re, b8 as Oe, b9 as Te, M as Ee, O as Je, Y as Le } from "./dict-C49Ogd-n.js";
2
- import { ref as _, reactive as Ye, toRefs as $e, resolveComponent as i, resolveDirective as oe, createElementBlock as S, openBlock as s, createVNode as u, withDirectives as V, createCommentVNode as y, unref as t, isRef as z, withCtx as n, Fragment as j, renderList as x, createBlock as r, withKeys as Be, createTextVNode as p, vShow as Fe, createElementVNode as se, toDisplayString as M, nextTick as Qe } from "vue";
3
- import { d as He } from "./dayjs.min-B97rgn_L.js";
4
- import { useRouter as Ke } from "vue-router";
5
- const ze = { class: "app-container" }, We = { class: "dialog-footer" }, nl = {
6
- __name: "index",
7
- setup(Ge) {
8
- const re = He, { sys_menumenu_state: T, sys_menumenu_istoken: W, sys_menumenu_isshow: Ie, sys_menumenu_opentypeid: G } = Me("sys_menu@menu_state", "sys_menu@menu_istoken", "sys_menu@menu_isshow", "sys_menu@menu_opentypeid"), I = _([]), g = _(!1), q = _(!0), A = _(!0), E = _(""), J = _([]), L = _(!1), Y = _(!0), ie = Ye({
9
- form: {},
10
- queryParams: {
11
- menu_appsid: void 0,
12
- selectinfo: void 0,
13
- menu_state: void 0,
14
- visible: void 0
15
- },
16
- rules: {
17
- menu_name: [{ required: !0, message: "菜单名称不能为空", trigger: "blur" }],
18
- menu_no: [{ required: !0, message: "菜单编号不能为空", trigger: "blur" }],
19
- menu_opentypeid: [{ required: !0, message: "请选择菜单类型", trigger: "blur" }],
20
- menu_state: [{ required: !0, message: "请选择菜单状态", trigger: "blur" }],
21
- menu_url: [{ required: !0, message: "菜单地址不能为空", trigger: "blur" }],
22
- menu_component: [{ required: !0, message: "组件路径不能为空", trigger: "blur" }]
23
- }
24
- }), P = _(), X = _(), { queryParams: v, form: o, rules: me } = $e(ie), de = Ke(), $ = _([]), w = _(), b = _([
25
- { key: "menu_name", label: "菜单名称", visible: !0 },
26
- { key: "menu_no", label: "菜单编号", visible: !0 },
27
- { key: "menu_component", label: "组件路径", visible: !0 },
28
- { key: "menu_url", label: "地址", visible: !0 },
29
- { key: "menu_opentypeid", label: "菜单类型", visible: !0 },
30
- { key: "icon", label: "图标", visible: !0 },
31
- { key: "menu_state", label: "状态", visible: !0 },
32
- { key: "menu_sort", label: "排序", visible: !0 },
33
- { key: "menu_create_time", label: "创建时间", visible: !0 }
34
- ]);
35
- function C() {
36
- q.value = !0, ae(v.value).then((a) => {
37
- I.value = Array.isArray(a) ? a : [], q.value = !1;
38
- });
39
- }
40
- function Z() {
41
- J.value = [], ae({ menu_appsid: v.value.menu_appsid }).then((a) => {
42
- const l = { menuid: 0, menu_name: "主类目", children: [] };
43
- Array.isArray(a) && (l.children = Ee(a, "menuid")), J.value.push(l);
44
- });
45
- }
46
- function pe() {
47
- B(), K(P.value), g.value = !1;
48
- }
49
- function B() {
50
- K(P.value), o.value = {
51
- menu_appsid: w.value,
52
- menuid: void 0,
53
- menu_name: void 0,
54
- menu_note: void 0,
55
- icon: "tree",
56
- menu_json: void 0,
57
- menu_component: void 0,
58
- menu_opentypeid: 1,
59
- // 路由
60
- menu_sort: 0,
61
- menu_istoken: 0,
62
- menu_state: 1,
63
- menu_parentid: void 0,
64
- visible: 0,
65
- menu_isshow: 1
66
- }, v.value.menu_appsid = w.value;
67
- }
68
- function F() {
69
- C();
70
- }
71
- function ee() {
72
- K(X.value), F();
73
- }
74
- function Q(a) {
75
- B(), Z(), a != null && a.menuid ? o.value.menu_parentid = a.menuid : o.value.menu_parentid = 0, g.value = !0, E.value = "添加菜单";
76
- }
77
- function _e() {
78
- Y.value = !1, L.value = !L.value, Qe(() => {
79
- Y.value = !0;
80
- });
81
- }
82
- async function fe(a) {
83
- B(), await Z(), Ne(a.menuid).then((l) => {
84
- let k = l.menu_json ? l.menu_json : void 0, D = {};
85
- k && k.icon && (D.icon = k.icon), o.value = Object.assign(l, D, {
86
- menu_json: k && Object.keys(k).length === 0 ? void 0 : JSON.stringify(k)
87
- }), g.value = !0, E.value = "修改菜单";
88
- });
89
- }
90
- function ve() {
91
- P.value.validate((a) => {
92
- a && (o.value.menuid != null ? Oe(le()).then((l) => {
93
- O.msgSuccess("修改成功"), g.value = !1, C();
94
- }) : Te(le()).then((l) => {
95
- O.msgSuccess("新增成功"), g.value = !1, C();
96
- }));
97
- });
98
- }
99
- function le() {
100
- let a = JSON.parse(JSON.stringify(o.value));
101
- var l;
102
- return Je(a.menu_json) ? l = {} : l = Le(a.menu_json), a.menu_json = l, a;
103
- }
104
- function be(a) {
105
- O.confirm('是否确认删除名称为"' + a.menu_name + '"的数据项?').then(function() {
106
- return Re([a.menuid]);
107
- }).then(() => {
108
- C(), O.msgSuccess("删除成功");
109
- }).catch(() => {
110
- });
111
- }
112
- function ce({ menuid: a }) {
113
- de.push(`/system/menu-manage/sysright-manage/${a}`);
114
- }
115
- function ye() {
116
- q.value = !0, De({}).then((a) => {
117
- a?.records ? ($.value = a.records, w.value = a.records[0].appsid, v.value.menu_appsid = a.records[0].appsid, C()) : $.value = [];
118
- });
119
- }
120
- const ge = (a) => {
121
- w.value = a, v.value.menu_appsid = a, ee();
122
- };
123
- return ye(), (a, l) => {
124
- const k = i("el-tab-pane"), D = i("el-tabs"), h = i("el-input"), m = i("el-form-item"), ke = i("el-option"), Ve = i("el-select"), f = i("el-button"), ne = i("el-form"), d = i("el-col"), we = qe, ue = i("el-row"), c = i("el-table-column"), te = Ae, he = Pe, Se = i("el-table"), Ce = i("el-tree-select"), N = i("el-radio"), R = i("el-radio-group"), Ue = i("el-input-number"), je = i("el-dialog"), U = oe("hasPermi"), xe = oe("loading");
125
- return s(), S("div", ze, [
126
- u(D, {
127
- modelValue: t(w),
128
- "onUpdate:modelValue": l[0] || (l[0] = (e) => z(w) ? w.value = e : null),
129
- class: "demo-tabs",
130
- onTabChange: ge
131
- }, {
132
- default: n(() => [
133
- (s(!0), S(j, null, x(t($), (e) => (s(), r(k, {
134
- key: e.appsid,
135
- label: e.apps_name,
136
- name: e.appsid
137
- }, null, 8, ["label", "name"]))), 128))
138
- ]),
139
- _: 1
140
- }, 8, ["modelValue"]),
141
- V(u(ne, {
142
- model: t(v),
143
- ref_key: "queryRef",
144
- ref: X,
145
- inline: !0
146
- }, {
147
- default: n(() => [
148
- u(m, {
149
- label: "菜单名称",
150
- prop: "selectinfo"
151
- }, {
152
- default: n(() => [
153
- u(h, {
154
- modelValue: t(v).selectinfo,
155
- "onUpdate:modelValue": l[1] || (l[1] = (e) => t(v).selectinfo = e),
156
- placeholder: "请输入菜单名称",
157
- clearable: "",
158
- style: { width: "200px" },
159
- onKeyup: Be(F, ["enter"])
160
- }, null, 8, ["modelValue"])
161
- ]),
162
- _: 1
163
- }),
164
- u(m, {
165
- label: "状态",
166
- prop: "menu_state"
167
- }, {
168
- default: n(() => [
169
- u(Ve, {
170
- modelValue: t(v).menu_state,
171
- "onUpdate:modelValue": l[2] || (l[2] = (e) => t(v).menu_state = e),
172
- placeholder: "请选择状态",
173
- clearable: "",
174
- style: { width: "200px" }
175
- }, {
176
- default: n(() => [
177
- (s(!0), S(j, null, x(t(T), (e) => (s(), r(ke, {
178
- key: e.value,
179
- label: e.label,
180
- value: e.value
181
- }, null, 8, ["label", "value"]))), 128))
182
- ]),
183
- _: 1
184
- }, 8, ["modelValue"])
185
- ]),
186
- _: 1
187
- }),
188
- u(m, null, {
189
- default: n(() => [
190
- u(f, {
191
- type: "primary",
192
- icon: "Search",
193
- onClick: F
194
- }, {
195
- default: n(() => [...l[17] || (l[17] = [
196
- p("搜索", -1)
197
- ])]),
198
- _: 1
199
- }),
200
- u(f, {
201
- icon: "Refresh",
202
- onClick: ee
203
- }, {
204
- default: n(() => [...l[18] || (l[18] = [
205
- p("重置", -1)
206
- ])]),
207
- _: 1
208
- })
209
- ]),
210
- _: 1
211
- })
212
- ]),
213
- _: 1
214
- }, 8, ["model"]), [
215
- [Fe, t(A)]
216
- ]),
217
- u(ue, {
218
- gutter: 10,
219
- class: "mb8"
220
- }, {
221
- default: n(() => [
222
- u(d, { span: 1.5 }, {
223
- default: n(() => [
224
- V((s(), r(f, {
225
- type: "primary",
226
- plain: "",
227
- icon: "Plus",
228
- onClick: Q
229
- }, {
230
- default: n(() => [...l[19] || (l[19] = [
231
- p("新增", -1)
232
- ])]),
233
- _: 1
234
- })), [
235
- [U, ["SysMenuAdd"]]
236
- ])
237
- ]),
238
- _: 1
239
- }),
240
- u(d, { span: 1.5 }, {
241
- default: n(() => [
242
- V((s(), r(f, {
243
- type: "primary",
244
- plain: "",
245
- icon: "Plus",
246
- onClick: Q
247
- }, {
248
- default: n(() => [...l[20] || (l[20] = [
249
- p("新增++", -1)
250
- ])]),
251
- _: 1
252
- })), [
253
- [U, ["SysMenuAdd1"]]
254
- ])
255
- ]),
256
- _: 1
257
- }),
258
- u(d, { span: 1.5 }, {
259
- default: n(() => [
260
- u(f, {
261
- type: "info",
262
- plain: "",
263
- icon: "Sort",
264
- onClick: _e
265
- }, {
266
- default: n(() => [...l[21] || (l[21] = [
267
- p("展开/折叠", -1)
268
- ])]),
269
- _: 1
270
- })
271
- ]),
272
- _: 1
273
- }),
274
- u(we, {
275
- showSearch: t(A),
276
- "onUpdate:showSearch": l[3] || (l[3] = (e) => z(A) ? A.value = e : null),
277
- onQueryTable: C,
278
- columns: t(b)
279
- }, null, 8, ["showSearch", "columns"])
280
- ]),
281
- _: 1
282
- }),
283
- t(Y) ? V((s(), r(Se, {
284
- key: 0,
285
- border: "",
286
- data: t(I),
287
- "row-key": "menuid",
288
- "default-expand-all": t(L),
289
- "tree-props": { children: "children", hasChildren: "hasChildren" }
290
- }, {
291
- default: n(() => [
292
- t(b)[0].visible ? (s(), r(c, {
293
- key: 0,
294
- prop: "menu_name",
295
- label: "菜单名称"
296
- })) : y("", !0),
297
- t(b)[1].visible ? (s(), r(c, {
298
- key: 1,
299
- prop: "menu_no",
300
- label: "菜单编号",
301
- "show-overflow-tooltip": !0
302
- })) : y("", !0),
303
- t(b)[2].visible ? (s(), r(c, {
304
- key: 2,
305
- prop: "menu_component",
306
- label: "组件路径",
307
- "show-overflow-tooltip": !0
308
- })) : y("", !0),
309
- t(b)[3].visible ? (s(), r(c, {
310
- key: 3,
311
- prop: "menu_url",
312
- label: "地址",
313
- "show-overflow-tooltip": !0
314
- })) : y("", !0),
315
- t(b)[4].visible ? (s(), r(c, {
316
- key: 4,
317
- prop: "menu_opentypeid",
318
- label: "菜单类型",
319
- align: "center",
320
- width: "100",
321
- "show-overflow-tooltip": !0
322
- }, {
323
- default: n((e) => [
324
- u(te, {
325
- options: t(G),
326
- value: e.row.menu_state
327
- }, null, 8, ["options", "value"])
328
- ]),
329
- _: 1
330
- })) : y("", !0),
331
- t(b)[5].visible ? (s(), r(c, {
332
- key: 5,
333
- prop: "icon",
334
- label: "图标",
335
- width: "100",
336
- align: "center"
337
- }, {
338
- default: n((e) => [
339
- u(he, {
340
- "icon-class": e.row.menu_json.icon ? e.row.menu_json.icon : ""
341
- }, null, 8, ["icon-class"])
342
- ]),
343
- _: 1
344
- })) : y("", !0),
345
- t(b)[6].visible ? (s(), r(c, {
346
- key: 6,
347
- prop: "menu_state",
348
- align: "center",
349
- width: "100",
350
- label: "状态"
351
- }, {
352
- default: n((e) => [
353
- u(te, {
354
- options: t(T),
355
- value: e.row.menu_state
356
- }, null, 8, ["options", "value"])
357
- ]),
358
- _: 1
359
- })) : y("", !0),
360
- t(b)[7].visible ? (s(), r(c, {
361
- key: 7,
362
- prop: "menu_sort",
363
- label: "排序"
364
- })) : y("", !0),
365
- t(b)[8].visible ? (s(), r(c, {
366
- key: 8,
367
- label: "创建时间",
368
- align: "center",
369
- prop: "menu_create_time"
370
- }, {
371
- default: n((e) => [
372
- se("span", null, M(t(re)(e.row.menu_create_time).format("YYYY-MM-DD HH:mm:ss")), 1)
373
- ]),
374
- _: 1
375
- })) : y("", !0),
376
- u(c, {
377
- label: "操作",
378
- align: "center",
379
- width: "280",
380
- "class-name": "small-padding fixed-width"
381
- }, {
382
- default: n((e) => [
383
- V((s(), r(f, {
384
- link: "",
385
- type: "primary",
386
- icon: "Edit",
387
- onClick: (H) => fe(e.row)
388
- }, {
389
- default: n(() => [...l[22] || (l[22] = [
390
- p("修改", -1)
391
- ])]),
392
- _: 2
393
- }, 1032, ["onClick"])), [
394
- [U, ["SysMenuEdit"]]
395
- ]),
396
- V((s(), r(f, {
397
- link: "",
398
- type: "primary",
399
- icon: "Plus",
400
- onClick: (H) => Q(e.row)
401
- }, {
402
- default: n(() => [...l[23] || (l[23] = [
403
- p("新增", -1)
404
- ])]),
405
- _: 2
406
- }, 1032, ["onClick"])), [
407
- [U, ["SysMenuAdd"]]
408
- ]),
409
- V((s(), r(f, {
410
- link: "",
411
- type: "primary",
412
- onClick: (H) => ce(e.row)
413
- }, {
414
- default: n(() => [...l[24] || (l[24] = [
415
- p("按钮权限", -1)
416
- ])]),
417
- _: 2
418
- }, 1032, ["onClick"])), [
419
- [U, ["sysMenuRight"]]
420
- ]),
421
- V((s(), r(f, {
422
- link: "",
423
- type: "primary",
424
- icon: "Delete",
425
- onClick: (H) => be(e.row)
426
- }, {
427
- default: n(() => [...l[25] || (l[25] = [
428
- p("删除", -1)
429
- ])]),
430
- _: 2
431
- }, 1032, ["onClick"])), [
432
- [U, ["SysMenuDelete"]]
433
- ])
434
- ]),
435
- _: 1
436
- })
437
- ]),
438
- _: 1
439
- }, 8, ["data", "default-expand-all"])), [
440
- [xe, t(q)]
441
- ]) : y("", !0),
442
- u(je, {
443
- title: t(E),
444
- modelValue: t(g),
445
- "onUpdate:modelValue": l[16] || (l[16] = (e) => z(g) ? g.value = e : null),
446
- width: "680px",
447
- draggable: "",
448
- "align-center": "",
449
- "append-to-body": ""
450
- }, {
451
- footer: n(() => [
452
- se("div", We, [
453
- u(f, {
454
- type: "primary",
455
- onClick: ve
456
- }, {
457
- default: n(() => [...l[26] || (l[26] = [
458
- p("确 定", -1)
459
- ])]),
460
- _: 1
461
- }),
462
- u(f, { onClick: pe }, {
463
- default: n(() => [...l[27] || (l[27] = [
464
- p("取 消", -1)
465
- ])]),
466
- _: 1
467
- })
468
- ])
469
- ]),
470
- default: n(() => [
471
- u(ne, {
472
- ref_key: "menuRef",
473
- ref: P,
474
- model: t(o),
475
- rules: t(me),
476
- "label-width": "100px"
477
- }, {
478
- default: n(() => [
479
- u(ue, null, {
480
- default: n(() => [
481
- u(d, { span: 24 }, {
482
- default: n(() => [
483
- u(m, { label: "上级菜单" }, {
484
- default: n(() => [
485
- u(Ce, {
486
- modelValue: t(o).menu_parentid,
487
- "onUpdate:modelValue": l[4] || (l[4] = (e) => t(o).menu_parentid = e),
488
- data: t(J),
489
- props: {
490
- value: "menuid",
491
- label: "menu_name",
492
- children: "children"
493
- },
494
- "value-key": "menuid",
495
- placeholder: "选择上级菜单",
496
- "check-strictly": ""
497
- }, null, 8, ["modelValue", "data"])
498
- ]),
499
- _: 1
500
- })
501
- ]),
502
- _: 1
503
- }),
504
- u(d, { span: 24 }, {
505
- default: n(() => [
506
- u(m, {
507
- label: "菜单类型",
508
- prop: "menu_opentypeid"
509
- }, {
510
- default: n(() => [
511
- u(R, {
512
- modelValue: t(o).menu_opentypeid,
513
- "onUpdate:modelValue": l[5] || (l[5] = (e) => t(o).menu_opentypeid = e)
514
- }, {
515
- default: n(() => [
516
- (s(!0), S(j, null, x(t(G), (e) => (s(), r(N, {
517
- key: e.label,
518
- value: e.value
519
- }, {
520
- default: n(() => [
521
- p(M(e.label), 1)
522
- ]),
523
- _: 2
524
- }, 1032, ["value"]))), 128))
525
- ]),
526
- _: 1
527
- }, 8, ["modelValue"])
528
- ]),
529
- _: 1
530
- })
531
- ]),
532
- _: 1
533
- }),
534
- u(d, { span: 12 }, {
535
- default: n(() => [
536
- u(m, {
537
- prop: "menu_no",
538
- label: "菜单编号"
539
- }, {
540
- default: n(() => [
541
- u(h, {
542
- modelValue: t(o).menu_no,
543
- "onUpdate:modelValue": l[6] || (l[6] = (e) => t(o).menu_no = e),
544
- placeholder: "请输入编号"
545
- }, null, 8, ["modelValue"])
546
- ]),
547
- _: 1
548
- })
549
- ]),
550
- _: 1
551
- }),
552
- u(d, { span: 12 }, {
553
- default: n(() => [
554
- u(m, {
555
- label: "菜单名称",
556
- prop: "menu_name"
557
- }, {
558
- default: n(() => [
559
- u(h, {
560
- modelValue: t(o).menu_name,
561
- "onUpdate:modelValue": l[7] || (l[7] = (e) => t(o).menu_name = e),
562
- placeholder: "请输入菜单名称"
563
- }, null, 8, ["modelValue"])
564
- ]),
565
- _: 1
566
- })
567
- ]),
568
- _: 1
569
- }),
570
- u(d, { span: 12 }, {
571
- default: n(() => [
572
- u(m, {
573
- prop: "menu_component",
574
- label: "组件路径"
575
- }, {
576
- default: n(() => [
577
- u(h, {
578
- modelValue: t(o).menu_component,
579
- "onUpdate:modelValue": l[8] || (l[8] = (e) => t(o).menu_component = e),
580
- placeholder: "请输入组件路径"
581
- }, null, 8, ["modelValue"])
582
- ]),
583
- _: 1
584
- })
585
- ]),
586
- _: 1
587
- }),
588
- u(d, { span: 12 }, {
589
- default: n(() => [
590
- u(m, {
591
- prop: "menu_url",
592
- label: "地址"
593
- }, {
594
- default: n(() => [
595
- u(h, {
596
- modelValue: t(o).menu_url,
597
- "onUpdate:modelValue": l[9] || (l[9] = (e) => t(o).menu_url = e),
598
- placeholder: "请输入地址"
599
- }, null, 8, ["modelValue"])
600
- ]),
601
- _: 1
602
- })
603
- ]),
604
- _: 1
605
- }),
606
- u(d, { span: 12 }, {
607
- default: n(() => [
608
- u(m, {
609
- prop: "menu_json",
610
- label: "数据Json"
611
- }, {
612
- default: n(() => [
613
- u(h, {
614
- modelValue: t(o).menu_json,
615
- "onUpdate:modelValue": l[10] || (l[10] = (e) => t(o).menu_json = e),
616
- placeholder: "请输入JSON信息"
617
- }, null, 8, ["modelValue"])
618
- ]),
619
- _: 1
620
- })
621
- ]),
622
- _: 1
623
- }),
624
- u(d, { span: 12 }, {
625
- default: n(() => [
626
- u(m, {
627
- prop: "menu_istoken",
628
- label: "存在token"
629
- }, {
630
- default: n(() => [
631
- u(R, {
632
- modelValue: t(o).menu_istoken,
633
- "onUpdate:modelValue": l[11] || (l[11] = (e) => t(o).menu_istoken = e)
634
- }, {
635
- default: n(() => [
636
- (s(!0), S(j, null, x(t(W), (e) => (s(), r(N, {
637
- key: e.label,
638
- value: e.value
639
- }, {
640
- default: n(() => [
641
- p(M(e.label), 1)
642
- ]),
643
- _: 2
644
- }, 1032, ["value"]))), 128))
645
- ]),
646
- _: 1
647
- }, 8, ["modelValue"])
648
- ]),
649
- _: 1
650
- })
651
- ]),
652
- _: 1
653
- }),
654
- u(d, { span: 12 }, {
655
- default: n(() => [
656
- u(m, {
657
- prop: "menu_isshow",
658
- label: "是否显示"
659
- }, {
660
- default: n(() => [
661
- u(R, {
662
- modelValue: t(o).menu_isshow,
663
- "onUpdate:modelValue": l[12] || (l[12] = (e) => t(o).menu_isshow = e)
664
- }, {
665
- default: n(() => [
666
- (s(!0), S(j, null, x(t(W), (e) => (s(), r(N, {
667
- key: e.value,
668
- value: e.value
669
- }, {
670
- default: n(() => [
671
- p(M(e.label), 1)
672
- ]),
673
- _: 2
674
- }, 1032, ["value"]))), 128))
675
- ]),
676
- _: 1
677
- }, 8, ["modelValue"])
678
- ]),
679
- _: 1
680
- })
681
- ]),
682
- _: 1
683
- }),
684
- u(d, { span: 12 }, {
685
- default: n(() => [
686
- u(m, {
687
- prop: "menu_state",
688
- label: "菜单状态"
689
- }, {
690
- default: n(() => [
691
- u(R, {
692
- modelValue: t(o).menu_state,
693
- "onUpdate:modelValue": l[13] || (l[13] = (e) => t(o).menu_state = e)
694
- }, {
695
- default: n(() => [
696
- (s(!0), S(j, null, x(t(T), (e) => (s(), r(N, {
697
- key: e.value,
698
- value: e.value
699
- }, {
700
- default: n(() => [
701
- p(M(e.label), 1)
702
- ]),
703
- _: 2
704
- }, 1032, ["value"]))), 128))
705
- ]),
706
- _: 1
707
- }, 8, ["modelValue"])
708
- ]),
709
- _: 1
710
- })
711
- ]),
712
- _: 1
713
- }),
714
- u(d, { span: 12 }, {
715
- default: n(() => [
716
- u(m, {
717
- label: "排序",
718
- prop: "menu_sort"
719
- }, {
720
- default: n(() => [
721
- u(Ue, {
722
- modelValue: t(o).menu_sort,
723
- "onUpdate:modelValue": l[14] || (l[14] = (e) => t(o).menu_sort = e),
724
- "controls-position": "right",
725
- min: 0
726
- }, null, 8, ["modelValue"])
727
- ]),
728
- _: 1
729
- })
730
- ]),
731
- _: 1
732
- }),
733
- u(d, { span: 12 }, {
734
- default: n(() => [
735
- u(m, {
736
- label: "备注",
737
- prop: "menu_note"
738
- }, {
739
- default: n(() => [
740
- u(h, {
741
- modelValue: t(o).menu_note,
742
- "onUpdate:modelValue": l[15] || (l[15] = (e) => t(o).menu_note = e),
743
- autosize: "",
744
- type: "textarea",
745
- placeholder: "请输入备注"
746
- }, null, 8, ["modelValue"])
747
- ]),
748
- _: 1
749
- })
750
- ]),
751
- _: 1
752
- })
753
- ]),
754
- _: 1
755
- })
756
- ]),
757
- _: 1
758
- }, 8, ["model", "rules"])
759
- ]),
760
- _: 1
761
- }, 8, ["title", "modelValue"])
762
- ]);
763
- };
764
- }
765
- };
766
- export {
767
- nl as default
768
- };