ss-component-new 1.1.860 → 1.1.861
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-cVZOL1Z4.js → animationData-DLWS_dsG.js} +2 -2
- package/dist/{animationData-Cj9VR-A4.cjs → animationData-De64iBOy.cjs} +1 -1
- package/dist/{array-Dw-BB-rq.js → array-Bh8i5GAF.js} +1 -1
- package/dist/{array-sLhANO2X.cjs → array-qx4N1D5z.cjs} +1 -1
- package/dist/{index-D003b5dH.js → index-1TZuQW2u.js} +3 -3
- package/dist/{index-X0DVJmsy.js → index-5w4hFvkO.js} +2 -2
- package/dist/{index-wn7FxXjS.js → index-8l3SXn7A.js} +2 -2
- package/dist/{index-D9e_Xh16.js → index-B9lxmpVN.js} +1 -1
- package/dist/{index-oTMItpAA.cjs → index-BJ3ulc4u.cjs} +1 -1
- package/dist/{index-DiUdFoya.js → index-BS2e1KRp.js} +5 -5
- package/dist/{index-BSG6Babb.cjs → index-B_-9sbeP.cjs} +1 -1
- package/dist/{index-DMit_bEX.js → index-B_rRAu-n.js} +11 -11
- package/dist/{index-Ddge1DDw.cjs → index-BkXPt6iI.cjs} +1 -1
- package/dist/{index-DCcjB6E6.js → index-BkeIblNn.js} +1 -1
- package/dist/{index-DcdcFOFM.js → index-C3MnATC6.js} +2 -2
- package/dist/{index-CpuNJDVm.js → index-C9L_MMH5.js} +2 -2
- package/dist/{index-B-MpIx_G.js → index-C9U26u9Q.js} +5 -5
- package/dist/{index-QDoCpdLD.js → index-CApkyli9.js} +6 -6
- package/dist/{index-qA2lj8RU.js → index-CCgW3KO3.js} +2 -2
- package/dist/{index-SiSetRnB.js → index-CKJ4fUlH.js} +3 -3
- package/dist/{index-C3iPI8sC.cjs → index-CMRW1-ah.cjs} +1 -1
- package/dist/{index-CcttDJcF.cjs → index-Ca9AcGst.cjs} +1 -1
- package/dist/{index-DcuTuAxP.js → index-CaX0q15O.js} +2 -2
- package/dist/{index-B2SLfLVz.js → index-Cb21VYW-.js} +5 -5
- package/dist/{index-vTqelOe4.cjs → index-CjuX6x-U.cjs} +1 -1
- package/dist/{index-BHQeElUa.cjs → index-ClWXNZXC.cjs} +1 -1
- package/dist/{index-8hqcnY25.js → index-CpA1oVez.js} +2 -2
- package/dist/{index-DImhVAd6.js → index-Cr9CcRAX.js} +3 -3
- package/dist/{index-913_PbXS.cjs → index-CrrP1zfn.cjs} +1 -1
- package/dist/{index-DCycalvW.cjs → index-D1poZQeo.cjs} +1 -1
- package/dist/{index-BTUn6Z1A.js → index-D1s2ch3l.js} +18 -18
- package/dist/{index-Dy91iMpM.cjs → index-D47zhMxk.cjs} +1 -1
- package/dist/{index-DOanrJ8m.cjs → index-D5YhRK_Q.cjs} +1 -1
- package/dist/{index-CwHXRkDw.cjs → index-DBDbyTuL.cjs} +1 -1
- package/dist/{index-WaoBq3OO.cjs → index-DGKTZoR7.cjs} +1 -1
- package/dist/{index-BUwU34xd.cjs → index-DJeVU0rI.cjs} +1 -1
- package/dist/{index-BrEwRQUf.cjs → index-DKQQn54E.cjs} +1 -1
- package/dist/{index-BaHCNdSl.cjs → index-DLcdLSRG.cjs} +1 -1
- package/dist/{index-BhNetiTe.cjs → index-DRCYJjJO.cjs} +1 -1
- package/dist/{index-DVBxheTV.cjs → index-DUaqrk7U.cjs} +1 -1
- package/dist/{index-BJxVg7Er.js → index-DWF67iTF.js} +1 -1
- package/dist/{index-Bev6UtQy.cjs → index-DYucSznX.cjs} +1 -1
- package/dist/{index-BcZD5cnv.cjs → index-D_ktPZVF.cjs} +1 -1
- package/dist/{index-C_-6CEIu.cjs → index-DdW6Xobf.cjs} +1 -1
- package/dist/{index-CqvkGfmL.cjs → index-Dga1Byef.cjs} +1 -1
- package/dist/{index-D1fD4N_s.cjs → index-DolptEQ2.cjs} +1 -1
- package/dist/{index-BlboonO8.js → index-Dp9dZcMr.js} +2 -2
- package/dist/{index-b00rjlU8.js → index-DsQNVTEU.js} +3 -3
- package/dist/{index-CKU-47SK.js → index-Duci16gr.js} +9 -9
- package/dist/{index-BTSTPEnd.js → index-DvabwYpU.js} +4 -4
- package/dist/{index-DD62kUxR.js → index-Dy6Quw6R.js} +1 -1
- package/dist/{index-D315D2Jt.js → index-DyyPjSb6.js} +2 -2
- package/dist/{index-PKW9T3Ak.cjs → index-E8veVLCO.cjs} +1 -1
- package/dist/{index-zo5swD6y.js → index-EMeEeDNC.js} +4 -4
- package/dist/{index-CGgBBo6N.js → index-HIs6ns_e.js} +3 -3
- package/dist/{index-DQvJcUnU.cjs → index-KH10XUTJ.cjs} +1 -1
- package/dist/{index-CR_FXWeg.cjs → index-Ww-ir6XP.cjs} +1 -1
- package/dist/{index-DNl72MDv.js → index-Yo2MTaCQ.js} +1 -1
- package/dist/{index-C1DlZQ0V.js → index-ZuaG1yaO.js} +5 -5
- package/dist/{index-CPVnNIAf.js → index-e5IBUfN3.js} +4 -4
- package/dist/{index-Cwn-VXd6.cjs → index-g0K1bPev.cjs} +1 -1
- package/dist/{index-Db2vu6pg.cjs → index-jf0i3s58.cjs} +1 -1
- package/dist/{index-D6J1XbS1.js → index-nuizzmWC.js} +7 -7
- package/dist/{index-C9FmdbMw.cjs → index-r8OTURPy.cjs} +1 -1
- package/dist/{index-5299FP0-.cjs → index-u7G2-_nF.cjs} +1 -1
- package/dist/{index-Co8KWdl0.cjs → index-zMcjspHd.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CtthxgWX.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjRuuqmE.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BrygRfsD.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_54875f48_lang-IYO9v_s4.cjs → index.vue_vue_type_style_index_0_scoped_54875f48_lang-BQvTJNOx.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_54875f48_lang-Dl0D1le5.js → index.vue_vue_type_style_index_0_scoped_54875f48_lang-CiL6VoA_.js} +14 -14
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-2lkUWZRo.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-B3osLUx9.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-hirBDRYd.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CcFsRkhk.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_1_lang-MjUgrO4F.cjs → index.vue_vue_type_style_index_1_lang-5f-HYjvK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-BoTV4flf.js → index.vue_vue_type_style_index_1_lang-Ca121GvZ.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-3g-WWSAN.js → index.vue_vue_type_style_index_1_lang-DZP5aHn6.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-CqDCKPTF.cjs → index.vue_vue_type_style_index_1_lang-wDciklc6.cjs} +1 -1
- package/dist/{isUndefined-BnYcaoIV.js → isUndefined-Cii5tZGi.js} +1 -1
- package/dist/{isUndefined-PBoY2t4n.cjs → isUndefined-Dy3NeRh5.cjs} +1 -1
- package/dist/{main-BPaSzXSq.cjs → main-Boqjb9_8.cjs} +1 -1
- package/dist/{main-RRmHsdn1.js → main-OMV0VmwH.js} +5 -5
- package/dist/ss-component.cjs +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-0cs5FvgU.cjs → threeLatheView-BAbvGLbN.cjs} +1 -1
- package/dist/{threeLatheView-CeL57xMe.js → threeLatheView-Bk_MIk-e.js} +5 -5
- package/dist/{threeModel-xtvW5a9j.cjs → threeModel-By7h-sjJ.cjs} +1 -1
- package/dist/{threeModel-CG7DUUln.js → threeModel-UcoxMFZE.js} +3 -3
- package/dist/{threePreview-Dvff7lYH.js → threePreview-Bxe-WsS_.js} +1 -1
- package/dist/{threePreview-_Wrf7QSB.cjs → threePreview-QMlrESV4.cjs} +1 -1
- package/dist/{threeSceneView-dIz01BtA.cjs → threeSceneView-BKaxFt-B.cjs} +1 -1
- package/dist/{threeSceneView-DNOT-va3.js → threeSceneView-F1ZJrVNi.js} +7 -7
- package/dist/{threeViewerHost-DIF3PZ4w.js → threeViewerHost-DGnHP_9J.js} +3 -3
- package/dist/{threeViewerHost-DM1Py_hi.cjs → threeViewerHost-Dn8XeHz1.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as b, j as A } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
-
import { c as I } from "./index-
|
|
1
|
+
import { i as b, j as A } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
2
|
+
import { c as I } from "./index-BkeIblNn.js";
|
|
3
3
|
const j = async () => {
|
|
4
4
|
const m = "弯管仿真加工分析";
|
|
5
5
|
let k = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const l=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),K=require("./index-DGKTZoR7.cjs"),T=async()=>{const m="弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工位姿生成`,f,"");let _=["夹持长度"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持长度;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D},$=async()=>{const m="双弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工工艺生成`,f,"");let _=["夹持位置"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持位置;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D};exports.fetchDoubleRobotAnimationData=$;exports.fetchSingleRobotAnimationData=T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const x=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";const x=require("vue"),c=require("./index-DGKTZoR7.cjs"),D=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],b=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];x.ref(0);const I=l=>{var t,r;if(Array.isArray(Object.keys(l))&&((t=Object.keys(l))==null?void 0:t.length)>0){let e=[];return(r=Object.entries(l))==null||r.forEach(([s,n])=>{var y,$;let a=[];if(a.push(s),((y=Object.keys(n))==null?void 0:y.length)>0){let f=[];($=I(n))==null||$.forEach(T=>{f.push(T)}),f==null||f.forEach(T=>{a.push(T)})}e.push(a)}),e}},R=(l,t)=>{var e;let r=t;return Array.isArray(Object.keys(l))&&((e=Object.entries(l))==null||e.forEach(([s,n])=>{let a=[s];if(typeof n=="object"&&n!==null){let y=I(n);y==null||y.forEach($=>{a.push($)})}r.push(a)})),r},X=l=>{const t={};return l.forEach(e=>{const s=e.split("/");let n=t;s.forEach(a=>{n[a]||(n[a]={}),n=n[a]})}),R(t,[])},Y=l=>X(l);x.ref(0);x.ref(1);const q=l=>{let t;l.replaceAll(" ",`\r
|
|
2
2
|
`).replaceAll(`
|
|
3
3
|
`,`\r
|
|
4
4
|
`).includes(`\r
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
-
import { s as E } from "./index-
|
|
3
|
-
import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
-
import { s as O, c as H } from "./index-
|
|
2
|
+
import { s as E } from "./index-nuizzmWC.js";
|
|
3
|
+
import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
4
|
+
import { s as O, c as H } from "./index-BkeIblNn.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" }, q = ["title"], G = { title: "更多" }, J = { class: "dialog-footer" }, K = /* @__PURE__ */ z({
|
|
7
7
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as _, computed as A } from "vue";
|
|
2
|
-
import { d as I, E as s, g as M } from "./index-
|
|
3
|
-
import { E as N } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { d as I, E as s, g as M } from "./index-BkeIblNn.js";
|
|
3
|
+
import { E as N } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
4
4
|
const K = _([]), T = A(() => [
|
|
5
5
|
{
|
|
6
6
|
key: "extraButton",
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { c as s } from "./index-
|
|
2
|
+
import { s as b } from "./index-B9lxmpVN.js";
|
|
3
|
+
import { c as s } from "./index-BkeIblNn.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
6
6
|
var r, d, p, m;
|
|
@@ -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 { o as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { o as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),u=require("./index-DGKTZoR7.cjs"),s=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),d=s.useModelComp(),{itemData:g}=u.storeToRefs(d),b=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=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:[]}]),f=e=>{s.submitTableAsyncByVerify(e.singleContent,e.buttonName,b.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},_=async e=>{const t=await s.handleSubmitAsync(u.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var l;return{id:a.id,tableData:(l=a==null?void 0:a.value)==null?void 0:l.tableData}});return n==null?void 0:n.map(a=>{var l;if(Array.isArray(a==null?void 0:a.tableData)){let c={id:a.id};return(l=a==null?void 0:a.tableData)==null||l.forEach((p,y)=>{c[`a${y}`]=p}),c}else return{...a.tableData,id:a.id}})},k={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};o.watch(()=>g.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(r.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const m=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:f,handleQueryChange:i,onButtonClick:C,onDoubleClick:h,pageData:r,queryFormData:D,structureId:b,tempDeptPageData:k},Symbol.toStringTag,{value:"Module"}));exports.State=m;
|
|
@@ -1,9 +1,9 @@
|
|
|
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 m, openBlock as u, 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 { s as B } from "./index-
|
|
4
|
-
import { s as F, e as y } from "./index-
|
|
5
|
-
import { u as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { p as I, s as N } from "./index-
|
|
2
|
+
import { S as x } from "./index-Cr9CcRAX.js";
|
|
3
|
+
import { s as B } from "./index-nuizzmWC.js";
|
|
4
|
+
import { s as F, e as y } from "./index-Cb21VYW-.js";
|
|
5
|
+
import { u as S } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
6
|
+
import { p as I, s as N } from "./index-BkeIblNn.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "menu-module" }, M = {
|
|
9
9
|
class: "table-wrap",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjRuuqmE.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { watch as u, onMounted as g, onUnmounted as C, resolveComponent as S, createElementBlock as v, openBlock as B, createVNode as I } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { u as K } from "./index-
|
|
4
|
-
import "./array-
|
|
2
|
+
import "./index-Duci16gr.js";
|
|
3
|
+
import { u as K } from "./index-BkeIblNn.js";
|
|
4
|
+
import "./array-Bh8i5GAF.js";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_54875f48_lang-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CcFsRkhk.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_54875f48_lang-CiL6VoA_.js";
|
|
8
8
|
import "./index-BHtNKL1L.js";
|
|
9
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
10
10
|
import "./STLLoader-C7r5KNYq.js";
|
|
11
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
12
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
13
|
-
import "./index-
|
|
11
|
+
import "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_1_lang-Ca121GvZ.js";
|
|
13
|
+
import "./index-CCgW3KO3.js";
|
|
14
14
|
import "vue-router";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./index-EMeEeDNC.js";
|
|
16
|
+
import "./index-CpA1oVez.js";
|
|
17
17
|
const j = {
|
|
18
18
|
__name: "index",
|
|
19
19
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),N=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),N=require("./index-DLcdLSRG.cjs"),s=require("./index-DGKTZoR7.cjs"),B=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs");require("./array-qx4N1D5z.cjs");const I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DEEZPcpU.cjs"),O=require("./index-D_ktPZVF.cjs"),L={class:"type-select"},j=["onClick"],z={class:"list-icon"},H={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,activeItemIndex:D}=s.storeToRefs(p),C=u=>{var k;let i=null;const h=s.cloneDeep(r.value);if(D.value>=0&&(i=h==null?void 0:h[D.value]),i&&i.comp==="Layout"){const{compData:g=[]}=i;((k=g==null?void 0:g.find(E=>{const{key:w}=E;return w==="children"}))==null?void 0:k.contents).push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(h);return}const d=s.cloneDeep(r.value);d.push({comp:u.comp,name:u.name,compData:[]}),p.setItemData(d)};return(u,i)=>{const h=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N.slotContent),(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:k},[e.createElementVNode("div",{class:"list-content",onClick:g=>C(d)},[e.createElementVNode("div",z,[e.createVNode(h,{name:d.icon},null,8,["name"])]),e.createElementVNode("div",null,e.toDisplayString(d.name),1)],8,j)]))),128))])}}},G=I._export_sfc(H,[["__scopeId","data-v-2cd8410b"]]),J={class:"fill-content"},K={class:"operate-content"},Q=["onClick"],W={class:"collapse-title-item"},X={key:1},Y=["onClick"],Z={class:"icon-content"},P={key:0,class:"edit-content"},ee=["onClick"],te=["onClick"],ne={class:"parent-main"},oe={style:{display:"flex","justify-content":"space-between"}},le={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r,originalData:D}=s.storeToRefs(p),C=e.ref([]);e.ref([]);const u=e.ref([]),i=e.ref([]),h=e.ref([]),d=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!0),n));i.value=o},k=l=>{var a;let o=(a=s.cloneDeep(i.value))==null?void 0:a.map((n,t)=>(l===t&&(n.content=!1),n));i.value=o,C.value=s.cloneDeep(r.value)},g=(l,o)=>{var v;let a=(v=s.cloneDeep(i.value))==null?void 0:v.map((_,c)=>(l===c&&(_.content=!1),_));i.value=a;const n=s.cloneDeep(r.value),t=n==null?void 0:n.filter((_,c)=>(c===l&&(_.name=o),_));p.setOriginalData(t),p.setItemData(t)},x=l=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.map((n,t)=>((n==null?void 0:n.name)===(l==null?void 0:l.name)?n.isShow=!(l!=null&&l.isShow):n.isShow=n.isShow,n));r.value=a};e.watch(()=>r.value,()=>{var l,o,a,n;!r.value||((l=r.value)==null?void 0:l.length)===0?C.value=[]:C.value=(o=s.cloneDeep(r.value))==null?void 0:o.filter(t=>(t==null?void 0:t.comp)!=="methodButton"),u.value=C.value,i.value=(a=s.cloneDeep(u.value))==null?void 0:a.map((t,v)=>({id:v,content:!1})),h.value=(n=s.cloneDeep(u.value))==null?void 0:n.map((t,v)=>({id:v,isShow:t==null?void 0:t.isShow}))},{deep:!0,immediate:!0});const E=l=>N.getComponent(l),w=(l,o,a,n)=>{var v,_;if(!l)return;let t=s.cloneDeep(r.value);t=(v=t==null?void 0:t.map((c,f)=>{if(n&&f===a){const{compData:y,itemChildData:V}=l;return c.compData=y,c.itemChildData=V,c}return f===a&&(c.compData=l),c}))==null?void 0:v.filter(c=>(c==null?void 0:c.comp)!=="methodButton"),i.value=(_=s.cloneDeep(t))==null?void 0:_.map((c,f)=>({id:f,content:!1})),p.setOriginalData(t),p.setItemData(t)},U=e.ref(null),$=(l,o)=>{if(!o){p.setActiveItemIndex(l);return}p.setActiveItemIndex(-1)},b=l=>{B.ElMessageBox.confirm("是否确认要删除","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{const o=s.cloneDeep(r.value),a=o==null?void 0:o.filter((n,t)=>t!==l);p.setOriginalData(a),p.setItemData(a),p.setActiveItemIndex(-1),s.ElMessage({type:"success",message:"删除成功"})}).catch(()=>{})};return(l,o)=>{const a=e.resolveComponent("svg-icon");return e.openBlock(),e.createElementBlock("div",J,[o[3]||(o[3]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",K,[e.createVNode(A.default,{class:"collapse-content",collapseContents:C.value,ref_key:"ssCollapseRef",ref:U},{title:e.withCtx(({item:n,index:t,isActive:v})=>{var _,c,f,y,V,M,q,R,F,T;return[e.createElementVNode("div",{class:"collapse-title-content",onClick:m=>$(t,v)},[e.createElementVNode("div",W,[(c=(_=i.value)==null?void 0:_.find(m=>m.id===t))!=null&&c.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"collapse-title",style:e.normalizeStyle({marginRight:n.name&&n.name!==""?"8px":"0px"})},e.toDisplayString(n.name),5)),(y=(f=i.value)==null?void 0:f.find(m=>m.id===t))!=null&&y.content?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(O._sfc_main$3,{modelValue:n.name,"onUpdate:modelValue":m=>n.name=m,onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])):e.createCommentVNode("",!0),(M=(V=i.value)==null?void 0:V.find(m=>m.id===t))!=null&&M.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:2,onClick:e.withModifiers(m=>d(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Edit",style:{width:"16px",height:"16px"}})],8,Y))]),e.createElementVNode("div",Z,[(R=(q=i.value)==null?void 0:q.find(m=>m.id===t))!=null&&R.content?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(a,{name:"Cancel",style:{width:"16px",height:"16px"},class:"icon-content",onClick:e.withModifiers(m=>k(t),["stop"])},null,8,["onClick"]),e.createVNode(a,{name:"Save",onClick:e.withModifiers(m=>g(t,n.name),["stop"]),style:{width:"16px",height:"16px",fill:"var(--ssComponent-primary-color)"},class:"icon-content"},null,8,["onClick"])])):e.createCommentVNode("",!0),(T=(F=i.value)==null?void 0:F.find(m=>m.id===t))!=null&&T.content?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:e.withModifiers(m=>b(t),["stop"]),class:"icon-content"},[e.createVNode(a,{name:"Delete",style:{width:"16px",height:"16px"}})],8,ee))])],8,Q)]}),content:e.withCtx(({item:n,index:t})=>{var v,_;return[e.createElementVNode("div",{class:"comp-child",onClick:c=>$(t)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E(n.comp+"Operate")),{itemContents:n==null?void 0:n.compData,originalItemContents:(_=(v=u.value)==null?void 0:v.find((c,f)=>f===t))==null?void 0:_.compData,itemChildData:n==null?void 0:n.itemChildData,onChange:(c,f)=>w(c,n,t,f)},null,40,["itemContents","originalItemContents","itemChildData","onChange"]))],8,te),e.createElementVNode("div",ne,[o[2]||(o[2]=e.createElementVNode("div",{class:"operate-title"},[e.createElementVNode("div",null,e.toDisplayString("显隐控制"))],-1)),e.createElementVNode("div",oe,[o[1]||(o[1]=e.createElementVNode("div",{class:"operate-center-content"},e.toDisplayString("是否显示"),-1)),e.createVNode(O._sfc_main$2,{value:h.value.find(c=>c.id===t).isShow,"onUpdate:value":c=>h.value.find(f=>f.id===t).isShow=c,onClick:c=>x(n)},null,8,["value","onUpdate:value","onClick"])])])]}),_:1},8,["collapseContents"])])])}}},ce=I._export_sfc(le,[["__scopeId","data-v-1f5fca05"]]),ae={key:0,class:"show-content"},se={style:{display:"flex"}},ie={__name:"index",setup(S){const p=B.useModelComp(s.pinia),{itemData:r}=s.storeToRefs(p),D=e.ref([]);e.watch(()=>r.value,()=>{var u;!r.value||((u=r.value)==null?void 0:u.length)===0?D.value=[]:D.value=s.cloneDeep(r.value)},{deep:!0,immediate:!0});const C=u=>N.getComponent(u);return(u,i)=>{var h;return((h=D.value)==null?void 0:h.length)>0?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,(d,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:k},[e.createElementVNode("div",se,e.toDisplayString(d.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C(d.comp)),{itemData:d==null?void 0:d.compData,childItemData:d==null?void 0:d.itemChildData,key:k},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},re=I._export_sfc(ie,[["__scopeId","data-v-bfa22d29"]]);exports.modelFill=ce;exports.modelSelect=G;exports.modelShow=re;
|
|
@@ -13141,7 +13141,7 @@ const hw = (e) => {
|
|
|
13141
13141
|
this.systemInfo = e;
|
|
13142
13142
|
},
|
|
13143
13143
|
setSystemKey(e) {
|
|
13144
|
-
this.systemKey =
|
|
13144
|
+
this.systemKey = e;
|
|
13145
13145
|
},
|
|
13146
13146
|
setSuperAdminInfo(e) {
|
|
13147
13147
|
this.superAdminInfo = e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, ref as C, reactive as T, resolveComponent as m, createElementBlock as x, openBlock as B, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as w, toDisplayString as z, nextTick as N, Fragment as q, withDirectives as H, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import { C as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
-
import { F as X, U as J, ai as G, y as U, z as c, ah as I, P as g } from "./index-
|
|
2
|
+
import { C as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
3
|
+
import { F as X, U as J, ai as G, y as U, z as c, ah as I, P as g } from "./index-BkeIblNn.js";
|
|
4
4
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const K = "ElUpload";
|
|
6
6
|
class Q extends Error {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
|
-
import { S as m } from "./index-
|
|
3
|
-
import { s as _ } from "./index-
|
|
2
|
+
import { S as m } from "./index-5w4hFvkO.js";
|
|
3
|
+
import { s as _ } from "./index-nuizzmWC.js";
|
|
4
4
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
6
|
__name: "index",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { s as i } from "./index-
|
|
5
|
-
import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as l } from "./index-
|
|
7
|
-
import { S as d } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
4
|
+
import { s as i } from "./index-BkeIblNn.js";
|
|
5
|
+
import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
6
|
+
import { s as l } from "./index-nuizzmWC.js";
|
|
7
|
+
import { S as d } from "./index-CaX0q15O.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, k = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(f) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x } from "./index-
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
2
|
+
import { S as I, t as x } from "./index-CCgW3KO3.js";
|
|
3
|
+
import { s as w, a as L } from "./index-EMeEeDNC.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { i as E } from "./index-
|
|
7
|
-
import { u as N, s as U } from "./index-
|
|
8
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
6
|
+
import { i as E } from "./index-Cb21VYW-.js";
|
|
7
|
+
import { u as N, s as U } from "./index-BkeIblNn.js";
|
|
8
|
+
import "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
9
9
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
11
11
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as g, computed as S, reactive as P } from "vue";
|
|
2
|
-
import { s as R, c8 as $, c9 as B, c7 as H, g as _, u as j, p as L, c as J, f as x, E as T } from "./index-
|
|
3
|
-
import { aQ as z, u as Q, d as G, r as X } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { s as R, c8 as $, c9 as B, c7 as H, g as _, u as j, p as L, c as J, f as x, E as T } from "./index-BkeIblNn.js";
|
|
3
|
+
import { aQ as z, u as Q, d as G, r as X } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
4
4
|
const A = j(L), { loginUserInfo: o, cryptoInfo: c } = R(A), Y = Q(L), { activeMenuPath: f } = R(Y), Z = g(0), M = S(() => {
|
|
5
5
|
var s, t, a, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as D, openBlock as O, createElementVNode as b, renderSlot as L, defineComponent as X, ref as B, resolveComponent as E, createVNode as g, withCtx as y, reactive as H, watch as Y, unref as K, toDisplayString as U, createTextVNode as R } from "vue";
|
|
2
2
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
4
4
|
import { useRouter as me } from "vue-router";
|
|
5
|
-
import { a as be, u as he, p as ve, s as _e, E as S, b as we, g as Q } from "./index-
|
|
6
|
-
import { v as Ce } from "./index-
|
|
5
|
+
import { a as be, u as he, p as ve, s as _e, E as S, b as we, g as Q } from "./index-BkeIblNn.js";
|
|
6
|
+
import { v as Ce } from "./index-CpA1oVez.js";
|
|
7
7
|
const Ie = {}, ke = { class: "left-wrap" }, Ee = { class: "left-bg" };
|
|
8
8
|
function Se(I, T) {
|
|
9
9
|
return O(), D("div", ke, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BjRuuqmE.cjs"),a=require("./index-DGKTZoR7.cjs"),w=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B="ElUpload";class T extends Error{constructor(o,s,i,p){super(o),this.name="UploadAjaxError",this.status=s,this.method=i,this.url=p}}function _(r,o,s){let i;return s.response?i=`${s.response.error||s.response}`:s.responseText?i=`${s.responseText}`:i=`fail to ${o.method} ${r} ${s.status}`,new T(i,s.status,o.method,r)}function R(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const U=r=>{typeof XMLHttpRequest>"u"&&a.throwError(B,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,s=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(_(s,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(_(s,r,o));r.onSuccess(R(o))}),o.open(r.method,s,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))a.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},h=["text","picture","picture-card"];let D=1;const C=()=>Date.now()+D++,N=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:h,default:"text"},httpRequest:{type:a.definePropType(Function),default:U},disabled:Boolean,limit:Number}),L=a.buildProps({...N,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}}),F={style:{"text-align":"left"}},j={class:"cropper-warp"},A={class:"cropper-warp-left"},q=["src"],$={class:"cropper-warp-right"},H={class:"cropper-warp-right-item"},z={class:"cropper-warp-right-value"},M=["src"],X={class:"cropper-warp-right-item"},J={class:"cropper-warp-right-value"},G=["src"],K={class:"dialog-footer"},Q=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:s}){const i=s,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async l=>{if(!l)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(l),t.isShowDialog=!0,e.nextTick(()=>{v()})},u=()=>{var l;(l=t.cropper)==null||l.destroy(),t.isShowDialog=!1},f=()=>{u()},g=async()=>{const l=await y();i("submitImage",{file:l}),u()},d=async()=>{i("deleteImage")},v=()=>{const l=document.querySelector(".cropper-warp-left-img");l&&l.setAttribute("crossOrigin","anonymous"),t.cropper=new k.Cropper(l,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},y=()=>new Promise(l=>{t.cropper.getCroppedCanvas().toBlob(n=>{l(n)})}),x=async l=>{let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(l.raw),t.cropper.replace(t.cropperImg)},E=l=>{p.value.clearFiles();const n=l[0];n.uid=C(),p.value.handleStart(n)};return o({openDialog:c}),(l,n)=>{const P=e.resolveComponent("ele-Edit"),V=e.resolveComponent("el-icon"),m=e.resolveComponent("el-button"),S=e.resolveComponent("el-upload"),I=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(I,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=O=>t.isShowDialog=O),width:"769px","before-close":f},{header:e.withCtx(()=>[e.createElementVNode("div",F,[e.createVNode(V,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(P)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",K,[e.createVNode(S,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":x,"on-exceed":E},{trigger:e.withCtx(()=>[e.createVNode(m,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(m,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(m,{onClick:f,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(m,{onClick:g,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,q)]),e.createElementVNode("div",$,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",H,[e.createElementVNode("div",z,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,M)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",X,[e.createElementVNode("div",J,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,G)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),W=w._export_sfc(Q,[["__scopeId","data-v-5d760968"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const s=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,u=async()=>{var d;s!=null&&s.banClick||(t("clickAvatar",s.avatarUrl),(d=i.value)==null||d.openDialog(s.avatarBlob))},f=async d=>{t("submitImage",d)},g=async()=>{t("deleteImage")};return(d,v)=>{const y=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(y,{src:r.avatarUrl,onClick:u,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(W,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:f,onDeleteImage:g},null,8,["avatarUrl"]),[[e.vShow,r.showCropper]])],64)}}}),b=w._export_sfc(Y,[["__scopeId","data-v-d7aa160e"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"}));exports.genFileId=C;exports.index=Z;exports.ssAvatar=b;exports.uploadBaseProps=N;exports.uploadListTypes=h;exports.uploadProps=L;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-B3osLUx9.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=["title"],f={key:0,class:"menu-operate-icon"},h={class:"menu-config-wrap"},_=["onClick"],v={class:"module-dialog-content"};function y(o,l,V,M,N,m){var s;const i=e.resolveComponent("svg-icon"),c=e.resolveComponent("el-popover"),p=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(p,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d;return[e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,k),t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(c,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:w=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,_))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((s=o.renderMenuList)==null?void 0:s.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const B=u._export_sfc(C._sfc_main,[["render",y],["__scopeId","data-v-92477073"]]);exports.default=B;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, watch as b } from "vue";
|
|
2
|
-
import { g as y, s as d } from "./index-
|
|
3
|
-
import { aA as g, ay as D, a as m } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { g as y, s as d } from "./index-BkeIblNn.js";
|
|
3
|
+
import { aA as g, ay as D, a as m } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
4
4
|
const f = m(), { itemData: i } = d(f), c = n(0), h = n([
|
|
5
5
|
{
|
|
6
6
|
label: "机构名称",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as S, resolveComponent as j, createBlock as M, openBlock as v, createCommentVNode as $, createSlots as T2, withCtx as C, renderSlot as K, defineComponent as b2, onMounted as V2, createVNode as L, createElementVNode as N, createElementBlock as y, Fragment as n2, renderList as o2, createTextVNode as S2, toDisplayString as h2, reactive as s0, h as L2, Transition as J0, withDirectives as U2, vShow as R2, createApp as e3, toRefs as M0, nextTick as x2, isRef as t3, computed as A, watch as m2, onBeforeUnmount as v0, normalizeStyle as p2, normalizeClass as i0, resolveDynamicComponent as F2, normalizeProps as l3, guardReactiveProps as a3, mergeProps as q2, withModifiers as P0, inject as c3, watchEffect as $2, onUnmounted as Z2, unref as N2, resolveDirective as s3 } from "vue";
|
|
2
2
|
import { S as I2 } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { p as n3, e as k0, d as r0, S as _0, r as o3, H as i3, x as r3, Q as m0, q as x0 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { p as n3, e as k0, d as r0, S as _0, r as o3, H as i3, x as r3, Q as m0, q as x0 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
4
4
|
import { _ as r2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { a as h0, u as O0 } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { bu as E0, bv as G0, c3 as d3, c4 as b0, bm as v3, aO as Q2, K as h3, O as H0, ap as A2, aN as f0, N as B0, c5 as g3, p as J2, s as e0, c as C2, E as g0, a as p3, c6 as u3, aC as w3, ak as _3, c7 as m3 } from "./index-
|
|
7
|
-
import { u as L0, t as d0, d as x3 } from "./threeViewerHost-
|
|
8
|
-
import { s as b3 } from "./index-
|
|
5
|
+
import { a as h0, u as O0 } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
6
|
+
import { bu as E0, bv as G0, c3 as d3, c4 as b0, bm as v3, aO as Q2, K as h3, O as H0, ap as A2, aN as f0, N as B0, c5 as g3, p as J2, s as e0, c as C2, E as g0, a as p3, c6 as u3, aC as w3, ak as _3, c7 as m3 } from "./index-BkeIblNn.js";
|
|
7
|
+
import { u as L0, t as d0, d as x3 } from "./threeViewerHost-DGnHP_9J.js";
|
|
8
|
+
import { s as b3 } from "./index-C3MnATC6.js";
|
|
9
9
|
var f3 = "[object Date]";
|
|
10
10
|
function z3(t) {
|
|
11
11
|
return E0(t) && G0(t) == f3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./index-
|
|
1
|
+
"use strict";const a=require("./index-DGKTZoR7.cjs"),M=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),E=require("vue"),h=M.useMenuState(a.pinia),p=a.useLoginState(a.pinia),x=E.ref(!1),D=E.ref(!1),q=async()=>{const _=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),I=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([_,I]).then(s=>{var r,u,n,o,i,l,c,y,g,d,S,f,m,v;const t=s==null?void 0:s[0],e=s==null?void 0:s[1];if(t.data.code===200){const K=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;h.setRawMenus(K??[]),x.value=((y=t==null?void 0:t.data)==null?void 0:y.result)&&((d=(g=t==null?void 0:t.data)==null?void 0:g.result)==null?void 0:d.length)>0}else a.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(p.setStructureData(e.data.result),p.setIsStructureExist(!0),D.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((v=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:v.length)>0):a.ElMessage.error("获取模型结构响应失败")}),{menuExist:x.value,structureExist:D.value}};exports.verifyStructureDataToStore=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DGKTZoR7.cjs"),f=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),C=require("./index-jf0i3s58.cjs"),r=require("./index-CrrP1zfn.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=f.useMenuState(u.pinia),{menus:_}=u.storeToRefs(m),p=l.ref([]),c=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 c(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(_.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,5 +1,5 @@
|
|
|
1
|
-
import { g as S, E as v, u as P, p as K } from "./index-
|
|
2
|
-
import { u as k } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { g as S, E as v, u as P, p as K } from "./index-BkeIblNn.js";
|
|
2
|
+
import { u as k } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
3
3
|
import { ref as h } from "vue";
|
|
4
4
|
const A = k(K), E = P(K), x = h(!1), D = h(!1), j = async () => {
|
|
5
5
|
const I = S({
|
|
@@ -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
|
-
import { u as be, a as he, ay as Ce } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
-
import { c as q, s as Ie, g as J, bx as ke, E as S, p as U, e as ae, f as oe, bq as Te, d as Me } from "./index-
|
|
4
|
-
import { u as Se } from "./index-
|
|
2
|
+
import { u as be, a as he, ay as Ce } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
3
|
+
import { c as q, s as Ie, g as J, bx as ke, E as S, p as U, e as ae, f as oe, bq as Te, d as Me } from "./index-BkeIblNn.js";
|
|
4
|
+
import { u as Se } from "./index-nuizzmWC.js";
|
|
5
5
|
const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPath: $, cacheStructures: K } = Ie(C), z = i(!1), se = j(() => {
|
|
6
6
|
var e, t;
|
|
7
7
|
return [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./index-
|
|
1
|
+
"use strict";const n=require("./index-DGKTZoR7.cjs"),o=require("vue"),i=e=>{const t={};for(let a in e)a!=="id"&&(t[a]=e[a]);const s=t==null?void 0:t.主菜单名称;n.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:s},value:{tableData:t}})},l=e=>{n.deleteInsofDataApi({id:e==null?void 0:e.id})},p=e=>{const t={};for(let a in e)a!=="id"&&(t[a]=e[a]);const s=t==null?void 0:t.主菜单名称;n.updateInsofDataApi({id:e==null?void 0:e.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:s},value:{tableData:t}})};o.ref([]);const r={comp:"Group",name:"/平台管理/主菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:[],prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}],name:""}]}]};exports.addMenuContent=i;exports.deleteMenuContent=l;exports.fixMenuContent=p;exports.tempMainMenuPageData=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";const n=require("vue"),u=require("./index-DGKTZoR7.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),d=r.useModelComp(),{itemData:g}=u.storeToRefs(d),y=n.ref(0),D=n.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},s=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),i=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,y.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await r.handleSubmitAsync(u.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let c={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((p,b)=>{c[`a${b}`]=p}),c}else return{...t.tableData,id:t.id}})},C={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};n.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(s.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const _=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:i,handleQueryChange:f,onButtonClick:h,onDoubleClick:m,pageData:s,queryFormData:D,structureId:y,tempPostPageData:C},Symbol.toStringTag,{value:"Module"}));exports.State=_;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { resolveComponent as le, createBlock as ne, openBlock as u, withCtx as C, createElementVNode as r, toDisplayString as Z, ref as k, onMounted as kt, watch as se, createElementBlock as E, Fragment as we, renderList as Ee, createCommentVNode as L, normalizeStyle as ct, defineComponent as St, resolveDynamicComponent as Qt, unref as p, computed as Ye, provide as Gt, onUnmounted as Tt, resolveDirective as Ft, createVNode as c, withDirectives as Me, createTextVNode as Be, renderSlot as ut, vShow as Bt, normalizeClass as vt } from "vue";
|
|
2
|
-
import { m as Rt, a as bt, b as Ut } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as Rt, a as bt, b as Ut } from "./index-ZuaG1yaO.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CcFsRkhk.js";
|
|
4
4
|
import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Nt, e as Jt, s as xt } from "./index.vue_vue_type_style_index_0_scoped_54875f48_lang-
|
|
6
|
-
import { c as At, p as Ce, s as me, u as Dt, b as qe, g as Xe, d as It, E as Re, e as Lt, f as Wt } from "./index-
|
|
7
|
-
import { i as ke, j as gt, k as Vt, a as yt, u as mt, l as Ht, m as jt } from "./index.vue_vue_type_style_index_1_lang-
|
|
5
|
+
import { _ as Nt, e as Jt, s as xt } from "./index.vue_vue_type_style_index_0_scoped_54875f48_lang-CiL6VoA_.js";
|
|
6
|
+
import { c as At, p as Ce, s as me, u as Dt, b as qe, g as Xe, d as It, E as Re, e as Lt, f as Wt } from "./index-BkeIblNn.js";
|
|
7
|
+
import { i as ke, j as gt, k as Vt, a as yt, u as mt, l as Ht, m as jt } from "./index.vue_vue_type_style_index_1_lang-DZP5aHn6.js";
|
|
8
8
|
import { S as Ie } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Mt, s as Ke, o as Ot, c as qt, b as Xt, d as Zt, e as zt, f as _t, h as $t, i as ea, j as ta, k as aa, l as oa } from "./index-
|
|
10
|
-
import { a as na } from "./array-
|
|
11
|
-
import { u as Kt, a as la } from "./index-
|
|
12
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import { a as Mt, s as Ke, o as Ot, c as qt, b as Xt, d as Zt, e as zt, f as _t, h as $t, i as ea, j as ta, k as aa, l as oa } from "./index-Duci16gr.js";
|
|
10
|
+
import { a as na } from "./array-Bh8i5GAF.js";
|
|
11
|
+
import { u as Kt, a as la } from "./index-nuizzmWC.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D8ybuSYA.js";
|
|
13
13
|
import "./STLLoader-C7r5KNYq.js";
|
|
14
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
15
|
-
import "./index-
|
|
14
|
+
import "./index.vue_vue_type_style_index_1_lang-Ca121GvZ.js";
|
|
15
|
+
import "./index-CCgW3KO3.js";
|
|
16
16
|
import { useRouter as sa } from "vue-router";
|
|
17
|
-
import ia from "./index-
|
|
18
|
-
import ra from "./threeModel-
|
|
19
|
-
import { s as dt, _ as Ze, a as Pe } from "./index-
|
|
20
|
-
import { d as Et, t as ca } from "./threeViewerHost-
|
|
21
|
-
import { s as lt } from "./index-
|
|
17
|
+
import ia from "./index-DWF67iTF.js";
|
|
18
|
+
import ra from "./threeModel-UcoxMFZE.js";
|
|
19
|
+
import { s as dt, _ as Ze, a as Pe } from "./index-Cb21VYW-.js";
|
|
20
|
+
import { d as Et, t as ca } from "./threeViewerHost-DGnHP_9J.js";
|
|
21
|
+
import { s as lt } from "./index-EMeEeDNC.js";
|
|
22
22
|
import { c as ua, b as da } from "./index-CLCVb66q.js";
|
|
23
|
-
import { v as Aa } from "./index-
|
|
24
|
-
import { f as ga, a as ya } from "./animationData-
|
|
23
|
+
import { v as Aa } from "./index-CpA1oVez.js";
|
|
24
|
+
import { f as ga, a as ya } from "./animationData-DLWS_dsG.js";
|
|
25
25
|
const ma = { class: "menu-title" };
|
|
26
26
|
function Ca(W, z, n, j, M, T) {
|
|
27
27
|
const a = le("ssMenu");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-CMRW1-ah.cjs"),k=require("./threeViewerHost-Dn8XeHz1.cjs"),C=require("./index-DGKTZoR7.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-D_ktPZVF.cjs"),S=require("./index-BpPyaNFa.cjs"),V={class:"avatar-model-wrap"},N={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:w}){const u=s,i=w,m=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),h=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const _=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});b.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,c;try{const r=await k.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(h.value=m.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,i("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},y=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(I.ssAvatar,{avatarUrl:h.value,avatarBlob:b.value,size:s.size,onClickAvatar:_,onSubmitImage:B,onDeleteImage:y},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||"无"),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-85213bf2"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:w}){const u=s,i=e.ref({}),m=e.ref([]),d=w,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,d("beforeDestroy")},_=e.computed(()=>"http://222.92.178.198:62001"),B=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await k.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,i.value.dialogShow=!1;const n=new FormData,c=B(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.dialogShow&&(i.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),i.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,m.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=i.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:_.value+"/"+((p=s.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>{var p;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(p=a.label)!=null&&p.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -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-g0K1bPev.cjs"),m=require("./index-jf0i3s58.cjs"),d=require("./index-D_ktPZVF.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-wDciklc6.cjs"),u=require("./index-DGKTZoR7.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"menu-module"},k={class:"table-wrap","element-loading-text":"加载中..."},v={class:"module-dialog-default"},x=e.defineComponent({__name:"index",setup(b){const t=e.reactive({...p.State}),r=e.ref(null),a=h.useMenuState(u.pinia),{configMenu:n}=u.storeToRefs(a);return e.onMounted(()=>{var l;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=r.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((l=n.value)==null?void 0:l.path)}),(l,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),g=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),_=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(g,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:r,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(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[e.createVNode(m.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"])])),[[_,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(d.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",v,[e.createVNode(d.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(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),w=C._export_sfc(x,[["__scopeId","data-v-74868a06"]]);exports.default=w;
|