ss-component-new 1.2.37 → 1.2.38
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/{MTLLoader-gxq5Kvds.js → MTLLoader-B4lJr_ku.js} +1 -1
- package/dist/{MTLLoader-Dihj5ymj.cjs → MTLLoader-CkNQ5SUP.cjs} +1 -1
- package/dist/{OrbitControls-Ba8QWDQU.cjs → OrbitControls-CpTJa--7.cjs} +1 -1
- package/dist/{OrbitControls-BonUITsH.js → OrbitControls-CwAfnF56.js} +1 -1
- package/dist/{animationData-AAFCWE58.cjs → animationData-CF6-_eBc.cjs} +1 -1
- package/dist/{animationData-DOlVDTlo.js → animationData-ETdtTXwF.js} +4 -4
- package/dist/{array-D7EDjc7l.js → array-BUiCaQsR.js} +35 -35
- package/dist/{array-Bvce3EAi.cjs → array-CbzJvO5y.cjs} +1 -1
- package/dist/{dataUtil-B98txAs6.cjs → dataUtil-DFkONpps.cjs} +1 -1
- package/dist/{dataUtil-VNsK7cTO.js → dataUtil-oabcbdyY.js} +2 -2
- package/dist/{fileUtil-BeIaOSMH.cjs → fileUtil-BezA0XEu.cjs} +1 -1
- package/dist/{fileUtil-D7S_1Tde.js → fileUtil-xUu_aleM.js} +1 -1
- package/dist/{iconfont-wtkqkYlV.cjs → iconfont-Bc_5-mGm.cjs} +1 -1
- package/dist/{iconfont-Dnc_kFzN.js → iconfont-Cj5twyUW.js} +2 -2
- package/dist/{index-B8bUR1Ri.cjs → index-7jCqww1w.cjs} +1 -1
- package/dist/{index-BCLRJLSj.js → index-B35gkDgD.js} +1 -1
- package/dist/{index-Cv9MOPos.cjs → index-B3_Z46NG.cjs} +1 -1
- package/dist/{index-BbzUzdxF.cjs → index-B5KCSN4c.cjs} +1 -1
- package/dist/{index-DWR446SX.js → index-BA_mOmgl.js} +40 -40
- package/dist/{index-ClnJ1K8q.cjs → index-BHkXSoxP.cjs} +1 -1
- package/dist/{index-XPbPRVHs.cjs → index-BOfa3R-1.cjs} +1 -1
- package/dist/{index-dz7-iyTs.js → index-BWDmAGYH.js} +8 -8
- package/dist/{index-DBpviAty.cjs → index-BahsZur-.cjs} +1 -1
- package/dist/{index-DfdAKUNR.cjs → index-Bha2dAuG.cjs} +1 -1
- package/dist/{index-BwoXi1LQ.js → index-BjLowWoy.js} +2 -2
- package/dist/{index-BeawnQ97.js → index-BnNI_rxz.js} +3 -3
- package/dist/{index-D2FUUF0p.js → index-BopRIRaa.js} +3300 -3311
- package/dist/{index-BrvAeT7w.js → index-Bp59pdeu.js} +10 -10
- package/dist/{index-CCAXN_VF.cjs → index-BsQpRUkg.cjs} +1 -1
- package/dist/{index-CeJI9fRM.cjs → index-Bsj_M3tu.cjs} +1 -1
- package/dist/{index-dg2e5vzL.js → index-BwL33eO2.js} +2 -2
- package/dist/{index-B-xelo5W.js → index-C-4KKbC7.js} +3 -3
- package/dist/{index-Z3NUprRN.cjs → index-C8YYklCT.cjs} +1 -1
- package/dist/{index-K4IHDJhC.js → index-CTIVfb14.js} +3 -3
- package/dist/{index-ChfpFIIo.js → index-CUeHiWp_.js} +52 -52
- package/dist/{index-DATWIRSp.cjs → index-CV-9wRXp.cjs} +1 -1
- package/dist/{index-nvemkzcE.js → index-CWQAImyg.js} +2 -2
- package/dist/{index-diSrIKAW.js → index-CX9ZToOe.js} +303 -303
- package/dist/{index-BiNILQi8.js → index-C_FC7JhD.js} +6 -6
- package/dist/{index-DdWJf1s4.js → index-CcKVjgvm.js} +2 -2
- package/dist/{index-BJoRCnr3.cjs → index-CfKLvZ17.cjs} +1 -1
- package/dist/{index-DeakNivq.cjs → index-Ci05kJVO.cjs} +1 -1
- package/dist/{index-DKnofcM3.cjs → index-CizvuDrT.cjs} +1 -1
- package/dist/{index-B3sDwg_c.js → index-CkTqgfCV.js} +1 -1
- package/dist/{index-BU5DWXf0.cjs → index-CnW0XyMI.cjs} +1 -1
- package/dist/{index-DXY5_0gS.cjs → index-CnasZ7DR.cjs} +1 -1
- package/dist/{index-d2eZUUOL.js → index-CowSp0mU.js} +4 -4
- package/dist/{index-A2nYF-1f.cjs → index-Cs1m0QHY.cjs} +1 -1
- package/dist/{index-DHUPGceO.js → index-CvI-Xndo.js} +1 -1
- package/dist/{index-BiPzhKBB.cjs → index-CvrlW6Kj.cjs} +1 -1
- package/dist/{index-DcSxvtLy.cjs → index-D4X5ZbsB.cjs} +1 -1
- package/dist/{index-CExeGHij.js → index-DBDeHECn.js} +5111 -5410
- package/dist/index-DEBf-IBT.cjs +21 -0
- package/dist/{index-De7WEvrP.js → index-DHOgfCKk.js} +6 -6
- package/dist/{index-BPzUmT8-.js → index-DK1sT-Gv.js} +12 -12
- package/dist/{index-BLTsYYci.js → index-DKQfWQa7.js} +1 -1
- package/dist/{index-XWSpT0ba.js → index-DalL4U6b.js} +8 -8
- package/dist/{index-Ct6AnOh0.cjs → index-DbW_sD5N.cjs} +1 -1
- package/dist/{index-CagsR3TK.cjs → index-Dp6ZBesB.cjs} +1 -1
- package/dist/{index-Idro_h24.cjs → index-DynEv7dZ.cjs} +1 -1
- package/dist/{index-a9MrfjsX.cjs → index-ExjSK4s1.cjs} +1 -1
- package/dist/{index-Cjn-Nipt.js → index-GOk9tc6o.js} +2 -2
- package/dist/{index-B8HWTwDz.cjs → index-LcSS6r-3.cjs} +1 -1
- package/dist/{index-DBiP81co.cjs → index-RfA-XD5A.cjs} +1 -1
- package/dist/{index-BMaVaPUc.js → index-bFFymrtu.js} +2 -2
- package/dist/{index-D62RCkPJ.js → index-bhZxftEb.js} +6 -6
- package/dist/{index-CqzA5JZV.js → index-d6sIj10Q.js} +68 -68
- package/dist/{index-osFjwxXn.cjs → index-h5XWazmL.cjs} +1 -1
- package/dist/{index-CBpSEFvE.js → index-ixEWAWI8.js} +4 -4
- package/dist/{index-rGGHn9oX.js → index-peUgec1X.js} +1267 -1268
- package/dist/{index-CQNvplpY.cjs → index-vDXPLbzt.cjs} +13 -13
- package/dist/{index-DpzDQdE3.cjs → index-w9_VhKWc.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B8Lpp-LG.js +38138 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-yBjOSB4T.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CTRnGkVw.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js} +1644 -1649
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DupRlL-E.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNsyaAD5.cjs} +124 -124
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang--woCJ_em.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DTRpzofW.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-COe_Ck32.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DaxZVXAO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-jt5oqPmv.js → index.vue_vue_type_style_index_1_lang-BX_Iweoa.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-CKpfQuiD.cjs → index.vue_vue_type_style_index_1_lang-BgqA98cE.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_1_lang-CWCaf0OP.js +8415 -0
- package/dist/index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs +32 -0
- package/dist/{isString--eJE54G5.cjs → isString-D6Z6SOrb.cjs} +1 -1
- package/dist/{isString-By6KKNvg.js → isString-DBnuELeA.js} +1 -1
- package/dist/{main-Brifss3R.cjs → main-BnGiV5RB.cjs} +1 -1
- package/dist/{main-DENbrJLK.js → main-DHZFoZje.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-DxxkXyt5.cjs → threeModel-BHsadPD8.cjs} +1 -1
- package/dist/{threeModel-CpklGUZ5.js → threeModel-BkNMl4gC.js} +5 -5
- package/dist/{threePreview-BsPiIokT.js → threePreview-BhHpGgi8.js} +4 -4
- package/dist/{threePreview-Sh0ABsnX.cjs → threePreview-q2XmhoL-.cjs} +1 -1
- package/dist/{threeSceneView-Dm3k49Mh.js → threeSceneView-CDFoPU6x.js} +87 -87
- package/dist/{threeSceneView-DfiXbOBr.cjs → threeSceneView-D_2JHUdz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-Czp3KJaA.js → threeSceneViewForCPMPIP-BBelwG21.js} +57 -57
- package/dist/{threeSceneViewForCPMPIP-XTc0zag-.cjs → threeSceneViewForCPMPIP-DSIkOvjL.cjs} +1 -1
- package/dist/{threeTrackPathView-Dmp5NZVO.cjs → threeTrackPathView-CClVyd1p.cjs} +1 -1
- package/dist/{threeTrackPathView-DaEDYBsf.js → threeTrackPathView-CeCre9ru.js} +6 -6
- package/dist/{threeViewerHost-C07FM01K.cjs → threeViewerHost-B2ROtL1I.cjs} +1 -1
- package/dist/{threeViewerHost-tA5hwts8.js → threeViewerHost-DLd9bynL.js} +14 -14
- package/dist/{urdfTree-CNAusPWp.cjs → urdfTree-B2NsYdY-.cjs} +1 -1
- package/dist/{urdfTree-C5eDsIZV.js → urdfTree-vu4m_HnH.js} +1 -1
- package/dist/{workpieceTreePanel-BE_ayLjw.js → workpieceTreePanel-CXVtdZfX.js} +5 -5
- package/dist/{workpieceTreePanel-DMnR0vK-.cjs → workpieceTreePanel-Dif_gJAG.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-C8qRkCgn.cjs +0 -21
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BV1JZ-3O.js +0 -38949
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DNHgx7h4.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_1_lang-6KO-EDQa.js +0 -8293
- package/dist/index.vue_vue_type_style_index_1_lang-Cb4_k0AS.cjs +0 -32
- 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
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as G, watch as We, nextTick as ua, resolveComponent as qe, createBlock as Le, openBlock as V, withCtx as
|
|
2
|
-
import {
|
|
3
|
-
import { d as Ga, aO as vn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as jl, _ as
|
|
5
|
-
import { b as Tn, T as An, d as ya, c as mn } from "./threeViewerHost-
|
|
6
|
-
import {
|
|
1
|
+
import { ref as G, watch as We, nextTick as ua, resolveComponent as qe, createBlock as Le, openBlock as V, withCtx as Q, createElementVNode as he, renderSlot as Ka, onMounted as ba, createElementBlock as Se, normalizeStyle as Ul, normalizeClass as rr, toDisplayString as Oe, createCommentVNode as xe, createVNode as ue, unref as Xe, Fragment as tl, renderList as cl, createTextVNode as He, defineComponent as nr, reactive as zl, inject as on, provide as tn, onBeforeUnmount as cn, computed as Fa, onUnmounted as dn, createSlots as pn, withDirectives as za, vShow as Ja } from "vue";
|
|
2
|
+
import { bh as Ra, as as Wa, c as q, E as Je, c0 as Sa, g as El, p as Al, s as Dl, u as fn, bt as ha, e as qa, b as ml, bv as gn, d as hn, c3 as yn } from "./index-DBDeHECn.js";
|
|
3
|
+
import { d as Ga, aO as vn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
4
|
+
import { c as jl, _ as Ha, h as bn, e as Sn, E as kn } from "./index-BopRIRaa.js";
|
|
5
|
+
import { b as Tn, T as An, d as ya, c as mn } from "./threeViewerHost-DLd9bynL.js";
|
|
6
|
+
import { aL as Rl, aF as Un, j as il, k as _n, i as Cn, u as xn, aK as On, a as Dn, a_ as Qa, a$ as Xa, b0 as En, b1 as jn, l as na, E as Ya, aI as Za, b2 as Ia, aT as Ln, b3 as $n } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
7
7
|
import { r as Pn, u as Wl, w as Bn } from "./xlsx-ByPOQ6N_.js";
|
|
8
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
8
|
+
import "./index.vue_vue_type_style_index_1_lang-BX_Iweoa.js";
|
|
9
9
|
import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { s as Jl } from "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { i as Va } from "./isString-
|
|
10
|
+
import { s as Jl } from "./index-B35gkDgD.js";
|
|
11
|
+
import "./index-DalL4U6b.js";
|
|
12
|
+
import { i as Va } from "./isString-DBnuELeA.js";
|
|
13
13
|
const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -57,7 +57,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
57
57
|
ref_key: "popOverRef",
|
|
58
58
|
ref: Z
|
|
59
59
|
}, {
|
|
60
|
-
reference:
|
|
60
|
+
reference: Q(() => [
|
|
61
61
|
he("div", null, [
|
|
62
62
|
Ka(s.$slots, "reference", {
|
|
63
63
|
ref_key: "referenceRef",
|
|
@@ -65,7 +65,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
65
65
|
})
|
|
66
66
|
])
|
|
67
67
|
]),
|
|
68
|
-
default:
|
|
68
|
+
default: Q(() => [
|
|
69
69
|
he("div", null, [
|
|
70
70
|
Ka(s.$slots, "content")
|
|
71
71
|
])
|
|
@@ -77,7 +77,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
77
77
|
}, wn = {
|
|
78
78
|
key: 0,
|
|
79
79
|
class: "extra-button-content"
|
|
80
|
-
},
|
|
80
|
+
}, Nn = { class: "table-operator-wrap" }, Mn = { class: "extra-button-filter" }, Kn = { class: "form-content-value" }, Fn = {
|
|
81
81
|
key: 0,
|
|
82
82
|
class: "extra-header"
|
|
83
83
|
}, zn = {
|
|
@@ -86,10 +86,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
86
86
|
}, Jn = { key: 0 }, Rn = { key: 1 }, Wn = {
|
|
87
87
|
key: 1,
|
|
88
88
|
class: "extra-button-content tabs-button-wrapper"
|
|
89
|
-
}, qn = { class: "table-operator-wrap" }, Gn = { class: "extra-button-filter" },
|
|
89
|
+
}, qn = { class: "table-operator-wrap" }, Gn = { class: "extra-button-filter" }, Hn = { class: "form-content-value" }, Qn = {
|
|
90
90
|
key: 0,
|
|
91
91
|
class: "extra-header"
|
|
92
|
-
},
|
|
92
|
+
}, Xn = {
|
|
93
93
|
class: "drop-menu",
|
|
94
94
|
style: { width: "120px" }
|
|
95
95
|
}, Yn = { key: 0 }, Zn = { key: 1 }, In = {
|
|
@@ -144,15 +144,15 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
144
144
|
const ke = de.raw;
|
|
145
145
|
if (!ke) return;
|
|
146
146
|
const ie = new FileReader();
|
|
147
|
-
ie.onload = (
|
|
147
|
+
ie.onload = (H) => {
|
|
148
148
|
try {
|
|
149
|
-
const W = new Uint8Array(
|
|
150
|
-
for (const
|
|
151
|
-
if (
|
|
152
|
-
const { r: fe, c: ee } = Wl.decode_cell(
|
|
153
|
-
let we = oe[
|
|
154
|
-
if (oe[
|
|
155
|
-
|
|
149
|
+
const W = new Uint8Array(H.target.result), $e = Pn(W, { type: "array" }), Ge = $e.SheetNames[0], oe = $e.Sheets[Ge], Ke = Wl.decode_range(oe["!ref"]).e.c + 1, X = new Array(Ke).fill(""), v = [];
|
|
150
|
+
for (const N in oe) {
|
|
151
|
+
if (N[0] === "!") continue;
|
|
152
|
+
const { r: fe, c: ee } = Wl.decode_cell(N);
|
|
153
|
+
let we = oe[N].v;
|
|
154
|
+
if (oe[N].t === "n" && we > 0 && we < 1e6 && (we = new Date((we - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (we == null || we === "") && (we = ""), fe === 0)
|
|
155
|
+
X[ee] = we;
|
|
156
156
|
else {
|
|
157
157
|
if (!v[fe - 1]) {
|
|
158
158
|
v[fe - 1] = {};
|
|
@@ -162,49 +162,49 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
162
162
|
v[fe - 1][`col_${ee}`] = we;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
for (let
|
|
166
|
-
|
|
165
|
+
for (let N = 0; N < Ke; N++)
|
|
166
|
+
X[N] === void 0 && (X[N] = "");
|
|
167
167
|
const _e = v == null ? void 0 : v[0];
|
|
168
168
|
if (!(_e != null && _e.hasOwnProperty("col_0"))) return Je.error("导入的数据列不匹配,请检查是否错位");
|
|
169
|
-
Z("getImportData",
|
|
169
|
+
Z("getImportData", X, v);
|
|
170
170
|
} catch (W) {
|
|
171
171
|
throw Je.error(W.message), new Error(W.message);
|
|
172
172
|
}
|
|
173
173
|
}, ie.readAsArrayBuffer(ke);
|
|
174
174
|
}, Ye = (de) => {
|
|
175
175
|
var ie;
|
|
176
|
-
const ke = (ie = ne.value) == null ? void 0 : ie.reduce((
|
|
176
|
+
const ke = (ie = ne.value) == null ? void 0 : ie.reduce((H, W, $e) => ($e === 0 ? H[W.label] = de : H[W.label] = W == null ? void 0 : W.value, H), {});
|
|
177
177
|
Z("filter", ke, de, !0);
|
|
178
178
|
}, rl = (de) => {
|
|
179
179
|
Z("buttonClick", de);
|
|
180
180
|
}, yl = (de) => {
|
|
181
181
|
var ke, ie;
|
|
182
|
-
ne.value = (ie = (ke = Rl(q(de))) == null ? void 0 : ke.filter((
|
|
183
|
-
label: (
|
|
182
|
+
ne.value = (ie = (ke = Rl(q(de))) == null ? void 0 : ke.filter((H) => (H == null ? void 0 : H.label) !== "" && (H == null ? void 0 : H.label) !== "操作")) == null ? void 0 : ie.map((H) => ({
|
|
183
|
+
label: (H == null ? void 0 : H.label) ?? "",
|
|
184
184
|
value: "",
|
|
185
|
-
name: (
|
|
186
|
-
isFormColHidden:
|
|
185
|
+
name: (H == null ? void 0 : H.label) ?? "",
|
|
186
|
+
isFormColHidden: H == null ? void 0 : H.isTableColHidden,
|
|
187
187
|
width: 2
|
|
188
188
|
}));
|
|
189
189
|
}, ye = G(!1), dl = (de) => {
|
|
190
190
|
var ke;
|
|
191
191
|
if ((de == null ? void 0 : de.buttonName) === "确认" && (Z("filter", de == null ? void 0 : de.content), ye.value = (de == null ? void 0 : de.content) && Object.values(de == null ? void 0 : de.content).length > 0), (de == null ? void 0 : de.buttonName) === "清空") {
|
|
192
192
|
const ie = q(de == null ? void 0 : de.content);
|
|
193
|
-
for (const
|
|
194
|
-
ie[
|
|
195
|
-
ne.value = (ke = ne.value) == null ? void 0 : ke.map((
|
|
196
|
-
...
|
|
193
|
+
for (const H in ie)
|
|
194
|
+
ie[H] = "";
|
|
195
|
+
ne.value = (ke = ne.value) == null ? void 0 : ke.map((H) => ({
|
|
196
|
+
...H,
|
|
197
197
|
value: ""
|
|
198
198
|
})), Z("filter", ie), ye.value = !1;
|
|
199
199
|
}
|
|
200
200
|
s.value = !1;
|
|
201
201
|
}, pl = () => {
|
|
202
202
|
var ke, ie;
|
|
203
|
-
ne.value = (ke = ne.value) == null ? void 0 : ke.map((
|
|
204
|
-
...
|
|
203
|
+
ne.value = (ke = ne.value) == null ? void 0 : ke.map((H) => ({
|
|
204
|
+
...H,
|
|
205
205
|
value: ""
|
|
206
206
|
}));
|
|
207
|
-
const de = (ie = ne.value) == null ? void 0 : ie.reduce((
|
|
207
|
+
const de = (ie = ne.value) == null ? void 0 : ie.reduce((H, W) => (H[W.label] = W.value, H), {});
|
|
208
208
|
Z("filter", de);
|
|
209
209
|
};
|
|
210
210
|
return ba(() => {
|
|
@@ -216,8 +216,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
216
216
|
},
|
|
217
217
|
{ deep: !0, immediate: !0 }
|
|
218
218
|
), (de, ke) => {
|
|
219
|
-
var oe,
|
|
220
|
-
const ie = qe("el-icon"),
|
|
219
|
+
var oe, Me, Ke, X;
|
|
220
|
+
const ie = qe("el-icon"), H = qe("svg-icon"), W = qe("el-input"), $e = qe("el-button"), Ge = qe("el-upload");
|
|
221
221
|
return j.pageLayout === "vertical" ? (V(), Se("div", wn, [
|
|
222
222
|
he("div", {
|
|
223
223
|
class: rr(j.compName ? "table-name-wrap" : ""),
|
|
@@ -228,28 +228,28 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
228
228
|
fontSize: 17 - (B == null ? void 0 : B.level) >= 14 ? 17 - (B == null ? void 0 : B.level) + "px" : "14px"
|
|
229
229
|
})
|
|
230
230
|
}, Oe(j.compName), 7),
|
|
231
|
-
he("div",
|
|
232
|
-
he("div",
|
|
231
|
+
he("div", Nn, [
|
|
232
|
+
he("div", Mn, [
|
|
233
233
|
ue(lr, {
|
|
234
234
|
title: "",
|
|
235
235
|
width: 800,
|
|
236
236
|
placement: "bottom-start",
|
|
237
237
|
isVisible: s.value
|
|
238
238
|
}, {
|
|
239
|
-
reference:
|
|
240
|
-
var v, _e,
|
|
239
|
+
reference: Q(() => {
|
|
240
|
+
var v, _e, N, fe;
|
|
241
241
|
return [
|
|
242
242
|
ue(W, {
|
|
243
243
|
modelValue: $.value,
|
|
244
244
|
"onUpdate:modelValue": ke[1] || (ke[1] = (ee) => $.value = ee),
|
|
245
245
|
style: { "min-width": "80px" },
|
|
246
|
-
placeholder: ye.value ? (
|
|
247
|
-
"prefix-icon":
|
|
246
|
+
placeholder: ye.value ? (N = (_e = (v = j.filterValues) == null ? void 0 : v.filter((ee) => ee)) == null ? void 0 : _e.slice(0, 3)) == null ? void 0 : N.join("/") : "搜索",
|
|
247
|
+
"prefix-icon": Xe(Ra),
|
|
248
248
|
clearable: "",
|
|
249
249
|
onInput: Ye,
|
|
250
250
|
disabled: ((fe = ne.value) == null ? void 0 : fe.length) === 0
|
|
251
251
|
}, {
|
|
252
|
-
suffix:
|
|
252
|
+
suffix: Q(() => {
|
|
253
253
|
var ee, we;
|
|
254
254
|
return [
|
|
255
255
|
!$.value && ((we = (ee = j.filterValues) == null ? void 0 : ee.filter((nl) => nl)) != null && we.join("/")) ? (V(), Le(ie, {
|
|
@@ -257,19 +257,19 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
257
257
|
style: { cursor: "pointer" },
|
|
258
258
|
onClick: pl
|
|
259
259
|
}, {
|
|
260
|
-
default:
|
|
261
|
-
ue(
|
|
260
|
+
default: Q(() => [
|
|
261
|
+
ue(Xe(Wa))
|
|
262
262
|
]),
|
|
263
263
|
_: 1
|
|
264
264
|
})) : xe("", !0)
|
|
265
265
|
];
|
|
266
266
|
}),
|
|
267
|
-
append:
|
|
267
|
+
append: Q(() => [
|
|
268
268
|
he("span", {
|
|
269
269
|
title: "条件查询",
|
|
270
270
|
onClick: ke[0] || (ke[0] = (ee) => s.value = !s.value)
|
|
271
271
|
}, [
|
|
272
|
-
ue(
|
|
272
|
+
ue(H, {
|
|
273
273
|
name: "query",
|
|
274
274
|
style: { width: "15px", height: "15px", cursor: "pointer" }
|
|
275
275
|
})
|
|
@@ -279,7 +279,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
279
279
|
}, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
|
|
280
280
|
];
|
|
281
281
|
}),
|
|
282
|
-
content:
|
|
282
|
+
content: Q(() => [
|
|
283
283
|
he("div", Kn, [
|
|
284
284
|
(V(), Le(jl, {
|
|
285
285
|
rowContents: ne.value,
|
|
@@ -297,7 +297,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
297
297
|
}, 8, ["isVisible"])
|
|
298
298
|
]),
|
|
299
299
|
j.buttons && ((oe = j.buttons) == null ? void 0 : oe.length) > 0 ? (V(), Se("div", Fn, [
|
|
300
|
-
(V(!0), Se(tl, null, cl((
|
|
300
|
+
(V(!0), Se(tl, null, cl((Me = j.buttons) == null ? void 0 : Me.filter((v) => j.isDevMode || (v == null ? void 0 : v.label) !== "修改模板"), (v, _e) => (V(), Se("div", {
|
|
301
301
|
class: "extra-contents",
|
|
302
302
|
key: _e
|
|
303
303
|
}, [
|
|
@@ -311,46 +311,46 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
311
311
|
"show-file-list": !1,
|
|
312
312
|
disabled: !!j.lockingPage
|
|
313
313
|
}, {
|
|
314
|
-
default:
|
|
314
|
+
default: Q(() => [
|
|
315
315
|
ue($e, {
|
|
316
316
|
disabled: !!j.lockingPage,
|
|
317
317
|
style: Ul({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" })
|
|
318
318
|
}, {
|
|
319
|
-
default:
|
|
320
|
-
|
|
319
|
+
default: Q(() => [
|
|
320
|
+
He(Oe(v == null ? void 0 : v.label), 1)
|
|
321
321
|
]),
|
|
322
322
|
_: 2
|
|
323
323
|
}, 1032, ["disabled", "style"])
|
|
324
324
|
]),
|
|
325
325
|
_: 2
|
|
326
326
|
}, 1032, ["disabled"])) : xe("", !0),
|
|
327
|
-
(v == null ? void 0 : v.type) === "popover" ? (V(), Le(
|
|
328
|
-
dropTitle:
|
|
327
|
+
(v == null ? void 0 : v.type) === "popover" ? (V(), Le(Ha, { key: 1 }, {
|
|
328
|
+
dropTitle: Q(() => [
|
|
329
329
|
(v == null ? void 0 : v.type) === "popover" ? (V(), Le($e, {
|
|
330
330
|
key: 0,
|
|
331
331
|
disabled: !!j.lockingPage,
|
|
332
332
|
style: Ul({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" })
|
|
333
333
|
}, {
|
|
334
|
-
default:
|
|
335
|
-
|
|
334
|
+
default: Q(() => [
|
|
335
|
+
He(Oe(v == null ? void 0 : v.label), 1)
|
|
336
336
|
]),
|
|
337
337
|
_: 2
|
|
338
338
|
}, 1032, ["disabled", "style"])) : xe("", !0)
|
|
339
339
|
]),
|
|
340
|
-
dropMenu:
|
|
340
|
+
dropMenu: Q(() => [
|
|
341
341
|
he("div", zn, [
|
|
342
|
-
(V(!0), Se(tl, null, cl(v == null ? void 0 : v.contents, (
|
|
343
|
-
key:
|
|
342
|
+
(V(!0), Se(tl, null, cl(v == null ? void 0 : v.contents, (N) => (V(), Le($e, {
|
|
343
|
+
key: N == null ? void 0 : N.label,
|
|
344
344
|
disabled: !!j.lockingPage,
|
|
345
345
|
style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
|
|
346
|
-
onClick: (fe) => rl(
|
|
346
|
+
onClick: (fe) => rl(N == null ? void 0 : N.label)
|
|
347
347
|
}, {
|
|
348
|
-
default:
|
|
348
|
+
default: Q(() => {
|
|
349
349
|
var fe, ee;
|
|
350
350
|
return [
|
|
351
|
-
|
|
352
|
-
(fe =
|
|
353
|
-
(ee =
|
|
351
|
+
He(Oe(N == null ? void 0 : N.label), 1),
|
|
352
|
+
(fe = N == null ? void 0 : N.label) != null && fe.includes("选中") ? (V(), Se("span", Jn, "(" + Oe(j.selectNums) + ")", 1)) : xe("", !0),
|
|
353
|
+
(ee = N == null ? void 0 : N.label) != null && ee.includes("全部") ? (V(), Se("span", Rn, "(" + Oe(j.dataNums) + ")", 1)) : xe("", !0)
|
|
354
354
|
];
|
|
355
355
|
}),
|
|
356
356
|
_: 2
|
|
@@ -364,10 +364,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
364
364
|
id: "themeButton",
|
|
365
365
|
disabled: !!j.lockingPage,
|
|
366
366
|
style: Ul({ background: (v == null ? void 0 : v.background) ?? "var(--ssbutton-theme-bg)", color: (v == null ? void 0 : v.color) ?? "var(--ssbutton-theme-color)" }),
|
|
367
|
-
onClick: (
|
|
367
|
+
onClick: (N) => rl(v == null ? void 0 : v.label)
|
|
368
368
|
}, {
|
|
369
|
-
default:
|
|
370
|
-
|
|
369
|
+
default: Q(() => [
|
|
370
|
+
He(Oe(v == null ? void 0 : v.label), 1)
|
|
371
371
|
]),
|
|
372
372
|
_: 2
|
|
373
373
|
}, 1032, ["disabled", "style", "onClick"]))
|
|
@@ -383,20 +383,20 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
383
383
|
placement: "bottom-start",
|
|
384
384
|
isVisible: s.value
|
|
385
385
|
}, {
|
|
386
|
-
reference:
|
|
387
|
-
var v, _e,
|
|
386
|
+
reference: Q(() => {
|
|
387
|
+
var v, _e, N, fe;
|
|
388
388
|
return [
|
|
389
389
|
ue(W, {
|
|
390
390
|
modelValue: $.value,
|
|
391
391
|
"onUpdate:modelValue": ke[3] || (ke[3] = (ee) => $.value = ee),
|
|
392
392
|
style: { "min-width": "80px" },
|
|
393
|
-
placeholder: ye.value ? (
|
|
394
|
-
"prefix-icon":
|
|
393
|
+
placeholder: ye.value ? (N = (_e = (v = j.filterValues) == null ? void 0 : v.filter((ee) => ee)) == null ? void 0 : _e.slice(0, 3)) == null ? void 0 : N.join("/") : "搜索",
|
|
394
|
+
"prefix-icon": Xe(Ra),
|
|
395
395
|
clearable: "",
|
|
396
396
|
onInput: Ye,
|
|
397
397
|
disabled: ((fe = ne.value) == null ? void 0 : fe.length) === 0
|
|
398
398
|
}, {
|
|
399
|
-
suffix:
|
|
399
|
+
suffix: Q(() => {
|
|
400
400
|
var ee, we;
|
|
401
401
|
return [
|
|
402
402
|
!$.value && ((we = (ee = j.filterValues) == null ? void 0 : ee.filter((nl) => nl)) != null && we.join("/")) ? (V(), Le(ie, {
|
|
@@ -404,19 +404,19 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
404
404
|
style: { cursor: "pointer" },
|
|
405
405
|
onClick: pl
|
|
406
406
|
}, {
|
|
407
|
-
default:
|
|
408
|
-
ue(
|
|
407
|
+
default: Q(() => [
|
|
408
|
+
ue(Xe(Wa))
|
|
409
409
|
]),
|
|
410
410
|
_: 1
|
|
411
411
|
})) : xe("", !0)
|
|
412
412
|
];
|
|
413
413
|
}),
|
|
414
|
-
append:
|
|
414
|
+
append: Q(() => [
|
|
415
415
|
he("span", {
|
|
416
416
|
title: "条件查询",
|
|
417
417
|
onClick: ke[2] || (ke[2] = (ee) => s.value = !s.value)
|
|
418
418
|
}, [
|
|
419
|
-
ue(
|
|
419
|
+
ue(H, {
|
|
420
420
|
name: "query",
|
|
421
421
|
style: { width: "15px", height: "15px", cursor: "pointer" }
|
|
422
422
|
})
|
|
@@ -426,8 +426,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
426
426
|
}, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
|
|
427
427
|
];
|
|
428
428
|
}),
|
|
429
|
-
content:
|
|
430
|
-
he("div",
|
|
429
|
+
content: Q(() => [
|
|
430
|
+
he("div", Hn, [
|
|
431
431
|
(V(), Le(jl, {
|
|
432
432
|
rowContents: ne.value,
|
|
433
433
|
buttonValue: ve.value,
|
|
@@ -443,8 +443,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
443
443
|
_: 1
|
|
444
444
|
}, 8, ["isVisible"])
|
|
445
445
|
]),
|
|
446
|
-
j.buttons && ((Ke = j.buttons) == null ? void 0 : Ke.length) > 0 ? (V(), Se("div",
|
|
447
|
-
(V(!0), Se(tl, null, cl((
|
|
446
|
+
j.buttons && ((Ke = j.buttons) == null ? void 0 : Ke.length) > 0 ? (V(), Se("div", Qn, [
|
|
447
|
+
(V(!0), Se(tl, null, cl((X = j.buttons) == null ? void 0 : X.filter((v) => j.isDevMode || (v == null ? void 0 : v.label) !== "修改模板"), (v, _e) => (V(), Se("div", {
|
|
448
448
|
class: "extra-contents",
|
|
449
449
|
key: _e
|
|
450
450
|
}, [
|
|
@@ -457,57 +457,57 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
457
457
|
action: "#",
|
|
458
458
|
"show-file-list": !1
|
|
459
459
|
}, {
|
|
460
|
-
default:
|
|
460
|
+
default: Q(() => [
|
|
461
461
|
ue($e, { style: { background: "transparent", color: "#666666" } }, {
|
|
462
|
-
icon:
|
|
463
|
-
var
|
|
462
|
+
icon: Q(() => {
|
|
463
|
+
var N;
|
|
464
464
|
return [
|
|
465
|
-
ue(
|
|
466
|
-
name: (
|
|
465
|
+
ue(H, {
|
|
466
|
+
name: (N = Ue == null ? void 0 : Ue.find((fe) => (fe == null ? void 0 : fe.label) === (v == null ? void 0 : v.label))) == null ? void 0 : N.icon
|
|
467
467
|
}, null, 8, ["name"])
|
|
468
468
|
];
|
|
469
469
|
}),
|
|
470
|
-
default:
|
|
471
|
-
|
|
470
|
+
default: Q(() => [
|
|
471
|
+
He(" " + Oe(v == null ? void 0 : v.label), 1)
|
|
472
472
|
]),
|
|
473
473
|
_: 2
|
|
474
474
|
}, 1024)
|
|
475
475
|
]),
|
|
476
476
|
_: 2
|
|
477
477
|
}, 1024)) : xe("", !0),
|
|
478
|
-
(v == null ? void 0 : v.type) === "popover" ? (V(), Le(
|
|
479
|
-
dropTitle:
|
|
478
|
+
(v == null ? void 0 : v.type) === "popover" ? (V(), Le(Ha, { key: 1 }, {
|
|
479
|
+
dropTitle: Q(() => [
|
|
480
480
|
(v == null ? void 0 : v.type) === "popover" ? (V(), Le($e, {
|
|
481
481
|
key: 0,
|
|
482
482
|
style: { background: "transparent", color: "#666666" }
|
|
483
483
|
}, {
|
|
484
|
-
icon:
|
|
485
|
-
var
|
|
484
|
+
icon: Q(() => {
|
|
485
|
+
var N;
|
|
486
486
|
return [
|
|
487
|
-
ue(
|
|
488
|
-
name: (
|
|
487
|
+
ue(H, {
|
|
488
|
+
name: (N = Ue == null ? void 0 : Ue.find((fe) => (fe == null ? void 0 : fe.label) === (v == null ? void 0 : v.label))) == null ? void 0 : N.icon
|
|
489
489
|
}, null, 8, ["name"])
|
|
490
490
|
];
|
|
491
491
|
}),
|
|
492
|
-
default:
|
|
493
|
-
|
|
492
|
+
default: Q(() => [
|
|
493
|
+
He(" " + Oe(v == null ? void 0 : v.label), 1)
|
|
494
494
|
]),
|
|
495
495
|
_: 2
|
|
496
496
|
}, 1024)) : xe("", !0)
|
|
497
497
|
]),
|
|
498
|
-
dropMenu:
|
|
499
|
-
he("div",
|
|
500
|
-
(V(!0), Se(tl, null, cl(v == null ? void 0 : v.contents, (
|
|
501
|
-
key:
|
|
498
|
+
dropMenu: Q(() => [
|
|
499
|
+
he("div", Xn, [
|
|
500
|
+
(V(!0), Se(tl, null, cl(v == null ? void 0 : v.contents, (N) => (V(), Le($e, {
|
|
501
|
+
key: N == null ? void 0 : N.label,
|
|
502
502
|
style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
|
|
503
|
-
onClick: (fe) => rl(
|
|
503
|
+
onClick: (fe) => rl(N == null ? void 0 : N.label)
|
|
504
504
|
}, {
|
|
505
|
-
default:
|
|
505
|
+
default: Q(() => {
|
|
506
506
|
var fe, ee;
|
|
507
507
|
return [
|
|
508
|
-
|
|
509
|
-
(fe =
|
|
510
|
-
(ee =
|
|
508
|
+
He(Oe(N == null ? void 0 : N.label), 1),
|
|
509
|
+
(fe = N == null ? void 0 : N.label) != null && fe.includes("选中") ? (V(), Se("span", Yn, "(" + Oe(j.selectNums) + ")", 1)) : xe("", !0),
|
|
510
|
+
(ee = N == null ? void 0 : N.label) != null && ee.includes("全部") ? (V(), Se("span", Zn, "(" + Oe(j.dataNums) + ")", 1)) : xe("", !0)
|
|
511
511
|
];
|
|
512
512
|
}),
|
|
513
513
|
_: 2
|
|
@@ -520,18 +520,18 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
520
520
|
key: 2,
|
|
521
521
|
id: "themeButton",
|
|
522
522
|
style: Ul({ background: "transparent", color: (v == null ? void 0 : v.label) === "新增" ? "var(--ssbutton-theme-bg)" : "#666666" }),
|
|
523
|
-
onClick: (
|
|
523
|
+
onClick: (N) => rl(v == null ? void 0 : v.label)
|
|
524
524
|
}, {
|
|
525
|
-
icon:
|
|
526
|
-
var
|
|
525
|
+
icon: Q(() => {
|
|
526
|
+
var N;
|
|
527
527
|
return [
|
|
528
|
-
ue(
|
|
529
|
-
name: (
|
|
528
|
+
ue(H, {
|
|
529
|
+
name: (N = Ue == null ? void 0 : Ue.find((fe) => (fe == null ? void 0 : fe.label) === (v == null ? void 0 : v.label))) == null ? void 0 : N.icon
|
|
530
530
|
}, null, 8, ["name"])
|
|
531
531
|
];
|
|
532
532
|
}),
|
|
533
|
-
default:
|
|
534
|
-
|
|
533
|
+
default: Q(() => [
|
|
534
|
+
He(" " + Oe(v == null ? void 0 : v.label), 1)
|
|
535
535
|
]),
|
|
536
536
|
_: 2
|
|
537
537
|
}, 1032, ["style", "onClick"]))
|
|
@@ -575,8 +575,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
575
575
|
class: rr(s(be == null ? void 0 : be.label)),
|
|
576
576
|
onClick: (Ye) => $(be == null ? void 0 : be.label)
|
|
577
577
|
}, {
|
|
578
|
-
default:
|
|
579
|
-
|
|
578
|
+
default: Q(() => [
|
|
579
|
+
He(Oe(be == null ? void 0 : be.label), 1)
|
|
580
580
|
]),
|
|
581
581
|
_: 2
|
|
582
582
|
}, 1032, ["disabled", "class", "onClick"]))), 128))
|
|
@@ -710,32 +710,32 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
}), ar = async (j, re) => {
|
|
713
|
-
var ne, ve, Ue, be, Ye, rl, yl, ye, dl, pl, de, ke, ie,
|
|
713
|
+
var ne, ve, Ue, be, Ye, rl, yl, ye, dl, pl, de, ke, ie, H, W, $e, Ge;
|
|
714
714
|
let Z = (ve = (ne = q(j)) == null ? void 0 : ne.optionUrl) == null ? void 0 : ve.menuSelect, B = [];
|
|
715
715
|
Z == null || Z.forEach((oe) => {
|
|
716
716
|
});
|
|
717
717
|
let $ = "", s = await Un(Z);
|
|
718
718
|
if (s == null || s.forEach((oe) => {
|
|
719
|
-
var
|
|
720
|
-
(oe == null ? void 0 : oe.name) === (((v = (
|
|
719
|
+
var Me, Ke, X, v;
|
|
720
|
+
(oe == null ? void 0 : oe.name) === (((v = (X = (Ke = (Me = q(j)) == null ? void 0 : Me.optionUrl) == null ? void 0 : Ke.groupSelect) == null ? void 0 : X[0]) == null ? void 0 : v.replaceAll("'", "")) ?? "") && ($ = oe == null ? void 0 : oe.id);
|
|
721
721
|
}), re) {
|
|
722
722
|
$ = re;
|
|
723
723
|
const oe = await El({
|
|
724
724
|
id: $
|
|
725
|
-
}),
|
|
726
|
-
s = await il(
|
|
725
|
+
}), Me = (rl = (Ye = (be = (Ue = oe == null ? void 0 : oe.data) == null ? void 0 : Ue.result) == null ? void 0 : be[0]) == null ? void 0 : Ye.key) == null ? void 0 : rl.pageKey;
|
|
726
|
+
s = await il(Me, sessionStorage.getItem("systemKey"), "");
|
|
727
727
|
}
|
|
728
728
|
if ($ !== "") {
|
|
729
729
|
let oe;
|
|
730
|
-
re ? oe = (yl = s == null ? void 0 : s.find((
|
|
731
|
-
var v, _e,
|
|
732
|
-
return (
|
|
730
|
+
re ? oe = (yl = s == null ? void 0 : s.find((X) => (X == null ? void 0 : X.id) === re)) == null ? void 0 : yl.compData : oe = (ye = s == null ? void 0 : s.find((X) => {
|
|
731
|
+
var v, _e, N, fe;
|
|
732
|
+
return (X == null ? void 0 : X.name) === (((_e = (v = j == null ? void 0 : j.groupSelect) == null ? void 0 : v.split(":")) == null ? void 0 : _e[0]) || ((fe = (N = j == null ? void 0 : j.optionUrl) == null ? void 0 : N.groupSelect) == null ? void 0 : fe[0]));
|
|
733
733
|
})) == null ? void 0 : ye.compData;
|
|
734
|
-
let
|
|
735
|
-
(ke = (de = oe == null ? void 0 : oe.find((
|
|
736
|
-
let Ke = (Ge = ($e = oe == null ? void 0 : oe.find((
|
|
737
|
-
Ke == null || Ke.forEach((
|
|
738
|
-
B.push(_n(
|
|
734
|
+
let Me = (pl = (dl = oe == null ? void 0 : oe.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : dl.contents) == null ? void 0 : pl.map((X) => X == null ? void 0 : X.label);
|
|
735
|
+
(ke = (de = oe == null ? void 0 : oe.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : de.contents) != null && ke.every((X) => Array.isArray(X)) && (Me = (W = Rl((H = (ie = oe == null ? void 0 : oe.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : ie.contents) == null ? void 0 : H[0])) == null ? void 0 : W.map((X) => X == null ? void 0 : X.prop));
|
|
736
|
+
let Ke = (Ge = ($e = oe == null ? void 0 : oe.find((X) => (X == null ? void 0 : X.key) === "tableContents")) == null ? void 0 : $e.contents) == null ? void 0 : Ge.map((X) => (X = X == null ? void 0 : X.filter((v) => !(v != null && v.id)), X));
|
|
737
|
+
Ke == null || Ke.forEach((X) => {
|
|
738
|
+
B.push(_n(X, Me));
|
|
739
739
|
});
|
|
740
740
|
}
|
|
741
741
|
return B;
|
|
@@ -827,8 +827,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
827
827
|
},
|
|
828
828
|
emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
|
|
829
829
|
setup(j, { emit: re }) {
|
|
830
|
-
var
|
|
831
|
-
const Z = G([]), B = fu(Al), $ = G(null), s = j, ne = G(s == null ? void 0 : s.allowSelect), ve = G((
|
|
830
|
+
var Ma;
|
|
831
|
+
const Z = G([]), B = fu(Al), $ = G(null), s = j, ne = G(s == null ? void 0 : s.allowSelect), ve = G((Ma = s == null ? void 0 : s.config) == null ? void 0 : Ma.showIndex), Ue = G(), be = G([
|
|
832
832
|
{
|
|
833
833
|
label: "排序",
|
|
834
834
|
value: "sortable",
|
|
@@ -860,15 +860,15 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
860
860
|
pageSize: 10,
|
|
861
861
|
total: 0,
|
|
862
862
|
pageSizes: [5, 10, 20, 50, 100]
|
|
863
|
-
}),
|
|
863
|
+
}), H = re, W = G([]), $e = zl({ prop: "", order: null }), Ge = G([]), oe = G(!1), Me = G(!1), Ke = G(null);
|
|
864
864
|
Tn();
|
|
865
|
-
const
|
|
865
|
+
const X = G([]), v = G(!1), _e = G(), N = xn(), { importLoading: fe, activeMenuPath: ee, contentLoading: we, linkMenuInfo: nl } = Dl(N), ir = On(Al), De = Dn(Al), { extraContents: Te, cacheUpdatingData: Ll, tableViewContents: $l, tableLoading: Bu, pageMapState: vl, lockingPage: ql } = Dl(De), I = G([]), Gl = G([]), Hl = G(/* @__PURE__ */ new Map());
|
|
866
866
|
G(!1);
|
|
867
867
|
const ul = G("");
|
|
868
868
|
G();
|
|
869
|
-
const
|
|
869
|
+
const Ql = G(!0), _l = G(0), ka = G(!0), Ze = G(""), sl = G(!1), tr = G({
|
|
870
870
|
label: "查看三维模型"
|
|
871
|
-
}),
|
|
871
|
+
}), Xl = G(!1), oa = G(), Qe = G([]), bl = G([]), Yl = G(!1), Pl = G([]), Cl = G([]), Sl = G([]), Pe = G([]), Ie = G(), Fe = G(), cr = au(Al), Zl = G(), ia = G(0), Il = iu(Al), { selectIndex: dr, selectMenu: ol, selectTitle: ta } = Dl(Il), { selectString: kl } = Dl(cr), pr = fn(Al), { loginUserInfo: Ce } = Dl(pr), fr = G(720), Ve = G(!1), Vl = G(!1), el = G([]), Tl = G(), Bl = G(!0), Ta = G(!0), ea = G([]), gr = on("contentRef");
|
|
872
872
|
tn("contentRef", gr), We(() => {
|
|
873
873
|
var e;
|
|
874
874
|
return (e = I.value) == null ? void 0 : e.length;
|
|
@@ -940,12 +940,12 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
940
940
|
var i;
|
|
941
941
|
return (o == null ? void 0 : o.sortable) && ((i = o == null ? void 0 : o.label) == null ? void 0 : i.includes("时间"));
|
|
942
942
|
});
|
|
943
|
-
return r && ($e.order = "descending", $e.prop = r == null ? void 0 : r.prop),
|
|
943
|
+
return r && ($e.order = "descending", $e.prop = r == null ? void 0 : r.prop), H("getSliceContLength", ie), (u = I.value) == null ? void 0 : u.slice(e, l);
|
|
944
944
|
}), vr = (e) => {
|
|
945
|
-
ie.currentPage = e,
|
|
945
|
+
ie.currentPage = e, H("getSliceContLength", ie);
|
|
946
946
|
}, br = (e) => {
|
|
947
947
|
var l;
|
|
948
|
-
ie.pageSize = e, e * ie.currentPage > ((l = I.value) == null ? void 0 : l.length) && (ie.currentPage = 1, ie.pageSize = 10, Je.warning("分页无效,返回第一页")),
|
|
948
|
+
ie.pageSize = e, e * ie.currentPage > ((l = I.value) == null ? void 0 : l.length) && (ie.currentPage = 1, ie.pageSize = 10, Je.warning("分页无效,返回第一页")), H("getSliceContLength", ie);
|
|
949
949
|
}, Sr = (e, l) => {
|
|
950
950
|
var i, t;
|
|
951
951
|
const r = (t = (i = W.value) == null ? void 0 : i.map((c) => c == null ? void 0 : c.prop)) == null ? void 0 : t.filter((c) => c !== "operate");
|
|
@@ -1025,7 +1025,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1025
1025
|
}, mr = async (e, l) => {
|
|
1026
1026
|
await la("columnType", l, e, !1, "type");
|
|
1027
1027
|
}, Ur = () => {
|
|
1028
|
-
Ll.value ? Ve.value = !1 :
|
|
1028
|
+
Ll.value ? Ve.value = !1 : Na();
|
|
1029
1029
|
}, _r = (e) => {
|
|
1030
1030
|
el.value = e;
|
|
1031
1031
|
}, Cr = (e, l) => {
|
|
@@ -1050,7 +1050,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1050
1050
|
}, Or = () => {
|
|
1051
1051
|
sl.value = !1;
|
|
1052
1052
|
}, Dr = (e) => {
|
|
1053
|
-
|
|
1053
|
+
H("clickTrigger", e);
|
|
1054
1054
|
}, ma = async (e) => {
|
|
1055
1055
|
var o, i, t, c, f, S, D, z, g, _, E, U, J, F, K;
|
|
1056
1056
|
const l = e == null ? void 0 : e.row, r = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
|
|
@@ -1059,14 +1059,14 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1059
1059
|
Je.error("当前版本仅允许单个urdf预览!");
|
|
1060
1060
|
return;
|
|
1061
1061
|
}
|
|
1062
|
-
Pl.value = [l],
|
|
1062
|
+
Pl.value = [l], Me.value = !0, Ke.value = {
|
|
1063
1063
|
data: q(r)
|
|
1064
1064
|
}, oe.value = !0;
|
|
1065
1065
|
return;
|
|
1066
1066
|
}
|
|
1067
1067
|
let u = [];
|
|
1068
1068
|
if ((i = l == null ? void 0 : l.toString()) != null && i.includes(".stl") || (t = l == null ? void 0 : l.toString()) != null && t.includes(".STL") || (c = l == null ? void 0 : l.toString()) != null && c.includes(".obj") || (f = l == null ? void 0 : l.toString()) != null && f.includes(".mtl")) {
|
|
1069
|
-
Pl.value = (S = l == null ? void 0 : l.toString()) == null ? void 0 : S.split(","),
|
|
1069
|
+
Pl.value = (S = l == null ? void 0 : l.toString()) == null ? void 0 : S.split(","), Me.value = !1, oe.value = !0;
|
|
1070
1070
|
return;
|
|
1071
1071
|
}
|
|
1072
1072
|
if ((D = l == null ? void 0 : l.toString()) != null && D.includes(".stl") || (z = l == null ? void 0 : l.toString()) != null && z.includes(".STL") || (g = l == null ? void 0 : l.toString()) != null && g.includes(".obj") || (_ = l == null ? void 0 : l.toString()) != null && _.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
|
|
@@ -1200,10 +1200,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1200
1200
|
if (De.setTableLoading(!0), Ua.value = Object.values(e), e && ((a = Object.values(e)) != null && a.every((u) => !u)))
|
|
1201
1201
|
return I.value = Gl.value;
|
|
1202
1202
|
if (r) {
|
|
1203
|
-
I.value = [...
|
|
1203
|
+
I.value = [...Hl.value.values()].filter((u) => Object.values(u).some((o) => typeof o == "string" ? o == null ? void 0 : o.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
|
|
1204
1204
|
return;
|
|
1205
1205
|
}
|
|
1206
|
-
I.value = $r(
|
|
1206
|
+
I.value = $r(Hl.value, e), De.setTableLoading(!1);
|
|
1207
1207
|
}
|
|
1208
1208
|
}, Br = async (e) => {
|
|
1209
1209
|
var i, t, c, f, S, D, z, g, _, E, U, J, F, K, n;
|
|
@@ -1229,11 +1229,11 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1229
1229
|
T.push({
|
|
1230
1230
|
key: ol.value === "" ? (E = e == null ? void 0 : e.id) == null ? void 0 : E.toString() : ol.value + "-" + ((U = e == null ? void 0 : e.id) == null ? void 0 : U.toString()),
|
|
1231
1231
|
value: e[(J = Object.keys(e)) == null ? void 0 : J.filter((h) => h !== "index" && h !== "id")[0]]
|
|
1232
|
-
}), Il.setSelectMenu(ol.value === "" ? (F = e == null ? void 0 : e.id) == null ? void 0 : F.toString() : ol.value + "-" + ((K = e == null ? void 0 : e.id) == null ? void 0 : K.toString())), Il.setSelectTitle(T), Il.setSelectIndex((n = e == null ? void 0 : e.id) == null ? void 0 : n.toString()),
|
|
1232
|
+
}), Il.setSelectMenu(ol.value === "" ? (F = e == null ? void 0 : e.id) == null ? void 0 : F.toString() : ol.value + "-" + ((K = e == null ? void 0 : e.id) == null ? void 0 : K.toString())), Il.setSelectTitle(T), Il.setSelectIndex((n = e == null ? void 0 : e.id) == null ? void 0 : n.toString()), H("pageChange", o);
|
|
1233
1233
|
}
|
|
1234
1234
|
}, _a = async (e, l, r, a) => {
|
|
1235
|
-
var o, i, t, c, f, S, D, z, g, _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x,
|
|
1236
|
-
if (
|
|
1235
|
+
var o, i, t, c, f, S, D, z, g, _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x, M;
|
|
1236
|
+
if (H("clickMainKey", r), (a == null ? void 0 : a.isExistChild) === !0) {
|
|
1237
1237
|
let d = (i = (o = W.value) == null ? void 0 : o.find((P) => (P == null ? void 0 : P.isMainKey) === !0)) == null ? void 0 : i.prop, C = (t = a == null ? void 0 : a.rowContent) == null ? void 0 : t[d], b = (f = (c = a == null ? void 0 : a.columnType) == null ? void 0 : c.childPath) == null ? void 0 : f.split(ye), k = [];
|
|
1238
1238
|
b == null || b.forEach((P, y) => {
|
|
1239
1239
|
(b == null ? void 0 : b.length) - 1 === y && k.push(C), k.push(P);
|
|
@@ -1271,7 +1271,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1271
1271
|
ea.value = y;
|
|
1272
1272
|
} else
|
|
1273
1273
|
ea.value = w;
|
|
1274
|
-
|
|
1274
|
+
H("routeUrl", ea.value, {
|
|
1275
1275
|
isEdit: !0,
|
|
1276
1276
|
routerUrl: k
|
|
1277
1277
|
});
|
|
@@ -1312,17 +1312,17 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1312
1312
|
le = (y == null ? void 0 : y.routerContent) + ye + (y == null ? void 0 : y.key);
|
|
1313
1313
|
}
|
|
1314
1314
|
if ((b == null ? void 0 : b.length) > 0)
|
|
1315
|
-
await il(d + ye + `updateLoading${((K = Ce.value) == null ? void 0 : K.account) || ((n = Ce.value) == null ? void 0 : n.账号)}`, sessionStorage.getItem("systemKey"), "") || await na(d, d + ye + `updateLoading${((T = Ce.value) == null ? void 0 : T.account) || ((h = Ce.value) == null ? void 0 : h.账号)}`, k, le), De.setRouteToChildPath(C),
|
|
1315
|
+
await il(d + ye + `updateLoading${((K = Ce.value) == null ? void 0 : K.account) || ((n = Ce.value) == null ? void 0 : n.账号)}`, sessionStorage.getItem("systemKey"), "") || await na(d, d + ye + `updateLoading${((T = Ce.value) == null ? void 0 : T.account) || ((h = Ce.value) == null ? void 0 : h.账号)}`, k, le), De.setRouteToChildPath(C), N.setActiveMenuPath(d + ye + `updateLoading${((m = Ce.value) == null ? void 0 : m.account) || ((A = Ce.value) == null ? void 0 : A.账号)}`);
|
|
1316
1316
|
else {
|
|
1317
1317
|
(Y = u == null ? void 0 : u[0]) == null || Y.prop;
|
|
1318
1318
|
let P = q(ee).value + ye + (a == null ? void 0 : a.data), y = q(ee).value;
|
|
1319
|
-
await il(y + ye, sessionStorage.getItem("systemKey"), ""), await na(y + ye, P, k), await na(P, P + ye + `updateLoading${((L = Ce.value) == null ? void 0 : L.account) || ((ae = Ce.value) == null ? void 0 : ae.账号)}`, k, le), De.setRouteToChildPath(y),
|
|
1319
|
+
await il(y + ye, sessionStorage.getItem("systemKey"), ""), await na(y + ye, P, k), await na(P, P + ye + `updateLoading${((L = Ce.value) == null ? void 0 : L.account) || ((ae = Ce.value) == null ? void 0 : ae.账号)}`, k, le), De.setRouteToChildPath(y), N.setActiveMenuPath(P + ye + `updateLoading${((x = Ce.value) == null ? void 0 : x.account) || ((M = Ce.value) == null ? void 0 : M.账号)}`);
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
1322
|
}, wr = () => {
|
|
1323
1323
|
v.value = !1;
|
|
1324
|
-
},
|
|
1325
|
-
|
|
1324
|
+
}, Nr = (e) => {
|
|
1325
|
+
H("rowClick", e);
|
|
1326
1326
|
};
|
|
1327
1327
|
We(
|
|
1328
1328
|
() => s.changedContent,
|
|
@@ -1337,10 +1337,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1337
1337
|
}, delete u.newId), u;
|
|
1338
1338
|
});
|
|
1339
1339
|
const l = (a = s.itemData) == null ? void 0 : a.map((u) => ((u == null ? void 0 : u.key) === "tableContents" && (u.contents = e), u));
|
|
1340
|
-
I.value = e,
|
|
1340
|
+
I.value = e, H("contentChange", {
|
|
1341
1341
|
contents: l,
|
|
1342
1342
|
index: s.index
|
|
1343
|
-
}),
|
|
1343
|
+
}), H("change", {
|
|
1344
1344
|
content: e,
|
|
1345
1345
|
index: s == null ? void 0 : s.index,
|
|
1346
1346
|
buttonName: "",
|
|
@@ -1349,7 +1349,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1349
1349
|
},
|
|
1350
1350
|
{ deep: !0, immediate: !0 }
|
|
1351
1351
|
);
|
|
1352
|
-
const
|
|
1352
|
+
const Mr = () => {
|
|
1353
1353
|
}, Kr = async () => {
|
|
1354
1354
|
const e = ee.value, l = sessionStorage.getItem("systemKey"), r = await il(e, l, ""), a = (r == null ? void 0 : r.find((t) => (t == null ? void 0 : t.name) === "方法明细")) || (r == null ? void 0 : r[0]), u = (a == null ? void 0 : a.compData) || [], o = u == null ? void 0 : u.find((t) => {
|
|
1355
1355
|
const c = t == null ? void 0 : t.key;
|
|
@@ -1360,15 +1360,15 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1360
1360
|
headers: {
|
|
1361
1361
|
Authorization: l
|
|
1362
1362
|
}
|
|
1363
|
-
}).catch((u) => (
|
|
1363
|
+
}).catch((u) => (N.setImportLoading(!1), Promise.reject(u))), zr = (e) => {
|
|
1364
1364
|
const l = [], r = (a) => {
|
|
1365
1365
|
a && typeof a == "object" && !Array.isArray(a) ? Object.values(a).forEach(r) : l.push(a);
|
|
1366
1366
|
};
|
|
1367
1367
|
return r(e), l;
|
|
1368
1368
|
}, Jr = async (e, l, r) => {
|
|
1369
1369
|
var F, K, n, T, h, m, A, Y;
|
|
1370
|
-
|
|
1371
|
-
let a = await Kr().catch((L) => (
|
|
1370
|
+
N.setImportLoading(!0), De.setFreshContent(!1);
|
|
1371
|
+
let a = await Kr().catch((L) => (N.setImportLoading(!1), Promise.reject(L)));
|
|
1372
1372
|
a = a == null ? void 0 : a.filter((L) => {
|
|
1373
1373
|
var ae;
|
|
1374
1374
|
return ((ae = L == null ? void 0 : L.find((x) => x == null ? void 0 : x.id)) == null ? void 0 : ae.id) === (l == null ? void 0 : l.id);
|
|
@@ -1379,7 +1379,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1379
1379
|
return ae === "算法体" || ae === "方法体";
|
|
1380
1380
|
}), i = o == null ? void 0 : o.value;
|
|
1381
1381
|
if (!i) {
|
|
1382
|
-
console.log("未搜索到isMain, 缺少算法执行接口"),
|
|
1382
|
+
console.log("未搜索到isMain, 缺少算法执行接口"), N.setImportLoading(!1);
|
|
1383
1383
|
return;
|
|
1384
1384
|
}
|
|
1385
1385
|
const t = W.value ? Ia([W.value]) : [], c = t.find((L) => {
|
|
@@ -1387,10 +1387,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1387
1387
|
return ae === "输入" || ae === "输入数据.输入1" || ae === "样本输入数据";
|
|
1388
1388
|
}), f = c == null ? void 0 : c.prop;
|
|
1389
1389
|
let S = l == null ? void 0 : l[f];
|
|
1390
|
-
const D = await da().catch((L) => (
|
|
1390
|
+
const D = await da().catch((L) => (N.setImportLoading(!1), Promise.reject(L))), z = await Fr(i, {
|
|
1391
1391
|
token: D,
|
|
1392
1392
|
inputData: S
|
|
1393
|
-
}).catch((L) => (
|
|
1393
|
+
}).catch((L) => (N.setImportLoading(!1), Promise.reject(L))), g = (T = z == null ? void 0 : z.data) == null ? void 0 : T.data, _ = t.find((L) => (L == null ? void 0 : L.prop) === "输出数据.输出1"), E = _ == null ? void 0 : _.prop;
|
|
1394
1394
|
let U = [], J = [];
|
|
1395
1395
|
if (((h = Object.values(g)) == null ? void 0 : h.length) > 0) {
|
|
1396
1396
|
let L = [];
|
|
@@ -1412,13 +1412,13 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1412
1412
|
});
|
|
1413
1413
|
L = [...L, ...C];
|
|
1414
1414
|
}
|
|
1415
|
-
let
|
|
1415
|
+
let M = {};
|
|
1416
1416
|
for (let d in l)
|
|
1417
|
-
d !== "id" && (
|
|
1418
|
-
|
|
1417
|
+
d !== "id" && (M[d] = l[d]);
|
|
1418
|
+
M[E] = L, J.push({
|
|
1419
1419
|
id: l == null ? void 0 : l.id,
|
|
1420
1420
|
value: {
|
|
1421
|
-
tableData:
|
|
1421
|
+
tableData: M
|
|
1422
1422
|
}
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
@@ -1426,7 +1426,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1426
1426
|
dataList: J
|
|
1427
1427
|
}), (U == null ? void 0 : U.length) > 0 && await ha({
|
|
1428
1428
|
dataList: U
|
|
1429
|
-
}), Kl(!0),
|
|
1429
|
+
}), Kl(!0), N.setImportLoading(!1), De.setFreshContent(!0);
|
|
1430
1430
|
}, Ca = (e, l) => (e = e == null ? void 0 : e.map((r) => {
|
|
1431
1431
|
var a, u;
|
|
1432
1432
|
return r != null && r.children && ((a = r.children) != null && a.find((o) => o.id === (l == null ? void 0 : l.id)) ? r.children = (u = r.children) == null ? void 0 : u.filter((o) => (o == null ? void 0 : o.id) !== (l == null ? void 0 : l.id)) : r.children = Ca(r.children, l)), r;
|
|
@@ -1456,7 +1456,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1456
1456
|
}, Wr = (e) => {
|
|
1457
1457
|
var l, r;
|
|
1458
1458
|
if ((e == null ? void 0 : e.buttonName) === "取消") return Ee.show = !1;
|
|
1459
|
-
Ee.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = Ee.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((r = Ee.to) == null ? void 0 : r.groupName) && (
|
|
1459
|
+
Ee.to = e == null ? void 0 : e.content, !(!(s != null && s.index) || !((l = Ee.to) != null && l.groupName)) && (s == null ? void 0 : s.index) !== ((r = Ee.to) == null ? void 0 : r.groupName) && (H("change", {
|
|
1460
1460
|
buttonName: "迁移",
|
|
1461
1461
|
value: {
|
|
1462
1462
|
from: Ee.from,
|
|
@@ -1466,14 +1466,14 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1466
1466
|
}), Ee.show = !1);
|
|
1467
1467
|
}, ra = async (e, l, r) => {
|
|
1468
1468
|
var a, u, o, i, t, c, f, S, D, z, g, _, E, U, J;
|
|
1469
|
-
if (ul.value = "", Yl.value = !0,
|
|
1469
|
+
if (ul.value = "", Yl.value = !0, Ql.value = !0, H("onButtonClick", e, l), e === "删除")
|
|
1470
1470
|
Ya.confirm("是否确认删除", "温馨提示", {
|
|
1471
1471
|
confirmButtonText: "确认",
|
|
1472
1472
|
cancelButtonText: "取消",
|
|
1473
1473
|
type: "warning"
|
|
1474
1474
|
}).then(() => {
|
|
1475
1475
|
var F, K;
|
|
1476
|
-
(F = I.value) != null && F.find((n) => (n == null ? void 0 : n.id) === (l == null ? void 0 : l.id)) ? I.value = (K = q(I.value)) == null ? void 0 : K.filter((n) => (n == null ? void 0 : n.id) !== (l == null ? void 0 : l.id)) : I.value = Ca(q(I.value), l), tu(Zl.value, ol.value, l == null ? void 0 : l.id), De.setTableLoading(s == null ? void 0 : s.index),
|
|
1476
|
+
(F = I.value) != null && F.find((n) => (n == null ? void 0 : n.id) === (l == null ? void 0 : l.id)) ? I.value = (K = q(I.value)) == null ? void 0 : K.filter((n) => (n == null ? void 0 : n.id) !== (l == null ? void 0 : l.id)) : I.value = Ca(q(I.value), l), tu(Zl.value, ol.value, l == null ? void 0 : l.id), De.setTableLoading(s == null ? void 0 : s.index), H("change", {
|
|
1477
1477
|
content: I.value,
|
|
1478
1478
|
singleContent: l,
|
|
1479
1479
|
index: s == null ? void 0 : s.index,
|
|
@@ -1493,7 +1493,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1493
1493
|
() => {
|
|
1494
1494
|
var K, n;
|
|
1495
1495
|
const F = (K = el.value) == null ? void 0 : K.map((T) => T.id);
|
|
1496
|
-
I.value = (n = q(I.value)) == null ? void 0 : n.filter((T) => !(F != null && F.includes(T.id))), De.setTableLoading(s == null ? void 0 : s.index),
|
|
1496
|
+
I.value = (n = q(I.value)) == null ? void 0 : n.filter((T) => !(F != null && F.includes(T.id))), De.setTableLoading(s == null ? void 0 : s.index), H("change", {
|
|
1497
1497
|
content: I.value,
|
|
1498
1498
|
singleContent: null,
|
|
1499
1499
|
selectItems: el.value,
|
|
@@ -1509,11 +1509,11 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1509
1509
|
const F = q(l), K = (u = W.value) == null ? void 0 : u.find((h) => h == null ? void 0 : h.isMainKey), n = K || ((o = W.value) == null ? void 0 : o[0]), T = (i = Sl.value) == null ? void 0 : i.find((h) => (h == null ? void 0 : h.label) === "新建");
|
|
1510
1510
|
await Oa(!0, T, { data: F, firstCol: n });
|
|
1511
1511
|
} else if (e === "新增")
|
|
1512
|
-
Ze.value = "新增",
|
|
1512
|
+
Ze.value = "新增", Ml(""), sl.value = !0;
|
|
1513
1513
|
else if (e === "编辑")
|
|
1514
|
-
Ze.value = "编辑",
|
|
1514
|
+
Ze.value = "编辑", Ml(l), sl.value = !0;
|
|
1515
1515
|
else if (e === "查看")
|
|
1516
|
-
Ze.value = "查看",
|
|
1516
|
+
Ze.value = "查看", Ml(l), Yl.value = !1, Ql.value = !1, sl.value = !0;
|
|
1517
1517
|
else if (e === "查看三维模型") {
|
|
1518
1518
|
const F = {};
|
|
1519
1519
|
for (let n in l)
|
|
@@ -1521,7 +1521,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1521
1521
|
let K = (t = Object.values(F)) == null ? void 0 : t[1];
|
|
1522
1522
|
ir.setTableShowThree(K);
|
|
1523
1523
|
} else if (((c = r == null ? void 0 : r.extra) == null ? void 0 : c.type) === "modelExample")
|
|
1524
|
-
Ze.value = e,
|
|
1524
|
+
Ze.value = e, Xl.value = !0;
|
|
1525
1525
|
else if (e === "新建") {
|
|
1526
1526
|
let F = vl.value, K = [];
|
|
1527
1527
|
for (let A in F)
|
|
@@ -1538,7 +1538,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1538
1538
|
await Oa(!1, m);
|
|
1539
1539
|
} else if (e === "修改模板") {
|
|
1540
1540
|
let F = q(ee).value;
|
|
1541
|
-
De.setRouteToChildPath(F),
|
|
1541
|
+
De.setRouteToChildPath(F), N.setActiveMenuPath(F + ye);
|
|
1542
1542
|
} else if (e === "执行")
|
|
1543
1543
|
Jr(e, l);
|
|
1544
1544
|
else if (e != null && e.includes("导出")) {
|
|
@@ -1603,7 +1603,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1603
1603
|
methodName: (E = (_ = L == null ? void 0 : L.value) == null ? void 0 : _.pageData) == null ? void 0 : E.path
|
|
1604
1604
|
};
|
|
1605
1605
|
if (!e) return;
|
|
1606
|
-
const
|
|
1606
|
+
const M = {
|
|
1607
1607
|
...e,
|
|
1608
1608
|
compData: (U = e == null ? void 0 : e.compData) == null ? void 0 : U.map((b) => {
|
|
1609
1609
|
var k;
|
|
@@ -1623,7 +1623,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1623
1623
|
type: "structure"
|
|
1624
1624
|
},
|
|
1625
1625
|
value: {
|
|
1626
|
-
pageData:
|
|
1626
|
+
pageData: M
|
|
1627
1627
|
}
|
|
1628
1628
|
}, C = await ml.post(x.api, d, {
|
|
1629
1629
|
headers: {
|
|
@@ -1639,7 +1639,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
}, xa = (e, l, r, a) => {
|
|
1641
1641
|
var u;
|
|
1642
|
-
|
|
1642
|
+
H("contentChange", {
|
|
1643
1643
|
contents: (u = e == null ? void 0 : e.compData) == null ? void 0 : u.map((o) => {
|
|
1644
1644
|
var i;
|
|
1645
1645
|
return (o == null ? void 0 : o.key) === "formContent" ? {
|
|
@@ -1647,23 +1647,23 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1647
1647
|
contents: (i = o == null ? void 0 : o.contents) == null ? void 0 : i.map((t) => (t == null ? void 0 : t.key) === l ? {
|
|
1648
1648
|
...t,
|
|
1649
1649
|
value: r
|
|
1650
|
-
} :
|
|
1650
|
+
} : Nl.value && (t == null ? void 0 : t.prop) === Nl.prop ? {
|
|
1651
1651
|
...t,
|
|
1652
|
-
value:
|
|
1652
|
+
value: Nl.value
|
|
1653
1653
|
} : t)
|
|
1654
1654
|
} : o;
|
|
1655
1655
|
}),
|
|
1656
1656
|
index: e == null ? void 0 : e.id
|
|
1657
1657
|
}, a);
|
|
1658
|
-
},
|
|
1658
|
+
}, Nl = zl({
|
|
1659
1659
|
prop: "状态",
|
|
1660
1660
|
value: ""
|
|
1661
|
-
}),
|
|
1661
|
+
}), Hr = G(["系统自动生成信息", "审批意见"]), Qr = async (e, l, r) => {
|
|
1662
1662
|
var c, f;
|
|
1663
1663
|
let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], u = 1, o, i;
|
|
1664
1664
|
const t = q(ee).value + ye + a;
|
|
1665
1665
|
if (t) {
|
|
1666
|
-
|
|
1666
|
+
Nl.value = "", o = (c = vl.value[t]) == null ? void 0 : c.filter((z) => {
|
|
1667
1667
|
var g;
|
|
1668
1668
|
return ((g = z == null ? void 0 : z.key) == null ? void 0 : g.type) === "structure";
|
|
1669
1669
|
});
|
|
@@ -1676,7 +1676,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1676
1676
|
id: S == null ? void 0 : S.id
|
|
1677
1677
|
};
|
|
1678
1678
|
const D = await Gr(i, l == null ? void 0 : l.prop);
|
|
1679
|
-
if (
|
|
1679
|
+
if (Nl.value = D == null ? void 0 : D.newStatus, D != null && D.newMainKeyValue) return D == null ? void 0 : D.newMainKeyValue;
|
|
1680
1680
|
}
|
|
1681
1681
|
if (I.value.some((S) => (S == null ? void 0 : S[l == null ? void 0 : l.prop]) === a)) {
|
|
1682
1682
|
const S = a;
|
|
@@ -1688,7 +1688,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1688
1688
|
}, Oa = async (e, l, r) => {
|
|
1689
1689
|
var i, t, c, f, S, D, z, g;
|
|
1690
1690
|
let a, u;
|
|
1691
|
-
const o = await
|
|
1691
|
+
const o = await Qr(r == null ? void 0 : r.data, r == null ? void 0 : r.firstCol);
|
|
1692
1692
|
if (e ? (a = q(ee).value + ye + ((f = r == null ? void 0 : r.data) == null ? void 0 : f[(c = r == null ? void 0 : r.firstCol) == null ? void 0 : c.prop]), u = q(ee).value + ye + o) : (a = q(ee).value + ye, u = q(a) + `loading${((i = Ce.value) == null ? void 0 : i.account) || ((t = Ce.value) == null ? void 0 : t.账号)}`), l) {
|
|
1693
1693
|
const _ = (D = (S = vl.value[u]) == null ? void 0 : S.filter((E) => {
|
|
1694
1694
|
var U;
|
|
@@ -1708,8 +1708,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1708
1708
|
});
|
|
1709
1709
|
E && xa(E, (z = r == null ? void 0 : r.firstCol) == null ? void 0 : z.label, o, ee.value);
|
|
1710
1710
|
} else
|
|
1711
|
-
De.setRouteToChildPath(q(ee).value),
|
|
1712
|
-
else if (await na(a, u, null, null, e ?
|
|
1711
|
+
De.setRouteToChildPath(q(ee).value), N.setActiveMenuPath(u);
|
|
1712
|
+
else if (await na(a, u, null, null, e ? Hr.value : null), e) {
|
|
1713
1713
|
const E = await qr(u);
|
|
1714
1714
|
if ((E == null ? void 0 : E.length) > 0) {
|
|
1715
1715
|
const U = E == null ? void 0 : E.find((J) => {
|
|
@@ -1719,12 +1719,12 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1719
1719
|
U && xa(U, (g = r == null ? void 0 : r.firstCol) == null ? void 0 : g.label, o, ee.value);
|
|
1720
1720
|
}
|
|
1721
1721
|
} else
|
|
1722
|
-
De.setRouteToChildPath(q(ee).value),
|
|
1722
|
+
De.setRouteToChildPath(q(ee).value), N.setActiveMenuPath(u);
|
|
1723
1723
|
} else
|
|
1724
|
-
e ? (ul.value = "", Fe.value = r == null ? void 0 : r.data, Kl(!0, r == null ? void 0 : r.firstCol, o)) : (De.setRouteToChildPath(q(ee).value),
|
|
1725
|
-
},
|
|
1726
|
-
oe.value = !1, Pl.value = [],
|
|
1727
|
-
},
|
|
1724
|
+
e ? (ul.value = "", Fe.value = r == null ? void 0 : r.data, Kl(!0, r == null ? void 0 : r.firstCol, o)) : (De.setRouteToChildPath(q(ee).value), N.setActiveMenuPath(u));
|
|
1725
|
+
}, Xr = () => {
|
|
1726
|
+
oe.value = !1, Pl.value = [], Me.value = !1;
|
|
1727
|
+
}, Ml = (e) => {
|
|
1728
1728
|
var i, t, c, f, S, D, z, g, _, E, U, J, F, K;
|
|
1729
1729
|
const l = [];
|
|
1730
1730
|
let r = [];
|
|
@@ -1765,11 +1765,11 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1765
1765
|
}));
|
|
1766
1766
|
}), e === "" || !e || (ul.value = (e == null ? void 0 : e.id) ?? "");
|
|
1767
1767
|
let a = Rl((c = q(W.value)) == null ? void 0 : c.filter((n) => (n == null ? void 0 : n.label) !== "操作"));
|
|
1768
|
-
|
|
1768
|
+
Qe.value && ((f = Qe.value) == null ? void 0 : f.length) > 0 && (Qe.value = (S = q(Qe).value) == null ? void 0 : S.map((n) => {
|
|
1769
1769
|
var h;
|
|
1770
1770
|
let T = (n == null ? void 0 : n.prop) || ((h = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.label) === (n == null ? void 0 : n.label))) == null ? void 0 : h.prop);
|
|
1771
1771
|
return T && (n.value = e[T]), n;
|
|
1772
|
-
})), Pe.value =
|
|
1772
|
+
})), Pe.value = Qe.value && ((D = Qe.value) == null ? void 0 : D.length) > 0 ? jn(Qe.value) : l;
|
|
1773
1773
|
let u = [], o = (z = s.itemData) == null ? void 0 : z.filter((n) => (n == null ? void 0 : n.key) === "filterAllType");
|
|
1774
1774
|
if ((o == null ? void 0 : o.length) > 0 && (u = (o == null ? void 0 : o.map((T) => T == null ? void 0 : T.value)).flat()), (u == null ? void 0 : u.length) > 0) {
|
|
1775
1775
|
let n = u == null ? void 0 : u.find((T) => {
|
|
@@ -1885,7 +1885,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1885
1885
|
return delete u.children, u;
|
|
1886
1886
|
}) : [];
|
|
1887
1887
|
}, Kl = (e = !0, l, r) => {
|
|
1888
|
-
var f, S, D, z, g, _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x,
|
|
1888
|
+
var f, S, D, z, g, _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x, M, d;
|
|
1889
1889
|
let a = Rl((f = q(W.value)) == null ? void 0 : f.filter((C) => (C == null ? void 0 : C.label) !== "操作")), u, o = q(I.value);
|
|
1890
1890
|
if (!Fe.value) {
|
|
1891
1891
|
sl.value = !1;
|
|
@@ -1955,7 +1955,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1955
1955
|
column: W.value,
|
|
1956
1956
|
parentTableId: s == null ? void 0 : s.parentTableId
|
|
1957
1957
|
};
|
|
1958
|
-
De.setTableLoading(s == null ? void 0 : s.index), sl.value = !1, Fe.value = void 0,
|
|
1958
|
+
De.setTableLoading(s == null ? void 0 : s.index), sl.value = !1, Fe.value = void 0, H("change", C);
|
|
1959
1959
|
}
|
|
1960
1960
|
if ((m = (h = (T = Pe.value) == null ? void 0 : T[0]) == null ? void 0 : h.optionUrl) != null && m.menuId) {
|
|
1961
1961
|
sl.value = !1;
|
|
@@ -1965,12 +1965,12 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1965
1965
|
var le;
|
|
1966
1966
|
return (le = w == null ? void 0 : w.content) == null ? void 0 : le.includes("@Num");
|
|
1967
1967
|
})) == null ? void 0 : Y.content) == null ? void 0 : L.split(":")) == null ? void 0 : ae[1];
|
|
1968
|
-
k = parseInt(k), I.value = (d = I.value) == null ? void 0 : d.slice(((x = I.value) == null ? void 0 : x.length) - k, (
|
|
1968
|
+
k = parseInt(k), I.value = (d = I.value) == null ? void 0 : d.slice(((x = I.value) == null ? void 0 : x.length) - k, (M = I.value) == null ? void 0 : M.length);
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
1971
|
};
|
|
1972
1972
|
dn(() => {
|
|
1973
|
-
W.value = [], I.value = [], Ge.value = [],
|
|
1973
|
+
W.value = [], I.value = [], Ge.value = [], X.value = [], Qe.value = [], bl.value = [], Pl.value = [], Cl.value = [], Pe.value = [], el.value = [], $.value = null;
|
|
1974
1974
|
});
|
|
1975
1975
|
const ja = async (e, l, r) => {
|
|
1976
1976
|
var f, S, D, z, g, _, E, U, J, F, K;
|
|
@@ -1978,11 +1978,11 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
1978
1978
|
const a = q(s.itemData), u = a == null ? void 0 : a.map((n) => {
|
|
1979
1979
|
var T;
|
|
1980
1980
|
return (n == null ? void 0 : n.key) === "header" && ((T = n.contents) == null || T.map((h, m) => {
|
|
1981
|
-
var A, Y, L, ae, x,
|
|
1982
|
-
return h.type = h != null && h.type ? h.type : (ae = (L = (Y = (A = h == null ? void 0 : h.key) == null ? void 0 : A.split("$")) == null ? void 0 : Y[1]) == null ? void 0 : L.split("(")) != null && ae[0] ? (
|
|
1981
|
+
var A, Y, L, ae, x, M, d, C, b, k, w, le, P, y, R, ge, te, je, Ae;
|
|
1982
|
+
return h.type = h != null && h.type ? h.type : (ae = (L = (Y = (A = h == null ? void 0 : h.key) == null ? void 0 : A.split("$")) == null ? void 0 : Y[1]) == null ? void 0 : L.split("(")) != null && ae[0] ? (M = (x = Za) == null ? void 0 : x.find((O) => {
|
|
1983
1983
|
var p, pe, ce, se;
|
|
1984
1984
|
return (O == null ? void 0 : O.key) === ((se = (ce = (pe = (p = h == null ? void 0 : h.key) == null ? void 0 : p.split("$")) == null ? void 0 : pe[1]) == null ? void 0 : ce.split("(")) == null ? void 0 : se[0]);
|
|
1985
|
-
})) == null ? void 0 :
|
|
1985
|
+
})) == null ? void 0 : M.value : "Input", h.options = h != null && h.options ? h.options : ((b = (C = (d = h == null ? void 0 : h.key) == null ? void 0 : d.split("$")) == null ? void 0 : C[1]) == null ? void 0 : b.length) > 0 ? (P = (le = er((w = (k = h == null ? void 0 : h.key) == null ? void 0 : k.split("$")) == null ? void 0 : w[1])) == null ? void 0 : le.split(",")) == null ? void 0 : P.map((O) => ({
|
|
1986
1986
|
label: O,
|
|
1987
1987
|
value: O
|
|
1988
1988
|
})) : [], (y = h == null ? void 0 : h.key) != null && y.includes("$") && (h.key = (ge = (R = h == null ? void 0 : h.key) == null ? void 0 : R.split("$")) == null ? void 0 : ge[0]), h.value = (te = Object.values(l)) == null ? void 0 : te[m], h.optionUrl = h != null && h.formMenuSelect && ((je = h == null ? void 0 : h.formMenuSelect) == null ? void 0 : je.length) > 0 ? {
|
|
@@ -2008,13 +2008,13 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2008
2008
|
}), (J = c == null ? void 0 : c.optionUrl) != null && J.menuSelect) {
|
|
2009
2009
|
let n = await ar(c), T;
|
|
2010
2010
|
if (n == null || n.forEach((h) => {
|
|
2011
|
-
var m, A, Y, L, ae, x,
|
|
2012
|
-
t === ((A = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : A[1]) && ((ae = (L = (Y = c == null ? void 0 : c.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : L[1]) != null && ae.includes("[")) && ((b = q(h)) == null ? void 0 : b[(C = (d = (
|
|
2011
|
+
var m, A, Y, L, ae, x, M, d, C, b;
|
|
2012
|
+
t === ((A = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : A[1]) && ((ae = (L = (Y = c == null ? void 0 : c.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : L[1]) != null && ae.includes("[")) && ((b = q(h)) == null ? void 0 : b[(C = (d = (M = (x = c == null ? void 0 : c.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : M[1]) == null ? void 0 : d.replaceAll("[", "")) == null ? void 0 : C.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (T = h);
|
|
2013
2013
|
}), T) {
|
|
2014
2014
|
let h = q(o);
|
|
2015
2015
|
h = h == null ? void 0 : h.map((A) => {
|
|
2016
|
-
var Y, L, ae, x,
|
|
2017
|
-
return (T != null && T[A == null ? void 0 : A.label] || T != null && T[(x = (ae = (L = (Y = A == null ? void 0 : A.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : L[1]) == null ? void 0 : ae.replaceAll("[", "")) == null ? void 0 : x.replaceAll("]", "")]) && ((C = (d = (
|
|
2016
|
+
var Y, L, ae, x, M, d, C, b, k, w, le;
|
|
2017
|
+
return (T != null && T[A == null ? void 0 : A.label] || T != null && T[(x = (ae = (L = (Y = A == null ? void 0 : A.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : L[1]) == null ? void 0 : ae.replaceAll("[", "")) == null ? void 0 : x.replaceAll("]", "")]) && ((C = (d = (M = A == null ? void 0 : A.optionUrl) == null ? void 0 : M.groupSelect) == null ? void 0 : d[1]) != null && C.includes("[")) && (A.value = (T == null ? void 0 : T[A == null ? void 0 : A.label]) || (T == null ? void 0 : T[(le = (w = (k = (b = A == null ? void 0 : A.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : k[1]) == null ? void 0 : w.replaceAll("[", "")) == null ? void 0 : le.replaceAll("]", "")])), A;
|
|
2018
2018
|
}), I.value = (F = q(I.value)) == null ? void 0 : F.map((A) => {
|
|
2019
2019
|
if ((A == null ? void 0 : A.id) === (l == null ? void 0 : l.id)) {
|
|
2020
2020
|
const Y = {};
|
|
@@ -2027,13 +2027,13 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2027
2027
|
let m = q(h);
|
|
2028
2028
|
m = m == null ? void 0 : m.map((A) => {
|
|
2029
2029
|
var Y, L, ae, x;
|
|
2030
|
-
return (L = (Y = A == null ? void 0 : A.optionUrl) == null ? void 0 : Y.menuSelect) != null && L.some((
|
|
2030
|
+
return (L = (Y = A == null ? void 0 : A.optionUrl) == null ? void 0 : Y.menuSelect) != null && L.some((M) => M == null ? void 0 : M.includes) && (A.optionUrl.menuSelect = (x = (ae = A == null ? void 0 : A.optionUrl) == null ? void 0 : ae.menuSelect) == null ? void 0 : x.map((M) => {
|
|
2031
2031
|
var d, C, b, k;
|
|
2032
|
-
if (
|
|
2033
|
-
let w = (C = (d =
|
|
2034
|
-
|
|
2032
|
+
if (M != null && M.includes("[")) {
|
|
2033
|
+
let w = (C = (d = M == null ? void 0 : M.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : d.split(":")) == null ? void 0 : C[1];
|
|
2034
|
+
M = (k = (b = q(h)) == null ? void 0 : b.find((le) => (le == null ? void 0 : le.label) === w)) == null ? void 0 : k.value;
|
|
2035
2035
|
}
|
|
2036
|
-
return
|
|
2036
|
+
return M;
|
|
2037
2037
|
})), A;
|
|
2038
2038
|
}), I.value = (K = q(I.value)) == null ? void 0 : K.map((A) => {
|
|
2039
2039
|
if ((A == null ? void 0 : A.id) === (l == null ? void 0 : l.id)) {
|
|
@@ -2052,17 +2052,17 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2052
2052
|
Fe.value = e;
|
|
2053
2053
|
const l = q(s.itemData);
|
|
2054
2054
|
let r = l == null ? void 0 : l.map((x) => {
|
|
2055
|
-
var
|
|
2056
|
-
return (x == null ? void 0 : x.key) === "header" && ((
|
|
2055
|
+
var M;
|
|
2056
|
+
return (x == null ? void 0 : x.key) === "header" && ((M = x.contents) == null || M.map((d, C) => {
|
|
2057
2057
|
var b, k, w, le, P, y, R, ge, te, je, Ae, O, p, pe, ce, se, me, Be, ll;
|
|
2058
|
-
return d.type = d != null && d.type ? d.type : (le = (w = (k = (b = d == null ? void 0 : d.key) == null ? void 0 : b.split("$")) == null ? void 0 : k[1]) == null ? void 0 : w.split("(")) != null && le[0] ? (y = (P = Za) == null ? void 0 : P.find((
|
|
2058
|
+
return d.type = d != null && d.type ? d.type : (le = (w = (k = (b = d == null ? void 0 : d.key) == null ? void 0 : b.split("$")) == null ? void 0 : k[1]) == null ? void 0 : w.split("(")) != null && le[0] ? (y = (P = Za) == null ? void 0 : P.find((Ne) => {
|
|
2059
2059
|
var Re, fl, gl, hl;
|
|
2060
|
-
return (
|
|
2061
|
-
})) == null ? void 0 : y.value : "Input", d.options = d != null && d.options ? d.options : ((te = (ge = (R = d == null ? void 0 : d.key) == null ? void 0 : R.split("$")) == null ? void 0 : ge[1]) == null ? void 0 : te.length) > 0 ? (p = (O = er((Ae = (je = d == null ? void 0 : d.key) == null ? void 0 : je.split("$")) == null ? void 0 : Ae[1])) == null ? void 0 : O.split(",")) == null ? void 0 : p.map((
|
|
2062
|
-
label:
|
|
2063
|
-
value:
|
|
2060
|
+
return (Ne == null ? void 0 : Ne.key) === ((hl = (gl = (fl = (Re = d == null ? void 0 : d.key) == null ? void 0 : Re.split("$")) == null ? void 0 : fl[1]) == null ? void 0 : gl.split("(")) == null ? void 0 : hl[0]);
|
|
2061
|
+
})) == null ? void 0 : y.value : "Input", d.options = d != null && d.options ? d.options : ((te = (ge = (R = d == null ? void 0 : d.key) == null ? void 0 : R.split("$")) == null ? void 0 : ge[1]) == null ? void 0 : te.length) > 0 ? (p = (O = er((Ae = (je = d == null ? void 0 : d.key) == null ? void 0 : je.split("$")) == null ? void 0 : Ae[1])) == null ? void 0 : O.split(",")) == null ? void 0 : p.map((Ne) => ({
|
|
2062
|
+
label: Ne,
|
|
2063
|
+
value: Ne
|
|
2064
2064
|
})) : [], (pe = d == null ? void 0 : d.key) != null && pe.includes("$") && (d.key = (se = (ce = d == null ? void 0 : d.key) == null ? void 0 : ce.split("$")) == null ? void 0 : se[0]), d.value = (me = Object.values(e)) == null ? void 0 : me[C], d.optionUrl = d != null && d.formMenuSelect && ((Be = d == null ? void 0 : d.formMenuSelect) == null ? void 0 : Be.length) > 0 ? {
|
|
2065
|
-
groupSelect: (ll = d == null ? void 0 : d.groupSelect) == null ? void 0 : ll.split(/[::]/).map((
|
|
2065
|
+
groupSelect: (ll = d == null ? void 0 : d.groupSelect) == null ? void 0 : ll.split(/[::]/).map((Ne) => Ne.trim()),
|
|
2066
2066
|
menuSelect: d == null ? void 0 : d.formMenuSelect,
|
|
2067
2067
|
selectRelateType: "",
|
|
2068
2068
|
type: (d == null ? void 0 : d.formType) ?? (d != null && d.groupSelect ? "Select" : "")
|
|
@@ -2073,31 +2073,31 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2073
2073
|
label: "操作",
|
|
2074
2074
|
type: "operate"
|
|
2075
2075
|
}), a = a == null ? void 0 : a.map((x) => {
|
|
2076
|
-
var
|
|
2077
|
-
return x.value = x.value ?? ((
|
|
2076
|
+
var M;
|
|
2077
|
+
return x.value = x.value ?? ((M = u == null ? void 0 : u.find((d, C) => (d == null ? void 0 : d.prop) === (x == null ? void 0 : x.name))) == null ? void 0 : M.value), x;
|
|
2078
2078
|
}), !Bl.value) return;
|
|
2079
|
-
let o = "", i = (_ = (g = (z = q(r)) == null ? void 0 : z.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : g.contents) == null ? void 0 : _.find((x,
|
|
2079
|
+
let o = "", i = (_ = (g = (z = q(r)) == null ? void 0 : z.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : g.contents) == null ? void 0 : _.find((x, M) => {
|
|
2080
2080
|
var d, C, b;
|
|
2081
|
-
return (x == null ? void 0 : x.label) === Tl.value || (
|
|
2081
|
+
return (x == null ? void 0 : x.label) === Tl.value || (M == null ? void 0 : M.toString()) === ((b = (C = (d = Tl.value) == null ? void 0 : d.split("a")) == null ? void 0 : C[1]) == null ? void 0 : b.toString());
|
|
2082
2082
|
}), t = (E = i == null ? void 0 : i.optionUrl) == null ? void 0 : E.menuSelect, c = !0;
|
|
2083
2083
|
(F = (J = (U = q(r)) == null ? void 0 : U.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : J.contents) == null || F.forEach((x) => {
|
|
2084
|
-
var
|
|
2085
|
-
c && ((C = (d = (
|
|
2084
|
+
var M, d, C, b, k, w;
|
|
2085
|
+
c && ((C = (d = (M = x == null ? void 0 : x.optionUrl) == null ? void 0 : M.groupSelect) == null ? void 0 : d[1]) != null && C.includes("[")) && (o = (k = (b = x == null ? void 0 : x.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : k[1], JSON.stringify(t) === JSON.stringify((w = x == null ? void 0 : x.optionUrl) == null ? void 0 : w.menuSelect) && (c = !1));
|
|
2086
2086
|
});
|
|
2087
2087
|
let f = q(a);
|
|
2088
2088
|
if (f = f == null ? void 0 : f.map((x) => {
|
|
2089
|
-
var
|
|
2090
|
-
return (x == null ? void 0 : x.type) === "Select" && ((d = (
|
|
2089
|
+
var M, d;
|
|
2090
|
+
return (x == null ? void 0 : x.type) === "Select" && ((d = (M = x == null ? void 0 : x.optionUrl) == null ? void 0 : M.allSelectionContents) == null ? void 0 : d.length) > 0 && (x.optionUrl.contactValue = e), x.value = e == null ? void 0 : e[x == null ? void 0 : x.prop], x;
|
|
2091
2091
|
}), Pe.value = q(f), (K = i == null ? void 0 : i.optionUrl) != null && K.menuSelect && Bl.value || (h = (T = (n = Pe.value) == null ? void 0 : n[0]) == null ? void 0 : T.optionUrl) != null && h.menuId) {
|
|
2092
|
-
let x = await ar(i, (Y = (A = (m = Pe.value) == null ? void 0 : m[0]) == null ? void 0 : A.optionUrl) == null ? void 0 : Y.menuId),
|
|
2092
|
+
let x = await ar(i, (Y = (A = (m = Pe.value) == null ? void 0 : m[0]) == null ? void 0 : A.optionUrl) == null ? void 0 : Y.menuId), M;
|
|
2093
2093
|
if ((L = i == null ? void 0 : i.optionUrl) == null || L.menuSelect, x == null || x.forEach((d) => {
|
|
2094
2094
|
var C, b, k, w, le, P, y, R, ge, te, je, Ae, O, p, pe, ce, se;
|
|
2095
|
-
o === ((b = (C = i == null ? void 0 : i.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : b[1]) && ((le = (w = (k = i == null ? void 0 : i.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : w[1]) != null && le.includes("[")) && ((te = q(d)) == null ? void 0 : te[(ge = (R = (y = (P = i == null ? void 0 : i.optionUrl) == null ? void 0 : P.groupSelect) == null ? void 0 : y[1]) == null ? void 0 : R.replaceAll("[", "")) == null ? void 0 : ge.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (
|
|
2096
|
-
}),
|
|
2095
|
+
o === ((b = (C = i == null ? void 0 : i.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : b[1]) && ((le = (w = (k = i == null ? void 0 : i.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : w[1]) != null && le.includes("[")) && ((te = q(d)) == null ? void 0 : te[(ge = (R = (y = (P = i == null ? void 0 : i.optionUrl) == null ? void 0 : P.groupSelect) == null ? void 0 : y[1]) == null ? void 0 : R.replaceAll("[", "")) == null ? void 0 : ge.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (M = d), (O = (Ae = (je = Pe.value) == null ? void 0 : je[0]) == null ? void 0 : Ae.optionUrl) != null && O.menuId && d[(pe = (p = Pe.value) == null ? void 0 : p[0]) == null ? void 0 : pe.prop] === e[(se = (ce = Pe.value) == null ? void 0 : ce[0]) == null ? void 0 : se.prop] && (M = d);
|
|
2096
|
+
}), M) {
|
|
2097
2097
|
let d = q(a);
|
|
2098
2098
|
d = d == null ? void 0 : d.map((k) => {
|
|
2099
|
-
var w, le, P, y, R, ge, te, je, Ae, O, p, pe, ce, se, me, Be, ll,
|
|
2100
|
-
return (
|
|
2099
|
+
var w, le, P, y, R, ge, te, je, Ae, O, p, pe, ce, se, me, Be, ll, Ne;
|
|
2100
|
+
return (M != null && M[k == null ? void 0 : k.label] || M != null && M[(y = (P = (le = (w = k == null ? void 0 : k.optionUrl) == null ? void 0 : w.groupSelect) == null ? void 0 : le[1]) == null ? void 0 : P.replaceAll("[", "")) == null ? void 0 : y.replaceAll("]", "")]) && ((te = (ge = (R = k == null ? void 0 : k.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : ge[1]) != null && te.includes("[")) && (k.value = (M == null ? void 0 : M[k == null ? void 0 : k.label]) || (M == null ? void 0 : M[(p = (O = (Ae = (je = k == null ? void 0 : k.optionUrl) == null ? void 0 : je.groupSelect) == null ? void 0 : Ae[1]) == null ? void 0 : O.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")])), (se = (ce = (pe = Pe.value) == null ? void 0 : pe[0]) == null ? void 0 : ce.optionUrl) != null && se.menuId && (k.value = (M == null ? void 0 : M[k == null ? void 0 : k.label]) || (M == null ? void 0 : M[(Ne = (ll = (Be = (me = k == null ? void 0 : k.optionUrl) == null ? void 0 : me.groupSelect) == null ? void 0 : Be[1]) == null ? void 0 : ll.replaceAll("[", "")) == null ? void 0 : Ne.replaceAll("]", "")])), k;
|
|
2101
2101
|
}), Pe.value = q(d);
|
|
2102
2102
|
let C = q(d);
|
|
2103
2103
|
C = C == null ? void 0 : C.map((k) => {
|
|
@@ -2120,7 +2120,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2120
2120
|
Bl.value = !1;
|
|
2121
2121
|
}, Vr = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", en = (e) => {
|
|
2122
2122
|
var o, i;
|
|
2123
|
-
const l = (i = (o =
|
|
2123
|
+
const l = (i = (o = Qe.value) == null ? void 0 : o.find((t) => (t == null ? void 0 : t.label) === (e == null ? void 0 : e.label))) == null ? void 0 : i.multiple, r = e == null ? void 0 : e.prop;
|
|
2124
2124
|
if ((e == null ? void 0 : e.formType) != "Select")
|
|
2125
2125
|
return;
|
|
2126
2126
|
I.value.forEach((t) => {
|
|
@@ -2134,13 +2134,13 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2134
2134
|
}), e.children && ((r = e.children) == null ? void 0 : r.length) > 0 && (e.children = e.children.map((a) => La(a, l))), e;
|
|
2135
2135
|
}, ga = (e) => {
|
|
2136
2136
|
var r, a, u, o, i, t;
|
|
2137
|
-
|
|
2137
|
+
Ml("");
|
|
2138
2138
|
const l = (r = Pe.value) == null ? void 0 : r.reduce((c, f) => (c[f.name] = f.value, c), {});
|
|
2139
2139
|
if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
|
|
2140
2140
|
Fe.value = l, ul.value = "", _l.value = (u = I.value) == null ? void 0 : u.length, Cl.value = (o = Sl.value) == null ? void 0 : o.filter((f) => (f == null ? void 0 : f.label) !== "新增");
|
|
2141
2141
|
const c = (t = (i = Ge.value) == null ? void 0 : i.filter((f) => (f == null ? void 0 : f.label) !== "操作")) == null ? void 0 : t.map((f) => {
|
|
2142
2142
|
var D, z, g;
|
|
2143
|
-
const S = (z = (D =
|
|
2143
|
+
const S = (z = (D = Qe.value) == null ? void 0 : D.find((_) => (_ == null ? void 0 : _.label) === (f == null ? void 0 : f.label))) == null ? void 0 : z.multiple;
|
|
2144
2144
|
return en(f), {
|
|
2145
2145
|
...f,
|
|
2146
2146
|
contents: (f == null ? void 0 : f.options) ?? [],
|
|
@@ -2195,24 +2195,24 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2195
2195
|
let a = [];
|
|
2196
2196
|
return a = Pa(e, l == null ? void 0 : l.contents, 0), a;
|
|
2197
2197
|
}, wa = (e, l) => {
|
|
2198
|
-
var z, g, _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x,
|
|
2198
|
+
var z, g, _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x, M, d, C, b, k, w, le, P;
|
|
2199
2199
|
const r = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "header");
|
|
2200
2200
|
e == null || e.filter((y) => (y == null ? void 0 : y.key) === "tableIndexColumn")[0];
|
|
2201
2201
|
const a = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "childTree")[0];
|
|
2202
2202
|
let u = l;
|
|
2203
2203
|
const o = e == null ? void 0 : e.find((y) => (y == null ? void 0 : y.key) === "page"), i = e == null ? void 0 : e.find((y) => (y == null ? void 0 : y.key) === "rowButton"), t = e == null ? void 0 : e.find((y) => (y == null ? void 0 : y.key) === "extraButton"), c = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "tableContents"), f = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "tableIndex");
|
|
2204
|
-
|
|
2204
|
+
Qe.value = (g = (z = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "tableToForm")) == null ? void 0 : z[0]) == null ? void 0 : g.contents, ka.value = (o == null ? void 0 : o.contents) ?? !0;
|
|
2205
2205
|
let S = [];
|
|
2206
2206
|
kl.value === "" ? S = r == null ? void 0 : r[0] : S = (r == null ? void 0 : r.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + kl.value + ")")) ?? (r == null ? void 0 : r.find((y) => !(y != null && y.selectLabel)));
|
|
2207
2207
|
let D = [];
|
|
2208
2208
|
if (kl.value === "" ? D = f == null ? void 0 : f[0] : D = (f == null ? void 0 : f.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + kl.value + ")")) ?? (f == null ? void 0 : f.find((y) => !(y != null && y.selectLabel))), ((_ = S == null ? void 0 : S.contents) == null ? void 0 : _.length) > 0) {
|
|
2209
2209
|
let y = [];
|
|
2210
2210
|
if (S != null && S.contents.some((O) => Array.isArray(O) && (O == null ? void 0 : O.find((p) => p.children))))
|
|
2211
|
-
ol.value === "" ? y = (U = (E =
|
|
2211
|
+
ol.value === "" ? y = (U = (E = Qa(S == null ? void 0 : S.contents)) == null ? void 0 : E[0]) == null ? void 0 : U.filter((O) => !Array.isArray(O)) : (ol.value.split("-"), y = (J = Qa(S == null ? void 0 : S.contents)) == null ? void 0 : J[0]);
|
|
2212
2212
|
else {
|
|
2213
2213
|
let O = S != null && S.contents.some((p) => Array.isArray(p)) ? (F = S == null ? void 0 : S.contents) == null ? void 0 : F[0] : S == null ? void 0 : S.contents;
|
|
2214
2214
|
O == null || O.forEach((p, pe) => {
|
|
2215
|
-
var me, Be, ll,
|
|
2215
|
+
var me, Be, ll, Ne;
|
|
2216
2216
|
let ce = "";
|
|
2217
2217
|
(Be = (me = ee.value) == null ? void 0 : me.split("/")) == null || Be.forEach((Re) => {
|
|
2218
2218
|
var fl, gl, hl;
|
|
@@ -2221,7 +2221,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2221
2221
|
ce = ce === "" ? ce + Ol : ce + "/" + Ol;
|
|
2222
2222
|
}
|
|
2223
2223
|
}), ce = ce + ye + (p == null ? void 0 : p.directiveLabel);
|
|
2224
|
-
const se = (ll =
|
|
2224
|
+
const se = (ll = Qe.value) == null ? void 0 : ll.find((Re) => (Re == null ? void 0 : Re.prop) === (p == null ? void 0 : p.prop));
|
|
2225
2225
|
y.push({
|
|
2226
2226
|
label: (p == null ? void 0 : p.label) ?? "",
|
|
2227
2227
|
prop: (p == null ? void 0 : p.label) === "操作" ? "operate" : (p == null ? void 0 : p.prop) ?? "a" + pe,
|
|
@@ -2247,7 +2247,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2247
2247
|
value: (p == null ? void 0 : p.value) ?? "",
|
|
2248
2248
|
formMenuSelect: (p == null ? void 0 : p.formMenuSelect) ?? [],
|
|
2249
2249
|
isRoute: (p == null ? void 0 : p.isRoute) ?? !1,
|
|
2250
|
-
groupSelect: p != null && p.groupSelect ? (
|
|
2250
|
+
groupSelect: p != null && p.groupSelect ? (Ne = p == null ? void 0 : p.groupSelect) == null ? void 0 : Ne.replaceAll('"', "").split(":") : [],
|
|
2251
2251
|
isMainKey: (p == null ? void 0 : p.isMainKey) || (p == null ? void 0 : p.directiveLabel) && !u[ce],
|
|
2252
2252
|
// 同步弹窗列类型到表格列类型
|
|
2253
2253
|
columnType: (se == null ? void 0 : se.type) || (p == null ? void 0 : p.columnType) || "TEXTAREA",
|
|
@@ -2259,7 +2259,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2259
2259
|
});
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
|
-
W.value =
|
|
2262
|
+
W.value = Xa(y), X.value = Xa(y), Z.value = (K = W.value) == null ? void 0 : K.map((O) => O == null ? void 0 : O.label), pl.value = (n = W.value) == null ? void 0 : n.every((O) => O == null ? void 0 : O.filterable), de.value = (T = W.value) == null ? void 0 : T.every((O) => O == null ? void 0 : O.operable), dl.value = (h = W.value) == null ? void 0 : h.every((O) => O == null ? void 0 : O.sortable);
|
|
2263
2263
|
let R = (A = (m = En(W.value)) == null ? void 0 : m.filter((O) => (O == null ? void 0 : O.type) !== "operate")) == null ? void 0 : A.map((O, p) => ({
|
|
2264
2264
|
prop: (O == null ? void 0 : O.prop) ?? "a" + p,
|
|
2265
2265
|
column: O.label
|
|
@@ -2268,7 +2268,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2268
2268
|
let ge = [];
|
|
2269
2269
|
kl.value === "" ? ge = c == null ? void 0 : c[0] : ge = (c == null ? void 0 : c.find((O) => (O == null ? void 0 : O.selectLabel) === "(" + kl.value + ")")) ?? (c == null ? void 0 : c.find((O) => !(O != null && O.selectLabel)));
|
|
2270
2270
|
let te = Array.isArray((Y = ge == null ? void 0 : ge.contents) == null ? void 0 : Y[0]) && ((L = ge == null ? void 0 : ge.contents) != null && L[0].every((O) => Array.isArray(O))) ? (ae = ge == null ? void 0 : ge.contents) == null ? void 0 : ae[0] : ge == null ? void 0 : ge.contents;
|
|
2271
|
-
D != null && D.contents && ((x = D == null ? void 0 : D.contents) == null ? void 0 : x.length) !== 0 && (te = (
|
|
2271
|
+
D != null && D.contents && ((x = D == null ? void 0 : D.contents) == null ? void 0 : x.length) !== 0 && (te = (M = q(te)) == null ? void 0 : M.map((O, p) => {
|
|
2272
2272
|
if (!Array.isArray(O)) {
|
|
2273
2273
|
let pe = {};
|
|
2274
2274
|
for (let ce in O)
|
|
@@ -2286,10 +2286,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2286
2286
|
if (Array.isArray(O)) {
|
|
2287
2287
|
let se = [];
|
|
2288
2288
|
O == null || O.filter((me) => !(me != null && me.id)).forEach((me, Be) => {
|
|
2289
|
-
var ll,
|
|
2289
|
+
var ll, Ne, Re, fl, gl, hl;
|
|
2290
2290
|
if ((ll = R == null ? void 0 : R[Be]) != null && ll.prop && !Array.isArray(me)) {
|
|
2291
2291
|
let Ol = {};
|
|
2292
|
-
Ol[R[Be].column] = me, Te != null && Te.value && ((
|
|
2292
|
+
Ol[R[Be].column] = me, Te != null && Te.value && ((Ne = Te == null ? void 0 : Te.value) == null ? void 0 : Ne.length) > 0 && ((Re = Te == null ? void 0 : Te.value) != null && Re.find((al) => JSON.stringify(al == null ? void 0 : al[0]) === JSON.stringify(Ol))) && (se = (fl = Te == null ? void 0 : Te.value) == null ? void 0 : fl.find((al) => JSON.stringify(al == null ? void 0 : al[0]) === JSON.stringify(Ol))), se && se.length > 0 ? pe[R[Be].prop] = se != null && se.find((al) => {
|
|
2293
2293
|
var Fl;
|
|
2294
2294
|
return ((Fl = Object.keys(al)) == null ? void 0 : Fl[0]) === R[Be].column;
|
|
2295
2295
|
}) ? (gl = se == null ? void 0 : se.find((al) => {
|
|
@@ -2303,10 +2303,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2303
2303
|
Array.isArray(O) && O.some((se) => se == null ? void 0 : se.id) ? Ae.push(Object.assign(pe, { id: (ce = O == null ? void 0 : O.find((se) => se.id)) == null ? void 0 : ce.id })) : pe.id ? Ae.push(pe) : Ae.push(Object.assign(pe, { id: p.toString() }));
|
|
2304
2304
|
}), I.value = Ba(Ae, a, W.value), Gl.value = Ae, (C = Gl.value) == null || C.forEach((O) => {
|
|
2305
2305
|
var p;
|
|
2306
|
-
(p =
|
|
2306
|
+
(p = Hl.value) == null || p.set(O.id, O);
|
|
2307
2307
|
});
|
|
2308
2308
|
} else
|
|
2309
|
-
W.value = [], Ge.value = [], I.value = [], Gl.value = [],
|
|
2309
|
+
W.value = [], Ge.value = [], I.value = [], Gl.value = [], Hl.value = /* @__PURE__ */ new Map();
|
|
2310
2310
|
((b = i == null ? void 0 : i.contents) == null ? void 0 : b.length) > 0 ? bl.value = i == null ? void 0 : i.contents : bl.value = [], ((k = t == null ? void 0 : t.contents) == null ? void 0 : k.length) > 0 ? (Cl.value = t == null ? void 0 : t.contents, Sl.value = t == null ? void 0 : t.contents) : (Cl.value = [], Sl.value = []), _l.value = ((w = I == null ? void 0 : I.value) == null ? void 0 : w.length) ?? 0, $a(I.value), Zl.value = I.value, Ve.value && (W.value = (P = (le = Ge.value) == null ? void 0 : le.filter((y) => (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : P.map((y) => {
|
|
2311
2311
|
var R;
|
|
2312
2312
|
return {
|
|
@@ -2339,9 +2339,9 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2339
2339
|
},
|
|
2340
2340
|
{ deep: !0, immediate: !0 }
|
|
2341
2341
|
), We(() => s == null ? void 0 : s.operatingForm, (e) => {
|
|
2342
|
-
e != null && e.form && (
|
|
2342
|
+
e != null && e.form && (Ml(e == null ? void 0 : e.form), Ze.value = e == null ? void 0 : e.dialogTitle, Yl.value = !0, sl.value = !0);
|
|
2343
2343
|
}, { immediate: !0, deep: !0 });
|
|
2344
|
-
const
|
|
2344
|
+
const Na = () => {
|
|
2345
2345
|
var e;
|
|
2346
2346
|
(e = Ue.value) != null && e.includes("read") && (Ve.value = !Ve.value);
|
|
2347
2347
|
}, an = () => {
|
|
@@ -2355,7 +2355,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2355
2355
|
Ue.value = e, (e == null ? void 0 : e.length) === 0 ? Ve.value = !1 : (e != null && e.includes("read") || (Ve.value = !0), e != null && e.includes("edit") || (Ve.value = !1)), ve.value = ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex) || Ve.value;
|
|
2356
2356
|
}, { immediate: !0 }), We(() => Ve.value, (e) => {
|
|
2357
2357
|
var l;
|
|
2358
|
-
e ? (ga("viewChange"), De.setCacheUpdatingData(null)) : (Cl.value = Sl.value, W.value =
|
|
2358
|
+
e ? (ga("viewChange"), De.setCacheUpdatingData(null)) : (Cl.value = Sl.value, W.value = X.value, Ll.value && (De.setTableLoading(s == null ? void 0 : s.index), H("change", Ll.value))), ne.value = e, ve.value = e || ((l = s == null ? void 0 : s.config) == null ? void 0 : l.showIndex);
|
|
2359
2359
|
}, { immediate: !0 }), We(() => {
|
|
2360
2360
|
var e;
|
|
2361
2361
|
return (e = Aa.value) == null ? void 0 : e.length;
|
|
@@ -2395,10 +2395,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2395
2395
|
}, sn = (e, l) => e.find((r) => Object.values(r).some((a) => a === l));
|
|
2396
2396
|
return We(() => nl.value, async (e) => {
|
|
2397
2397
|
if (e) {
|
|
2398
|
-
|
|
2398
|
+
N.setContentLoading(!0), await ua();
|
|
2399
2399
|
const l = sn(I.value, e == null ? void 0 : e.data);
|
|
2400
|
-
if (!l) return
|
|
2401
|
-
await _a(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }),
|
|
2400
|
+
if (!l) return N.setContentLoading(!1);
|
|
2401
|
+
await _a(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), N.setContentLoading(!1);
|
|
2402
2402
|
}
|
|
2403
2403
|
}, { deep: !0, immediate: !0 }), We(() => s == null ? void 0 : s.cacheNewData, (e) => {
|
|
2404
2404
|
var l;
|
|
@@ -2438,7 +2438,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2438
2438
|
onDoCurrentChange: vr,
|
|
2439
2439
|
onDoSizeChange: br,
|
|
2440
2440
|
onContentClick: _a,
|
|
2441
|
-
onRowClick:
|
|
2441
|
+
onRowClick: Nr,
|
|
2442
2442
|
onSelectChange: _r,
|
|
2443
2443
|
onCellChange: nn,
|
|
2444
2444
|
onChange: ja,
|
|
@@ -2448,13 +2448,13 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2448
2448
|
onHandleColTypeChange: mr,
|
|
2449
2449
|
onClickButton: ra
|
|
2450
2450
|
}, pn({
|
|
2451
|
-
headerButton:
|
|
2451
|
+
headerButton: Q((g) => {
|
|
2452
2452
|
var _, E;
|
|
2453
2453
|
return [
|
|
2454
2454
|
j.showHeader ? (V(), Le(Vn, {
|
|
2455
2455
|
key: 0,
|
|
2456
2456
|
pageLayout: j.pageLayout,
|
|
2457
|
-
lockingPage:
|
|
2457
|
+
lockingPage: Xe(ql) === Xe(ee),
|
|
2458
2458
|
filterValues: Ua.value,
|
|
2459
2459
|
selectNums: (_ = el.value) == null ? void 0 : _.length,
|
|
2460
2460
|
dataNums: (E = I.value) == null ? void 0 : E.length,
|
|
@@ -2469,14 +2469,14 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2469
2469
|
}, null, 8, ["pageLayout", "lockingPage", "filterValues", "selectNums", "dataNums", "compName", "isDevMode", "buttons", "columns", "level"])) : xe("", !0)
|
|
2470
2470
|
];
|
|
2471
2471
|
}),
|
|
2472
|
-
viewport:
|
|
2472
|
+
viewport: Q(() => {
|
|
2473
2473
|
var g, _, E, U;
|
|
2474
2474
|
return [
|
|
2475
2475
|
((g = I.value) == null ? void 0 : g.length) > 0 && j.allowOperate ? (V(), Se("div", vu, [
|
|
2476
|
-
(_ = Ue.value) != null && _.includes("read") && ((E = Ue.value) != null && E.includes("edit")) && ((U = bl.value) != null && U.some((J) => (J == null ? void 0 : J.label) === "编辑")) && !Vl.value &&
|
|
2476
|
+
(_ = Ue.value) != null && _.includes("read") && ((E = Ue.value) != null && E.includes("edit")) && ((U = bl.value) != null && U.some((J) => (J == null ? void 0 : J.label) === "编辑")) && !Vl.value && Xe(ql) !== Xe(ee) ? (V(), Se("span", {
|
|
2477
2477
|
key: 0,
|
|
2478
2478
|
title: "编辑表格",
|
|
2479
|
-
onClick:
|
|
2479
|
+
onClick: Na
|
|
2480
2480
|
}, [
|
|
2481
2481
|
ue(r, {
|
|
2482
2482
|
name: "editTable",
|
|
@@ -2495,7 +2495,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2495
2495
|
])) : xe("", !0)
|
|
2496
2496
|
];
|
|
2497
2497
|
}),
|
|
2498
|
-
rowCreate:
|
|
2498
|
+
rowCreate: Q(({ row: g, index: _ }) => [
|
|
2499
2499
|
he("span", {
|
|
2500
2500
|
title: "新增",
|
|
2501
2501
|
class: "row-create-wrap",
|
|
@@ -2507,7 +2507,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2507
2507
|
})
|
|
2508
2508
|
], 8, bu)
|
|
2509
2509
|
]),
|
|
2510
|
-
operateCol:
|
|
2510
|
+
operateCol: Q(() => [
|
|
2511
2511
|
ue(a, {
|
|
2512
2512
|
title: "选择显示列信息",
|
|
2513
2513
|
placement: "left-start",
|
|
@@ -2515,7 +2515,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2515
2515
|
trigger: "hover",
|
|
2516
2516
|
onShow: Zr
|
|
2517
2517
|
}, {
|
|
2518
|
-
reference:
|
|
2518
|
+
reference: Q(() => [
|
|
2519
2519
|
he("span", Su, [
|
|
2520
2520
|
ue(r, {
|
|
2521
2521
|
name: "operate",
|
|
@@ -2523,7 +2523,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2523
2523
|
})
|
|
2524
2524
|
])
|
|
2525
2525
|
]),
|
|
2526
|
-
default:
|
|
2526
|
+
default: Q(() => [
|
|
2527
2527
|
he("div", ku, [
|
|
2528
2528
|
l[11] || (l[11] = he("div", { class: "group-title" }, "表格操作", -1)),
|
|
2529
2529
|
ue(u, {
|
|
@@ -2555,7 +2555,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2555
2555
|
ref_key: "checkboxGroupRef",
|
|
2556
2556
|
ref: $
|
|
2557
2557
|
}, {
|
|
2558
|
-
default:
|
|
2558
|
+
default: Q(() => [
|
|
2559
2559
|
(V(!0), Se(tl, null, cl(wl.value, (g) => (V(), Se("div", {
|
|
2560
2560
|
style: { display: "flex", "align-items": "center" },
|
|
2561
2561
|
key: g.label
|
|
@@ -2564,7 +2564,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2564
2564
|
value: g.label,
|
|
2565
2565
|
style: { width: "100%", marginRight: 0 }
|
|
2566
2566
|
}, {
|
|
2567
|
-
default:
|
|
2567
|
+
default: Q(() => [
|
|
2568
2568
|
he("span", {
|
|
2569
2569
|
title: g.label,
|
|
2570
2570
|
style: { display: "inline-block", width: "250px", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }
|
|
@@ -2578,13 +2578,13 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2578
2578
|
teleported: !1,
|
|
2579
2579
|
trigger: "hover"
|
|
2580
2580
|
}, {
|
|
2581
|
-
reference:
|
|
2581
|
+
reference: Q(() => [
|
|
2582
2582
|
ue(r, {
|
|
2583
2583
|
name: "colOperate",
|
|
2584
2584
|
style: { width: "15px", height: "15px", cursor: "pointer", color: "grey", position: "absolute", right: "40px" }
|
|
2585
2585
|
})
|
|
2586
2586
|
]),
|
|
2587
|
-
default:
|
|
2587
|
+
default: Q(() => {
|
|
2588
2588
|
var _;
|
|
2589
2589
|
return [
|
|
2590
2590
|
he("div", Au, [
|
|
@@ -2622,8 +2622,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2622
2622
|
_: 1
|
|
2623
2623
|
})
|
|
2624
2624
|
]),
|
|
2625
|
-
content:
|
|
2626
|
-
var _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x,
|
|
2625
|
+
content: Q((g) => {
|
|
2626
|
+
var _, E, U, J, F, K, n, T, h, m, A, Y, L, ae, x, M, d, C;
|
|
2627
2627
|
return [
|
|
2628
2628
|
un(g) ? (V(), Le(a, {
|
|
2629
2629
|
key: 0,
|
|
@@ -2633,10 +2633,10 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2633
2633
|
effect: "light",
|
|
2634
2634
|
width: "auto"
|
|
2635
2635
|
}, {
|
|
2636
|
-
reference:
|
|
2636
|
+
reference: Q(() => [
|
|
2637
2637
|
he("span", Uu, Oe(ze(g)), 1)
|
|
2638
2638
|
]),
|
|
2639
|
-
default:
|
|
2639
|
+
default: Q(() => {
|
|
2640
2640
|
var b, k;
|
|
2641
2641
|
return [
|
|
2642
2642
|
he("div", _u, [
|
|
@@ -2660,7 +2660,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2660
2660
|
style: Ul({
|
|
2661
2661
|
color: !Array.isArray(ze(g)) && ((E = (_ = ze(g)) == null ? void 0 : _.toString()) != null && E.includes(".txt") || (J = (U = ze(g)) == null ? void 0 : U.toString()) != null && J.includes(".cpt") || (K = (F = ze(g)) == null ? void 0 : F.toString()) != null && K.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
|
|
2662
2662
|
textDecoration: !Array.isArray(ze(g)) && ((T = (n = ze(g)) == null ? void 0 : n.toString()) != null && T.includes(".txt") || (m = (h = ze(g)) == null ? void 0 : h.toString()) != null && m.includes(".cpt") || (Y = (A = ze(g)) == null ? void 0 : A.toString()) != null && Y.includes(".cyd")) ? "underline" : "",
|
|
2663
|
-
cursor: !Array.isArray(ze(g)) && ((ae = (L = ze(g)) == null ? void 0 : L.toString()) != null && ae.includes(".txt") || (
|
|
2663
|
+
cursor: !Array.isArray(ze(g)) && ((ae = (L = ze(g)) == null ? void 0 : L.toString()) != null && ae.includes(".txt") || (M = (x = ze(g)) == null ? void 0 : x.toString()) != null && M.includes(".cpt") || (C = (d = ze(g)) == null ? void 0 : d.toString()) != null && C.includes(".cyd")) ? "pointer" : "",
|
|
2664
2664
|
marginLeft: (g == null ? void 0 : g.colIndex) === 0 ? `${((g == null ? void 0 : g.level) ?? 0) * 20}px` : 0
|
|
2665
2665
|
}),
|
|
2666
2666
|
onClick: (b) => yr(ze(g))
|
|
@@ -2669,21 +2669,21 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2669
2669
|
}),
|
|
2670
2670
|
_: 2
|
|
2671
2671
|
}, [
|
|
2672
|
-
((D = bl.value) == null ? void 0 : D.length) > 0 &&
|
|
2672
|
+
((D = bl.value) == null ? void 0 : D.length) > 0 && Xe(ql) !== Xe(ee) ? {
|
|
2673
2673
|
name: "actions",
|
|
2674
|
-
fn:
|
|
2674
|
+
fn: Q(({ item: g }) => [
|
|
2675
2675
|
ue(a, {
|
|
2676
2676
|
title: "",
|
|
2677
2677
|
placement: "left-start",
|
|
2678
2678
|
"popper-class": "menu-operate-popover"
|
|
2679
2679
|
}, {
|
|
2680
|
-
reference:
|
|
2680
|
+
reference: Q(() => [
|
|
2681
2681
|
ue(r, {
|
|
2682
2682
|
name: "more",
|
|
2683
2683
|
style: { cursor: "pointer", width: "15px", height: "15px" }
|
|
2684
2684
|
})
|
|
2685
2685
|
]),
|
|
2686
|
-
default:
|
|
2686
|
+
default: Q(() => [
|
|
2687
2687
|
he("div", hu, [
|
|
2688
2688
|
(V(!0), Se(tl, null, cl(Lr(bl.value, g), (_, E) => (V(), Se("div", {
|
|
2689
2689
|
class: "menu-config-item",
|
|
@@ -2704,9 +2704,9 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2704
2704
|
} : void 0,
|
|
2705
2705
|
((z = I.value) == null ? void 0 : z.length) > 0 ? {
|
|
2706
2706
|
name: "batchButton",
|
|
2707
|
-
fn:
|
|
2707
|
+
fn: Q((g) => [
|
|
2708
2708
|
za(ue(lu, {
|
|
2709
|
-
lockingPage:
|
|
2709
|
+
lockingPage: Xe(ql) === Xe(ee),
|
|
2710
2710
|
buttons: g.buttons,
|
|
2711
2711
|
selectTableItems: el.value,
|
|
2712
2712
|
onButtonClick: l[1] || (l[1] = (_) => ra(_, "", {}))
|
|
@@ -2727,7 +2727,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2727
2727
|
onBeforeDestroy: Or,
|
|
2728
2728
|
style: { height: "74%" }
|
|
2729
2729
|
}, {
|
|
2730
|
-
default:
|
|
2730
|
+
default: Q(() => [
|
|
2731
2731
|
he("div", Eu, [
|
|
2732
2732
|
ue(jl, {
|
|
2733
2733
|
rowContents: Pe.value,
|
|
@@ -2735,19 +2735,19 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2735
2735
|
showOperator: !1,
|
|
2736
2736
|
onChange: Ir,
|
|
2737
2737
|
onClickTrigger: Dr,
|
|
2738
|
-
isEdit:
|
|
2738
|
+
isEdit: Ql.value,
|
|
2739
2739
|
onBlurChange: Cr
|
|
2740
2740
|
}, null, 8, ["rowContents", "isEdit"])
|
|
2741
2741
|
])
|
|
2742
2742
|
]),
|
|
2743
|
-
footer:
|
|
2743
|
+
footer: Q(() => [
|
|
2744
2744
|
Yl.value ? (V(), Se("div", ju, [
|
|
2745
2745
|
ue(t, {
|
|
2746
2746
|
onClick: l[6] || (l[6] = (g) => sl.value = !1),
|
|
2747
2747
|
id: "themeBorderButton"
|
|
2748
2748
|
}, {
|
|
2749
|
-
default:
|
|
2750
|
-
|
|
2749
|
+
default: Q(() => l[13] || (l[13] = [
|
|
2750
|
+
He(Oe("取消"))
|
|
2751
2751
|
])),
|
|
2752
2752
|
_: 1,
|
|
2753
2753
|
__: [13]
|
|
@@ -2757,8 +2757,8 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2757
2757
|
onClick: l[7] || (l[7] = (g) => Kl(!0)),
|
|
2758
2758
|
id: "themeButton"
|
|
2759
2759
|
}, {
|
|
2760
|
-
default:
|
|
2761
|
-
|
|
2760
|
+
default: Q(() => l[14] || (l[14] = [
|
|
2761
|
+
He(Oe("确认"))
|
|
2762
2762
|
])),
|
|
2763
2763
|
_: 1,
|
|
2764
2764
|
__: [14]
|
|
@@ -2769,33 +2769,33 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2769
2769
|
}, 8, ["title", "visible", "width"]),
|
|
2770
2770
|
ue(Jl, {
|
|
2771
2771
|
title: Ze.value,
|
|
2772
|
-
visible:
|
|
2772
|
+
visible: Xl.value,
|
|
2773
2773
|
width: oa.value,
|
|
2774
|
-
onBeforeDestroy: l[9] || (l[9] = (g) =>
|
|
2774
|
+
onBeforeDestroy: l[9] || (l[9] = (g) => Xl.value = !1)
|
|
2775
2775
|
}, {
|
|
2776
|
-
default:
|
|
2776
|
+
default: Q(() => [
|
|
2777
2777
|
ue(ou)
|
|
2778
2778
|
]),
|
|
2779
|
-
footer:
|
|
2779
|
+
footer: Q(() => [
|
|
2780
2780
|
he("div", Lu, [
|
|
2781
2781
|
ue(t, {
|
|
2782
|
-
onClick: l[8] || (l[8] = (g) =>
|
|
2782
|
+
onClick: l[8] || (l[8] = (g) => Xl.value = !1),
|
|
2783
2783
|
class: "cancel-button",
|
|
2784
2784
|
id: "themeBorderButton"
|
|
2785
2785
|
}, {
|
|
2786
|
-
default:
|
|
2787
|
-
|
|
2786
|
+
default: Q(() => l[15] || (l[15] = [
|
|
2787
|
+
He(Oe("取消"))
|
|
2788
2788
|
])),
|
|
2789
2789
|
_: 1,
|
|
2790
2790
|
__: [15]
|
|
2791
2791
|
}),
|
|
2792
2792
|
ue(t, {
|
|
2793
2793
|
class: "ok-button",
|
|
2794
|
-
onClick:
|
|
2794
|
+
onClick: Mr,
|
|
2795
2795
|
id: "themeButton"
|
|
2796
2796
|
}, {
|
|
2797
|
-
default:
|
|
2798
|
-
|
|
2797
|
+
default: Q(() => l[16] || (l[16] = [
|
|
2798
|
+
He(Oe("确认"))
|
|
2799
2799
|
])),
|
|
2800
2800
|
_: 1,
|
|
2801
2801
|
__: [16]
|
|
@@ -2812,15 +2812,15 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2812
2812
|
oe.value ? (V(), Le(Jl, {
|
|
2813
2813
|
key: 2,
|
|
2814
2814
|
visible: oe.value,
|
|
2815
|
-
onBeforeDestroy:
|
|
2815
|
+
onBeforeDestroy: Xr,
|
|
2816
2816
|
style: { height: "80vh", width: "80vw" },
|
|
2817
2817
|
"body-class": "three-dialog-body",
|
|
2818
2818
|
"footer-class": "three-dialog-footer"
|
|
2819
2819
|
}, {
|
|
2820
|
-
default:
|
|
2820
|
+
default: Q(() => [
|
|
2821
2821
|
ue(An, {
|
|
2822
2822
|
"file-urls": Pl.value,
|
|
2823
|
-
isThreeScene:
|
|
2823
|
+
isThreeScene: Me.value,
|
|
2824
2824
|
isSelfWindow: !0,
|
|
2825
2825
|
threeData: Ke.value
|
|
2826
2826
|
}, null, 8, ["file-urls", "isThreeScene", "threeData"])
|
|
@@ -2833,7 +2833,7 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2833
2833
|
width: oa.value,
|
|
2834
2834
|
style: { height: "70vh" }
|
|
2835
2835
|
}, {
|
|
2836
|
-
default:
|
|
2836
|
+
default: Q(() => [
|
|
2837
2837
|
ue(c, { dialogItem: ea.value }, null, 8, ["dialogItem"])
|
|
2838
2838
|
]),
|
|
2839
2839
|
_: 1
|
|
@@ -2844,14 +2844,14 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2844
2844
|
width: Ee.width,
|
|
2845
2845
|
onBeforeDestroy: Rr
|
|
2846
2846
|
}, {
|
|
2847
|
-
default:
|
|
2847
|
+
default: Q(() => [
|
|
2848
2848
|
he("div", $u, [
|
|
2849
2849
|
ue(jl, {
|
|
2850
2850
|
rowContents: Ee == null ? void 0 : Ee.contents,
|
|
2851
2851
|
formRules: Ee == null ? void 0 : Ee.formRules,
|
|
2852
2852
|
showOperator: !1,
|
|
2853
2853
|
buttonValue: Ee.buttonValue,
|
|
2854
|
-
isEdit:
|
|
2854
|
+
isEdit: Ql.value,
|
|
2855
2855
|
isStartJustify: !1,
|
|
2856
2856
|
isEnableWrap: !1,
|
|
2857
2857
|
onOnButtonClick: Wr
|
|
@@ -2863,12 +2863,12 @@ const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
|
2863
2863
|
]);
|
|
2864
2864
|
};
|
|
2865
2865
|
}
|
|
2866
|
-
},
|
|
2866
|
+
}, Qu = /* @__PURE__ */ sa(Pu, [["__scopeId", "data-v-87f94f9e"]]);
|
|
2867
2867
|
export {
|
|
2868
2868
|
fu as a,
|
|
2869
2869
|
au as b,
|
|
2870
2870
|
er as f,
|
|
2871
2871
|
ar as g,
|
|
2872
|
-
|
|
2872
|
+
Qu as s,
|
|
2873
2873
|
iu as u
|
|
2874
2874
|
};
|