ss-component-new 1.2.152 → 1.2.153
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-rr5QiHpH.js → MTLLoader-BejJP-Qs.js} +1 -1
- package/dist/{MTLLoader-CS7tCafW.cjs → MTLLoader-BtmHWOWJ.cjs} +1 -1
- package/dist/{OrbitControls-BF3SmLb0.cjs → OrbitControls-B5n4pNnY.cjs} +1 -1
- package/dist/{OrbitControls-DJK5ejeR.js → OrbitControls-D9OuWDAQ.js} +1 -1
- package/dist/{URDFLoader-GhedGy2f.js → URDFLoader-CDQ9AzDC.js} +2 -2
- package/dist/{URDFLoader-YkeuzOMY.cjs → URDFLoader-CXRFJE57.cjs} +1 -1
- package/dist/{animationData-f8DG4NvQ.cjs → animationData-C-hP9TLC.cjs} +1 -1
- package/dist/{animationData-DPvrpOI5.js → animationData-CHHAeFI3.js} +1 -1
- package/dist/{array-Fw9xDONN.cjs → array-C7BzUOR1.cjs} +1 -1
- package/dist/{array-fj93XUQy.js → array-Cn8wes9B.js} +1 -1
- package/dist/{iconfont-DaheQsG9.js → iconfont-CfQSEOs-.js} +2 -2
- package/dist/{iconfont-DduD50a_.cjs → iconfont-Z-AjJWoS.cjs} +1 -1
- package/dist/{index-DYBdWLQB.js → index--xh6iNm8.js} +7 -7
- package/dist/{index-CR2AjtrT.cjs → index-2iNXd4Ar.cjs} +1 -1
- package/dist/{index-DKvvJrTD.cjs → index-BJBnz11Q.cjs} +1 -1
- package/dist/{index-et6Sj8_h.js → index-BOhnPuY9.js} +3 -3
- package/dist/{index-zvEJ55jE.js → index-BYang6IA.js} +112 -112
- package/dist/{index-B3ltAGaY.cjs → index-Bm9eUAn_.cjs} +1 -1
- package/dist/{index-B0hNWWPQ.cjs → index-BmIq8n_F.cjs} +1 -1
- package/dist/{index-Lkx2D7iY.js → index-Bo9jr0Zi.js} +3 -3
- package/dist/{index-BKkiPOUm.cjs → index-Bx3qFbvZ.cjs} +1 -1
- package/dist/{index-BQGkc6hK.cjs → index-C782IlXk.cjs} +1 -1
- package/dist/{index-CWxQsf8s.js → index-CB8ALWj-.js} +1 -1
- package/dist/{index-7LIrILAr.cjs → index-CFgOTsvt.cjs} +1 -1
- package/dist/{index-lDahC_XO.cjs → index-CHT9f67p.cjs} +1 -1
- package/dist/{index-BD3QHmi2.js → index-CJDmIhbC.js} +16 -16
- package/dist/{index-DRCkHJv6.js → index-CJMcB4h8.js} +1 -1
- package/dist/{index-gB6pRsiR.cjs → index-CKwNwB_8.cjs} +1 -1
- package/dist/{index-ClZIL753.js → index-CL8Yzkby.js} +1 -1
- package/dist/{index-CiY3qQGB.js → index-CU6jK3Be.js} +4 -4
- package/dist/{index-Ct1B2wQp.cjs → index-CcZJE3jG.cjs} +1 -1
- package/dist/{index-CoqywjX6.js → index-CeWb_Akd.js} +1 -1
- package/dist/{index-BL8WxaPd.cjs → index-Csmw4ipZ.cjs} +1 -1
- package/dist/{index-8GKfPIWL.js → index-CyTjG5QP.js} +8 -8
- package/dist/{index-CB9ExkJX.cjs → index-D-WVNfBK.cjs} +1 -1
- package/dist/{index-CSHoEB6w.js → index-D2_gz0RZ.js} +2 -2
- package/dist/{index-Dm060Nko.js → index-D3NTZz8D.js} +4 -4
- package/dist/{index-Co-fGQmY.cjs → index-DDOJlsUW.cjs} +1 -1
- package/dist/{index-Dq-92rzL.js → index-DSRhb9Vz.js} +1 -1
- package/dist/{index-COELguaL.js → index-DTg5WplY.js} +1 -1
- package/dist/{index-DkQWdiUV.cjs → index-DZrjyG-a.cjs} +1 -1
- package/dist/{index-yYlZ6saJ.js → index-D_1vHr0J.js} +1 -1
- package/dist/{index-DJ-Ubkcc.cjs → index-DhdTc0OQ.cjs} +1 -1
- package/dist/{index-CB-Mvo0Z.cjs → index-DpyyqVn-.cjs} +1 -1
- package/dist/{index-D6QtbyQH.cjs → index-Dte3ZZke.cjs} +1 -1
- package/dist/{index-CMDAMO_8.cjs → index-DuUpWpCS.cjs} +1 -1
- package/dist/{index-CvHIDE8A.js → index-Dxk1cU3M.js} +1 -1
- package/dist/{index-T1w28E7x.js → index-ORlEJXHz.js} +1 -1
- package/dist/{index-DAW-_6kb.js → index-V1DcbN_x.js} +1 -1
- package/dist/{index-CDAcp7rJ.cjs → index-VPs5zsxn.cjs} +1 -1
- package/dist/{index-D28B2qMb.cjs → index-e3pWHaAB.cjs} +1 -1
- package/dist/{index-CxWrTyvu.js → index-fjulcdkR.js} +4 -4
- package/dist/{index-DBck8dcP.cjs → index-kX2P3zSJ.cjs} +1 -1
- package/dist/{index-CGtLqnX3.js → index-lMUbGXaB.js} +1 -1
- package/dist/{index-C571XfiP.js → index-ncZ9UeCL.js} +2 -2
- package/dist/{index-BXeRvh_y.cjs → index-yVeoEkO5.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Sg3OAnZO.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BXd4qgPk.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CK6SdpoM.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DoQnf2Xb.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLwFjtzq.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BDBlck5Z.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZDAM7UU.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdH8DTu8.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DxIhhKdi.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-C7H7qKuZ.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CXKsTe4a.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DuEvXb33.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Dsu6zZjp.js → index.vue_vue_type_style_index_1_lang-BPaap3zh.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-CpLBwzYm.cjs → index.vue_vue_type_style_index_1_lang-bzCyALMG.cjs} +1 -1
- package/dist/{main-CUI407g3.cjs → main-BJgGsJ1h.cjs} +1 -1
- package/dist/{main-Bvxuhx83.js → main-BiPfVLko.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-DSJiORME.cjs → threeModel-7FXgfwHb.cjs} +1 -1
- package/dist/{threeModel-C-4qS44N.js → threeModel-DycV17xV.js} +4 -4
- package/dist/{threePreview-DQPl29N6.cjs → threePreview-CtICArJw.cjs} +1 -1
- package/dist/{threePreview-BSfotxX2.js → threePreview-s0AxB3yH.js} +3 -3
- package/dist/{threeSceneView-D7WbPEOa.js → threeSceneView-B3eaM3zv.js} +8 -8
- package/dist/{threeSceneView-wByC9Vlj.cjs → threeSceneView-CUu5Omyz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BtS3FkVG.js → threeSceneViewForCPMPIP-D-luCm5B.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-C3wdlamC.cjs → threeSceneViewForCPMPIP-Dg208-pk.cjs} +1 -1
- package/dist/{threeTrackPathView-TShdPDAu.js → threeTrackPathView-BmRabc3W.js} +3 -3
- package/dist/{threeTrackPathView-DZdCiZmn.cjs → threeTrackPathView-mQ-2bKju.cjs} +1 -1
- package/dist/{threeViewerHost-dVdN527Y.cjs → threeViewerHost-CCxCVdHT.cjs} +1 -1
- package/dist/{threeViewerHost-CScPmwpQ.js → threeViewerHost-C_j3oIAp.js} +2 -2
- package/dist/{urdfTree-BjNrHH4-.js → urdfTree-C4zJU99i.js} +1 -1
- package/dist/{urdfTree-NTWDKnsG.cjs → urdfTree-fsrr6ZOU.cjs} +1 -1
- package/dist/{workpieceTreePanel-DQfDiDMb.js → workpieceTreePanel-BKlndzR-.js} +4 -4
- package/dist/{workpieceTreePanel-KzdD3enP.cjs → workpieceTreePanel-DBHseqNd.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C, createElementVNode as u, toDisplayString as CA, defineComponent as ln, ref as o, watch as xA, createElementBlock as Q, Fragment as hA, renderList as VA, createCommentVNode as W, normalizeStyle as Re, createVNode as a, unref as A, resolveDynamicComponent as Le, onMounted as On, computed as RA, provide as Fe, resolveDirective as $n, withDirectives as ne, vShow as je, createTextVNode as te, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
|
|
2
|
-
import { m as yn, a as jn, b as Hn } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
2
|
+
import { m as yn, a as jn, b as Hn } from "./index-fjulcdkR.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-C7H7qKuZ.js";
|
|
4
4
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-
|
|
5
|
+
import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DoQnf2Xb.js";
|
|
6
6
|
import { p as QA, s as BA, d as ot, c as fn, u as wn, b as Ee, g as ue, e as At, E as oe, f as Gn, h as Et } from "./index-DIUrwul5.js";
|
|
7
7
|
import { a as vn, u as an } from "./index-AIq5wzuR.js";
|
|
8
8
|
import { S as bA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-
|
|
10
|
-
import { a as Ht } from "./array-
|
|
11
|
-
import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
12
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
9
|
+
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-CyTjG5QP.js";
|
|
10
|
+
import { a as Ht } from "./array-Cn8wes9B.js";
|
|
11
|
+
import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdH8DTu8.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_1_lang-BPaap3zh.js";
|
|
13
13
|
import "./index-_lg-jrRI.js";
|
|
14
14
|
import { useRouter as xt } from "vue-router";
|
|
15
|
-
import pt from "./index-
|
|
16
|
-
import { C as mt } from "./index-
|
|
17
|
-
import Jt from "./threeModel-
|
|
18
|
-
import { _ as St, a as Bn } from "./index-
|
|
15
|
+
import pt from "./index-D2_gz0RZ.js";
|
|
16
|
+
import { C as mt } from "./index-ORlEJXHz.js";
|
|
17
|
+
import Jt from "./threeModel-DycV17xV.js";
|
|
18
|
+
import { _ as St, a as Bn } from "./index-CU6jK3Be.js";
|
|
19
19
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as rn } from "./index-
|
|
21
|
-
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-
|
|
22
|
-
import { s as Qn } from "./index-
|
|
23
|
-
import { u as at } from "./index-
|
|
20
|
+
import { s as rn } from "./index-D_1vHr0J.js";
|
|
21
|
+
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-C_j3oIAp.js";
|
|
22
|
+
import { s as Qn } from "./index-Bo9jr0Zi.js";
|
|
23
|
+
import { u as at } from "./index-BYang6IA.js";
|
|
24
24
|
import { T as _n } from "./svgIcon-D-_fXUBL.js";
|
|
25
25
|
import { t as Rt, c as Kt, b as Dt } from "./index-CAPx0_D4.js";
|
|
26
26
|
import { v as Nt } from "./index-gvHJ-SKY.js";
|
|
27
|
-
import { f as Wt, a as Ut } from "./animationData-
|
|
27
|
+
import { f as Wt, a as Ut } from "./animationData-CHHAeFI3.js";
|
|
28
28
|
const Mt = { class: "menu-title" };
|
|
29
29
|
function Zt(M, yA, g, vA, AA, cA) {
|
|
30
30
|
const z = oA("ssMenu");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
-
import { s as b } from "./index-
|
|
2
|
+
import { s as b } from "./index-CL8Yzkby.js";
|
|
3
3
|
import { c as s } from "./index-DIUrwul5.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BDBlck5Z.cjs");const c=require("./index-C8qRkCgn.cjs"),r=require("./index-DOCHgBta.cjs"),i=require("./index-D-WVNfBK.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),m=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},S={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const k=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:m,handleQueryChange:f,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",v,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
|
|
2
|
-
import { ab as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { ab as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdH8DTu8.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as G, resolveComponent as Z, createBlock as W, openBlock as _, createCommentVNode as s0, createSlots as B2, withCtx as I, renderSlot as g0, defineComponent as h2, onMounted as ae, createVNode as e0, createElementVNode as a0, createElementBlock as V, Fragment as y0, renderList as C0, createTextVNode as E2, toDisplayString as j0, reactive as d1, h as Be, Transition as Ur, withDirectives as ut, vShow as qt, createApp as Fr, toRefs as T4, nextTick as y2, isRef as qr, watch as n2, computed as i0, onBeforeUnmount as On, normalizeStyle as X0, normalizeClass as X3, resolveDynamicComponent as Yt, normalizeProps as Yr, guardReactiveProps as Kr, mergeProps as u1, withModifiers as z4, inject as Xr, watchEffect as _e, onUnmounted as f1, unref as nt, resolveDirective as Qr } from "vue";
|
|
2
2
|
import { S as ft } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { aP as Jr, W as P4, n as Je, c as Zr, u as e8, a2 as vs, T as ws, e as A4, aQ as t8, aR as i8, aS as n8, aT as s8, d as o8, aU as xs, aV as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { aP as Jr, W as P4, n as Je, c as Zr, u as e8, a2 as vs, T as ws, e as A4, aQ as t8, aR as i8, aS as n8, aT as s8, d as o8, aU as xs, aV as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdH8DTu8.js";
|
|
4
4
|
import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { bQ as l8, bR as r8, cf as a8, cg as _s, bG as c8, b8 as n3, V as h8, af as V4, aJ as Dt, b7 as ys, $ as E4, ch as d8, E as B3, p as st, s as pt, c as Y2, a as B4, ci as u8, aW as f8, aw as p8, cj as g8, b as m8, b2 as v8 } from "./index-DIUrwul5.js";
|
|
6
6
|
import { _ as xe } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
7
7
|
import { a as Dn, u as Mn } from "./index-AIq5wzuR.js";
|
|
8
|
-
import { s as Tn } from "./index-
|
|
9
|
-
import { T as Ss, a as w8 } from "./threeViewerHost-
|
|
10
|
-
import { s as x8 } from "./index-
|
|
8
|
+
import { s as Tn } from "./index-D_1vHr0J.js";
|
|
9
|
+
import { T as Ss, a as w8 } from "./threeViewerHost-C_j3oIAp.js";
|
|
10
|
+
import { s as x8 } from "./index-ORlEJXHz.js";
|
|
11
11
|
var b8 = "[object Date]";
|
|
12
12
|
function _8(n) {
|
|
13
13
|
return l8(n) && r8(n) == b8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-C8qRkCgn.cjs"),_=require("./index-DOCHgBta.cjs"),C=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-C8qRkCgn.cjs"),_=require("./index-DOCHgBta.cjs"),C=require("./index-D-WVNfBK.cjs"),r=require("./index-BbzUzdxF.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=_.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { p as h, s as k, c as m, g as x } from "./index-DIUrwul5.js";
|
|
3
3
|
import { u as M } from "./index-AIq5wzuR.js";
|
|
4
|
-
import { s as D } from "./index-
|
|
4
|
+
import { s as D } from "./index-BYang6IA.js";
|
|
5
5
|
import { a as T, d as S, f as w } from "./index-zHH5odRp.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|