ss-component-new 1.2.19 → 1.2.21
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/{animationData-DHZB79in.js → animationData-BgVD7m_Z.js} +4 -4
- package/dist/{animationData-CM-r9wyr.cjs → animationData-CMbPkqzG.cjs} +1 -1
- package/dist/{array-DtLHXuRQ.cjs → array-CFSAyjws.cjs} +1 -1
- package/dist/{array-lSB-nT70.js → array-DPyu0w54.js} +2 -2
- package/dist/{index-BdpUfLri.cjs → index-10VrsYdM.cjs} +1 -1
- package/dist/{index-BA5XOzgo.js → index-B0IAWN2b.js} +6 -6
- package/dist/{index-CQF_xosZ.cjs → index-B1GAMEgu.cjs} +1 -1
- package/dist/{index-Cwgs7EkD.js → index-B1XSRq6_.js} +1 -1
- package/dist/index-B3GHAekq.cjs +1 -0
- package/dist/{index-qagc_PIZ.js → index-B3VR9DS9.js} +127 -127
- package/dist/{index-CYp77kPp.js → index-B42dCx1W.js} +35 -35
- package/dist/{index-BXBJvXWT.js → index-BHMxqTVw.js} +1 -1
- package/dist/{index-BZPwTn-e.js → index-BISAvhZU.js} +3 -3
- package/dist/{index-B66Gznvh.cjs → index-BIvF4-_X.cjs} +1 -1
- package/dist/{index-DLovX_qy.js → index-BIxz3VQK.js} +11 -11
- package/dist/{index-CDLzfr4U.js → index-BKM1OHVI.js} +2 -2
- package/dist/{index-CYe2gI66.cjs → index-BKPxS6l5.cjs} +1 -1
- package/dist/{index-CCZA5OMk.js → index-BKd-eN-X.js} +45 -45
- package/dist/{index-d7fMw53g.cjs → index-BSzMEymQ.cjs} +1 -1
- package/dist/{index-C0lRDd5G.cjs → index-BVORb8w5.cjs} +1 -1
- package/dist/{index-CJ18eFLi.cjs → index-BaEflW9q.cjs} +1 -1
- package/dist/{index-C461j30b.js → index-Bgje9P6C.js} +1 -1
- package/dist/{index-CKvtRDgL.cjs → index-Bm44NMcZ.cjs} +1 -1
- package/dist/{index-DoJxkMbN.js → index-BnP-OVLZ.js} +19 -19
- package/dist/{index-CUm-3IJT.cjs → index-BoBLST3L.cjs} +1 -1
- package/dist/{index-Cp9R4hVX.cjs → index-Bpa1jsWq.cjs} +1 -1
- package/dist/{index-DW-CHCUy.js → index-BsorG9sX.js} +3 -3
- package/dist/{index-CohL-xT-.js → index-Byuw-d13.js} +2 -2
- package/dist/{index-DWyHMwpG.js → index-CETOzEkF.js} +6 -6
- package/dist/{index-BwjuTBrR.js → index-CFrBvay9.js} +1 -1
- package/dist/{index-ClF5mrVY.cjs → index-CPVt8Wrk.cjs} +1 -1
- package/dist/{index-BkRpCoTx.cjs → index-CTVVACAH.cjs} +1 -1
- package/dist/{index-ct6Uwcq4.cjs → index-CahUIEFl.cjs} +1 -1
- package/dist/{index--LhAkpOq.cjs → index-CbslhDEf.cjs} +1 -1
- package/dist/{index-Dw4KeMlJ.cjs → index-Cu7pB5GB.cjs} +1 -1
- package/dist/{index-Cf79bLZO.js → index-Cu_QyXxB.js} +2 -2
- package/dist/{index-DcmGr3J0.cjs → index-CyqP7oeY.cjs} +1 -1
- package/dist/{index-BKgbkArH.cjs → index-CyzuptEh.cjs} +1 -1
- package/dist/{index-n6maO8qu.js → index-D0fqSkIt.js} +2 -2
- package/dist/{index-BfNqdIOP.js → index-D3w8CFxz.js} +4 -4
- package/dist/{index-Cqd0F9a9.js → index-DAkKNbYV.js} +12 -12
- package/dist/{index-DhqF2CA-.js → index-DRGXzdw7.js} +2 -2
- package/dist/{index-CijoI-9f.js → index-DZgwOX56.js} +6 -6
- package/dist/{index-DFXZiHSV.cjs → index-DaOTArXF.cjs} +1 -1
- package/dist/{index-9YqHJG26.js → index-DhcAF24X.js} +8 -8
- package/dist/{index-BovzU-BN.js → index-DmmUjSu_.js} +4 -4
- package/dist/{index-BWHJGJ1e.cjs → index-Do4CoXhH.cjs} +1 -1
- package/dist/{index-CAkJ-S5C.cjs → index-DpmVXC_Q.cjs} +1 -1
- package/dist/{index-C26I2eIi.cjs → index-DubsCmcm.cjs} +1 -1
- package/dist/{index-CAAtUOzM.cjs → index-DwkFRUcM.cjs} +1 -1
- package/dist/{index-CvSBsAV7.cjs → index-FGO3o5gd.cjs} +1 -1
- package/dist/{index-CutRp0mU.js → index-IplqGB4d.js} +6 -6
- package/dist/{index-Ckc2csf3.js → index-Z-Tg_cZ7.js} +2 -2
- package/dist/{index-CY02zKVE.cjs → index-bL_GpYsf.cjs} +1 -1
- package/dist/{index-CqnPwWag.js → index-lzrjiUS5.js} +2 -2
- package/dist/{index-Cd58A7uv.cjs → index-rhNfaMfG.cjs} +1 -1
- package/dist/{index-B19xwKx1.js → index-sUsojzpW.js} +1 -1
- package/dist/{index-CwVl7hYK.js → index-w38DtIEl.js} +6 -6
- package/dist/{index-BdioXHog.js → index-x1q2XfBL.js} +12 -12
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CqTDROhf.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Be4dFvUC.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DMNlG9dC.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CIRzfvAn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DZZXEjAk.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-6zdxGopn.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CM9szr9Y.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-97ZyXl6J.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DCpKvb-8.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BgIXU87c.js} +11641 -11513
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CY0MiFwy.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-CecxMizO.cjs → index.vue_vue_type_style_index_1_lang-29vzgcAi.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-BswQV5Lr.js → index.vue_vue_type_style_index_1_lang-CtkjAjQ8.js} +3 -3
- package/dist/index.vue_vue_type_style_index_1_lang-DUZFMfkl.js +8310 -0
- package/dist/index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs +32 -0
- package/dist/{isString-BNK38WbE.js → isString-BrYdkZh8.js} +1 -1
- package/dist/{main-oZpjzC8J.cjs → main-Bt-9WV5Z.cjs} +1 -1
- package/dist/{main-DD4ds9VF.js → main-DNN-2mgC.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/{threeLatheView-Bp0kjo_V.js → threeLatheView-DuqX5kKf.js} +2 -2
- package/dist/{threeModel-CFk-bjEz.cjs → threeModel-14TQ7qah.cjs} +1 -1
- package/dist/{threeModel-od894OgJ.js → threeModel-KPFJkl4n.js} +3 -3
- package/dist/{threePreview-DFFjm93P.js → threePreview-B7C8gY5w.js} +1 -1
- package/dist/{threeSceneView-DKa3NvXL.cjs → threeSceneView-Bb-MdEV9.cjs} +1 -1
- package/dist/{threeSceneView-J9yJnd-8.js → threeSceneView-SrIIrGLz.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-C9RBmFtK.js → threeSceneViewForCPMPIP-CN_9lSRm.js} +25 -25
- package/dist/{threeSceneViewForCPMPIP-cGJ49EX2.cjs → threeSceneViewForCPMPIP-Da6YyhFH.cjs} +1 -1
- package/dist/{threeViewerHost-Cpea-3lX.js → threeViewerHost-BwiicdtA.js} +10 -10
- package/dist/{threeViewerHost-DqllErXG.cjs → threeViewerHost-U-AzJqIN.cjs} +1 -1
- package/dist/{useRayCaster-B2SPBFYC.js → useRayCaster-Bx73bXeL.js} +1 -1
- package/dist/{useRayCaster-CjOF8Be7.cjs → useRayCaster-CnW80o7b.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BRbH6lIH.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-_Oz7xRLf.cjs +0 -56
- package/dist/index.vue_vue_type_style_index_1_lang-CT_2jezv.cjs +0 -32
- package/dist/index.vue_vue_type_style_index_1_lang-DMXip4Xp.js +0 -8260
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as H, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Ha, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Qa, reactive as
|
|
2
|
-
import { bh as Vr, as as en, c as q, E as $e,
|
|
3
|
-
import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-
|
|
5
|
-
import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-
|
|
6
|
-
import {
|
|
7
|
-
import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { ref as H, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Ha, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Qa, reactive as Zl, inject as Qr, provide as Xr, onBeforeUnmount as Yr, computed as Ma, onUnmounted as Zr, createSlots as Ir } from "vue";
|
|
2
|
+
import { bh as Vr, as as en, c as q, E as $e, c0 as ya, g as _l, p as hl, s as Ul, u as ln, bt as pa, d as Ka, b as yl, bv as an, f as rn, c3 as nn } from "./index-B42dCx1W.js";
|
|
3
|
+
import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Be4dFvUC.js";
|
|
4
|
+
import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-w38DtIEl.js";
|
|
5
|
+
import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-BwiicdtA.js";
|
|
6
|
+
import { aL as Kl, aF as gn, i as al, k as hn, j as yn, u as vn, aK as bn, a as Sn, a_ as Fa, a$ as wa, b0 as kn, b1 as Tn, l as Il, E as za, aI as Ja, b2 as Wa, aT as mn, b3 as An } from "./index.vue_vue_type_style_index_1_lang-DUZFMfkl.js";
|
|
7
|
+
import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-CtkjAjQ8.js";
|
|
8
8
|
import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import "./three-viewport-gizmo-CkQ98n-T.js";
|
|
10
|
-
import { s as Vl } from "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { i as Ga } from "./isString-
|
|
10
|
+
import { s as Vl } from "./index-B1XSRq6_.js";
|
|
11
|
+
import "./index-Byuw-d13.js";
|
|
12
|
+
import { i as Ga } from "./isString-BrYdkZh8.js";
|
|
13
13
|
const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -118,11 +118,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
118
118
|
R.onload = (ne) => {
|
|
119
119
|
try {
|
|
120
120
|
const Te = new Uint8Array(ne.target.result), Ce = Un(Te, { type: "array" }), Re = Ce.SheetNames[0], we = Ce.Sheets[Re], w = Nl.decode_range(we["!ref"]).e.c + 1, me = new Array(w).fill(""), D = [];
|
|
121
|
-
for (const
|
|
122
|
-
if (
|
|
123
|
-
const { r: ze, c: el } = Nl.decode_cell(
|
|
124
|
-
let Je = we[
|
|
125
|
-
if (we[
|
|
121
|
+
for (const Z in we) {
|
|
122
|
+
if (Z[0] === "!") continue;
|
|
123
|
+
const { r: ze, c: el } = Nl.decode_cell(Z);
|
|
124
|
+
let Je = we[Z].v;
|
|
125
|
+
if (we[Z].t === "n" && Je > 0 && Je < 1e6 && (Je = new Date((Je - 25569) * 86400 * 1e3).toISOString().split("T")[0]), (Je == null || Je === "") && (Je = ""), ze === 0)
|
|
126
126
|
me[el] = Je;
|
|
127
127
|
else {
|
|
128
128
|
if (!D[ze - 1]) {
|
|
@@ -133,8 +133,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
133
133
|
D[ze - 1][`col_${el}`] = Je;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
for (let
|
|
137
|
-
me[
|
|
136
|
+
for (let Z = 0; Z < w; Z++)
|
|
137
|
+
me[Z] === void 0 && (me[Z] = "");
|
|
138
138
|
const Oe = D == null ? void 0 : D[0];
|
|
139
139
|
if (!(Oe != null && Oe.hasOwnProperty("col_0"))) return $e.error("导入的数据列不匹配,请检查是否错位");
|
|
140
140
|
X("getImportData", me, D);
|
|
@@ -194,7 +194,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
194
194
|
class: Ha(N.compName ? "table-name-wrap" : ""),
|
|
195
195
|
style: Ol({
|
|
196
196
|
background: (B == null ? void 0 : B.level) > 1 ? "transparent" : "var(--ssgroup-background)",
|
|
197
|
-
paddingLeft: (B == null ? void 0 : B.level)
|
|
197
|
+
paddingLeft: ((B == null ? void 0 : B.level) - 1) * 12 + "px",
|
|
198
198
|
fontWeight: 600 - ((B == null ? void 0 : B.level) - 1) * 100 >= 400 ? 600 - ((B == null ? void 0 : B.level) - 1) * 100 : 400,
|
|
199
199
|
fontSize: 17 - (B == null ? void 0 : B.level) >= 14 ? 17 - (B == null ? void 0 : B.level) + "px" : "14px"
|
|
200
200
|
})
|
|
@@ -212,18 +212,18 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
212
212
|
return [
|
|
213
213
|
te(Te, {
|
|
214
214
|
modelValue: $.value,
|
|
215
|
-
"onUpdate:modelValue": ce[1] || (ce[1] = (
|
|
215
|
+
"onUpdate:modelValue": ce[1] || (ce[1] = (Z) => $.value = Z),
|
|
216
216
|
style: { "min-width": "80px" },
|
|
217
|
-
placeholder: Ve.value ? (D = (me = (w = N.filterValues) == null ? void 0 : w.filter((
|
|
217
|
+
placeholder: Ve.value ? (D = (me = (w = N.filterValues) == null ? void 0 : w.filter((Z) => Z)) == null ? void 0 : me.slice(0, 3)) == null ? void 0 : D.join("/") : "搜索",
|
|
218
218
|
"prefix-icon": Ie(Vr),
|
|
219
219
|
clearable: "",
|
|
220
220
|
onInput: fe,
|
|
221
221
|
disabled: ((Oe = ae.value) == null ? void 0 : Oe.length) === 0
|
|
222
222
|
}, {
|
|
223
223
|
suffix: re(() => {
|
|
224
|
-
var
|
|
224
|
+
var Z, ze;
|
|
225
225
|
return [
|
|
226
|
-
!$.value && ((ze = (
|
|
226
|
+
!$.value && ((ze = (Z = N.filterValues) == null ? void 0 : Z.filter((el) => el)) != null && ze.join("/")) ? (ie(), Fe(R, {
|
|
227
227
|
key: 0,
|
|
228
228
|
style: { cursor: "pointer" },
|
|
229
229
|
onClick: Sl
|
|
@@ -238,7 +238,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
238
238
|
append: re(() => [
|
|
239
239
|
be("span", {
|
|
240
240
|
title: "条件查询",
|
|
241
|
-
onClick: ce[0] || (ce[0] = (
|
|
241
|
+
onClick: ce[0] || (ce[0] = (Z) => i.value = !i.value)
|
|
242
242
|
}, [
|
|
243
243
|
te(ne, {
|
|
244
244
|
name: "query",
|
|
@@ -317,11 +317,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
317
317
|
onClick: (Oe) => oe(D == null ? void 0 : D.label)
|
|
318
318
|
}, {
|
|
319
319
|
default: re(() => {
|
|
320
|
-
var Oe,
|
|
320
|
+
var Oe, Z;
|
|
321
321
|
return [
|
|
322
322
|
rl(je(D == null ? void 0 : D.label), 1),
|
|
323
323
|
(Oe = D == null ? void 0 : D.label) != null && Oe.includes("选中") ? (ie(), Ue("span", Pn, "(" + je(N.selectNums) + ")", 1)) : Me("", !0),
|
|
324
|
-
(
|
|
324
|
+
(Z = D == null ? void 0 : D.label) != null && Z.includes("全部") ? (ie(), Ue("span", $n, "(" + je(N.dataNums) + ")", 1)) : Me("", !0)
|
|
325
325
|
];
|
|
326
326
|
}),
|
|
327
327
|
_: 2
|
|
@@ -348,7 +348,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
348
348
|
]);
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
}, Mn = /* @__PURE__ */ aa(Bn, [["__scopeId", "data-v-
|
|
351
|
+
}, Mn = /* @__PURE__ */ aa(Bn, [["__scopeId", "data-v-b0b94ddf"]]), Kn = /* @__PURE__ */ Qa({
|
|
352
352
|
__name: "batch",
|
|
353
353
|
props: {
|
|
354
354
|
lockingPage: Boolean,
|
|
@@ -484,11 +484,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
484
484
|
}
|
|
485
485
|
}, Hn = (N, I, X) => {
|
|
486
486
|
let B = N, $ = I;
|
|
487
|
-
return ($ == null ? void 0 : $.length) === 0 ? B = B == null ? void 0 : B.filter((i) => i.id !== X) : B = B == null ? void 0 : B.map((i) => (i.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), i =
|
|
488
|
-
},
|
|
487
|
+
return ($ == null ? void 0 : $.length) === 0 ? B = B == null ? void 0 : B.filter((i) => i.id !== X) : B = B == null ? void 0 : B.map((i) => (i.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), i = Ya(i, $, X)), i)), B;
|
|
488
|
+
}, Ya = (N, I, X) => {
|
|
489
489
|
var i, ae;
|
|
490
490
|
let B = N, $ = I;
|
|
491
|
-
return ($ == null ? void 0 : $.length) === 0 ? B.children = (i = B.children) == null ? void 0 : i.filter((ge) => ge.id !== X) : B.children = (ae = B.children) == null ? void 0 : ae.map((ge) => (ge.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), ge =
|
|
491
|
+
return ($ == null ? void 0 : $.length) === 0 ? B.children = (i = B.children) == null ? void 0 : i.filter((ge) => ge.id !== X) : B.children = (ae = B.children) == null ? void 0 : ae.map((ge) => (ge.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), ge = Ya(ge, $, X)), ge)), B;
|
|
492
492
|
}, Qn = (N, I, X) => {
|
|
493
493
|
if (I === "")
|
|
494
494
|
return X;
|
|
@@ -498,12 +498,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
498
498
|
}
|
|
499
499
|
}, Xn = (N, I, X) => {
|
|
500
500
|
let B = N, $ = I;
|
|
501
|
-
return ($ == null ? void 0 : $.length) === 0 ? B = X : B = B == null ? void 0 : B.map((i) => (i.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), i =
|
|
502
|
-
},
|
|
501
|
+
return ($ == null ? void 0 : $.length) === 0 ? B = X : B = B == null ? void 0 : B.map((i) => (i.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), i = Za(i, $, X)), i)), B;
|
|
502
|
+
}, Za = (N, I, X) => {
|
|
503
503
|
var i;
|
|
504
504
|
let B = N, $ = I;
|
|
505
|
-
return ($ == null ? void 0 : $.length) === 0 ? B.children = X : B.children = (i = B.children) == null ? void 0 : i.map((ae) => (ae.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), ae =
|
|
506
|
-
},
|
|
505
|
+
return ($ == null ? void 0 : $.length) === 0 ? B.children = X : B.children = (i = B.children) == null ? void 0 : i.map((ae) => (ae.id.toString() === ($ == null ? void 0 : $[0]) && ($ == null || $.shift(), ae = Za(ae, $, X)), ae)), B;
|
|
506
|
+
}, Yn = ya("formComp", {
|
|
507
507
|
state: () => ({
|
|
508
508
|
objUrl: [],
|
|
509
509
|
blobUrls: []
|
|
@@ -535,8 +535,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
535
535
|
if ($ !== "") {
|
|
536
536
|
let de;
|
|
537
537
|
I ? de = (Ve = i == null ? void 0 : i.find((D) => (D == null ? void 0 : D.id) === I)) == null ? void 0 : Ve.compData : de = (ol = i == null ? void 0 : i.find((D) => {
|
|
538
|
-
var Oe,
|
|
539
|
-
return (D == null ? void 0 : D.name) === (((
|
|
538
|
+
var Oe, Z, ze, el;
|
|
539
|
+
return (D == null ? void 0 : D.name) === (((Z = (Oe = N == null ? void 0 : N.groupSelect) == null ? void 0 : Oe.split(":")) == null ? void 0 : Z[0]) || ((el = (ze = N == null ? void 0 : N.optionUrl) == null ? void 0 : ze.groupSelect) == null ? void 0 : el[0]));
|
|
540
540
|
})) == null ? void 0 : ol.compData;
|
|
541
541
|
let w = (V = (Sl = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : Sl.contents) == null ? void 0 : V.map((D) => D == null ? void 0 : D.label);
|
|
542
542
|
(R = (ce = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : ce.contents) != null && R.every((D) => Array.isArray(D)) && (w = (Ce = Kl((Te = (ne = de == null ? void 0 : de.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : ne.contents) == null ? void 0 : Te[0])) == null ? void 0 : Ce.map((D) => D == null ? void 0 : D.prop));
|
|
@@ -546,7 +546,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
548
|
return B;
|
|
549
|
-
},
|
|
549
|
+
}, Zn = { class: "table-content" }, In = { class: "menu-config-wrap" }, Vn = ["onClick"], es = {
|
|
550
550
|
key: 0,
|
|
551
551
|
class: "viewport-wrap"
|
|
552
552
|
}, ls = ["onClick"], as = { title: "选择显示列信息" }, rs = {
|
|
@@ -619,7 +619,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
619
619
|
},
|
|
620
620
|
emits: ["change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
|
|
621
621
|
setup(N, { emit: I }) {
|
|
622
|
-
const X = H([]), B =
|
|
622
|
+
const X = H([]), B = Yn(hl), $ = H(null), i = N, ae = H([
|
|
623
623
|
{
|
|
624
624
|
label: "排序",
|
|
625
625
|
value: "sortable",
|
|
@@ -642,27 +642,27 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
642
642
|
}
|
|
643
643
|
]), ge = yn(hl);
|
|
644
644
|
let Be = "$R";
|
|
645
|
-
const { originalPath: fe } = Ul(ge), oe = fe.value, nl = H(!1), Ve = H(!1), ol = H(!1), Sl =
|
|
645
|
+
const { originalPath: fe } = Ul(ge), oe = fe.value, nl = H(!1), Ve = H(!1), ol = H(!1), Sl = Zl({
|
|
646
646
|
column: {},
|
|
647
647
|
status: !1,
|
|
648
648
|
text: "合计"
|
|
649
|
-
}), V =
|
|
649
|
+
}), V = Zl({
|
|
650
650
|
currentPage: 1,
|
|
651
651
|
pageSize: 10,
|
|
652
652
|
total: 0,
|
|
653
653
|
pageSizes: [5, 10, 20, 50, 100]
|
|
654
|
-
}), ce = I, R = H([]), ne =
|
|
654
|
+
}), ce = I, R = H([]), ne = Zl({ prop: "", order: null }), Te = H([]), Ce = H(!1), Re = H(!1), we = H(null);
|
|
655
655
|
dn();
|
|
656
|
-
const de = H([]), w = H(!1), me = H(), D = vn(), { importLoading: Oe, activeMenuPath:
|
|
656
|
+
const de = H([]), w = H(!1), me = H(), D = vn(), { importLoading: Oe, activeMenuPath: Z, contentLoading: ze, linkMenuInfo: el } = Ul(D), Je = bn(hl), he = Sn(hl), { extraContents: ye, cacheUpdatingData: Dl, tableViewContents: Cl, tableLoading: vs, pageMapState: tl, lockingPage: Fl } = Ul(he), Y = H([]), wl = H([]), zl = H(/* @__PURE__ */ new Map());
|
|
657
657
|
H(!1);
|
|
658
|
-
const
|
|
658
|
+
const Ye = H("");
|
|
659
659
|
H();
|
|
660
|
-
const ra = H(!0), kl = H(0), va = H(!0), qe = H(""),
|
|
660
|
+
const ra = H(!0), kl = H(0), va = H(!0), qe = H(""), Ze = H(!1), Ia = H({
|
|
661
661
|
label: "查看三维模型"
|
|
662
662
|
}), Jl = H(!1), na = H(), We = H([]), cl = H([]), Wl = H(!1), El = H([]), Tl = H([]), dl = H([]), De = H([]), He = H(), Le = H(), Va = Fn(hl), Gl = H(), sa = H(0), Rl = Rn(hl), { selectIndex: er, selectMenu: ll, selectTitle: ua } = Ul(Rl), { selectString: pl } = Ul(Va), lr = ln(hl), { loginUserInfo: Ae } = Ul(lr), ar = H(720), fl = H(!1), ql = H(!1), Qe = H([]), gl = H(), xl = H(!0), ba = H(!0), Hl = H([]), rr = Qr("contentRef");
|
|
663
663
|
Xr("contentRef", rr), Ge(() => {
|
|
664
664
|
var e;
|
|
665
|
-
return (e =
|
|
665
|
+
return (e = Y.value) == null ? void 0 : e.length;
|
|
666
666
|
}, (e) => {
|
|
667
667
|
V.total = e;
|
|
668
668
|
}), Ge(
|
|
@@ -683,7 +683,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
683
683
|
((r = t == null ? void 0 : t.data) == null ? void 0 : r.code) === 200 && (c = ((s = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result) == null ? void 0 : s[0]) || null);
|
|
684
684
|
const p = {
|
|
685
685
|
type: "data",
|
|
686
|
-
pageKey: i != null && i.parentTableId ? (u = c == null ? void 0 : c.key) == null ? void 0 : u.pageKey :
|
|
686
|
+
pageKey: i != null && i.parentTableId ? (u = c == null ? void 0 : c.key) == null ? void 0 : u.pageKey : Z.value,
|
|
687
687
|
tableId: (i == null ? void 0 : i.parentTableId) || (i == null ? void 0 : i.index),
|
|
688
688
|
systemKey: sessionStorage.getItem("systemKey")
|
|
689
689
|
}, v = l == null ? void 0 : l.map((m) => {
|
|
@@ -720,7 +720,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
720
720
|
}], w.value = !0;
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
|
-
|
|
723
|
+
Yr(() => {
|
|
724
724
|
ba.value = !1;
|
|
725
725
|
let e = sa.value;
|
|
726
726
|
sa.value = e + 1;
|
|
@@ -731,12 +731,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
731
731
|
var o;
|
|
732
732
|
return (u == null ? void 0 : u.sortable) && ((o = u == null ? void 0 : u.label) == null ? void 0 : o.includes("时间"));
|
|
733
733
|
});
|
|
734
|
-
return r && (ne.order = "descending", ne.prop = r == null ? void 0 : r.prop), (s =
|
|
734
|
+
return r && (ne.order = "descending", ne.prop = r == null ? void 0 : r.prop), (s = Y.value) == null ? void 0 : s.slice(e, l);
|
|
735
735
|
}), ur = (e) => {
|
|
736
736
|
V.currentPage = e;
|
|
737
737
|
}, ir = (e) => {
|
|
738
738
|
var l;
|
|
739
|
-
V.pageSize = e, e * V.currentPage > ((l =
|
|
739
|
+
V.pageSize = e, e * V.currentPage > ((l = Y.value) == null ? void 0 : l.length) && (V.currentPage = 1, $e.warning("分页无效,返回第一页"));
|
|
740
740
|
}, or = (e, l) => {
|
|
741
741
|
var o, t;
|
|
742
742
|
const r = (t = (o = R.value) == null ? void 0 : o.map((c) => c == null ? void 0 : c.prop)) == null ? void 0 : t.filter((c) => c !== "operate");
|
|
@@ -839,7 +839,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
839
839
|
}, ia = async (e, l) => {
|
|
840
840
|
await Ql(l, null, e, !0);
|
|
841
841
|
}, vr = () => {
|
|
842
|
-
|
|
842
|
+
Ze.value = !1;
|
|
843
843
|
}, br = (e) => {
|
|
844
844
|
ce("clickTrigger", e);
|
|
845
845
|
}, ka = async (e) => {
|
|
@@ -988,12 +988,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
988
988
|
var a;
|
|
989
989
|
if (e) {
|
|
990
990
|
if (he.setTableLoading(!0), Ta.value = Object.values(e), e && ((a = Object.values(e)) != null && a.every((s) => !s)))
|
|
991
|
-
return
|
|
991
|
+
return Y.value = wl.value;
|
|
992
992
|
if (r) {
|
|
993
|
-
|
|
993
|
+
Y.value = [...zl.value.values()].filter((s) => Object.values(s).some((u) => typeof u == "string" ? u == null ? void 0 : u.toLowerCase().includes(l == null ? void 0 : l.toLowerCase()) : !1));
|
|
994
994
|
return;
|
|
995
995
|
}
|
|
996
|
-
|
|
996
|
+
Y.value = mr(zl.value, e), he.setTableLoading(!1);
|
|
997
997
|
}
|
|
998
998
|
}, Ur = async (e) => {
|
|
999
999
|
var o, t, c, p, v, C, f, m, E, P, U, W, z, K, n;
|
|
@@ -1013,7 +1013,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1013
1013
|
a = [...q(a), ...s], (a == null ? void 0 : a.length) > 0 && (a != null && a.every((S) => S !== null && S)) && await Ka({
|
|
1014
1014
|
ids: a
|
|
1015
1015
|
});
|
|
1016
|
-
let u = await al(
|
|
1016
|
+
let u = await al(Z.value, sessionStorage.getItem("systemKey"), e.id);
|
|
1017
1017
|
if (u = u == null ? void 0 : u.filter((S) => S.comp !== "methodButton"), u && u.length > 0) {
|
|
1018
1018
|
const S = !Array.isArray(ua.value) && ((E = ua.value) == null ? void 0 : E.key) !== "main" ? [] : ua.value;
|
|
1019
1019
|
S.push({
|
|
@@ -1086,7 +1086,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1086
1086
|
const s = q(R.value);
|
|
1087
1087
|
if ((a == null ? void 0 : a.isMainKey) === !0 && (s == null ? void 0 : s.length) > 0) {
|
|
1088
1088
|
(f = s == null ? void 0 : s[0]) == null || f.prop;
|
|
1089
|
-
let x = q(
|
|
1089
|
+
let x = q(Z).value + oe + (a == null ? void 0 : a.data), _ = q(Z).value, d = (E = (m = tl.value[x]) == null ? void 0 : m.filter((L) => {
|
|
1090
1090
|
var y, G;
|
|
1091
1091
|
return ((y = L == null ? void 0 : L.key) == null ? void 0 : y.type) === "structure" && ((G = L == null ? void 0 : L.key) == null ? void 0 : G.parentTable) === "";
|
|
1092
1092
|
})) == null ? void 0 : E.map((L) => {
|
|
@@ -1105,7 +1105,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1105
1105
|
await al(x + oe + `updateLoading${((K = Ae.value) == null ? void 0 : K.account) || ((n = Ae.value) == null ? void 0 : n.账号)}`, sessionStorage.getItem("systemKey"), "") || await Il(x, x + oe + `updateLoading${((S = Ae.value) == null ? void 0 : S.account) || ((h = Ae.value) == null ? void 0 : h.账号)}`, M, ee), he.setRouteToChildPath(_), D.setActiveMenuPath(x + oe + `updateLoading${((T = Ae.value) == null ? void 0 : T.account) || ((k = Ae.value) == null ? void 0 : k.账号)}`);
|
|
1106
1106
|
else {
|
|
1107
1107
|
(Q = s == null ? void 0 : s[0]) == null || Q.prop;
|
|
1108
|
-
let L = q(
|
|
1108
|
+
let L = q(Z).value + oe + (a == null ? void 0 : a.data), y = q(Z).value;
|
|
1109
1109
|
await al(y + oe, sessionStorage.getItem("systemKey"), ""), await Il(y + oe, L, M), await Il(L, L + oe + `updateLoading${((j = Ae.value) == null ? void 0 : j.account) || ((O = Ae.value) == null ? void 0 : O.账号)}`, M, ee), he.setRouteToChildPath(y), D.setActiveMenuPath(L + oe + `updateLoading${((J = Ae.value) == null ? void 0 : J.account) || ((b = Ae.value) == null ? void 0 : b.账号)}`);
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
@@ -1119,7 +1119,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1119
1119
|
() => {
|
|
1120
1120
|
var r, a;
|
|
1121
1121
|
if (!i.changedContent) return;
|
|
1122
|
-
let e = (r =
|
|
1122
|
+
let e = (r = Y.value) == null ? void 0 : r.map((s) => {
|
|
1123
1123
|
var u;
|
|
1124
1124
|
return s.id === ((u = i.changedContent) == null ? void 0 : u.id) && (s = {
|
|
1125
1125
|
...i.changedContent,
|
|
@@ -1127,7 +1127,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1127
1127
|
}, delete s.newId), s;
|
|
1128
1128
|
});
|
|
1129
1129
|
const l = (a = i.itemData) == null ? void 0 : a.map((s) => ((s == null ? void 0 : s.key) === "tableContents" && (s.contents = e), s));
|
|
1130
|
-
|
|
1130
|
+
Y.value = e, ce("contentChange", {
|
|
1131
1131
|
contents: l,
|
|
1132
1132
|
index: i.index
|
|
1133
1133
|
}), ce("change", {
|
|
@@ -1141,7 +1141,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1141
1141
|
);
|
|
1142
1142
|
const Dr = () => {
|
|
1143
1143
|
}, Cr = async () => {
|
|
1144
|
-
const e =
|
|
1144
|
+
const e = Z.value, l = sessionStorage.getItem("systemKey"), r = await al(e, l, ""), a = (r == null ? void 0 : r.find((t) => (t == null ? void 0 : t.name) === "方法明细")) || (r == null ? void 0 : r[0]), s = (a == null ? void 0 : a.compData) || [], u = s == null ? void 0 : s.find((t) => {
|
|
1145
1145
|
const c = t == null ? void 0 : t.key;
|
|
1146
1146
|
return c === "formContent" || c === "tableContents";
|
|
1147
1147
|
});
|
|
@@ -1220,17 +1220,17 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1220
1220
|
}, Aa = (e, l) => (e = e == null ? void 0 : e.map((r) => {
|
|
1221
1221
|
var a, s;
|
|
1222
1222
|
return r != null && r.children && ((a = r.children) != null && a.find((u) => u.id === (l == null ? void 0 : l.id)) ? r.children = (s = r.children) == null ? void 0 : s.filter((u) => (u == null ? void 0 : u.id) !== (l == null ? void 0 : l.id)) : r.children = Aa(r.children, l)), r;
|
|
1223
|
-
}), e),
|
|
1223
|
+
}), e), Yl = async (e, l, r) => {
|
|
1224
1224
|
var a, s, u, o, t, c, p, v, C, f, m, E, P, U, W;
|
|
1225
|
-
if (
|
|
1225
|
+
if (Ye.value = "", Wl.value = !0, ra.value = !0, ce("onButtonClick", e, l), e === "删除")
|
|
1226
1226
|
za.confirm("是否确认删除", "温馨提示", {
|
|
1227
1227
|
confirmButtonText: "确认",
|
|
1228
1228
|
cancelButtonText: "取消",
|
|
1229
1229
|
type: "warning"
|
|
1230
1230
|
}).then(() => {
|
|
1231
1231
|
var z, K;
|
|
1232
|
-
(z =
|
|
1233
|
-
content:
|
|
1232
|
+
(z = Y.value) != null && z.find((n) => (n == null ? void 0 : n.id) === (l == null ? void 0 : l.id)) ? Y.value = (K = q(Y.value)) == null ? void 0 : K.filter((n) => (n == null ? void 0 : n.id) !== (l == null ? void 0 : l.id)) : Y.value = Aa(q(Y.value), l), qn(Gl.value, ll.value, l == null ? void 0 : l.id), he.setTableLoading(i == null ? void 0 : i.index), ce("change", {
|
|
1233
|
+
content: Y.value,
|
|
1234
1234
|
singleContent: l,
|
|
1235
1235
|
index: i == null ? void 0 : i.index,
|
|
1236
1236
|
type: "delete",
|
|
@@ -1249,8 +1249,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1249
1249
|
() => {
|
|
1250
1250
|
var K, n;
|
|
1251
1251
|
const z = (K = Qe.value) == null ? void 0 : K.map((S) => S.id);
|
|
1252
|
-
|
|
1253
|
-
content:
|
|
1252
|
+
Y.value = (n = q(Y.value)) == null ? void 0 : n.filter((S) => !(z != null && z.includes(S.id))), he.setTableLoading(i == null ? void 0 : i.index), ce("change", {
|
|
1253
|
+
content: Y.value,
|
|
1254
1254
|
singleContent: null,
|
|
1255
1255
|
selectItems: Qe.value,
|
|
1256
1256
|
index: i == null ? void 0 : i.index,
|
|
@@ -1265,11 +1265,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1265
1265
|
const z = q(l), K = (s = R.value) == null ? void 0 : s.find((h) => h == null ? void 0 : h.isMainKey), n = K || ((u = R.value) == null ? void 0 : u[0]), S = (o = dl.value) == null ? void 0 : o.find((h) => (h == null ? void 0 : h.label) === "新建");
|
|
1266
1266
|
await _a(!0, S, { data: z, firstCol: n });
|
|
1267
1267
|
} else if (e === "新增")
|
|
1268
|
-
qe.value = "新增", Pl(""),
|
|
1268
|
+
qe.value = "新增", Pl(""), Ze.value = !0;
|
|
1269
1269
|
else if (e === "编辑")
|
|
1270
|
-
qe.value = "编辑", Pl(l),
|
|
1270
|
+
qe.value = "编辑", Pl(l), Ze.value = !0;
|
|
1271
1271
|
else if (e === "查看")
|
|
1272
|
-
qe.value = "查看", Pl(l), Wl.value = !1, ra.value = !1,
|
|
1272
|
+
qe.value = "查看", Pl(l), Wl.value = !1, ra.value = !1, Ze.value = !0;
|
|
1273
1273
|
else if (e === "查看三维模型") {
|
|
1274
1274
|
const z = {};
|
|
1275
1275
|
for (let n in l)
|
|
@@ -1293,16 +1293,16 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1293
1293
|
const T = (m = dl.value) == null ? void 0 : m.find((k) => (k == null ? void 0 : k.label) === "新建");
|
|
1294
1294
|
await _a(!1, T);
|
|
1295
1295
|
} else if (e === "修改模板") {
|
|
1296
|
-
let z = q(
|
|
1296
|
+
let z = q(Z).value;
|
|
1297
1297
|
he.setRouteToChildPath(z), D.setActiveMenuPath(z + oe);
|
|
1298
1298
|
} else if (e === "执行")
|
|
1299
1299
|
jr(e, l);
|
|
1300
1300
|
else if (e != null && e.includes("导出")) {
|
|
1301
1301
|
if (e === "导出选中" && ((E = Qe.value) == null ? void 0 : E.length) === 0)
|
|
1302
1302
|
return $e.warning(`请先勾选${e}的数据`);
|
|
1303
|
-
if (e === "导出全部" && ((P =
|
|
1303
|
+
if (e === "导出全部" && ((P = Y.value) == null ? void 0 : P.length) === 0)
|
|
1304
1304
|
return $e.warning("暂无数据导出");
|
|
1305
|
-
const z = (W = (U = R.value) == null ? void 0 : U.map((n) => n == null ? void 0 : n.label)) == null ? void 0 : W.filter((n) => n !== "操作"), K = e === "导出全部" ? q(
|
|
1305
|
+
const z = (W = (U = R.value) == null ? void 0 : U.map((n) => n == null ? void 0 : n.label)) == null ? void 0 : W.filter((n) => n !== "操作"), K = e === "导出全部" ? q(Y.value) : q(Qe.value);
|
|
1306
1306
|
K == null || K.forEach((n) => {
|
|
1307
1307
|
n == null || delete n.id;
|
|
1308
1308
|
}), cr(K, i == null ? void 0 : i.compName, z, i == null ? void 0 : i.compName);
|
|
@@ -1328,10 +1328,10 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1328
1328
|
var r, a, s, u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S;
|
|
1329
1329
|
try {
|
|
1330
1330
|
let h, T;
|
|
1331
|
-
const k = (r = tl.value[
|
|
1331
|
+
const k = (r = tl.value[Z.value + oe]) == null ? void 0 : r.filter((d) => {
|
|
1332
1332
|
var M;
|
|
1333
1333
|
return ((M = d == null ? void 0 : d.key) == null ? void 0 : M.type) === "structureMethod";
|
|
1334
|
-
}), Q = (a = tl.value[
|
|
1334
|
+
}), Q = (a = tl.value[Z.value + oe]) == null ? void 0 : a.filter((d) => {
|
|
1335
1335
|
var M;
|
|
1336
1336
|
return ((M = d == null ? void 0 : d.key) == null ? void 0 : M.type) === "structure";
|
|
1337
1337
|
}), j = k == null ? void 0 : k.find((d) => {
|
|
@@ -1373,7 +1373,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1373
1373
|
})
|
|
1374
1374
|
}, x = {
|
|
1375
1375
|
key: {
|
|
1376
|
-
pageKey:
|
|
1376
|
+
pageKey: Z.value + oe,
|
|
1377
1377
|
parentTable: "",
|
|
1378
1378
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
1379
1379
|
type: "structure"
|
|
@@ -1411,13 +1411,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1411
1411
|
}),
|
|
1412
1412
|
index: e == null ? void 0 : e.id
|
|
1413
1413
|
}, a);
|
|
1414
|
-
}, Ll =
|
|
1414
|
+
}, Ll = Zl({
|
|
1415
1415
|
prop: "状态",
|
|
1416
1416
|
value: ""
|
|
1417
1417
|
}), $r = H(["系统自动生成信息", "审批意见"]), Br = async (e, l, r) => {
|
|
1418
1418
|
var c, p;
|
|
1419
1419
|
let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], s = 1, u, o;
|
|
1420
|
-
const t = q(
|
|
1420
|
+
const t = q(Z).value + oe + a;
|
|
1421
1421
|
if (t) {
|
|
1422
1422
|
Ll.value = "", u = (c = tl.value[t]) == null ? void 0 : c.filter((f) => {
|
|
1423
1423
|
var m;
|
|
@@ -1434,9 +1434,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1434
1434
|
const C = await Pr(o, l == null ? void 0 : l.prop);
|
|
1435
1435
|
if (Ll.value = C == null ? void 0 : C.newStatus, C != null && C.newMainKeyValue) return C == null ? void 0 : C.newMainKeyValue;
|
|
1436
1436
|
}
|
|
1437
|
-
if (
|
|
1437
|
+
if (Y.value.some((v) => (v == null ? void 0 : v[l == null ? void 0 : l.prop]) === a)) {
|
|
1438
1438
|
const v = a;
|
|
1439
|
-
for (;
|
|
1439
|
+
for (; Y.value.some((C) => (C == null ? void 0 : C[l == null ? void 0 : l.prop]) === `${v}(${s})`); )
|
|
1440
1440
|
s++;
|
|
1441
1441
|
a = `${v}(${s})`;
|
|
1442
1442
|
}
|
|
@@ -1445,7 +1445,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1445
1445
|
var o, t, c, p, v, C, f, m;
|
|
1446
1446
|
let a, s;
|
|
1447
1447
|
const u = await Br(r == null ? void 0 : r.data, r == null ? void 0 : r.firstCol);
|
|
1448
|
-
if (e ? (a = q(
|
|
1448
|
+
if (e ? (a = q(Z).value + oe + ((p = r == null ? void 0 : r.data) == null ? void 0 : p[(c = r == null ? void 0 : r.firstCol) == null ? void 0 : c.prop]), s = q(Z).value + oe + u) : (a = q(Z).value + oe, s = q(a) + `loading${((o = Ae.value) == null ? void 0 : o.account) || ((t = Ae.value) == null ? void 0 : t.账号)}`), l) {
|
|
1449
1449
|
const E = (C = (v = tl.value[s]) == null ? void 0 : v.filter((P) => {
|
|
1450
1450
|
var U;
|
|
1451
1451
|
return ((U = P == null ? void 0 : P.key) == null ? void 0 : U.parentTable) === "";
|
|
@@ -1462,9 +1462,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1462
1462
|
var W;
|
|
1463
1463
|
return ((W = U == null ? void 0 : U.comp) == null ? void 0 : W.toUpperCase()) === "FORM";
|
|
1464
1464
|
});
|
|
1465
|
-
P && Ua(P, (f = r == null ? void 0 : r.firstCol) == null ? void 0 : f.label, u,
|
|
1465
|
+
P && Ua(P, (f = r == null ? void 0 : r.firstCol) == null ? void 0 : f.label, u, Z.value);
|
|
1466
1466
|
} else
|
|
1467
|
-
he.setRouteToChildPath(q(
|
|
1467
|
+
he.setRouteToChildPath(q(Z).value), D.setActiveMenuPath(s);
|
|
1468
1468
|
else if (await Il(a, s, null, null, e ? $r.value : null), e) {
|
|
1469
1469
|
const P = await Lr(s);
|
|
1470
1470
|
if ((P == null ? void 0 : P.length) > 0) {
|
|
@@ -1472,12 +1472,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1472
1472
|
var z;
|
|
1473
1473
|
return ((z = W == null ? void 0 : W.comp) == null ? void 0 : z.toUpperCase()) === "FORM";
|
|
1474
1474
|
});
|
|
1475
|
-
U && Ua(U, (m = r == null ? void 0 : r.firstCol) == null ? void 0 : m.label, u,
|
|
1475
|
+
U && Ua(U, (m = r == null ? void 0 : r.firstCol) == null ? void 0 : m.label, u, Z.value);
|
|
1476
1476
|
}
|
|
1477
1477
|
} else
|
|
1478
|
-
he.setRouteToChildPath(q(
|
|
1478
|
+
he.setRouteToChildPath(q(Z).value), D.setActiveMenuPath(s);
|
|
1479
1479
|
} else
|
|
1480
|
-
e ? (
|
|
1480
|
+
e ? (Ye.value = "", Le.value = r == null ? void 0 : r.data, $l(!0, r == null ? void 0 : r.firstCol, u)) : (he.setRouteToChildPath(q(Z).value), D.setActiveMenuPath(s));
|
|
1481
1481
|
}, Mr = () => {
|
|
1482
1482
|
Ce.value = !1, El.value = [], Re.value = !1;
|
|
1483
1483
|
}, Pl = (e) => {
|
|
@@ -1517,7 +1517,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1517
1517
|
isFormColHidden: n == null ? void 0 : n.isFormColHidden,
|
|
1518
1518
|
disabled: n == null ? void 0 : n.disabled
|
|
1519
1519
|
}));
|
|
1520
|
-
}), e === "" || !e || (
|
|
1520
|
+
}), e === "" || !e || (Ye.value = (e == null ? void 0 : e.id) ?? "");
|
|
1521
1521
|
let a = Kl((c = q(R.value)) == null ? void 0 : c.filter((n) => (n == null ? void 0 : n.label) !== "操作"));
|
|
1522
1522
|
We.value && ((p = We.value) == null ? void 0 : p.length) > 0 && (We.value = (v = q(We).value) == null ? void 0 : v.map((n) => {
|
|
1523
1523
|
var h;
|
|
@@ -1581,7 +1581,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1581
1581
|
let r;
|
|
1582
1582
|
return e.children = (a = e.children) == null ? void 0 : a.map((s) => {
|
|
1583
1583
|
var u, o;
|
|
1584
|
-
if ((s == null ? void 0 : s.id) ===
|
|
1584
|
+
if ((s == null ? void 0 : s.id) === Ye.value) {
|
|
1585
1585
|
let t = {};
|
|
1586
1586
|
for (let c in s) {
|
|
1587
1587
|
let p = (u = l == null ? void 0 : l.find((v) => (v == null ? void 0 : v.prop) === c)) == null ? void 0 : u.label;
|
|
@@ -1599,9 +1599,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
}, Oa = (e, l) => {
|
|
1601
1601
|
let r, a;
|
|
1602
|
-
return e != null && e.find((s) => (s == null ? void 0 : s.id) ===
|
|
1602
|
+
return e != null && e.find((s) => (s == null ? void 0 : s.id) === Ye.value) ? r = e == null ? void 0 : e.map((s) => {
|
|
1603
1603
|
var u, o;
|
|
1604
|
-
if ((s == null ? void 0 : s.id) ===
|
|
1604
|
+
if ((s == null ? void 0 : s.id) === Ye.value) {
|
|
1605
1605
|
let t = {};
|
|
1606
1606
|
for (let c in s) {
|
|
1607
1607
|
let p = (u = l == null ? void 0 : l.find((v) => (v == null ? void 0 : v.prop) === c)) == null ? void 0 : u.label;
|
|
@@ -1612,7 +1612,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1612
1612
|
return s;
|
|
1613
1613
|
}) : r = e == null ? void 0 : e.map((s) => {
|
|
1614
1614
|
var u, o, t, c;
|
|
1615
|
-
if ((s == null ? void 0 : s.id) ===
|
|
1615
|
+
if ((s == null ? void 0 : s.id) === Ye.value) {
|
|
1616
1616
|
let p = {};
|
|
1617
1617
|
for (let v in s) {
|
|
1618
1618
|
let C = (u = l == null ? void 0 : l.find((f) => (f == null ? void 0 : f.prop) === v)) == null ? void 0 : u.label;
|
|
@@ -1640,12 +1640,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1640
1640
|
}) : [];
|
|
1641
1641
|
}, $l = (e = !0, l, r) => {
|
|
1642
1642
|
var p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, Q, j, O, J, b, x;
|
|
1643
|
-
let a = Kl((p = q(R.value)) == null ? void 0 : p.filter((_) => (_ == null ? void 0 : _.label) !== "操作")), s, u = q(
|
|
1643
|
+
let a = Kl((p = q(R.value)) == null ? void 0 : p.filter((_) => (_ == null ? void 0 : _.label) !== "操作")), s, u = q(Y.value);
|
|
1644
1644
|
if (!Le.value) {
|
|
1645
|
-
|
|
1645
|
+
Ze.value = !1;
|
|
1646
1646
|
return;
|
|
1647
1647
|
}
|
|
1648
|
-
if (
|
|
1648
|
+
if (Ye.value === "") {
|
|
1649
1649
|
kl.value++;
|
|
1650
1650
|
let _;
|
|
1651
1651
|
l && r ? _ = {
|
|
@@ -1683,10 +1683,10 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1683
1683
|
} else
|
|
1684
1684
|
F = d;
|
|
1685
1685
|
Array.isArray(d) && d.some((L) => L == null ? void 0 : L.id) ? _.push(Object.assign(F, { id: (ee = d == null ? void 0 : d.find((L) => L.id)) == null ? void 0 : ee.id })) : F.id ? _.push(F) : _.push(Object.assign(F, { id: M.toString() }));
|
|
1686
|
-
}),
|
|
1686
|
+
}), Y.value = La(_, o, R.value);
|
|
1687
1687
|
} else
|
|
1688
|
-
|
|
1689
|
-
xa(
|
|
1688
|
+
Y.value = u;
|
|
1689
|
+
xa(Y.value), Gl.value = Y.value;
|
|
1690
1690
|
const t = Qn(Gl.value, ll.value, u);
|
|
1691
1691
|
let c = [];
|
|
1692
1692
|
if (Dl.value ? (c = (P = q(Dl).value.singleContent) == null ? void 0 : P.filter((_) => (_ == null ? void 0 : _.id) !== (s == null ? void 0 : s.id)), c.push(s)) : c = [s], fl.value) {
|
|
@@ -1709,22 +1709,22 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1709
1709
|
column: R.value,
|
|
1710
1710
|
parentTableId: i == null ? void 0 : i.parentTableId
|
|
1711
1711
|
};
|
|
1712
|
-
he.setTableLoading(i == null ? void 0 : i.index),
|
|
1712
|
+
he.setTableLoading(i == null ? void 0 : i.index), Ze.value = !1, Le.value = void 0, ce("change", _);
|
|
1713
1713
|
}
|
|
1714
1714
|
if ((T = (h = (S = De.value) == null ? void 0 : S[0]) == null ? void 0 : h.optionUrl) != null && T.menuId) {
|
|
1715
|
-
|
|
1715
|
+
Ze.value = !1;
|
|
1716
1716
|
let _ = (k = i.itemData) == null ? void 0 : k.filter((d) => (d == null ? void 0 : d.key) === "filterAllType");
|
|
1717
1717
|
if ((_ == null ? void 0 : _.length) > 0) {
|
|
1718
1718
|
let M = (O = (j = (Q = (_ == null ? void 0 : _.map((F) => F == null ? void 0 : F.value)).flat().find((F) => {
|
|
1719
1719
|
var ee;
|
|
1720
1720
|
return (ee = F == null ? void 0 : F.content) == null ? void 0 : ee.includes("@Num");
|
|
1721
1721
|
})) == null ? void 0 : Q.content) == null ? void 0 : j.split(":")) == null ? void 0 : O[1];
|
|
1722
|
-
M = parseInt(M),
|
|
1722
|
+
M = parseInt(M), Y.value = (x = Y.value) == null ? void 0 : x.slice(((J = Y.value) == null ? void 0 : J.length) - M, (b = Y.value) == null ? void 0 : b.length);
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
1725
|
};
|
|
1726
|
-
|
|
1727
|
-
R.value = [],
|
|
1726
|
+
Zr(() => {
|
|
1727
|
+
R.value = [], Y.value = [], Te.value = [], de.value = [], We.value = [], cl.value = [], El.value = [], Tl.value = [], De.value = [], Qe.value = [], $.value = null;
|
|
1728
1728
|
});
|
|
1729
1729
|
const Ca = async (e, l, r) => {
|
|
1730
1730
|
var p, v, C, f, m, E, P, U, W, z, K;
|
|
@@ -1769,7 +1769,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1769
1769
|
h = h == null ? void 0 : h.map((k) => {
|
|
1770
1770
|
var Q, j, O, J, b, x, _, d, M, F, ee;
|
|
1771
1771
|
return (S != null && S[k == null ? void 0 : k.label] || S != null && S[(J = (O = (j = (Q = k == null ? void 0 : k.optionUrl) == null ? void 0 : Q.groupSelect) == null ? void 0 : j[1]) == null ? void 0 : O.replaceAll("[", "")) == null ? void 0 : J.replaceAll("]", "")]) && ((_ = (x = (b = k == null ? void 0 : k.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : x[1]) != null && _.includes("[")) && (k.value = (S == null ? void 0 : S[k == null ? void 0 : k.label]) || (S == null ? void 0 : S[(ee = (F = (M = (d = k == null ? void 0 : k.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : M[1]) == null ? void 0 : F.replaceAll("[", "")) == null ? void 0 : ee.replaceAll("]", "")])), k;
|
|
1772
|
-
}),
|
|
1772
|
+
}), Y.value = (z = q(Y.value)) == null ? void 0 : z.map((k) => {
|
|
1773
1773
|
if ((k == null ? void 0 : k.id) === (l == null ? void 0 : l.id)) {
|
|
1774
1774
|
const Q = {};
|
|
1775
1775
|
return h == null || h.forEach((j) => {
|
|
@@ -1789,7 +1789,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
return b;
|
|
1791
1791
|
})), k;
|
|
1792
|
-
}),
|
|
1792
|
+
}), Y.value = (K = q(Y.value)) == null ? void 0 : K.map((k) => {
|
|
1793
1793
|
if ((k == null ? void 0 : k.id) === (l == null ? void 0 : l.id)) {
|
|
1794
1794
|
const Q = {};
|
|
1795
1795
|
return T == null || T.forEach((j) => {
|
|
@@ -1872,7 +1872,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1872
1872
|
const l = (o = (u = We.value) == null ? void 0 : u.find((t) => (t == null ? void 0 : t.label) === (e == null ? void 0 : e.label))) == null ? void 0 : o.multiple, r = e == null ? void 0 : e.prop;
|
|
1873
1873
|
if ((e == null ? void 0 : e.formType) != "Select")
|
|
1874
1874
|
return;
|
|
1875
|
-
|
|
1875
|
+
Y.value.forEach((t) => {
|
|
1876
1876
|
const c = t == null ? void 0 : t[r];
|
|
1877
1877
|
l && Ga(c) && (t[r] = [c]), !l && !Ga(c) && (t[r] = "");
|
|
1878
1878
|
});
|
|
@@ -1886,7 +1886,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1886
1886
|
Pl("");
|
|
1887
1887
|
const l = (r = De.value) == null ? void 0 : r.reduce((c, p) => (c[p.name] = p.value, c), {});
|
|
1888
1888
|
if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
|
|
1889
|
-
Le.value = l,
|
|
1889
|
+
Le.value = l, Ye.value = "", kl.value = (s = Y.value) == null ? void 0 : s.length, Tl.value = (u = dl.value) == null ? void 0 : u.filter((p) => (p == null ? void 0 : p.label) !== "新增");
|
|
1890
1890
|
const c = (t = (o = Te.value) == null ? void 0 : o.filter((p) => (p == null ? void 0 : p.label) !== "操作")) == null ? void 0 : t.map((p) => {
|
|
1891
1891
|
var C, f, m;
|
|
1892
1892
|
const v = (f = (C = We.value) == null ? void 0 : C.find((E) => (E == null ? void 0 : E.label) === (p == null ? void 0 : p.label))) == null ? void 0 : f.multiple;
|
|
@@ -1963,7 +1963,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1963
1963
|
A == null || A.forEach((g, ue) => {
|
|
1964
1964
|
var ke, Ee, xe, sl;
|
|
1965
1965
|
let pe = "";
|
|
1966
|
-
(Ee = (ke =
|
|
1966
|
+
(Ee = (ke = Z.value) == null ? void 0 : ke.split("/")) == null || Ee.forEach((Ke) => {
|
|
1967
1967
|
var ul, il, Bl;
|
|
1968
1968
|
if (Ke !== "") {
|
|
1969
1969
|
let Al = (Bl = (il = (ul = Ke == null ? void 0 : Ke.split(oe + "updateLoading")) == null ? void 0 : ul[0]) == null ? void 0 : il.split(oe + "loading")) == null ? void 0 : Bl[0];
|
|
@@ -2048,13 +2048,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2048
2048
|
} else
|
|
2049
2049
|
ue = A;
|
|
2050
2050
|
Array.isArray(A) && A.some((se) => se == null ? void 0 : se.id) ? Se.push(Object.assign(ue, { id: (pe = A == null ? void 0 : A.find((se) => se.id)) == null ? void 0 : pe.id })) : ue.id ? Se.push(ue) : Se.push(Object.assign(ue, { id: g.toString() }));
|
|
2051
|
-
}),
|
|
2051
|
+
}), Y.value = La(Se, a, R.value), wl.value = Se, (_ = wl.value) == null || _.forEach((A) => {
|
|
2052
2052
|
var g;
|
|
2053
2053
|
(g = zl.value) == null || g.set(A.id, A);
|
|
2054
2054
|
});
|
|
2055
2055
|
} else
|
|
2056
|
-
R.value = [], Te.value = [],
|
|
2057
|
-
((d = o == null ? void 0 : o.contents) == null ? void 0 : d.length) > 0 ? cl.value = o == null ? void 0 : o.contents : cl.value = [], ((M = t == null ? void 0 : t.contents) == null ? void 0 : M.length) > 0 ? (Tl.value = t == null ? void 0 : t.contents, dl.value = t == null ? void 0 : t.contents) : (Tl.value = [], dl.value = []), kl.value = ((F =
|
|
2056
|
+
R.value = [], Te.value = [], Y.value = [], wl.value = [], zl.value = /* @__PURE__ */ new Map();
|
|
2057
|
+
((d = o == null ? void 0 : o.contents) == null ? void 0 : d.length) > 0 ? cl.value = o == null ? void 0 : o.contents : cl.value = [], ((M = t == null ? void 0 : t.contents) == null ? void 0 : M.length) > 0 ? (Tl.value = t == null ? void 0 : t.contents, dl.value = t == null ? void 0 : t.contents) : (Tl.value = [], dl.value = []), kl.value = ((F = Y == null ? void 0 : Y.value) == null ? void 0 : F.length) ?? 0, xa(Y.value), Gl.value = Y.value, fl.value && (R.value = (L = (ee = Te.value) == null ? void 0 : ee.filter((y) => (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : L.map((y) => {
|
|
2058
2058
|
var G;
|
|
2059
2059
|
return {
|
|
2060
2060
|
...y,
|
|
@@ -2086,7 +2086,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2086
2086
|
},
|
|
2087
2087
|
{ deep: !0, immediate: !0 }
|
|
2088
2088
|
), Ge(() => i == null ? void 0 : i.operatingForm, (e) => {
|
|
2089
|
-
e != null && e.form && (Pl(e == null ? void 0 : e.form), qe.value = e == null ? void 0 : e.dialogTitle, Wl.value = !0,
|
|
2089
|
+
e != null && e.form && (Pl(e == null ? void 0 : e.form), qe.value = e == null ? void 0 : e.dialogTitle, Wl.value = !0, Ze.value = !0);
|
|
2090
2090
|
}, { immediate: !0, deep: !0 });
|
|
2091
2091
|
const $a = () => {
|
|
2092
2092
|
fl.value = !fl.value;
|
|
@@ -2103,10 +2103,10 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2103
2103
|
}), H(!1);
|
|
2104
2104
|
const Gr = (e, l) => {
|
|
2105
2105
|
var r;
|
|
2106
|
-
da("createClick"), l === V.pageSize && (V.currentPage = Math.ceil(((r =
|
|
2106
|
+
da("createClick"), l === V.pageSize && (V.currentPage = Math.ceil(((r = Y.value) == null ? void 0 : r.length) / V.pageSize));
|
|
2107
2107
|
}, Rr = (e, l, r) => {
|
|
2108
2108
|
var a;
|
|
2109
|
-
Ca(r, e, l), Le.value = q(e),
|
|
2109
|
+
Ca(r, e, l), Le.value = q(e), Ye.value = e == null ? void 0 : e.id, kl.value = (a = Y.value) == null ? void 0 : a.length, qe.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", $l(!1);
|
|
2110
2110
|
}, Pe = (e) => {
|
|
2111
2111
|
var c, p, v, C, f, m, E, P, U, W;
|
|
2112
2112
|
const { row: l, column: r, item: a, slotData: s } = e;
|
|
@@ -2122,13 +2122,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2122
2122
|
return Ge(() => el.value, async (e) => {
|
|
2123
2123
|
if (e) {
|
|
2124
2124
|
D.setContentLoading(!0), await ea();
|
|
2125
|
-
const l = Hr(
|
|
2125
|
+
const l = Hr(Y.value, e == null ? void 0 : e.data);
|
|
2126
2126
|
if (!l) return D.setContentLoading(!1);
|
|
2127
2127
|
await ma(e == null ? void 0 : e.data, null, l, { data: e == null ? void 0 : e.data, isMainKey: !0 }), D.setContentLoading(!1);
|
|
2128
2128
|
}
|
|
2129
2129
|
}, { deep: !0, immediate: !0 }), Ge(() => i == null ? void 0 : i.cacheNewData, (e) => {
|
|
2130
2130
|
var l;
|
|
2131
|
-
e && (Array.isArray(e) || (e == null ? void 0 : e.compId) === (i == null ? void 0 : i.index) && (
|
|
2131
|
+
e && (Array.isArray(e) || (e == null ? void 0 : e.compId) === (i == null ? void 0 : i.index) && (Y.value = (l = Y.value) == null ? void 0 : l.map((r) => {
|
|
2132
2132
|
var a;
|
|
2133
2133
|
return (r == null ? void 0 : r.id) === ((a = e == null ? void 0 : e.data) == null ? void 0 : a.id) ? {
|
|
2134
2134
|
...r,
|
|
@@ -2138,7 +2138,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2138
2138
|
}, { immediate: !0, deep: !0 }), (e, l) => {
|
|
2139
2139
|
var p, v, C;
|
|
2140
2140
|
const r = Ne("svg-icon"), a = Ne("el-popover"), s = Ne("el-switch"), u = Ne("el-checkbox"), o = Ne("el-checkbox-group"), t = Ne("el-button"), c = Ne("LookComponent");
|
|
2141
|
-
return ie(), Ue("div",
|
|
2141
|
+
return ie(), Ue("div", Zn, [
|
|
2142
2142
|
ba.value ? (ie(), Fe(on, {
|
|
2143
2143
|
id: "excel-table",
|
|
2144
2144
|
pageObj: V,
|
|
@@ -2170,21 +2170,21 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2170
2170
|
onSubmitEditingTable: fr,
|
|
2171
2171
|
onHandleColEditChange: dr,
|
|
2172
2172
|
onHandleColTypeChange: pr,
|
|
2173
|
-
onClickButton:
|
|
2173
|
+
onClickButton: Yl
|
|
2174
2174
|
}, Ir({
|
|
2175
2175
|
headerButton: re((f) => {
|
|
2176
2176
|
var m, E;
|
|
2177
2177
|
return [
|
|
2178
2178
|
N.showHeader ? (ie(), Fe(Mn, {
|
|
2179
2179
|
key: 0,
|
|
2180
|
-
lockingPage: Ie(Fl) === Ie(
|
|
2180
|
+
lockingPage: Ie(Fl) === Ie(Z),
|
|
2181
2181
|
filterValues: Ta.value,
|
|
2182
2182
|
selectNums: (m = Qe.value) == null ? void 0 : m.length,
|
|
2183
|
-
dataNums: (E =
|
|
2183
|
+
dataNums: (E = Y.value) == null ? void 0 : E.length,
|
|
2184
2184
|
compName: N.compName,
|
|
2185
2185
|
isDevMode: N.isDevMode,
|
|
2186
2186
|
buttons: f.buttons,
|
|
2187
|
-
onButtonClick: l[0] || (l[0] = (P) =>
|
|
2187
|
+
onButtonClick: l[0] || (l[0] = (P) => Yl(P, "", {})),
|
|
2188
2188
|
columns: R.value,
|
|
2189
2189
|
onFilter: Ar,
|
|
2190
2190
|
onGetImportData: tr,
|
|
@@ -2195,8 +2195,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2195
2195
|
viewport: re(() => {
|
|
2196
2196
|
var f, m;
|
|
2197
2197
|
return [
|
|
2198
|
-
((f =
|
|
2199
|
-
(m = cl.value) != null && m.some((E) => (E == null ? void 0 : E.label) === "编辑") && !ql.value && Ie(Fl) !== Ie(
|
|
2198
|
+
((f = Y.value) == null ? void 0 : f.length) > 0 && N.allowOperate ? (ie(), Ue("div", es, [
|
|
2199
|
+
(m = cl.value) != null && m.some((E) => (E == null ? void 0 : E.label) === "编辑") && !ql.value && Ie(Fl) !== Ie(Z) ? (ie(), Ue("span", {
|
|
2200
2200
|
key: 0,
|
|
2201
2201
|
title: "编辑表格",
|
|
2202
2202
|
onClick: $a
|
|
@@ -2392,7 +2392,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2392
2392
|
}),
|
|
2393
2393
|
_: 2
|
|
2394
2394
|
}, [
|
|
2395
|
-
((v = cl.value) == null ? void 0 : v.length) > 0 && Ie(Fl) !== Ie(
|
|
2395
|
+
((v = cl.value) == null ? void 0 : v.length) > 0 && Ie(Fl) !== Ie(Z) ? {
|
|
2396
2396
|
name: "actions",
|
|
2397
2397
|
fn: re(({ item: f }) => [
|
|
2398
2398
|
te(a, {
|
|
@@ -2411,7 +2411,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2411
2411
|
(ie(!0), Ue(vl, null, bl(Tr(cl.value, f), (m, E) => (ie(), Ue("div", {
|
|
2412
2412
|
class: "menu-config-item",
|
|
2413
2413
|
key: E,
|
|
2414
|
-
onClick: (P) =>
|
|
2414
|
+
onClick: (P) => Yl(m == null ? void 0 : m.label, f, { extra: m })
|
|
2415
2415
|
}, [
|
|
2416
2416
|
be("div", {
|
|
2417
2417
|
style: Ol({ color: m == null ? void 0 : m.textColor }),
|
|
@@ -2425,14 +2425,14 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2425
2425
|
]),
|
|
2426
2426
|
key: "0"
|
|
2427
2427
|
} : void 0,
|
|
2428
|
-
((C =
|
|
2428
|
+
((C = Y.value) == null ? void 0 : C.length) > 0 ? {
|
|
2429
2429
|
name: "batchButton",
|
|
2430
2430
|
fn: re((f) => [
|
|
2431
2431
|
te(Nn, {
|
|
2432
|
-
lockingPage: Ie(Fl) === Ie(
|
|
2432
|
+
lockingPage: Ie(Fl) === Ie(Z),
|
|
2433
2433
|
buttons: f.buttons,
|
|
2434
2434
|
selectTableItems: Qe.value,
|
|
2435
|
-
onButtonClick: l[1] || (l[1] = (m) =>
|
|
2435
|
+
onButtonClick: l[1] || (l[1] = (m) => Yl(m, "", {}))
|
|
2436
2436
|
}, null, 8, ["lockingPage", "buttons", "selectTableItems"])
|
|
2437
2437
|
]),
|
|
2438
2438
|
key: "1"
|
|
@@ -2440,7 +2440,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2440
2440
|
]), 1032, ["pageObj", "summaryInfo", "columns", "defaultSort", "isCardViewport", "checkedColumns", "tableData", "isEditViewport", "isShowPagination", "allowSelect", "extraButton", "rowButton", "cacheExtraButtons", "isClearSelection"])) : Me("", !0),
|
|
2441
2441
|
te(Vl, {
|
|
2442
2442
|
title: qe.value,
|
|
2443
|
-
visible:
|
|
2443
|
+
visible: Ze.value,
|
|
2444
2444
|
width: ar.value,
|
|
2445
2445
|
onBeforeDestroy: vr,
|
|
2446
2446
|
style: { height: "74%" }
|
|
@@ -2461,7 +2461,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2461
2461
|
footer: re(() => [
|
|
2462
2462
|
Wl.value ? (ie(), Ue("div", gs, [
|
|
2463
2463
|
te(t, {
|
|
2464
|
-
onClick: l[6] || (l[6] = (f) =>
|
|
2464
|
+
onClick: l[6] || (l[6] = (f) => Ze.value = !1),
|
|
2465
2465
|
id: "themeBorderButton"
|
|
2466
2466
|
}, {
|
|
2467
2467
|
default: re(() => l[13] || (l[13] = [
|
|
@@ -2561,7 +2561,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2561
2561
|
}
|
|
2562
2562
|
}, xs = /* @__PURE__ */ aa(ys, [["__scopeId", "data-v-c6360b92"]]);
|
|
2563
2563
|
export {
|
|
2564
|
-
|
|
2564
|
+
Yn as a,
|
|
2565
2565
|
Fn as b,
|
|
2566
2566
|
Ra as f,
|
|
2567
2567
|
qa as g,
|