ss-component-new 1.1.544 → 1.1.546
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/{index-DGrZ9_7w.js → index-7EhdrGYQ.js} +1 -1
- package/dist/{index-DGA3OWJM.js → index-B8H4YhbP.js} +5 -6
- package/dist/{index-9tUjy5PU.js → index-B9F0k3X6.js} +1 -1
- package/dist/index-Bfm4Iu0-.cjs +1 -0
- package/dist/{index-BdeHq8U4.js → index-Blj1gMr9.js} +3 -3
- package/dist/{index-DKb5dDlW.js → index-BtGkSSqq.js} +1 -1
- package/dist/{index-DMjNdCd0.cjs → index-Buwm_HMT.cjs} +1 -1
- package/dist/{index-Rr_qIjuI.cjs → index-BweqqBIq.cjs} +1 -1
- package/dist/{index-Fh9o9Ue4.js → index-CBy0Wmr-.js} +48 -49
- package/dist/{index-CYajRR8m.js → index-CX--CK9W.js} +3 -3
- package/dist/{index-I04gcueX.js → index-CdTFgks3.js} +1 -1
- package/dist/{index-DGEdWdZI.cjs → index-Ci-Jzm4O.cjs} +1 -1
- package/dist/{index-BT2f4FLq.js → index-CrHUNEBr.js} +2 -2
- package/dist/index-CxnxDX6H.cjs +15 -0
- package/dist/{index-BGGoiAQJ.cjs → index-Cz3_SMCC.cjs} +1 -1
- package/dist/{index-Bk7P0gLn.js → index-DCDTqWhV.js} +1 -1
- package/dist/{index-G1MrSJAj.cjs → index-DDUx9hJu.cjs} +1 -1
- package/dist/index-DGYkSeKR.cjs +1 -0
- package/dist/{index-BhGDL0w9.cjs → index-DHzXS1Iy.cjs} +1 -1
- package/dist/{index-LBVcL9le.js → index-DL-QjDt-.js} +14 -15
- package/dist/{index-BWPge8BF.cjs → index-DOElpe7o.cjs} +1 -1
- package/dist/{index-Ck9qfG6f.cjs → index-DS5aMp22.cjs} +1 -1
- package/dist/{index-w-MJfuW8.cjs → index-DiVZz6Oe.cjs} +1 -1
- package/dist/{index-CNTga0xp.js → index-Dimxaw7v.js} +1 -1
- package/dist/{index-CKFdtJQ_.cjs → index-DmEQ5rMj.cjs} +1 -1
- package/dist/{index-B8CCHFAL.cjs → index-DoK7bh85.cjs} +1 -1
- package/dist/{index-DzviQheY.js → index-HZltj8sF.js} +5 -5
- package/dist/index-RHKeqrca.cjs +1 -0
- package/dist/{index-Dt9xVNCe.js → index-X2klfuIp.js} +1 -1
- package/dist/{index-BKkwXFHJ.js → index-YhTbPFhY.js} +2 -2
- package/dist/{index-_RkQlee1.cjs → index-fCkjyUfU.cjs} +1 -1
- package/dist/{index-CcbZfGsJ.js → index-ffDSB4Kw.js} +1239 -1212
- package/dist/{index.vue_vue_type_style_index_0_scoped_82f8c0ec_lang-CCTXAXtk.js → index.vue_vue_type_style_index_0_scoped_82f8c0ec_lang-UIjhdOZs.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_82f8c0ec_lang-BboyWIOn.cjs → index.vue_vue_type_style_index_0_scoped_82f8c0ec_lang-pS_4Mrx1.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-BPGeGqic.js → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-GwS-75w8.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-DL9lrMO2.cjs → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-hS31ouB0.cjs} +1 -1
- package/dist/{main-DG5uHzh3.js → main-DHTtRsVg.js} +2 -2
- package/dist/{main-tgL45d0T.cjs → main-DaAvRrX9.cjs} +1 -1
- 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 +8 -8
- package/dist/{threeModel-DyEg1a4d.js → threeModel-HQd-MzAs.js} +432 -418
- package/dist/threeModel-qEKnaskX.cjs +1 -0
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_d7504764_lang-BV7oq1Z4.js → threeModel.vue_vue_type_style_index_0_scoped_4bd4d061_lang-C4kzFz9R.js} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_d7504764_lang-DCn4bomb.cjs → threeModel.vue_vue_type_style_index_0_scoped_4bd4d061_lang-CO6ZYvsh.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-C2UyEyuW.cjs +0 -1
- package/dist/index-CFs5XhDB.cjs +0 -15
- package/dist/index-Csb_gyiA.cjs +0 -1
- package/dist/index-DbnVZsFm.cjs +0 -1
- package/dist/index-nuI9V5ye.js +0 -31
- package/dist/index-pmo81TJd.cjs +0 -1
- package/dist/threeModel-CU8X0f4b.cjs +0 -1
|
@@ -2,7 +2,7 @@ import { defineComponent as o, reactive as r, onMounted as n, createElementBlock
|
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
3
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js";
|
|
4
4
|
import { u as i, s as p } from "./menu-DV47UKJo.js";
|
|
5
|
-
import { B as u } from "./index-
|
|
5
|
+
import { B as u } from "./index-CBy0Wmr-.js";
|
|
6
6
|
import { S as l } from "./index-CDBkv_Ya.js";
|
|
7
7
|
import { i as d } from "./index-z1F5TOoY.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, M = /* @__PURE__ */ o({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent as $, computed as F, ref as h, watch as P, createElementBlock as E, openBlock as p, createVNode as v, createElementVNode as j, withCtx as c, createTextVNode as T, toDisplayString as k, resolveComponent as B, createBlock as U, Fragment as V, renderList as z, normalizeStyle as R } from "vue";
|
|
2
2
|
import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-lD5FjnBK.js";
|
|
3
|
-
import { d as H, u as L } from "./index-
|
|
3
|
+
import { d as H, u as L, S as M } from "./index-ffDSB4Kw.js";
|
|
4
4
|
import { E as N } from "./menu-DV47UKJo.js";
|
|
5
5
|
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { S as M } from "./index-CcbZfGsJ.js";
|
|
7
6
|
import { S as x } from "./index-BHtNKL1L.js";
|
|
8
7
|
const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({
|
|
9
8
|
__name: "index",
|
|
@@ -81,7 +80,7 @@ const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({
|
|
|
81
80
|
]);
|
|
82
81
|
};
|
|
83
82
|
}
|
|
84
|
-
}),
|
|
83
|
+
}), ae = /* @__PURE__ */ O(D, [["__scopeId", "data-v-bcb7a17f"]]), G = /* @__PURE__ */ $({
|
|
85
84
|
__name: "index",
|
|
86
85
|
props: {
|
|
87
86
|
itemData: {
|
|
@@ -224,8 +223,8 @@ const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({
|
|
|
224
223
|
}, 8, ["signPadInfo"]);
|
|
225
224
|
};
|
|
226
225
|
}
|
|
227
|
-
}),
|
|
226
|
+
}), te = /* @__PURE__ */ O(G, [["__scopeId", "data-v-b9bd887d"]]);
|
|
228
227
|
export {
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
ae as a,
|
|
229
|
+
te as s
|
|
231
230
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
2
|
import { c as J, s as be, g as U, u as he, E as S, p as $, bO as ae, bM as oe, bP as Ce, f as Ie } from "./menu-DV47UKJo.js";
|
|
3
3
|
import { u as ke } from "./modelComp-B4I2gbtf.js";
|
|
4
|
-
import { u as Te } from "./index-
|
|
4
|
+
import { u as Te } from "./index-CBy0Wmr-.js";
|
|
5
5
|
import { f as Me } from "./index-z1F5TOoY.js";
|
|
6
6
|
import { a as Se } from "./menuIndex-M4MLExuN.js";
|
|
7
7
|
const F = ke($), ne = Te($), C = he($), { menus: ue, configMenu: O, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = j(() => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),W=require("./index-DDUx9hJu.cjs"),Se=require("./index-DoK7bh85.cjs"),d=require("./index.vue_vue_type_style_index_0_scoped_82f8c0ec_lang-pS_4Mrx1.cjs"),se=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),i=require("./menu-B-wiVQl5.cjs"),Te=require("./crypto-Cd99aqcx.cjs"),ie=require("./index-BpPyaNFa.cjs"),pe=require("./modelComp-BlAKXNIt.cjs"),G=require("./index-CxnxDX6H.cjs"),oe=require("./index-RHKeqrca.cjs"),Fe=require("./index.vue_vue_type_script_setup_true_lang-IJCmIwBn.cjs"),Ne=require("./threeModel-qEKnaskX.cjs"),Ae=require("./index-DmEQ5rMj.cjs");require("vue-router");const $e=require("./array-CP2rPazD.cjs"),xe=require("./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-hS31ouB0.cjs");function Me(w,O,o,g,V,A){const l=e.resolveComponent("svg-icon"),$=e.resolveComponent("ssMenu");return e.openBlock(),e.createBlock($,{mode:w.mode,menuList:w.renderMenuList,onClickMenu:w.clickMenu,onOpenMenu:w.openMenu,onCloseMenu:w.closeMenu},{title:e.withCtx(({menu:B})=>[e.createVNode(l,{name:B.icon??"Fold",style:{width:"clamp(16px, 1.25rem, 20px)",height:"clamp(16px, 1.25rem, 20px)","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(B.title??""),1)]),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"])}const Re=se._export_sfc(d._sfc_main,[["render",Me],["__scopeId","data-v-5c2d7ed2"]]),Pe={class:"bread-content"},Ie=["onClick"],je={key:0,class:"split-title"},Ue={__name:"index",props:{breadArray:{type:Array,default:()=>[]}},emits:["click"],setup(w,{emit:O}){const o=w,g=e.ref([]),V=O;e.onMounted(()=>{g.value=o==null?void 0:o.breadArray}),e.watch(()=>o==null?void 0:o.breadArray,()=>{g.value=o==null?void 0:o.breadArray},{deep:!0,immediate:!0});const A=l=>{V("click",l)};return(l,$)=>(e.openBlock(),e.createElementBlock("div",Pe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(B,N)=>{var H;return e.openBlock(),e.createElementBlock("div",{key:N,class:"bread-item"},[e.createElementVNode("div",{class:"bread-title",onClick:K=>A(B),style:e.normalizeStyle({opacity:((H=g.value)==null?void 0:H.length)-1===N?"0.7":"1"})},e.toDisplayString(B.value),13,Ie),N!==g.value.length-1&&Array.isArray(g.value)?(e.openBlock(),e.createElementBlock("div",je,e.toDisplayString("/"))):e.createCommentVNode("",!0)])}),128))]))}},be=se._export_sfc(Ue,[["__scopeId","data-v-ded7e2bd"]]),Le={class:"structure-buttons"},qe={class:"structure-paths"},Oe={class:"client-header-user"},Ke={class:"model-select"},ze={class:"model-show"},Ge={class:"model-fill"},He={class:"client-header-menu"},Xe={class:"client-header-user"},Je={class:"drop-menu"},We={class:"client-main-operate"},Qe={key:0,class:"item-view-group"},Ye=e.defineComponent({__name:"index2",props:{windowConfig:{type:Object,default:()=>{}},showButton:{type:Boolean,default:!0}},setup(w){const O=oe.useUnit(i.pinia),{selectTitle:o}=i.storeToRefs(O),g=Te.useLoginState(),{loginUserInfo:V}=i.storeToRefs(g),A=pe.useModelComp(i.pinia),{isEdit:l,routeToChildPath:$}=i.storeToRefs(A),B=i.useMenuState(i.pinia),{importLoading:N,activeTopMenuPath:H,activeAsideMenu:K}=i.storeToRefs(B),y=e.ref(""),S=e.computed(()=>K.value.isRouter),E=()=>{sessionStorage.clear(),window.location.reload()},j=async()=>{var s,L,Q,M;B.setImportLoading(!0);const m=await i.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey")}});if(((s=m==null?void 0:m.data)==null?void 0:s.code)===200){let X=(M=(Q=(L=m==null?void 0:m.data)==null?void 0:L.result)==null?void 0:Q.map(D=>{var Y;if(((Y=D==null?void 0:D.key)==null?void 0:Y.layer)!=="superAdmin")return D==null?void 0:D.id}))==null?void 0:M.filter(D=>D);await i.batchDeleteInsofDataApi({ids:X}),B.setRawMenus([])}B.setImportLoading(!1)},U=()=>{B.setActiveMenuPath($.value),A.setRouteToChildPath("")};return(m,s)=>{const L=e.resolveComponent("el-button"),Q=e.resolveComponent("el-avatar"),M=e.resolveComponent("el-header"),X=e.resolveComponent("el-container"),D=e.resolveComponent("el-icon"),Y=e.resolveComponent("el-input"),p=e.resolveComponent("el-aside"),T=e.resolveComponent("router-view"),k=e.resolveComponent("el-main"),x=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createVNode(X,{class:"client-container"},{default:e.withCtx(()=>[e.createVNode(M,{class:"client-structure-header"},{default:e.withCtx(()=>{var v;return[e.createElementVNode("div",Le,[e.createVNode(L,{id:"transparentBgButton",onClick:e.unref(d.onBack)},{default:e.withCtx(()=>s[2]||(s[2]=[e.createTextVNode(" 返回页面 ")])),_:1,__:[2]},8,["onClick"]),e.createVNode(L,{id:"transparentBgButton",onClick:s[0]||(s[0]=a=>{var P,I;return e.unref(d.clickSavePage)((I=(P=e.unref(o))==null?void 0:P.map(ne=>ne.value))==null?void 0:I.join("/"))})},{icon:e.withCtx(()=>[e.createVNode(ie.SvgIcon,{name:"Store"})]),default:e.withCtx(()=>[s[3]||(s[3]=e.createTextVNode(" 保存页面 "))]),_:1,__:[3]})]),e.createElementVNode("div",qe,[e.createVNode(be,{breadArray:e.unref(o),onClick:e.unref(d.onClick)},null,8,["breadArray","onClick"])]),e.createElementVNode("div",Oe,[e.renderSlot(m.$slots,"default",{},void 0,!0),e.createVNode(Q,{size:35,src:(v=e.unref(V))==null?void 0:v.avatarUrl},{default:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString(((a=e.unref(V))==null?void 0:a.account)??"未知"),1)]}),_:1},8,["src"])])]}),_:3}),e.unref(l)==="edit"?(e.openBlock(),e.createBlock(X,{key:0,class:"model-operate",style:{"margin-top":"10px",height:"0px"}},{default:e.withCtx(()=>[e.createElementVNode("div",Ke,[e.createVNode(W.modelSelect)]),e.createElementVNode("div",ze,[e.createVNode(W.modelShow)]),e.createElementVNode("div",Ge,[e.createVNode(W.modelFill)])]),_:1})):e.createCommentVNode("",!0)]),_:3},512),[[e.vShow,e.unref(l)==="edit"]]),e.withDirectives((e.openBlock(),e.createBlock(X,{class:"client-container","element-loading-text":"正在加载页面数据..."},{default:e.withCtx(()=>[e.createVNode(M,{class:"client-header"},{default:e.withCtx(()=>[s[6]||(s[6]=e.createElementVNode("div",{class:"client-header-logo"}," ISIP ",-1)),e.createElementVNode("div",He,[e.createVNode(Re,{mode:"horizontal"})]),e.createElementVNode("div",Xe,[e.createVNode(Y,{modelValue:y.value,"onUpdate:modelValue":s[1]||(s[1]=v=>y.value=v),clearable:"",placeholder:"搜索",style:{width:"130px"}},{prefix:e.withCtx(()=>[e.createVNode(D,{class:"el-input__icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(i.search_default))]),_:1})]),_:1},8,["modelValue"]),w.showButton?(e.openBlock(),e.createBlock(L,{key:0,id:"transparentBgButton",onClick:e.unref(d.clickGenerateApp)},{icon:e.withCtx(()=>[e.createVNode(ie.SvgIcon,{name:"App"})]),default:e.withCtx(()=>[s[4]||(s[4]=e.createTextVNode(" 生成APP "))]),_:1,__:[4]},8,["onClick"])):e.createCommentVNode("",!0),w.showButton&&e.unref(l)==="view"?(e.openBlock(),e.createBlock(L,{key:1,id:"transparentBgButton",onClick:e.unref(d.onSelectFixContent)},{icon:e.withCtx(()=>[e.createVNode(ie.SvgIcon,{name:"write"})]),default:e.withCtx(()=>[s[5]||(s[5]=e.createTextVNode(" 修改布局 "))]),_:1,__:[5]},8,["onClick"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"default",{},void 0,!0),e.createVNode(G._sfc_main,null,{dropTitle:e.withCtx(()=>{var v;return[e.createVNode(Fe._sfc_main,{size:"35",avatarUrl:(v=e.unref(V))==null?void 0:v.avatarUrl,showCropper:!1,banClick:!0},{avatarDefault:e.withCtx(()=>{var a;return[e.createTextVNode(e.toDisplayString(((a=e.unref(V))==null?void 0:a.account)??"未知"),1)]}),_:1},8,["avatarUrl"])]}),dropMenu:e.withCtx(()=>[e.createElementVNode("div",Je,[e.createVNode(G._sfc_main$1,{emptyColor:!0,class:"menu-button",onClickTrigger:j,modelValue:"清空数据",buttonType:""}),e.createVNode(G._sfc_main$1,{emptyColor:!0,class:"menu-button",onClickTrigger:E,modelValue:"退出登录",buttonType:""})])]),_:1})])]),_:3,__:[6]}),e.createVNode(X,{class:"client-body"},{default:e.withCtx(()=>[e.createVNode(k,{class:"client-main"},{default:e.withCtx(()=>{var v;return[e.createVNode(p,{class:"client-aside"},{default:e.withCtx(()=>[e.createVNode(Se.default,{mode:"vertical"})]),_:1}),e.createElementVNode("div",We,[S.value?(e.openBlock(),e.createBlock(T,{key:0})):e.createCommentVNode("",!0),e.unref($)!==""?(e.openBlock(),e.createBlock(G._sfc_main$1,{key:1,class:"calculator-content back-content",onClickTrigger:U,modelValue:"返回"})):e.createCommentVNode("",!0),S.value?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList((v=e.unref(i.cloneDeep)(e.unref(d.showItems)))==null?void 0:v.filter(a=>a.comp!=="FormTop"),(a,P)=>{var I;return e.openBlock(),e.createElementBlock("div",{class:"item-view-content",key:P},[((I=a==null?void 0:a.comp)==null?void 0:I.toUpperCase())!=="TABLE"&&a.name?(e.openBlock(),e.createElementBlock("div",Qe,e.toDisplayString(a.name),1)):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(d.getComponents)(a.comp)),{compName:a.name,itemData:a==null?void 0:a.compData,childItemData:a==null?void 0:a.itemChildData,key:(a==null?void 0:a.id)??P,onChange:e.unref(d.onChange),index:(a==null?void 0:a.id)??P,onContentChange:e.unref(d.onContentChange),onPageChange:e.unref(d.onPageChange)},null,40,["compName","itemData","childItemData","onChange","index","onContentChange","onPageChange"]))])}),128))])]}),_:1})]),_:1})]),_:3})),[[e.vShow,e.unref(l)==="view"],[x,e.unref(N)]])],64)}}}),Ze=se._export_sfc(Ye,[["__scopeId","data-v-e8b11b5f"]]),he=[{key:"FitCurve_Eleven",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35326658522693",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources"},{key:"MakeShape",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35018179530309",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35018179530309",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018179530309/outputResources"},{key:"FillEmpty",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35018289382469",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35018289382469",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018289382469/outputResources"},{key:"ToolPathFakeFast",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35484063607109",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35484063607109",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35484063607109/outputResources"},{key:"FiveAxisCalculator",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35237389477957",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35237389477957",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35237389477957/outputResources"},{key:"DetectionAlgorithm",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35459977498949",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35459977498949",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35459977498949/outputResources"},{key:"FeatureSelectionAlgorithm_FFS",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35277984187973",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35277984187973",download:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources"},{key:"AIParameterOptimization",value:"http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35788169784389",resources:"http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35788169784389"}],fe=[{key:"型线生成",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources/sampling_points_20.cpt"},{key:"曲面生成",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018179530309/outputResources/output.obj"},{key:"叶片生成",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018289382469/outputResources/output_TwoSections_completed.obj"},{key:"轨迹规划",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35484063607109/outputResources/complete_data.txt"},{key:"加工规划",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35237389477957/outputResources/NC_BC.NC"},{key:"产品检测",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35459977498949/outputResources/source.pcd,http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35459977498949/outputResources/target.pcd"},{key:"参数筛选训练方法",value:"http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"}],et={class:"structure-buttons"},tt={class:"structure-paths"},ot={class:"client-header-user"},nt={class:"model-select"},at={class:"model-show"},lt={class:"model-fill"},rt={class:"client-header-menu"},it={class:"client-header-user"},st={class:"drop-menu"},ct={class:"client-main-operate"},ut={key:0,class:"item-view-group"},dt=e.defineComponent({__name:"index2",props:{windowConfig:{type:Object,default:()=>{}},showButton:{type:Boolean,default:!0}},emits:["showChild","buildContent"],setup(w,{emit:O}){const o=oe.useUnit(i.pinia),g=e.ref(!1);e.ref(0),e.ref(!1);const{selectTitle:V}=i.storeToRefs(o),A=e.ref(!1),l=e.ref(!1);e.ref(!1);const $=oe.useTableComp(i.pinia),B=e.ref(!1),{tableShowThree:N}=i.storeToRefs($),H=Te.useLoginState(),{loginUserInfo:K}=i.storeToRefs(H);e.ref(null);const y=pe.useModelComp(i.pinia),{isEdit:S}=i.storeToRefs(y),E=i.useMenuState(i.pinia),j=Ae.useFormComp(i.pinia),{objUrl:U,blobUrls:m}=i.storeToRefs(j),s=e.ref(null);e.ref(!1);const L=e.ref(!0);e.ref(!1);const{importLoading:Q,activeMenuPath:M,activeTopMenuPath:X,platName:D,activeAsideMenu:Y}=i.storeToRefs(E),p=e.ref(!1),T=e.ref(!1),k=e.ref(!1),x=O;e.watch(()=>M.value,async t=>{t&&(k.value=!0),t==="弯管仿真加工管理/仿真动画生成"?p.value=!0:p.value=!1,t==="弯管仿真加工管理/程序输出"?T.value=!0:T.value=!1,fe!=null&&fe.find(r=>{var C;return(r==null?void 0:r.key)===((C=t==null?void 0:t.split("/"))==null?void 0:C[(t==null?void 0:t.split("/").length)-1])})?B.value=!0:B.value=!1},{immediate:!0});const v=t=>{if((t==null?void 0:t.type)==="table"){let r=Object.values(t==null?void 0:t.row),C=r==null?void 0:r.find(f=>typeof f=="string"&&((f==null?void 0:f.includes(".urdf"))||(f==null?void 0:f.includes(".obj"))));C&&x("showChild",{url:C,row:t==null?void 0:t.row})}},a=()=>{sessionStorage.clear(),window.location.reload()},P=async()=>{var r,C,f,h;E.setImportLoading(!0);const t=await i.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey")}});if(((r=t==null?void 0:t.data)==null?void 0:r.code)===200){let _=(h=(f=(C=t==null?void 0:t.data)==null?void 0:C.result)==null?void 0:f.map(n=>{var R;if(((R=n==null?void 0:n.key)==null?void 0:R.layer)!=="superAdmin")return n==null?void 0:n.id}))==null?void 0:h.filter(n=>n);await i.batchDeleteInsofDataApi({ids:_}),E.setRawMenus([])}E.setImportLoading(!1)},I=async t=>{var f,h,_,n,R,q,c;const r=(f=t==null?void 0:t.split("/"))==null?void 0:f[0],C=await i.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r}});return((h=C==null?void 0:C.data)==null?void 0:h.type)==="success"?((c=(q=(R=(n=(_=C==null?void 0:C.data)==null?void 0:_.result)==null?void 0:n[0])==null?void 0:R.value)==null?void 0:q.tableData)==null?void 0:c.隐藏三维显示)!==!0:!0};e.watch(()=>d.showItems.value,()=>{var t,r,C,f,h;if(((t=d.showItems.value)==null?void 0:t.length)===2&&((r=d.showItems.value)!=null&&r.find(_=>(_==null?void 0:_.name)==="输入"))&&((C=d.showItems.value)!=null&&C.find(_=>(_==null?void 0:_.name)==="输出"))){const _=(f=d.showItems.value)==null?void 0:f.find(n=>(n==null?void 0:n.name)==="输出");l.value=((h=_==null?void 0:_.comp)==null?void 0:h.toUpperCase())==="FORM",A.value=!0}else A.value=!1,l.value=!1},{deep:!0,immediate:!0}),e.watch(()=>M.value,async()=>{M.value&&(L.value=await I(M.value))},{deep:!0,immediate:!0}),e.watch(()=>[U.value,s.value],()=>{var t;((t=U.value)==null?void 0:t.length)>0&&s.value&&s.value.addModelsFromUrls(U.value)},{immediate:!0,deep:!0}),e.watch(()=>m==null?void 0:m.value,async()=>{var t,r,C,f;if(m!=null&&m.value&&((t=m==null?void 0:m.value)==null?void 0:t.length)>0&&!B.value&&!((r=d.showItems.value)!=null&&r.find(h=>(h==null?void 0:h.name)==="输入")&&((C=d.showItems.value)!=null&&C.find(h=>(h==null?void 0:h.name)==="输出")))){let h=[];const _=await((f=i.cloneDeep(m==null?void 0:m.value))==null?void 0:f.map(async n=>{var Z,de,b,u,J,ee,me,Ce,_e,ge;let R,q,c;n!=null&&n.blob.includes("undefined")?c=(de=(Z=n==null?void 0:n.blob)==null?void 0:Z.split("undefined,"))==null?void 0:de[1]:c=n==null?void 0:n.blob;let z=c==null?void 0:c.split(",");if((z==null?void 0:z.length)>1){let le=await(z==null?void 0:z.map(async F=>{var te,ve,we,ye,ke,Be;R=await i.axios.get(F,{responseType:"blob",headers:{"Content-Type":"application/json"}});let re=[];if(((te=n==null?void 0:n.mtlBlobs)==null?void 0:te.length)>0){let De=await((ve=n==null?void 0:n.mtlBlobs)==null?void 0:ve.map(async Ee=>{let Ve=await i.axios.get(Ee,{responseType:"blob",headers:{"Content-Type":"application/json"}});return re.push(new Blob([Ve.data],{type:"application/octet-stream;charset=UTF-8"})),Ve}));await Promise.all(De)}return((ye=F==null?void 0:F.split("."))==null?void 0:ye[((we=F==null?void 0:F.split("."))==null?void 0:we.length)-1])!=="undefined"&&h.push({suffix:"."+((Be=F==null?void 0:F.split("."))==null?void 0:Be[((ke=F==null?void 0:F.split("."))==null?void 0:ke.length)-1]),blob:new Blob([R.data],{type:"application/octet-stream;charset=UTF-8"}),mtlBlobs:re}),R}));await Promise.all(le)}else if(!(c!=null&&c.includes("https://"))&&!(c!=null&&c.includes("http://"))){R=await G.downloadAvatarApi({url:c});let le=[];if(((b=n==null?void 0:n.mtlBlobs)==null?void 0:b.length)>0){let F=await((u=n==null?void 0:n.mtlBlobs)==null?void 0:u.map(async re=>{let te=await G.downloadAvatarApi({url:re});return le.push(new Blob([te.data],{type:"application/octet-stream;charset=UTF-8"})),te}));await Promise.all(F)}q={suffix:"."+((ee=c==null?void 0:c.split("."))==null?void 0:ee[((J=c==null?void 0:c.split("."))==null?void 0:J.length)-1]),blob:new Blob([R.data],{type:"application/octet-stream;charset=UTF-8"}),mtlBlobs:le}}else{R=await i.axios.get(c,{responseType:"blob",headers:{"Content-Type":"application/json"}});let le=[];if(((me=n==null?void 0:n.mtlBlobs)==null?void 0:me.length)>0){let F=await((Ce=n==null?void 0:n.mtlBlobs)==null?void 0:Ce.map(async re=>{let te=await i.axios.get(re,{responseType:"blob",headers:{"Content-Type":"application/json"}});return le.push(new Blob([te.data],{type:"application/octet-stream;charset=UTF-8"})),te}));await Promise.all(F)}q={suffix:"."+((ge=c==null?void 0:c.split("."))==null?void 0:ge[((_e=c==null?void 0:c.split("."))==null?void 0:_e.length)-1]),blob:new Blob([R.data],{type:"application/octet-stream;charset=UTF-8"}),mtlBlobs:le}}q&&h.push(q)}));await Promise.all(_),(h==null?void 0:h.length)!==0&&(g.value=!0,s.value.loadModelByDefaultPath(h))}},{immediate:!0,deep:!0}),e.watch(()=>N.value,async()=>{var r,C,f,h;if(N.value!==""&&N.value){let _=(r=M.value)==null?void 0:r.split("/"),n=_[(_==null?void 0:_.length)-2];const q=(((C=he==null?void 0:he.find(Z=>(Z==null?void 0:Z.key)===n))==null?void 0:C.download)??"")+"/"+N.value,c=sessionStorage.getItem("magicToken")===""?"123456":sessionStorage.getItem("magicToken"),z=await i.axios.post(q,null,{responseType:"blob",headers:{Authorization:c,baseURL:"http://139.196.154.85:20025","Content-Type":"application/json"}});var t=new Blob([z.data],{type:"application/octet-stream;charset=UTF-8"});""+((h=(f=N.value)==null?void 0:f.split("."))==null?void 0:h[1])}},{deep:!0,immediate:!0});const ne=e.ref("");e.ref("open"),e.ref("open"),e.ref(!1),e.computed(()=>d.showItems.value);const ue=e.computed(()=>Y.value.isRouter),ae=e.ref(!1),ce=()=>{ae.value=!0,setTimeout(()=>{s.value.loadModelByDefaultPath([{suffix:".urdf"}])},1e3)};return(t,r)=>{const C=e.resolveComponent("el-dialog"),f=e.resolveComponent("el-button"),h=e.resolveComponent("el-avatar"),_=e.resolveComponent("el-header"),n=e.resolveComponent("el-container"),R=e.resolveComponent("el-icon"),q=e.resolveComponent("el-input"),c=e.resolveComponent("el-aside"),z=e.resolveComponent("router-view"),Z=e.resolveComponent("el-main"),de=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(C,{modelValue:ae.value,"onUpdate:modelValue":r[0]||(r[0]=b=>ae.value=b),style:{height:"700px",width:"1800px"}},{default:e.withCtx(()=>[e.createVNode(Ne.default,{ref_key:"threeModelRef",ref:s},null,512)]),_:1},8,["modelValue"]),e.withDirectives(e.createVNode(n,{class:"client-container"},{default:e.withCtx(()=>[e.createVNode(_,{class:"client-structure-header"},{default:e.withCtx(()=>{var b;return[e.createElementVNode("div",et,[e.createVNode(f,{id:"transparentBgButton",onClick:e.unref(d.onBack)},{default:e.withCtx(()=>r[4]||(r[4]=[e.createTextVNode(" 返回页面 ")])),_:1,__:[4]},8,["onClick"]),e.createVNode(f,{id:"transparentBgButton",onClick:r[1]||(r[1]=u=>{var J,ee;return e.unref(d.clickSavePage)((ee=(J=e.unref(V))==null?void 0:J.map(me=>me.value))==null?void 0:ee.join("/"))})},{icon:e.withCtx(()=>[e.createVNode(ie.SvgIcon,{name:"Store"})]),default:e.withCtx(()=>[r[5]||(r[5]=e.createTextVNode(" 保存页面 "))]),_:1,__:[5]})]),e.createElementVNode("div",tt,[e.createVNode(be,{breadArray:e.unref(V),onClick:e.unref(d.onClick)},null,8,["breadArray","onClick"])]),e.createElementVNode("div",ot,[e.renderSlot(t.$slots,"default",{},void 0,!0),e.createVNode(h,{size:35,src:(b=e.unref(K))==null?void 0:b.avatarUrl},{default:e.withCtx(()=>{var u;return[e.createTextVNode(e.toDisplayString(((u=e.unref(K))==null?void 0:u.account)??"未知"),1)]}),_:1},8,["src"])])]}),_:3}),e.unref(S)==="edit"?(e.openBlock(),e.createBlock(n,{key:0,class:"model-operate",style:{"margin-top":"10px",height:"0px"}},{default:e.withCtx(()=>[e.createElementVNode("div",nt,[e.createVNode(W.modelSelect)]),e.createElementVNode("div",at,[e.createVNode(W.modelShow)]),e.createElementVNode("div",lt,[e.createVNode(W.modelFill)])]),_:1})):e.createCommentVNode("",!0)]),_:3},512),[[e.vShow,e.unref(S)==="edit"]]),e.withDirectives((e.openBlock(),e.createBlock(n,{class:"client-container","element-loading-text":"正在加载页面数据..."},{default:e.withCtx(()=>[e.createVNode(_,{class:"client-header"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"client-header-logo",onClick:ce},e.toDisplayString(e.unref(D)===""?"CPMPIP":e.unref(D)),1),e.createElementVNode("div",rt,[e.createVNode(Re,{mode:"horizontal"})]),e.createElementVNode("div",it,[e.createVNode(q,{modelValue:ne.value,"onUpdate:modelValue":r[2]||(r[2]=b=>ne.value=b),clearable:"",placeholder:"搜索",style:{width:"130px"}},{prefix:e.withCtx(()=>[e.createVNode(R,{class:"el-input__icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(i.search_default))]),_:1})]),_:1},8,["modelValue"]),w.showButton?(e.openBlock(),e.createBlock(f,{key:0,id:"transparentBgButton",onClick:e.unref(d.clickGenerateApp)},{icon:e.withCtx(()=>[e.createVNode(ie.SvgIcon,{name:"App"})]),default:e.withCtx(()=>[r[6]||(r[6]=e.createTextVNode(" 生成APP "))]),_:1,__:[6]},8,["onClick"])):e.createCommentVNode("",!0),w.showButton&&e.unref(S)==="view"?(e.openBlock(),e.createBlock(f,{key:1,id:"transparentBgButton",onClick:e.unref(d.onSelectFixContent)},{icon:e.withCtx(()=>[e.createVNode(ie.SvgIcon,{name:"write"})]),default:e.withCtx(()=>[r[7]||(r[7]=e.createTextVNode(" 修改布局 "))]),_:1,__:[7]},8,["onClick"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},void 0,!0),e.createVNode(G._sfc_main,null,{dropTitle:e.withCtx(()=>{var b;return[e.createVNode(Fe._sfc_main,{size:"35",avatarUrl:(b=e.unref(K))==null?void 0:b.avatarUrl,showCropper:!1,banClick:!0},{avatarDefault:e.withCtx(()=>{var u;return[e.createTextVNode(e.toDisplayString(((u=e.unref(K))==null?void 0:u.account)??"未知"),1)]}),_:1},8,["avatarUrl"])]}),dropMenu:e.withCtx(()=>[e.createElementVNode("div",st,[e.createVNode(G._sfc_main$1,{emptyColor:!0,class:"menu-button",onClickTrigger:P,modelValue:"清空数据",buttonType:""}),e.createVNode(G._sfc_main$1,{emptyColor:!0,class:"menu-button",onClickTrigger:a,modelValue:"退出登录",buttonType:""})])]),_:1})])]),_:3}),e.createVNode(n,{class:"client-body"},{default:e.withCtx(()=>[e.createVNode(Z,{class:"client-main"},{default:e.withCtx(()=>{var b;return[e.createVNode(c,{class:"client-aside"},{default:e.withCtx(()=>[e.createVNode(Se.default,{mode:"vertical"})]),_:1}),e.createElementVNode("div",ct,[ue.value?(e.openBlock(),e.createBlock(z,{key:0})):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList((b=e.unref(i.cloneDeep)(e.unref(d.showItems)))==null?void 0:b.filter(u=>u.comp!=="FormTop"),(u,J)=>{var ee;return e.openBlock(),e.createElementBlock("div",{class:"item-view-content",key:J},[((ee=u==null?void 0:u.comp)==null?void 0:ee.toUpperCase())!=="TABLE"&&u.name?(e.openBlock(),e.createElementBlock("div",ut,e.toDisplayString(u.name),1)):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(d.getComponents)(u.comp)),{compName:u.name,itemData:u==null?void 0:u.compData,childItemData:u==null?void 0:u.itemChildData,key:(u==null?void 0:u.id)??J,onChange:e.unref(d.onChange),index:(u==null?void 0:u.id)??J,onContentChange:e.unref(d.onContentChange),onPageChange:e.unref(d.onPageChange),onRowClick:v},null,40,["compName","itemData","childItemData","onChange","index","onContentChange","onPageChange"]))])}),128))])]}),_:1})]),_:1})]),_:3})),[[e.vShow,e.unref(S)==="view"],[de,e.unref(Q)]]),e.createElementVNode("div",null,[e.createVNode(G.ssDialog,{visible:g.value,onBeforeDestroy:r[3]||(r[3]=b=>g.value=!1),style:{height:"700px",width:"1000px"}},{default:e.withCtx(()=>[e.createVNode(Ne.default,{ref_key:"threeModelRef",ref:s},null,512)]),_:1},8,["visible"])])],64)}}}),mt=se._export_sfc(dt,[["__scopeId","data-v-e0878328"]]),pt={class:"system-wrap"},ht={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},platform:{type:String,default:"browser"},showButton:{type:Boolean,default:!0},content:String,jsonContents:Array},emits:["buildContent","showChild"],setup(w,{emit:O}){const o=pe.useModelComp(i.pinia),g=oe.useUnit(i.pinia),V=i.useMenuState();e.ref(!1);const A=e.ref(!0),l=w,$=O,B=y=>{$("showChild",y)},N=e.computed(()=>{switch(l==null?void 0:l.platform){case"browser":return xe.browserThemeConfig;case"client":return xe.clientThemeConfig}}),H=y=>{const S=document.documentElement;y==null||y.forEach(E=>{S.style.setProperty(E.name,E.value)})};e.watch(()=>l.platform,(y,S)=>{y&&H(N.value)},{immediate:!0});const K=()=>{$("buildContent")};return e.watch(()=>[l==null?void 0:l.content,l==null?void 0:l.jsonContents],async()=>{var E,j,U,m;if(((E=l==null?void 0:l.jsonContents)==null?void 0:E.length)>0){o.setOriginalData(l==null?void 0:l.jsonContents);return}if(!(l!=null&&l.content)||((j=l==null?void 0:l.content)==null?void 0:j.length)===0)return;A.value=!0,V.setImportLoading(!0);let y=[],S=[];g.setSelectTitle([]),g.setSelectIndex(""),g.setSelectMenu(""),(m=(U=l==null?void 0:l.content)==null?void 0:U.filter(s=>s!==""))==null||m.forEach(s=>{S.push(d.expandToNewContents(s))}),y=S==null?void 0:S[0],await d.savePageDataAsync(y),await oe.loadingSystemType(),o.setOriginalData(y),V.setImportLoading(!1)},{deep:!0,immediate:!0}),(y,S)=>(e.openBlock(),e.createElementBlock("div",pt,[w.platform==="browser"?(e.openBlock(),e.createBlock(Ze,{key:0,showButton:w.showButton},{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default",{},void 0,!0)]),_:3},8,["showButton"])):(e.openBlock(),e.createBlock(mt,{key:1,windowConfig:w.windowConfig,showButton:w.showButton,onBuildContent:K,onShowChild:B},{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default",{},void 0,!0)]),_:3},8,["windowConfig","showButton"]))]))}},ft=se._export_sfc(ht,[["__scopeId","data-v-5e89b0de"]]),Ct={class:"add-model-content"},_t={key:0,class:"model-operate"},gt={class:"model-select"},vt={class:"model-fill"},wt={key:1,class:"model-view"},yt={__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},pathContent:{type:String,default:""},pageKey:{type:String,default:""}},emits:["change","contentChange","buildContent","openThreeBuild","threeData"],setup(w,{emit:O}){const o=w,g=O,V=e.ref([]),A=e.ref(0),l=e.ref([]),$=e.ref([]),B=e.ref(0),N=pe.useModelComp(i.pinia),H=i.useMenuState(i.pinia),{itemData:K,originalData:y}=i.storeToRefs(N),{activeMenuPath:S,platform:E}=i.storeToRefs(H),j=e.ref(null),U=e.ref(0),m=e.ref([]);e.ref("");const s=e.ref(0),L=()=>{g("buildContent")};e.watch(()=>o==null?void 0:o.pageKey,async()=>{let p={};if((o==null?void 0:o.pageKey)!==""){const T=await oe.getItemData(o==null?void 0:o.pageKey,sessionStorage.getItem("systemKey"),"",o==null?void 0:o.pageKey);T==null||T.forEach(k=>{var x,v,a,P,I,ne;if((k==null?void 0:k.comp)==="Table"){let ue=[],ae=(a=(v=(x=k==null?void 0:k.compData)==null?void 0:x.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:v.contents)==null?void 0:a.map(t=>t==null?void 0:t.label),ce=(ne=(I=(P=k==null?void 0:k.compData)==null?void 0:P.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:I.contents)==null?void 0:ne.map(t=>(t=t==null?void 0:t.filter(r=>!(r!=null&&r.id)),t));ce==null||ce.forEach(t=>{ue.push(oe.getValueToObjectValue(t,ae==null?void 0:ae.filter(r=>r!=="操作")))}),p[k.name]=ue}}),g("threeData",p)}},{deep:!0,immediate:!0});const Q=p=>{g("openThreeBuild",p)};e.watch(()=>o==null?void 0:o.pathContent,()=>{(o==null?void 0:o.pathContent)!==""&&N.setSystemPath(o==null?void 0:o.pathContent)},{deep:!0,immediate:!0});const M=p=>{g("contentChange",p)},X=p=>{var k;const T=(k=i.cloneDeep(p==null?void 0:p.wholeValue))==null?void 0:k.map(x=>{var v;return(x==null?void 0:x.comp)==="Form"&&(x.compData=(v=x.compData)==null?void 0:v.map(a=>((a==null?void 0:a.key)==="formContent"&&(a.contents=$e.arrayToNumberArray(a==null?void 0:a.contents)),a))),x});g("change",{originalContents:y.value,currentContents:p==null?void 0:p.wholeValue,editContent:p==null?void 0:p.editValue,arrayToContents:T})};e.watch(()=>l.value,()=>{s.value===l.value.length&&l.value.length!==0&&(V.value=l.value)},{deep:!0,immediate:!0});const D=()=>{j.value!==null&&j.value.click()},Y=async p=>{const T=p.target.files;if(!T)return;new FileReader,V.value=[],l.value=[],s.value=T.length;const k=Array.from(T).map(async x=>await new Promise(v=>{const a=new FileReader;a.onload=P=>{try{l.value.push(P.target.result),U.value++}catch(I){console.error("解析失败:",I);return}},a.onerror=()=>v(`读取 ${x.name} 失败`),a.readAsText(x),p.target.value="",j.value=null,A.value++}));await Promise.all(k)};return e.watch(()=>[o==null?void 0:o.content,o==null?void 0:o.jsonContents],async()=>{await oe.loadingSystemType(),V.value=o.content,$.value=o==null?void 0:o.jsonContents},{deep:!0,immediate:!0}),e.watch(()=>U.value,()=>{var p;((p=m.value)==null?void 0:p.length)!==0&&(N.setOriginalData(m.value),N.setItemData(m.value))},{deep:!0,immediate:!0}),(p,T)=>{const k=e.resolveComponent("svg-icon"),x=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",Ct,[(o==null?void 0:o.mode)==="edit"?(e.openBlock(),e.createElementBlock("div",_t,[e.createElementVNode("div",gt,[e.createVNode(W.modelSelect)]),(e.openBlock(),e.createElementBlock("div",{class:"model-show",key:B.value},[e.createVNode(W.modelShow)])),e.createElementVNode("div",vt,[e.createVNode(W.modelFill)])])):e.createCommentVNode("",!0),(o==null?void 0:o.mode)==="view"?(e.openBlock(),e.createElementBlock("div",wt,[(e.openBlock(),e.createBlock(ft,{showButton:w.showButton,platform:e.unref(E),content:V.value,onChange:X,jsonContents:$.value,onContentChange:M,onBuildContent:L,key:B.value,onShowChild:Q},{default:e.withCtx(()=>{var v;return[((v=o==null?void 0:o.jsonContents)==null?void 0:v.length)===0&&(o!=null&&o.showButton)?(e.openBlock(),e.createBlock(x,{key:0,id:"transparentBgButton",onClick:D},{icon:e.withCtx(()=>[e.createVNode(k,{name:"import"})]),default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("input",{type:"file",key:A.value,ref_key:"fileInput",ref:j,accept:".txt, .inm, .iml, .imd",onChange:Y,style:{display:"none"},multiple:""},null,32)),T[0]||(T[0]=e.createTextVNode(" 导入模型 "))]),_:1,__:[0]})):e.createCommentVNode("",!0)]}),_:1},8,["showButton","platform","content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},kt=se._export_sfc(yt,[["__scopeId","data-v-82f8c0ec"]]);exports.default=kt;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as oa, a as Gl, I as al, g as gl, q as ua, r as ra, v as ca, w as ta, x as zl, y as da, z as pa, A as fa, B as va } from "./index-
|
|
1
|
+
import { p as oa, a as Gl, I as al, g as gl, q as ua, r as ra, v as ca, w as ta, x as zl, y as da, z as pa, A as fa, B as va } from "./index-CBy0Wmr-.js";
|
|
2
2
|
import { ref as W, watch as Ne, createElementBlock as ue, openBlock as M, createVNode as U, resolveComponent as Ee, Fragment as Be, renderList as Fe, createElementVNode as x, createCommentVNode as Je, toDisplayString as me, withCtx as ee, createBlock as Le, createTextVNode as xe, defineComponent as il, reactive as El, resolveDynamicComponent as ml, unref as ql, computed as Bl, renderSlot as kl, createSlots as ha, mergeProps as ma, normalizeStyle as ya, withModifiers as hl } from "vue";
|
|
3
3
|
import { bR as Hl, p as qe, c as i, s as ll, E as Ge, u as ba, g as wl, d as Dl, bO as ga } from "./menu-DV47UKJo.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as We, s as ze, f as Ql, a as ka, h as _a, i as Ca, b as wa } from "./index-ffDSB4Kw.js";
|
|
5
5
|
import { F as Ml, a as Da, b as Pe, m as ol, s as He, f as sl, e as xl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js";
|
|
6
6
|
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { E as el } from "./index-8i6baSTn.js";
|
|
8
8
|
import { u as Xl } from "./modelComp-B4I2gbtf.js";
|
|
9
|
-
import { s as xa, a as Ia } from "./index-
|
|
9
|
+
import { s as xa, a as Ia } from "./index-B8H4YhbP.js";
|
|
10
10
|
import Aa from "./index-CZtXRS3l.js";
|
|
11
11
|
const $a = (p) => p.match(/\((.*)\)/)[1], Ea = Hl("formComp", {
|
|
12
12
|
state: () => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-
|
|
1
|
+
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_d888ede3_lang-GwS-75w8.js";
|
|
2
2
|
import { resolveComponent as r, createElementBlock as s, openBlock as l, Fragment as u, createVNode as o, withCtx as i, createElementVNode as a, createCommentVNode as D, toDisplayString as _, renderList as c, createTextVNode as C, createBlock as y, resolveDynamicComponent as m } from "vue";
|
|
3
3
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const B = ["title"], w = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-fCkjyUfU.cjs"),_=require("./index-RHKeqrca.cjs"),u=require("./index-CxnxDX6H.cjs"),i=require("./menu-B-wiVQl5.cjs"),h=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={class:"menu-module"},f={class:"table-wrap","element-loading-text":"加载中..."},k={class:"module-dialog-default"},v=e.defineComponent({__name:"index",setup(w){const t=e.reactive({...p.State}),a=e.ref(null),c=i.useMenuState(i.pinia),{configMenu:n}=i.storeToRefs(c);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,l;(l=a.value)==null||l.setCurrentKey((o=n.value)==null?void 0:o.path),c.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const l=e.resolveComponent("el-tree"),s=e.resolveComponent("el-splitter-panel"),g=e.resolveComponent("el-splitter"),d=e.resolveComponent("el-button"),m=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",C,[e.createVNode(g,null,{default:e.withCtx(()=>[e.createVNode(s,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(l,{ref_key:"treeRef",ref:a,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(s,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",f,[e.createVNode(_.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[m,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(u.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",k,[e.createVNode(u.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(d,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(d,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),x=h._export_sfc(v,[["__scopeId","data-v-74868a06"]]);exports.default=x;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CK9PyDrN.cjs");const n=require("./menu-B-wiVQl5.cjs"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CK9PyDrN.cjs");const n=require("./menu-B-wiVQl5.cjs"),o=require("./index-RHKeqrca.cjs"),c=require("./index-CZAaXjhl.cjs"),u=require("./index-RqtMCA_6.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await u.getActivePageStructureId(r.value)}),(l,m)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ref as K, watch as Fe, nextTick as nl, resolveComponent as la, createBlock as Ge, openBlock as ue, withCtx as ee, createElementVNode as fe, renderSlot as Oa, onMounted as ra, createElementBlock as Te, normalizeClass as ol, toDisplayString as Ee, createCommentVNode as ea, Fragment as Ga, renderList as Va, normalizeStyle as qa, createVNode as ne, unref as sl, defineComponent as ul, createSlots as fl, createTextVNode as Je } from "vue";
|
|
2
2
|
import { c1 as tl, bW as Sa, m as cl, c2 as Ea, c3 as Pa, c4 as Fa, F as Ia, S as Ze, G as dl, r as Na, n as Ra, c5 as yl, c as m, bR as ia, g as ce, bM as Ve, f as pl, bL as Wa, s as Ke, u as Qa, p as je, bP as gl, bO as Ba } from "./menu-DV47UKJo.js";
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import { a as Ie, h as ja, i as
|
|
3
|
+
import { e as qe, j as hl, s as Ka, k as bl, d as vl } from "./index-ffDSB4Kw.js";
|
|
4
|
+
import { u as ml } from "./modelComp-B4I2gbtf.js";
|
|
5
|
+
import { a as Ie, h as ja, i as Al, j as Tl, k as kl, l as _l } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js";
|
|
6
6
|
import { _ as na } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import "./threeModel.
|
|
8
|
-
import { d as _l } from "./index-nuI9V5ye.js";
|
|
7
|
+
import "./threeModel.vue_vue_type_style_index_0_scoped_4bd4d061_lang-C4kzFz9R.js";
|
|
9
8
|
var wl = "__lodash_hash_undefined__";
|
|
10
9
|
function Dl(a) {
|
|
11
10
|
return this.__data__.set(a, wl), this;
|
|
@@ -470,7 +469,7 @@ const ar = {
|
|
|
470
469
|
}
|
|
471
470
|
return f;
|
|
472
471
|
}
|
|
473
|
-
}),
|
|
472
|
+
}), qr = (a) => {
|
|
474
473
|
try {
|
|
475
474
|
return JSON.parse(a), !0;
|
|
476
475
|
} catch {
|
|
@@ -502,16 +501,16 @@ const ar = {
|
|
|
502
501
|
return y[r[c]] = t, y;
|
|
503
502
|
})) == null ? void 0 : o.filter((t) => t), n;
|
|
504
503
|
}), e;
|
|
505
|
-
},
|
|
504
|
+
}, Wr = (a, r) => {
|
|
506
505
|
var o, t;
|
|
507
506
|
const i = m(a), e = (o = i == null ? void 0 : i.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : o.contents, l = (t = i == null ? void 0 : i.find((c) => (c == null ? void 0 : c.key) === "tableContents")) == null ? void 0 : t.contents;
|
|
508
507
|
return Tr(l, Ne(e).slice(0, Ne(e).length - 1), r);
|
|
509
|
-
},
|
|
508
|
+
}, Qr = (a) => {
|
|
510
509
|
let r = {};
|
|
511
510
|
return a == null || a.forEach((i) => {
|
|
512
511
|
r[i.key] = i.value;
|
|
513
512
|
}), r;
|
|
514
|
-
},
|
|
513
|
+
}, Xr = (a) => {
|
|
515
514
|
var i;
|
|
516
515
|
let r = [];
|
|
517
516
|
return (i = m(a)) == null || i.forEach((e) => {
|
|
@@ -520,7 +519,7 @@ const ar = {
|
|
|
520
519
|
l[Object.keys(n)[0]] = Object.values(n)[0];
|
|
521
520
|
}), r.push(l);
|
|
522
521
|
}), r;
|
|
523
|
-
},
|
|
522
|
+
}, Yr = (a, r) => {
|
|
524
523
|
if (r != null && r[a])
|
|
525
524
|
return r == null ? void 0 : r[a];
|
|
526
525
|
}, kr = async (a, r) => {
|
|
@@ -567,21 +566,21 @@ const ar = {
|
|
|
567
566
|
e = l.includes(c.key);
|
|
568
567
|
}));
|
|
569
568
|
}), e;
|
|
570
|
-
},
|
|
569
|
+
}, Zr = (a, r) => {
|
|
571
570
|
var l;
|
|
572
571
|
let i = m(a);
|
|
573
572
|
return _r(m(i), r) && (i.compData = (l = i.compData) == null ? void 0 : l.map((n) => {
|
|
574
573
|
var o;
|
|
575
574
|
return (n == null ? void 0 : n.key) === "formContent" && (n.contents = (o = n == null ? void 0 : n.contents) == null ? void 0 : o.map((t) => (Object.keys(r).includes(t.key) && (t.value = r[t.key]), t))), n;
|
|
576
575
|
})), i;
|
|
577
|
-
},
|
|
576
|
+
}, zr = (a) => {
|
|
578
577
|
let r = m(a);
|
|
579
578
|
return r == null || r.forEach((i) => {
|
|
580
579
|
let e = {};
|
|
581
580
|
for (let l in i)
|
|
582
581
|
e[l.toUpperCase()] = i[l];
|
|
583
582
|
}), r;
|
|
584
|
-
},
|
|
583
|
+
}, ei = async (a) => {
|
|
585
584
|
var o, t, c, y, f;
|
|
586
585
|
let r = (t = (o = a == null ? void 0 : a[0]) == null ? void 0 : o.find((d) => d == null ? void 0 : d.id)) == null ? void 0 : t.id;
|
|
587
586
|
const i = await ce({
|
|
@@ -604,14 +603,14 @@ const ar = {
|
|
|
604
603
|
pageData: r
|
|
605
604
|
}
|
|
606
605
|
});
|
|
607
|
-
},
|
|
606
|
+
}, ai = async (a) => {
|
|
608
607
|
let r = a == null ? void 0 : a.map(async (i) => {
|
|
609
608
|
var l, n, o;
|
|
610
609
|
let e;
|
|
611
610
|
return (i == null ? void 0 : i.comp) === "Form" ? e = await wr(i) : (i == null ? void 0 : i.comp) === "Table" && (e = await kr((l = i == null ? void 0 : i.compData) == null ? void 0 : l.find((t) => (t == null ? void 0 : t.key) === "tableContents"), (o = (n = i == null ? void 0 : i.compData) == null ? void 0 : n.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : o.contents)), e;
|
|
612
611
|
});
|
|
613
612
|
await Promise.all(r);
|
|
614
|
-
},
|
|
613
|
+
}, li = (a) => {
|
|
615
614
|
var l, n, o, t;
|
|
616
615
|
const r = a;
|
|
617
616
|
let i = [];
|
|
@@ -628,7 +627,7 @@ const ar = {
|
|
|
628
627
|
});
|
|
629
628
|
}
|
|
630
629
|
}), r.compData = i, r;
|
|
631
|
-
},
|
|
630
|
+
}, ri = (a) => {
|
|
632
631
|
var n, o, t, c, y;
|
|
633
632
|
const r = (n = a.compData) == null ? void 0 : n.filter((f) => (f == null ? void 0 : f.key) === "tableContents" || (f == null ? void 0 : f.key) === "tableIndex"), i = (t = (o = r == null ? void 0 : r.find((f) => (f == null ? void 0 : f.key) === "tableIndex")) == null ? void 0 : o.contents) == null ? void 0 : t.map((f) => f.label), e = (c = r == null ? void 0 : r.find((f) => (f == null ? void 0 : f.key) === "tableContents")) == null ? void 0 : c.contents;
|
|
634
633
|
let l = [];
|
|
@@ -692,7 +691,7 @@ const ar = {
|
|
|
692
691
|
});
|
|
693
692
|
}
|
|
694
693
|
return i(a, r);
|
|
695
|
-
},
|
|
694
|
+
}, ii = (a) => {
|
|
696
695
|
var i, e, l, n, o, t, c, y, f, d, p, A, C, P, M, j, $, Q, D, B, q, R, X, x, L;
|
|
697
696
|
const r = a;
|
|
698
697
|
if ((a == null ? void 0 : a.comp) === "Table") {
|
|
@@ -734,7 +733,7 @@ const ar = {
|
|
|
734
733
|
}) : [a].forEach((e, l) => {
|
|
735
734
|
i[r[l]] = e;
|
|
736
735
|
}), i;
|
|
737
|
-
},
|
|
736
|
+
}, ni = async (a) => {
|
|
738
737
|
const r = m(a);
|
|
739
738
|
let i = [], e = [];
|
|
740
739
|
r == null || r.forEach((l) => {
|
|
@@ -881,11 +880,11 @@ const ar = {
|
|
|
881
880
|
name: "",
|
|
882
881
|
compData: (Q = ($ = o.data.result) == null ? void 0 : $.map((D) => D.value.pageData)) == null ? void 0 : Q.filter((D) => Object.values(D).length > 0)
|
|
883
882
|
}), d = d.sort((D, B) => D.id - B.id), d;
|
|
884
|
-
},
|
|
883
|
+
}, oi = async (a) => {
|
|
885
884
|
await gl({
|
|
886
885
|
id: a
|
|
887
886
|
});
|
|
888
|
-
},
|
|
887
|
+
}, si = async (a, r, i, e, l, n, o) => {
|
|
889
888
|
var c, y, f, d, p, A, C, P, M, j, $, Q, D;
|
|
890
889
|
const t = ((y = (c = o == null ? void 0 : o.content) == null ? void 0 : c[0]) == null ? void 0 : y.id) ?? "";
|
|
891
890
|
if (t !== "" && ((f = o == null ? void 0 : o.content) == null ? void 0 : f.length) > 1) {
|
|
@@ -916,7 +915,7 @@ const ar = {
|
|
|
916
915
|
tableData: Xe(l, (D = Ne(n)) == null ? void 0 : D.filter((B) => B !== "操作"))
|
|
917
916
|
}
|
|
918
917
|
});
|
|
919
|
-
},
|
|
918
|
+
}, ui = async (a, r, i, e, l, n, o) => {
|
|
920
919
|
var f, d, p, A, C, P, M, j, $, Q;
|
|
921
920
|
const t = await ce({
|
|
922
921
|
id: e
|
|
@@ -945,7 +944,7 @@ const ar = {
|
|
|
945
944
|
},
|
|
946
945
|
id: e
|
|
947
946
|
});
|
|
948
|
-
},
|
|
947
|
+
}, fi = async (a, r) => {
|
|
949
948
|
await Ve({
|
|
950
949
|
value: {
|
|
951
950
|
pageData: r
|
|
@@ -955,7 +954,7 @@ const ar = {
|
|
|
955
954
|
}, Ir = async (a, r) => await ce({
|
|
956
955
|
key: a,
|
|
957
956
|
valueLikes: r
|
|
958
|
-
}),
|
|
957
|
+
}), ti = async () => {
|
|
959
958
|
var a, r, i, e, l, n, o, t, c;
|
|
960
959
|
try {
|
|
961
960
|
const y = await ce({
|
|
@@ -1014,7 +1013,7 @@ const ar = {
|
|
|
1014
1013
|
},
|
|
1015
1014
|
emits: ["change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick"],
|
|
1016
1015
|
setup(a, { emit: r }) {
|
|
1017
|
-
const i = a, e = r, l = K([]), n = K(!1), o = K(), t = Qa(), { activeMenuPath: c } = Ke(t), y = Nr(je), f =
|
|
1016
|
+
const i = a, e = r, l = K([]), n = K(!1), o = K(), t = Qa(), { activeMenuPath: c } = Ke(t), y = Nr(je), f = ml(je), { extraContents: d } = Ke(f), p = K([]);
|
|
1018
1017
|
K(!1);
|
|
1019
1018
|
const A = K("");
|
|
1020
1019
|
K();
|
|
@@ -1085,8 +1084,8 @@ const ar = {
|
|
|
1085
1084
|
if ((me == null ? void 0 : me.length) > 0)
|
|
1086
1085
|
f.setRouteToChildPath(we), t.setActiveMenuPath(oe);
|
|
1087
1086
|
else {
|
|
1088
|
-
const de = await
|
|
1089
|
-
de && (oe = c.value + "/" + (de == null ? void 0 : de[(g = b == null ? void 0 : b[0]) == null ? void 0 : g.label]), await
|
|
1087
|
+
const de = await kl(i == null ? void 0 : i.index);
|
|
1088
|
+
de && (oe = c.value + "/" + (de == null ? void 0 : de[(g = b == null ? void 0 : b[0]) == null ? void 0 : g.label]), await _l(oe, c.value + "/" + (u == null ? void 0 : u[J])), f.setRouteToChildPath(we), t.setActiveMenuPath(c.value + "/" + (u == null ? void 0 : u[J])));
|
|
1090
1089
|
}
|
|
1091
1090
|
}
|
|
1092
1091
|
let v = await Ha(c.value, sessionStorage.getItem("systemKey"), u.id);
|
|
@@ -1106,7 +1105,7 @@ const ar = {
|
|
|
1106
1105
|
let g = m(u);
|
|
1107
1106
|
g = await ((T = m(g)) == null ? void 0 : T.map(async (k) => {
|
|
1108
1107
|
var s, U, Y, J;
|
|
1109
|
-
const G = await
|
|
1108
|
+
const G = await vl({
|
|
1110
1109
|
url: k == null ? void 0 : k.url
|
|
1111
1110
|
});
|
|
1112
1111
|
let E = URL.createObjectURL(G.data);
|
|
@@ -1215,7 +1214,7 @@ const ar = {
|
|
|
1215
1214
|
var Y;
|
|
1216
1215
|
let U = (Y = I == null ? void 0 : I.find((J) => (J == null ? void 0 : J.label) === (s == null ? void 0 : s.label))) == null ? void 0 : Y.prop;
|
|
1217
1216
|
return U && (s.value = u[U]), s;
|
|
1218
|
-
})), L.value = q.value && ((E = q.value) == null ? void 0 : E.length) > 0 ?
|
|
1217
|
+
})), L.value = q.value && ((E = q.value) == null ? void 0 : E.length) > 0 ? Tl(q.value) : b;
|
|
1219
1218
|
};
|
|
1220
1219
|
ra(() => {
|
|
1221
1220
|
B.value = window.innerWidth - 240 * 2;
|
|
@@ -1290,7 +1289,7 @@ const ar = {
|
|
|
1290
1289
|
});
|
|
1291
1290
|
}
|
|
1292
1291
|
l.value = _;
|
|
1293
|
-
let se = (ca = (ta =
|
|
1292
|
+
let se = (ca = (ta = Al(m(l.value))) == null ? void 0 : ta.filter((w) => (w == null ? void 0 : w.type) !== "operate")) == null ? void 0 : ca.map((w, h) => ({
|
|
1294
1293
|
prop: (w == null ? void 0 : w.prop) ?? "a" + h,
|
|
1295
1294
|
column: w.label
|
|
1296
1295
|
}));
|
|
@@ -1471,36 +1470,36 @@ const ar = {
|
|
|
1471
1470
|
]);
|
|
1472
1471
|
};
|
|
1473
1472
|
}
|
|
1474
|
-
},
|
|
1473
|
+
}, ci = /* @__PURE__ */ na(Mr, [["__scopeId", "data-v-5390f736"]]);
|
|
1475
1474
|
export {
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1475
|
+
Zr as A,
|
|
1476
|
+
ci as B,
|
|
1477
|
+
qr as I,
|
|
1479
1478
|
We as S,
|
|
1480
1479
|
Nr as a,
|
|
1481
1480
|
Xe as b,
|
|
1482
1481
|
Ya as c,
|
|
1483
1482
|
Sl as d,
|
|
1484
|
-
|
|
1485
|
-
|
|
1483
|
+
li as e,
|
|
1484
|
+
ri as f,
|
|
1486
1485
|
Ha as g,
|
|
1487
1486
|
Ne as h,
|
|
1488
1487
|
er as i,
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1488
|
+
ni as j,
|
|
1489
|
+
fi as k,
|
|
1490
|
+
ti as l,
|
|
1491
|
+
oi as m,
|
|
1492
|
+
si as n,
|
|
1493
|
+
ui as o,
|
|
1495
1494
|
tr as p,
|
|
1496
|
-
|
|
1497
|
-
|
|
1495
|
+
Wr as q,
|
|
1496
|
+
Qr as r,
|
|
1498
1497
|
Il as s,
|
|
1499
|
-
|
|
1498
|
+
ii as t,
|
|
1500
1499
|
hr as u,
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1500
|
+
Xr as v,
|
|
1501
|
+
ai as w,
|
|
1502
|
+
Yr as x,
|
|
1503
|
+
ei as y,
|
|
1504
|
+
zr as z
|
|
1506
1505
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as u, openBlock as m, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { B } from "./index-
|
|
4
|
-
import { s as F,
|
|
2
|
+
import { S as x } from "./index-B9F0k3X6.js";
|
|
3
|
+
import { B } from "./index-CBy0Wmr-.js";
|
|
4
|
+
import { s as F, e as y } from "./index-ffDSB4Kw.js";
|
|
5
5
|
import { u as S, p as I, s as N } from "./menu-DV47UKJo.js";
|
|
6
6
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const E = { class: "menu-module" }, M = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { B as m } from "./index-
|
|
2
|
+
import { B as m } from "./index-CBy0Wmr-.js";
|
|
3
3
|
import { S as l, i as d } from "./index-z1F5TOoY.js";
|
|
4
4
|
import { u as g, s as p } from "./menu-DV47UKJo.js";
|
|
5
5
|
import { u as f } from "./crypto-8Ga3ud_Q.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CK9PyDrN.cjs");const r=require("./menu-B-wiVQl5.cjs"),k=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CK9PyDrN.cjs");const r=require("./menu-B-wiVQl5.cjs"),k=require("./index-RHKeqrca.cjs"),s=require("./index-RqtMCA_6.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"role-wrapper"},V={class:"role-dialog-header"},v=["title"],w={class:"dialog-footer"},b=e.defineComponent({__name:"index",setup(D){const u=r.useMenuState(),{menus:d,activeMenuPath:h}=r.storeToRefs(u),t=e.reactive({...s.State$1}),{treeRef:p}=s.State$1;return e.onMounted(async()=>{await t.getActivePageStructureId(h.value)}),e.watch(()=>d.value,c=>{e.nextTick(()=>{const o=r.cloneDeep(c);t.menuData=t.addButtonsToTree(o,t.structureButtons)})},{immediate:!0,deep:!0}),(c,o)=>{const g=e.resolveComponent("el-checkbox"),_=e.resolveComponent("el-checkbox-group"),m=e.resolveComponent("el-tree"),i=e.resolveComponent("el-button"),C=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(k.ssTable,{itemData:t.pageDataFiltered,changedContent:t.changedRow,onChange:t.handleItemDataChange,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(C,{modelValue:t.authorizeDialog.show,"onUpdate:modelValue":o[0]||(o[0]=l=>t.authorizeDialog.show=l),width:t.authorizeDialog.width,draggable:t.authorizeDialog.draggable,"before-close":t.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",V,e.toDisplayString(t.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",w,[e.createVNode(i,{id:"themeBorderButton",onClick:t.closeAuthorizeDialog},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(i,{id:"themeButton",onClick:t.clickSubmitAuthority},{default:e.withCtx(()=>o[2]||(o[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(m,{class:"role-tree",ref_key:"treeRef",ref:p,data:t.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onCheckChange:t.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:l,data:a})=>[e.createElementVNode("span",{class:"node-text",title:l==null?void 0:l.label},e.toDisplayString(l==null?void 0:l.label),9,v),e.createVNode(_,{modelValue:a.checkedButtons,"onUpdate:modelValue":n=>a.checkedButtons=n,onChange:n=>t.handleNodeBtnChange(n,a),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.renderButtons,n=>(e.openBlock(),e.createBlock(g,{key:n.title,label:n.title,value:n.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),B=x._export_sfc(b,[["__scopeId","data-v-03628549"]]);exports.default=B;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as c, reactive as k, computed as K, defineComponent as Z, onMounted as G, resolveDirective as Q, createElementBlock as E, openBlock as _, createElementVNode as b, withDirectives as X, createVNode as S, unref as D, createBlock as Y } from "vue";
|
|
2
2
|
import { s as U, bS as ee, bT as te, bU as ae, g as P, u as se, p as V, bM as re, E as B } from "./menu-DV47UKJo.js";
|
|
3
3
|
import { u as L, e as ne, d as oe } from "./crypto-8Ga3ud_Q.js";
|
|
4
|
-
import { a as le, s as ie } from "./index-
|
|
5
|
-
import {
|
|
4
|
+
import { a as le, s as ie } from "./index-B8H4YhbP.js";
|
|
5
|
+
import { e as ue, i as de } from "./index-ffDSB4Kw.js";
|
|
6
6
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const $ = L(V), { loginUserInfo: i, cryptoInfo: m } = U($), ge = se(V), { activeMenuPath: h } = U(ge), I = c(0);
|
|
8
8
|
var R, N, M, x;
|