ss-component-new 1.1.415 → 1.1.417
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/dist/array-CP-DB-qS.cjs +7 -0
- package/dist/array-CU7_6w0r.js +346 -0
- package/dist/{index-BSAEf__V.js → index-4pgWhRVN.js} +5 -5
- package/dist/{index-DjhZHYH_.cjs → index-B3AJmz_C.cjs} +1 -1
- package/dist/index-B8GEl5H_.cjs +87 -0
- package/dist/{index-BPDslvev.js → index-B8O_p-_G.js} +2 -2
- package/dist/{index-Dm1_86kX.js → index-BF4CXK8w.js} +3 -3
- package/dist/index-BMFW7H3U.cjs +1 -0
- package/dist/{index-BJitBJZu.cjs → index-BVTdPibL.cjs} +2 -2
- package/dist/{index-faxMOO3y.js → index-Bcyk637L.js} +5 -5
- package/dist/{index-CNQtTLfb.cjs → index-BpsdG9J0.cjs} +1 -1
- package/dist/{index-eSv5uzFM.js → index-Bwr24NdY.js} +354 -359
- package/dist/{index-DuwxEG2Y.js → index-C3T7U42Q.js} +11 -11
- package/dist/index-CCEkCHrk.js +1112 -0
- package/dist/{index-DbuzlHfh.js → index-CChV4BPy.js} +10 -10
- package/dist/{index-8nzu3dKT.js → index-CDLCxYbO.js} +4 -4
- package/dist/{index-BHxsT1eb.cjs → index-CEPaQEEW.cjs} +1 -1
- package/dist/{index-AzrB9NlT.js → index-CFD-iDJS.js} +4 -4
- package/dist/{index-VOSN3Mnh.js → index-CHub3JaO.js} +5 -5
- package/dist/{index-CTTEAggF.cjs → index-CIE6JLs1.cjs} +1 -1
- package/dist/index-CJ4l3GaJ.cjs +1 -0
- package/dist/{index-BxHhG5PY.js → index-CLRc75f_.js} +8 -8
- package/dist/{index-DrCpGMdZ.js → index-CMM_ICmU.js} +3 -3
- package/dist/{index-DrUjNhjW.js → index-COlD7pxM.js} +1 -1
- package/dist/index-CPP5Pt28.js +731 -0
- package/dist/{index-DoIHM98M.js → index-CSsv4KqN.js} +1 -1
- package/dist/{index-3dpRV7yS.cjs → index-CTu1NToC.cjs} +1 -1
- package/dist/{index-CdLmmvxi.cjs → index-CVMCiTTv.cjs} +1 -1
- package/dist/{index-BA-Qtevs.cjs → index-CZbhV1ZJ.cjs} +1 -1
- package/dist/{index-CilqH8oC.cjs → index-CZh-SfBL.cjs} +1 -1
- package/dist/{index-BimZK7wy.cjs → index-CcaDRZTq.cjs} +1 -1
- package/dist/{index-CA9lI4P8.js → index-CeBT1Ulw.js} +4 -4
- package/dist/{index-BVuLbYm9.cjs → index-CeVsvY0k.cjs} +1 -1
- package/dist/{index-ZUmqWSaw.cjs → index-ChcZGPnx.cjs} +1 -1
- package/dist/{index-CffNkMWN.cjs → index-CwIH21hM.cjs} +1 -1
- package/dist/{index-Dxfzna5p.cjs → index-D-RyjmUO.cjs} +1 -1
- package/dist/{index-B6_X9xq9.js → index-D3z4AgL1.js} +4 -4
- package/dist/{index-BJIMXITA.js → index-D5V1e9cO.js} +5 -5
- package/dist/{index-9srnYnzT.js → index-D6iU6Te6.js} +9 -9
- package/dist/{index-BibIA5-P.cjs → index-D88jka5v.cjs} +1 -1
- package/dist/{index-DHhMROzm.cjs → index-DADBCqDR.cjs} +1 -1
- package/dist/{index-9QTlnrEQ.cjs → index-DFb2ZrvR.cjs} +1 -1
- package/dist/{index-DPm-3I4S.js → index-DKCxgFUW.js} +6 -6
- package/dist/{index-BszUQuvL.cjs → index-DLhT_R3Q.cjs} +1 -1
- package/dist/{index-WPbX9sqP.cjs → index-DX66EWCT.cjs} +1 -1
- package/dist/{index-DMp2zGXo.js → index-Dd4IqazP.js} +7 -7
- package/dist/{index-DBB_scdx.cjs → index-WFdingrw.cjs} +1 -1
- package/dist/{index-FBp-XX6h.js → index-dGIARC7m.js} +7051 -7021
- package/dist/{index-BOzZXj2f.js → index-lGikBSHE.js} +7 -7
- package/dist/{index-BJiXsb3E.cjs → index-mGKl9i0X.cjs} +1 -1
- package/dist/{index-Bhg9ISur.js → index-oMbmGcaB.js} +6 -6
- package/dist/{index-C8jmJvXd.cjs → index-pLa33V9a.cjs} +1 -1
- package/dist/{index-UYsrvpRs.js → index-qs1AQKGF.js} +4 -4
- package/dist/index-xzoZUttH.cjs +7 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CKDefrVd.js → index.vue_vue_type_script_setup_true_lang-BEMlrqwP.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dr6igsfU.cjs → index.vue_vue_type_script_setup_true_lang-Bk4PHjWn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CaGB6aRQ.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D5XW-lZk.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-x_oCFRtr.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNfIOSKK.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-BJ24PgNH.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DlAg03w9.js +1636 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-CNkToObt.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-CMsb25AU.js → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-DM39K5kZ.js} +90 -89
- package/dist/login-0tdy4gQs.js +75 -0
- package/dist/login-BEZ7u6zR.cjs +1 -0
- package/dist/{main-C7zpT64X.js → main-Cq1MaQxR.js} +6 -6
- package/dist/{main-NoOanZcQ.cjs → main-DWQfy0Jj.cjs} +1 -1
- package/dist/{menu-B-Z5KAh5.cjs → menu-CAtGS1Fx.cjs} +4 -4
- package/dist/{menu-D9x5_s9p.js → menu-D7VMU4Hp.js} +9 -6
- package/dist/menuIndex-BWim3TlH.js +33 -0
- package/dist/menuIndex-Cg6xI-jR.cjs +1 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-BazaxATJ.js → threeModel-CLiNKACw.js} +5 -6
- package/dist/{threeModel-MVkoDB-c.cjs → threeModel-CiwhTLoC.cjs} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CBBWsMHp.cjs → threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-CHtdDFOo.cjs} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CnQhvwfL.js → threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-CwNweo5U.js} +2 -2
- package/package.json +1 -1
- package/dist/array-CYOvmzeK.js +0 -1310
- package/dist/array-DAoy3WS9.cjs +0 -7
- package/dist/index-Bvr0YvSP.cjs +0 -74
- package/dist/index-CyOcoFxe.cjs +0 -1
- package/dist/index-D68A4TXc.cjs +0 -1
- package/dist/index-DIv5glVC.js +0 -1567
- package/dist/index-Dnq8JVuW.cjs +0 -7
- package/dist/index-TEDdJfFz.js +0 -677
- package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-B7CgbfdF.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-COxDD0Fj.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DDi07ZiD.js +0 -1593
- package/dist/login-CARNmuDg.js +0 -103
- package/dist/login-DsWsywlE.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
import { ref as b, computed as U, reactive as de, nextTick as B, watch as fe, defineComponent as Se, onMounted as we, resolveComponent as A, resolveDirective as Me, createElementBlock as se, openBlock as ue, createVNode as I, withCtx as w, withDirectives as Fe, createElementVNode as ce, createTextVNode as ie } from "vue";
|
|
2
|
+
import { s as $, g as q, u as ve, E as F, p as H, c as he, d as be, e as Ne, h as Be } from "./menu-D7VMU4Hp.js";
|
|
3
|
+
import { u as Pe } from "./threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-CwNweo5U.js";
|
|
4
|
+
import { u as xe, v as Ee } from "./index-Bcyk637L.js";
|
|
5
|
+
import { h as Ke } from "./index-oMbmGcaB.js";
|
|
6
|
+
import { a as Ae } from "./menuIndex-BWim3TlH.js";
|
|
7
|
+
import { c as W } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D5XW-lZk.js";
|
|
8
|
+
import { s as He, b as Re } from "./index-qs1AQKGF.js";
|
|
9
|
+
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const N = Pe(H), { isEdit: Ve } = $(N), ye = xe(H), C = ve(H), { menus: Ce, configMenu: V, activeMenuPath: G, cacheStructures: M } = $(C), Q = b(!1), je = U(() => {
|
|
11
|
+
var t, e;
|
|
12
|
+
return [
|
|
13
|
+
{
|
|
14
|
+
key: "extraButton",
|
|
15
|
+
contents: [
|
|
16
|
+
// {
|
|
17
|
+
// label: "新增"
|
|
18
|
+
// }
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
key: "rowButton",
|
|
23
|
+
contents: [
|
|
24
|
+
{
|
|
25
|
+
label: "修改"
|
|
26
|
+
}
|
|
27
|
+
// {
|
|
28
|
+
// label: "删除"
|
|
29
|
+
// }
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: "header",
|
|
34
|
+
contents: [
|
|
35
|
+
{
|
|
36
|
+
label: "菜单名称",
|
|
37
|
+
prop: "title",
|
|
38
|
+
isFormColHidden: !1
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "菜单类型",
|
|
42
|
+
prop: "menuType",
|
|
43
|
+
formType: "select",
|
|
44
|
+
options: [
|
|
45
|
+
{
|
|
46
|
+
label: "系统菜单",
|
|
47
|
+
value: "集团"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "公司",
|
|
51
|
+
value: "公司"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
isTableColHidden: !1,
|
|
55
|
+
isFormColHidden: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
label: "操作"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
key: "tableContents",
|
|
64
|
+
contents: (e = (t = W(Ce.value)) == null ? void 0 : t.map((l) => ({
|
|
65
|
+
...l,
|
|
66
|
+
menuType: "系统菜单"
|
|
67
|
+
}))) == null ? void 0 : e.filter((l) => l.title !== "系统管理" && l.title !== "平台管理")
|
|
68
|
+
}
|
|
69
|
+
];
|
|
70
|
+
}), X = b([]), j = b([
|
|
71
|
+
{
|
|
72
|
+
// label: "新增",
|
|
73
|
+
label: "新建"
|
|
74
|
+
}
|
|
75
|
+
]), ze = U(() => [
|
|
76
|
+
{
|
|
77
|
+
key: "extraButton",
|
|
78
|
+
contents: j.value
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: "rowButton",
|
|
82
|
+
contents: [
|
|
83
|
+
{
|
|
84
|
+
// label: "编辑",
|
|
85
|
+
label: "修改"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
label: "删除"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "header",
|
|
94
|
+
contents: [
|
|
95
|
+
{
|
|
96
|
+
label: "操作类型",
|
|
97
|
+
prop: "operateType",
|
|
98
|
+
formType: "select",
|
|
99
|
+
options: [
|
|
100
|
+
{
|
|
101
|
+
label: "新增",
|
|
102
|
+
value: "新增"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: "编辑",
|
|
106
|
+
value: "编辑"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
label: "删除",
|
|
110
|
+
value: "删除"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
value: ""
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: "操作图标",
|
|
117
|
+
prop: "operateIcon",
|
|
118
|
+
formType: "inputPopover",
|
|
119
|
+
value: ""
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
label: "操作触发事件",
|
|
123
|
+
prop: "trigger",
|
|
124
|
+
formType: "select",
|
|
125
|
+
options: [
|
|
126
|
+
{
|
|
127
|
+
label: "弹出弹窗",
|
|
128
|
+
value: "openDialog"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
value: "openDialog"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
label: "配置一:",
|
|
135
|
+
prop: "dialogConfig",
|
|
136
|
+
formType: "button",
|
|
137
|
+
value: "弹窗内容",
|
|
138
|
+
isTableColHidden: !0
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
label: "配置二:",
|
|
142
|
+
prop: "contentConfig",
|
|
143
|
+
formType: "button",
|
|
144
|
+
value: "模块内容",
|
|
145
|
+
isTableColHidden: !0
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
label: "继承配置:",
|
|
149
|
+
prop: "allowInherit",
|
|
150
|
+
formType: "radio",
|
|
151
|
+
contents: [
|
|
152
|
+
{
|
|
153
|
+
label: "是",
|
|
154
|
+
value: !0
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
label: "否",
|
|
158
|
+
value: !1
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
value: !1,
|
|
162
|
+
isTableColHidden: !0
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
label: "操作"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
key: "tableContents",
|
|
171
|
+
contents: X.value
|
|
172
|
+
}
|
|
173
|
+
]), Y = b([]), _ = b({}), Je = b({}), z = b([
|
|
174
|
+
// {
|
|
175
|
+
// label: "配置菜单:",
|
|
176
|
+
// prop: 'menu',
|
|
177
|
+
// type: 'cascader',
|
|
178
|
+
// contents: [],
|
|
179
|
+
// config: {
|
|
180
|
+
// checkStrictly: true
|
|
181
|
+
// },
|
|
182
|
+
// // value: ['压气机叶片', 'CJ-1000A']
|
|
183
|
+
// value: []
|
|
184
|
+
// },
|
|
185
|
+
{
|
|
186
|
+
label: "菜单",
|
|
187
|
+
prop: "path",
|
|
188
|
+
isFormColHidden: !0,
|
|
189
|
+
value: ""
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
label: "操作类型:",
|
|
193
|
+
prop: "operateType",
|
|
194
|
+
type: "select",
|
|
195
|
+
contents: [
|
|
196
|
+
{
|
|
197
|
+
label: "新增",
|
|
198
|
+
value: "新增"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
label: "编辑",
|
|
202
|
+
value: "编辑"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
label: "删除",
|
|
206
|
+
value: "删除"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
value: ""
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
label: "操作图标:",
|
|
213
|
+
prop: "operateIcon",
|
|
214
|
+
type: "inputPopover",
|
|
215
|
+
value: ""
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
label: "操作触发事件:",
|
|
219
|
+
prop: "trigger",
|
|
220
|
+
type: "select",
|
|
221
|
+
contents: [
|
|
222
|
+
{
|
|
223
|
+
label: "弹出弹窗",
|
|
224
|
+
value: "openDialog"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
value: "openDialog"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
label: "生成的菜单图标:",
|
|
231
|
+
prop: "menuIcon",
|
|
232
|
+
type: "inputPopover",
|
|
233
|
+
value: ""
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
label: "配置一:",
|
|
237
|
+
prop: "dialogConfig",
|
|
238
|
+
type: "button",
|
|
239
|
+
value: "操作触发的弹窗结构"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
label: "配置二:",
|
|
243
|
+
prop: "contentConfig",
|
|
244
|
+
type: "button",
|
|
245
|
+
value: "操作生成的模块结构",
|
|
246
|
+
isFormColHidden: !1
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
label: "",
|
|
250
|
+
prop: "structureIds",
|
|
251
|
+
type: "input",
|
|
252
|
+
value: [],
|
|
253
|
+
isFormColHidden: !0
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
label: "继承配置:",
|
|
257
|
+
prop: "allowInherit",
|
|
258
|
+
type: "radio",
|
|
259
|
+
contents: [
|
|
260
|
+
{
|
|
261
|
+
label: "是",
|
|
262
|
+
value: !0
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
label: "否",
|
|
266
|
+
value: !1
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
value: !1
|
|
270
|
+
}
|
|
271
|
+
]), J = (t) => {
|
|
272
|
+
var e;
|
|
273
|
+
Y.value = t ? (e = z.value) == null ? void 0 : e.map((l) => l.prop === "dialogConfig" || l.prop === "contentConfig" || l.prop === "trigger" ? l : {
|
|
274
|
+
...l,
|
|
275
|
+
value: t ? t[l == null ? void 0 : l.prop] : ""
|
|
276
|
+
}) : z.value;
|
|
277
|
+
}, Le = b([
|
|
278
|
+
{
|
|
279
|
+
label: "查询"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
label: "重置"
|
|
283
|
+
}
|
|
284
|
+
]), Ue = async () => {
|
|
285
|
+
}, ke = (t) => t.map((e) => e.childMenus && e.childMenus.length > 0 ? {
|
|
286
|
+
...e,
|
|
287
|
+
value: e == null ? void 0 : e.title,
|
|
288
|
+
label: e == null ? void 0 : e.title,
|
|
289
|
+
children: ke(e.childMenus)
|
|
290
|
+
} : {
|
|
291
|
+
...e,
|
|
292
|
+
value: e == null ? void 0 : e.title,
|
|
293
|
+
label: e == null ? void 0 : e.title
|
|
294
|
+
}), d = de({
|
|
295
|
+
show: !1,
|
|
296
|
+
title: "菜单配置",
|
|
297
|
+
width: "30%",
|
|
298
|
+
type: "create"
|
|
299
|
+
}), Z = b([]), h = b({}), y = b(null), Te = b([]), Ie = U(() => {
|
|
300
|
+
var t;
|
|
301
|
+
return (t = ke(Ce.value)) == null ? void 0 : t.filter((e) => e.title !== "系统管理" && e.title !== "平台管理");
|
|
302
|
+
}), _e = async (t) => {
|
|
303
|
+
var l, s, n, i, r;
|
|
304
|
+
const e = await q({
|
|
305
|
+
key: {
|
|
306
|
+
type: "subStructure",
|
|
307
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
308
|
+
pageKey: t,
|
|
309
|
+
version: 1
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
if (((l = e == null ? void 0 : e.data) == null ? void 0 : l.code) === 200 && (s = e.data) != null && s.result) {
|
|
313
|
+
const p = (i = (n = e.data) == null ? void 0 : n.result) == null ? void 0 : i.map((c) => {
|
|
314
|
+
var u;
|
|
315
|
+
return {
|
|
316
|
+
id: c == null ? void 0 : c.id,
|
|
317
|
+
...(u = c == null ? void 0 : c.value) == null ? void 0 : u.pageData
|
|
318
|
+
};
|
|
319
|
+
});
|
|
320
|
+
Te.value = p, C.setCacheStructures({
|
|
321
|
+
key: "contentConfig",
|
|
322
|
+
data: p
|
|
323
|
+
}), console.log(9990, (r = e.data) == null ? void 0 : r.result, p, M.value);
|
|
324
|
+
}
|
|
325
|
+
}, $e = async (t) => {
|
|
326
|
+
var e;
|
|
327
|
+
Q.value = !0, y.value = {
|
|
328
|
+
...t,
|
|
329
|
+
rootNode: Ae(Ie.value, t.path)
|
|
330
|
+
}, C.setCacheStructures(null), (t == null ? void 0 : t.level) === 0 ? j.value.splice(0) : (j.value = [{ label: "新建" }], Z.value = (e = t == null ? void 0 : t.path) == null ? void 0 : e.split("/")), await C.setConfigMenu(null), await _e(t == null ? void 0 : t.path), await R(t);
|
|
331
|
+
}, qe = (t) => {
|
|
332
|
+
switch (t) {
|
|
333
|
+
case "新建":
|
|
334
|
+
return "create";
|
|
335
|
+
case "修改":
|
|
336
|
+
return "update";
|
|
337
|
+
case "删除":
|
|
338
|
+
return "delete";
|
|
339
|
+
}
|
|
340
|
+
}, We = async (t, e) => {
|
|
341
|
+
var l, s;
|
|
342
|
+
if (!y.value) return F.warning("请先选择菜单");
|
|
343
|
+
if (d.type = qe(t), Z.value = [], N.setSubmitCurStructure(!1), ye.setSelectTitle([]), h.value = W(e), d.type !== "delete") {
|
|
344
|
+
switch (d.type) {
|
|
345
|
+
case "create":
|
|
346
|
+
J(null), await C.setConfigMenu(null);
|
|
347
|
+
break;
|
|
348
|
+
case "update":
|
|
349
|
+
J(h.value), await C.setConfigMenu(h.value), console.log("clickRowButton", h.value);
|
|
350
|
+
break;
|
|
351
|
+
}
|
|
352
|
+
await B(), d.title = `【${d.type === "create" ? (l = y.value) == null ? void 0 : l.path : (s = h.value) == null ? void 0 : s.path}】菜单配置${t}`, d.show = !0;
|
|
353
|
+
} else
|
|
354
|
+
await De(h.value, d.type);
|
|
355
|
+
}, L = b(!0), Ge = async (t) => {
|
|
356
|
+
var e;
|
|
357
|
+
_.value = t, await C.setConfigMenu({
|
|
358
|
+
..._.value,
|
|
359
|
+
path: (e = y.value) == null ? void 0 : e.path
|
|
360
|
+
}), L.value = (t == null ? void 0 : t.operateType) !== "新增", console.log("7890changeTrigger", L.value);
|
|
361
|
+
};
|
|
362
|
+
fe(() => L.value, async (t) => {
|
|
363
|
+
var e;
|
|
364
|
+
await B(), Y.value = (e = z.value) == null ? void 0 : e.map((l) => l.prop === "dialogConfig" || l.prop === "contentConfig" || l.prop === "trigger" ? l.prop === "contentConfig" ? {
|
|
365
|
+
...l,
|
|
366
|
+
isFormColHidden: t
|
|
367
|
+
} : l : {
|
|
368
|
+
...l,
|
|
369
|
+
value: _.value ? _.value[l == null ? void 0 : l.prop] : ""
|
|
370
|
+
}), console.log(7890, t);
|
|
371
|
+
}, { immediate: !0, deep: !0 });
|
|
372
|
+
const Qe = b(null), Xe = async (t, e) => {
|
|
373
|
+
var r, p, c, u, f;
|
|
374
|
+
if (d.type === "create") {
|
|
375
|
+
const o = (p = (r = M.value) == null ? void 0 : r.filter((g) => (g == null ? void 0 : g.key) === e)) == null ? void 0 : p.flatMap((g) => g == null ? void 0 : g.data);
|
|
376
|
+
console.log("clickTrigger", e, M.value, o), N.setItemData(o), C.setCacheStructures({
|
|
377
|
+
key: e,
|
|
378
|
+
data: o
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
if (console.log("getTriggerStructures1", t == null ? void 0 : t.structureIds, e), !(t != null && t.structureIds) || ((c = t == null ? void 0 : t.structureIds) == null ? void 0 : c.length) === 0) return;
|
|
382
|
+
const l = (f = (u = t == null ? void 0 : t.structureIds) == null ? void 0 : u.filter((o) => (o == null ? void 0 : o.key) === e)) == null ? void 0 : f.map((o) => o == null ? void 0 : o.id);
|
|
383
|
+
let s = l == null ? void 0 : l.map((o) => {
|
|
384
|
+
if (o)
|
|
385
|
+
return q({ id: o });
|
|
386
|
+
});
|
|
387
|
+
const n = await Promise.all(s), i = n == null ? void 0 : n.every((o) => {
|
|
388
|
+
var g;
|
|
389
|
+
return ((g = o == null ? void 0 : o.data) == null ? void 0 : g.code) === 200;
|
|
390
|
+
});
|
|
391
|
+
if (console.log("getTriggerStructures2", t == null ? void 0 : t.structureIds, e, n), i && (n == null ? void 0 : n.length) > 0) {
|
|
392
|
+
const o = n == null ? void 0 : n.map((g) => {
|
|
393
|
+
var k, T, P, x, E, a, K;
|
|
394
|
+
return {
|
|
395
|
+
id: (P = (T = (k = g == null ? void 0 : g.data) == null ? void 0 : k.result) == null ? void 0 : T[0]) == null ? void 0 : P.id,
|
|
396
|
+
...(K = (a = (E = (x = g == null ? void 0 : g.data) == null ? void 0 : x.result) == null ? void 0 : E[0]) == null ? void 0 : a.value) == null ? void 0 : K.pageData
|
|
397
|
+
};
|
|
398
|
+
});
|
|
399
|
+
N.setItemData(o), C.setCacheStructures({
|
|
400
|
+
key: e,
|
|
401
|
+
data: o
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
}, Ye = async (t) => {
|
|
405
|
+
var n, i, r, p, c;
|
|
406
|
+
const e = t === "操作触发的弹窗结构" ? "dialogConfig" : "contentConfig";
|
|
407
|
+
C.setButtonTriggerType(e), await Xe(h.value, e);
|
|
408
|
+
let l;
|
|
409
|
+
(n = _.value) != null && n.subMenus && ((i = _.value) == null ? void 0 : i.subMenus.length) > 0 && (l = (r = Z.value) == null ? void 0 : r.map((u) => ({
|
|
410
|
+
value: u
|
|
411
|
+
})), l.unshift({
|
|
412
|
+
value: (p = h.value) == null ? void 0 : p.title
|
|
413
|
+
}));
|
|
414
|
+
let s;
|
|
415
|
+
d.type === "create" ? s = {
|
|
416
|
+
..._.value,
|
|
417
|
+
path: (c = y.value) == null ? void 0 : c.path
|
|
418
|
+
} : d.type === "update" && (s = V.value), await C.setConfigMenu(s), ye.setSelectTitle(l), N.setIsEdit("edit");
|
|
419
|
+
}, R = async (t) => {
|
|
420
|
+
var l, s, n, i, r, p;
|
|
421
|
+
const e = await q({
|
|
422
|
+
key: {
|
|
423
|
+
type: "menuConfigData",
|
|
424
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
425
|
+
pageKey: G.value + "/" + (t == null ? void 0 : t.path),
|
|
426
|
+
tableId: ""
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
((l = e == null ? void 0 : e.data) == null ? void 0 : l.code) === 200 && (s = e.data) != null && s.result && (X.value = ((i = (n = e.data) == null ? void 0 : n.result) == null ? void 0 : i.length) > 0 ? (p = (r = e.data) == null ? void 0 : r.result) == null ? void 0 : p.map((c) => {
|
|
430
|
+
var u;
|
|
431
|
+
return {
|
|
432
|
+
id: c == null ? void 0 : c.id,
|
|
433
|
+
...(u = c == null ? void 0 : c.value) == null ? void 0 : u.tableData
|
|
434
|
+
};
|
|
435
|
+
}) : []), Q.value = !1;
|
|
436
|
+
}, O = async (t, e, l = "contentConfig") => {
|
|
437
|
+
var s, n, i, r, p, c;
|
|
438
|
+
console.log("clickSubmitForm4", t);
|
|
439
|
+
try {
|
|
440
|
+
let u, f;
|
|
441
|
+
e === "create" ? (u = {
|
|
442
|
+
key: {
|
|
443
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
444
|
+
pageKey: G.value + "/" + ((s = y.value) == null ? void 0 : s.path),
|
|
445
|
+
type: "structure",
|
|
446
|
+
rootNodePath: (i = (n = y.value) == null ? void 0 : n.rootNode) == null ? void 0 : i.path,
|
|
447
|
+
structureBelong: l,
|
|
448
|
+
parentTable: "",
|
|
449
|
+
version: 1
|
|
450
|
+
},
|
|
451
|
+
value: {
|
|
452
|
+
pageData: t
|
|
453
|
+
}
|
|
454
|
+
}, f = he) : e === "update" ? (u = {
|
|
455
|
+
id: t == null ? void 0 : t.id,
|
|
456
|
+
// key: {
|
|
457
|
+
// systemKey: sessionStorage.getItem("systemKey"),
|
|
458
|
+
// pageKey: activeMenuPath.value + '/' + clickNode.value?.path,
|
|
459
|
+
// type: 'structure',
|
|
460
|
+
// rootNodePath: clickNode.value?.rootNode?.path,
|
|
461
|
+
// structureBelong,
|
|
462
|
+
// parentTable: '',
|
|
463
|
+
// version: 1
|
|
464
|
+
// },
|
|
465
|
+
value: {
|
|
466
|
+
pageData: t
|
|
467
|
+
}
|
|
468
|
+
}, f = be) : e === "delete" && (u = {
|
|
469
|
+
id: t
|
|
470
|
+
}, f = Ne);
|
|
471
|
+
const o = await f(u);
|
|
472
|
+
if (((r = o == null ? void 0 : o.data) == null ? void 0 : r.code) !== 200)
|
|
473
|
+
throw F.error("保存响应失败"), new Error("保存响应失败");
|
|
474
|
+
const g = e === "create" ? (p = o == null ? void 0 : o.data) == null ? void 0 : p.result : t == null ? void 0 : t.id;
|
|
475
|
+
return console.log("查看返回的数据id:", e, g), {
|
|
476
|
+
status: ((c = o == null ? void 0 : o.data) == null ? void 0 : c.code) === 200,
|
|
477
|
+
data: {
|
|
478
|
+
id: g,
|
|
479
|
+
key: l
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
} catch {
|
|
483
|
+
F.error("保存响应失败");
|
|
484
|
+
}
|
|
485
|
+
}, pe = (t, e) => {
|
|
486
|
+
var c, u, f;
|
|
487
|
+
const l = (c = t == null ? void 0 : t.flatMap((o) => o == null ? void 0 : o.data)) == null ? void 0 : c.map((o) => o == null ? void 0 : o.id), s = e.filter((o) => !(l != null && l.includes(o))), n = l == null ? void 0 : l.filter((o) => !e.includes(o));
|
|
488
|
+
let i = null, r = null, p = null;
|
|
489
|
+
return i = [...s, ...n].filter((o) => o), r = (u = t == null ? void 0 : t.flatMap((o) => o == null ? void 0 : o.data)) == null ? void 0 : u.filter((o) => !(o != null && o.id)), p = (f = t == null ? void 0 : t.flatMap((o) => o == null ? void 0 : o.data)) == null ? void 0 : f.filter((o) => o == null ? void 0 : o.id).filter((o) => Object.keys(o).length > 1), console.log("getDifferentBusiness", t, i, r, p, h.value), {
|
|
490
|
+
deleteIds: i,
|
|
491
|
+
createComps: r,
|
|
492
|
+
updateComps: p
|
|
493
|
+
};
|
|
494
|
+
}, ge = (t, e) => {
|
|
495
|
+
var s, n, i, r, p, c;
|
|
496
|
+
let l = [];
|
|
497
|
+
return ((s = e == null ? void 0 : e.deleteIds) == null ? void 0 : s.length) > 0 && ((n = e == null ? void 0 : e.deleteIds) == null || n.forEach((u) => {
|
|
498
|
+
l.push(O(u, "delete", t));
|
|
499
|
+
})), ((i = e == null ? void 0 : e.createComps) == null ? void 0 : i.length) > 0 && ((r = e == null ? void 0 : e.createComps) == null || r.forEach((u) => {
|
|
500
|
+
l.push(O(u, "create", t));
|
|
501
|
+
})), ((p = e == null ? void 0 : e.updateComps) == null ? void 0 : p.length) > 0 && ((c = e == null ? void 0 : e.updateComps) == null || c.forEach((u) => {
|
|
502
|
+
u != null && u.id && l.push(O(u, "update", t));
|
|
503
|
+
})), l;
|
|
504
|
+
}, Ze = (t) => {
|
|
505
|
+
const e = /* @__PURE__ */ new Map();
|
|
506
|
+
return t.forEach((l) => {
|
|
507
|
+
e.set(l.id, l);
|
|
508
|
+
}), Array.from(e.values());
|
|
509
|
+
}, me = async (t, e) => {
|
|
510
|
+
var l, s, n, i, r, p, c;
|
|
511
|
+
try {
|
|
512
|
+
console.log("structures", t);
|
|
513
|
+
const u = t == null ? void 0 : t.filter((a) => (a == null ? void 0 : a.key) === "contentConfig"), f = t == null ? void 0 : t.filter((a) => (a == null ? void 0 : a.key) === "dialogConfig");
|
|
514
|
+
await B();
|
|
515
|
+
const o = (n = (s = (l = M.value) == null ? void 0 : l.filter((a) => (a == null ? void 0 : a.key) === "dialogConfig")) == null ? void 0 : s.flatMap((a) => a == null ? void 0 : a.data)) == null ? void 0 : n.map((a) => a == null ? void 0 : a.id);
|
|
516
|
+
let g = (p = (r = (i = M.value) == null ? void 0 : i.filter((a) => (a == null ? void 0 : a.key) === "contentConfig")) == null ? void 0 : r.flatMap((a) => a == null ? void 0 : a.data)) == null ? void 0 : p.map((a) => a == null ? void 0 : a.id);
|
|
517
|
+
console.log("submitMenuStructures", o, g), g = [...g, ...(c = Te.value) == null ? void 0 : c.map((a) => a == null ? void 0 : a.id)];
|
|
518
|
+
const k = pe(f, o), T = pe(u, g);
|
|
519
|
+
console.log("clickSubmitForm1", f, u, k, T, e);
|
|
520
|
+
const P = ge("dialogConfig", k), x = ge("contentConfig", T), E = [...P, ...x];
|
|
521
|
+
await Promise.all(E).then((a) => {
|
|
522
|
+
var ee, te, le, oe, ae, ne, re;
|
|
523
|
+
const K = a == null ? void 0 : a.every((v) => v.status);
|
|
524
|
+
if (console.log("clickSubmitForm3Promise:", a, h.value, k, T), !K) return;
|
|
525
|
+
let D = (ee = a == null ? void 0 : a.flatMap((v) => v == null ? void 0 : v.data)) == null ? void 0 : ee.filter((v) => (v == null ? void 0 : v.id) !== null && (v == null ? void 0 : v.id) !== void 0);
|
|
526
|
+
if (console.log("clickSubmitForm4Promise:", D, k, T, h.value), ((te = k == null ? void 0 : k.updateComps) == null ? void 0 : te.length) === 0 && d.type === "update") {
|
|
527
|
+
const v = (oe = (le = h.value) == null ? void 0 : le.structureIds) == null ? void 0 : oe.filter((S) => (S == null ? void 0 : S.key) === "dialogConfig");
|
|
528
|
+
D = [...D, ...v];
|
|
529
|
+
}
|
|
530
|
+
if (console.log("clickSubmitForm5Promise:", D), ((ae = T == null ? void 0 : T.updateComps) == null ? void 0 : ae.length) === 0 && d.type === "update") {
|
|
531
|
+
const v = (re = (ne = h.value) == null ? void 0 : ne.structureIds) == null ? void 0 : re.filter((S) => (S == null ? void 0 : S.key) === "contentConfig");
|
|
532
|
+
D = [...D, ...v];
|
|
533
|
+
}
|
|
534
|
+
const m = Ze(D);
|
|
535
|
+
console.log("clickSubmitForm6Promise:", m, D, h.value), De({
|
|
536
|
+
...e,
|
|
537
|
+
isNotInitial: !0,
|
|
538
|
+
structureIds: m
|
|
539
|
+
}, d.type);
|
|
540
|
+
}).catch((a) => {
|
|
541
|
+
F.error(a);
|
|
542
|
+
});
|
|
543
|
+
} catch (u) {
|
|
544
|
+
throw F.error(u), new Error(u);
|
|
545
|
+
}
|
|
546
|
+
}, De = async (t, e) => {
|
|
547
|
+
var n, i;
|
|
548
|
+
let l, s;
|
|
549
|
+
e === "create" ? (l = {
|
|
550
|
+
key: {
|
|
551
|
+
type: "menuConfigData",
|
|
552
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
553
|
+
pageKey: G.value + "/" + ((n = y.value) == null ? void 0 : n.path),
|
|
554
|
+
tableId: "",
|
|
555
|
+
rootNodePath: t == null ? void 0 : t.rootNodePath
|
|
556
|
+
},
|
|
557
|
+
value: {
|
|
558
|
+
tableData: t
|
|
559
|
+
}
|
|
560
|
+
}, s = he) : e === "update" ? (l = {
|
|
561
|
+
id: t == null ? void 0 : t.id,
|
|
562
|
+
// key: {
|
|
563
|
+
// type: "menuConfigData",
|
|
564
|
+
// systemKey: sessionStorage.getItem("systemKey"),
|
|
565
|
+
// pageKey: activeMenuPath.value + '/' + clickNode.value?.path,
|
|
566
|
+
// tableId: '',
|
|
567
|
+
// },
|
|
568
|
+
value: {
|
|
569
|
+
tableData: t
|
|
570
|
+
}
|
|
571
|
+
}, s = be) : e === "delete" && (l = {
|
|
572
|
+
ids: [t.id, ...(i = t == null ? void 0 : t.structureIds) == null ? void 0 : i.map((r) => r.id)]
|
|
573
|
+
}, s = Be), Ke(s, l, e).then((r) => {
|
|
574
|
+
e === "create" && X.value.push({
|
|
575
|
+
...t,
|
|
576
|
+
id: r
|
|
577
|
+
}), e && r && F.success("响应成功"), R(y.value);
|
|
578
|
+
});
|
|
579
|
+
}, et = async () => {
|
|
580
|
+
var l, s, n, i, r;
|
|
581
|
+
const t = JSON.parse(W(JSON.stringify(M.value)));
|
|
582
|
+
console.log("clickSubmitForm-1", t), await B();
|
|
583
|
+
const e = d.type === "create" ? {
|
|
584
|
+
...V.value,
|
|
585
|
+
rootNodePath: (s = (l = y.value) == null ? void 0 : l.rootNode) == null ? void 0 : s.path
|
|
586
|
+
} : {
|
|
587
|
+
...V.value,
|
|
588
|
+
rootNodePath: (i = (n = y.value) == null ? void 0 : n.rootNode) == null ? void 0 : i.path,
|
|
589
|
+
id: (r = h.value) == null ? void 0 : r.id
|
|
590
|
+
};
|
|
591
|
+
await me(t, e), _.value = {}, d.show = !1, await R(y.value);
|
|
592
|
+
}, tt = () => {
|
|
593
|
+
d.show = !1;
|
|
594
|
+
};
|
|
595
|
+
fe(() => Ve.value, (t) => {
|
|
596
|
+
console.log("返回时查看:", t, M.value);
|
|
597
|
+
}, { immediate: !0 });
|
|
598
|
+
const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
599
|
+
__proto__: null,
|
|
600
|
+
beforeDialogDestroy: tt,
|
|
601
|
+
buttonValue: Le,
|
|
602
|
+
changeTrigger: Ge,
|
|
603
|
+
changedRow: Je,
|
|
604
|
+
clickNodeTrigger: $e,
|
|
605
|
+
clickRowButton: We,
|
|
606
|
+
clickSubmitForm: et,
|
|
607
|
+
clickTrigger: Ye,
|
|
608
|
+
dialogInfo: d,
|
|
609
|
+
formatFormData: J,
|
|
610
|
+
getInitialSubStructure: _e,
|
|
611
|
+
getTableDataAsync: R,
|
|
612
|
+
handleItemDataChange: Ue,
|
|
613
|
+
inputForm: _,
|
|
614
|
+
menuPageData: ze,
|
|
615
|
+
operatingForm: Qe,
|
|
616
|
+
pageData: je,
|
|
617
|
+
renderFormData: Y,
|
|
618
|
+
tableLoading: Q,
|
|
619
|
+
treeData: Ie
|
|
620
|
+
}, Symbol.toStringTag, { value: "Module" })), ot = { class: "menu-module" }, at = {
|
|
621
|
+
class: "table-wrap",
|
|
622
|
+
"element-loading-text": "加载中..."
|
|
623
|
+
}, nt = { class: "module-dialog-default" }, rt = /* @__PURE__ */ Se({
|
|
624
|
+
__name: "index",
|
|
625
|
+
setup(t) {
|
|
626
|
+
const e = de({ ...lt }), l = b(null), s = ve(H), { configMenu: n } = $(s);
|
|
627
|
+
return we(() => {
|
|
628
|
+
var i;
|
|
629
|
+
e.formatFormData(n.value), B(() => {
|
|
630
|
+
var r, p;
|
|
631
|
+
(p = l.value) == null || p.setCurrentKey((r = n.value) == null ? void 0 : r.path), s.setActiveMenuPath("/平台管理/菜单管理");
|
|
632
|
+
}), n.value && e.getInitialSubStructure((i = n.value) == null ? void 0 : i.path);
|
|
633
|
+
}), (i, r) => {
|
|
634
|
+
const p = A("el-tree"), c = A("el-splitter-panel"), u = A("el-splitter"), f = A("el-button"), o = Me("loading");
|
|
635
|
+
return ue(), se("div", ot, [
|
|
636
|
+
I(u, null, {
|
|
637
|
+
default: w(() => [
|
|
638
|
+
I(c, {
|
|
639
|
+
size: 208,
|
|
640
|
+
class: "tree-wrap",
|
|
641
|
+
min: 200
|
|
642
|
+
}, {
|
|
643
|
+
default: w(() => [
|
|
644
|
+
I(p, {
|
|
645
|
+
ref_key: "treeRef",
|
|
646
|
+
ref: l,
|
|
647
|
+
data: e.treeData,
|
|
648
|
+
"expand-on-click-node": !1,
|
|
649
|
+
"node-key": "path",
|
|
650
|
+
props: { children: "children", label: "label", path: "path" },
|
|
651
|
+
"highlight-current": "",
|
|
652
|
+
"default-expand-all": "",
|
|
653
|
+
"check-on-click-leaf": !1,
|
|
654
|
+
"check-strictly": "",
|
|
655
|
+
onNodeClick: e.clickNodeTrigger
|
|
656
|
+
}, null, 8, ["data", "onNodeClick"])
|
|
657
|
+
]),
|
|
658
|
+
_: 1
|
|
659
|
+
}),
|
|
660
|
+
I(c, { min: 500 }, {
|
|
661
|
+
default: w(() => [
|
|
662
|
+
Fe((ue(), se("div", at, [
|
|
663
|
+
I(Ee, {
|
|
664
|
+
itemData: e.menuPageData,
|
|
665
|
+
changedContent: e.changedRow,
|
|
666
|
+
operatingForm: e.operatingForm,
|
|
667
|
+
onOnFormChange: e.changeTrigger,
|
|
668
|
+
onChange: e.handleItemDataChange,
|
|
669
|
+
onClickTrigger: e.clickTrigger,
|
|
670
|
+
onOnButtonClick: e.clickRowButton
|
|
671
|
+
}, null, 8, ["itemData", "changedContent", "operatingForm", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
672
|
+
])), [
|
|
673
|
+
[o, e.tableLoading]
|
|
674
|
+
])
|
|
675
|
+
]),
|
|
676
|
+
_: 1
|
|
677
|
+
})
|
|
678
|
+
]),
|
|
679
|
+
_: 1
|
|
680
|
+
}),
|
|
681
|
+
I(He, {
|
|
682
|
+
class: "module-dialog",
|
|
683
|
+
title: e.dialogInfo.title,
|
|
684
|
+
visible: e.dialogInfo.show,
|
|
685
|
+
width: e.dialogInfo.width,
|
|
686
|
+
onBeforeDestroy: e.beforeDialogDestroy
|
|
687
|
+
}, {
|
|
688
|
+
default: w(() => [
|
|
689
|
+
ce("div", nt, [
|
|
690
|
+
I(Re, {
|
|
691
|
+
rowContents: e.renderFormData,
|
|
692
|
+
isEnableWrap: !1,
|
|
693
|
+
isEdit: !0,
|
|
694
|
+
onChange: e.changeTrigger,
|
|
695
|
+
onClickTrigger: e.clickTrigger
|
|
696
|
+
}, null, 8, ["rowContents", "onChange", "onClickTrigger"])
|
|
697
|
+
])
|
|
698
|
+
]),
|
|
699
|
+
footer: w(() => [
|
|
700
|
+
ce("div", null, [
|
|
701
|
+
I(f, {
|
|
702
|
+
onClick: e.beforeDialogDestroy,
|
|
703
|
+
id: "themeBorderButton"
|
|
704
|
+
}, {
|
|
705
|
+
default: w(() => r[0] || (r[0] = [
|
|
706
|
+
ie("取消")
|
|
707
|
+
])),
|
|
708
|
+
_: 1,
|
|
709
|
+
__: [0]
|
|
710
|
+
}, 8, ["onClick"]),
|
|
711
|
+
I(f, {
|
|
712
|
+
id: "themeButton",
|
|
713
|
+
onClick: e.clickSubmitForm
|
|
714
|
+
}, {
|
|
715
|
+
default: w(() => r[1] || (r[1] = [
|
|
716
|
+
ie(" 确认 ")
|
|
717
|
+
])),
|
|
718
|
+
_: 1,
|
|
719
|
+
__: [1]
|
|
720
|
+
}, 8, ["onClick"])
|
|
721
|
+
])
|
|
722
|
+
]),
|
|
723
|
+
_: 1
|
|
724
|
+
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
725
|
+
]);
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
}), ht = /* @__PURE__ */ Oe(rt, [["__scopeId", "data-v-74868a06"]]);
|
|
729
|
+
export {
|
|
730
|
+
ht as default
|
|
731
|
+
};
|