ss-component-new 1.1.564 → 1.1.566
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/{array-CP2rPazD.cjs → array-mnEYd91h.cjs} +1 -1
- package/dist/{array-CLz11m07.js → array-wJSGLzMi.js} +1 -1
- package/dist/{crypto-8Ga3ud_Q.js → crypto-AruyYTHF.js} +2 -2
- package/dist/{crypto-Cd99aqcx.cjs → crypto-CyF3hwB4.cjs} +1 -1
- package/dist/icons/svg/operate.svg +1 -0
- package/dist/{index-BnrksT1I.js → index-8UPYDi_5.js} +5 -5
- package/dist/{index-B8H4YhbP.js → index-8gbPS8-X.js} +3 -3
- package/dist/{index-C-ClgRTD.cjs → index-B6d2-dto.cjs} +1 -1
- package/dist/{index-DGYkSeKR.cjs → index-BBnnl-_P.cjs} +1 -1
- package/dist/{index-z1F5TOoY.js → index-BCEAEGRT.js} +4 -4
- package/dist/{index-CZAaXjhl.cjs → index-BDyEsCzC.cjs} +1 -1
- package/dist/{index-DDLdlxG2.js → index-BcDp6ptU.js} +4 -4
- package/dist/index-Bdg7o7oQ.cjs +1 -0
- package/dist/{index-BK-XsLeY.js → index-Bffl2Lq8.js} +8 -8
- package/dist/{index-B3MmxsIn.js → index-Bkm9CeI0.js} +1 -1
- package/dist/{index-DIqnNcLs.js → index-BtsXDCd1.js} +36 -35
- package/dist/{index-BqpUP6Fj.js → index-C78HINGN.js} +5 -5
- package/dist/{index-CI7JFzie.js → index-CAFMHjaK.js} +4 -4
- package/dist/{index-fw6k591D.cjs → index-CC7nWA51.cjs} +1 -1
- package/dist/{index-DSgEyEex.js → index-CJ_rdkr8.js} +1 -1
- package/dist/{index-D9tFA_gV.js → index-CNIUM2Hh.js} +5 -5
- package/dist/{index-CVO1Gr1e.cjs → index-CNZyrawL.cjs} +1 -1
- package/dist/index-CZEC9g9H.js +1237 -0
- package/dist/{index-ffDSB4Kw.js → index-CdV-dIPz.js} +2041 -1971
- package/dist/{index-D60VtqO9.cjs → index-Cezi5U3A.cjs} +1 -1
- package/dist/{index-NsEc0eRt.cjs → index-CjSFo9Oj.cjs} +1 -1
- package/dist/{index-Ci3ATj1I.cjs → index-CjtqyLVJ.cjs} +1 -1
- package/dist/{index-8i6baSTn.js → index-CmXpvujN.js} +1 -1
- package/dist/{index-C2mK8_eD.cjs → index-CoXYZaFu.cjs} +1 -1
- package/dist/{index-BQw5HyPd.js → index-CtKkkNVO.js} +3 -3
- package/dist/{index-CnlbpDuG.js → index-D57iupUX.js} +4 -4
- package/dist/{index-Buf5sH41.cjs → index-D6Ob0FG9.cjs} +1 -1
- package/dist/{index-C4vqMoxk.js → index-DAsgBSJ6.js} +3 -3
- package/dist/{index-DkHLMOhI.js → index-DFOpoHOf.js} +7 -7
- package/dist/{index-Dp8nYzYT.js → index-DIQgn1lv.js} +1 -1
- package/dist/{index-i6oSAK8p.cjs → index-DMcamypJ.cjs} +1 -1
- package/dist/{index-CxnxDX6H.cjs → index-DQm7DvqZ.cjs} +12 -12
- package/dist/{index-TAKcAJBd.cjs → index-DRqKKbXM.cjs} +16 -16
- package/dist/{index-CDBkv_Ya.js → index-DU7mec17.js} +3 -3
- package/dist/{index-DputvHH-.cjs → index-DaRvxptB.cjs} +1 -1
- package/dist/{index-DD5vYna6.cjs → index-DcGOgkAB.cjs} +1 -1
- package/dist/{index-DiVZz6Oe.cjs → index-DiRp2gT0.cjs} +1 -1
- package/dist/{index-CAlVrDd7.js → index-Djm4s0si.js} +3078 -3056
- package/dist/{index-Cwjqsu4B.cjs → index-Dm8EQvZF.cjs} +1 -1
- package/dist/{index-CqWusal7.cjs → index-Dr_FFxuS.cjs} +1 -1
- package/dist/index-Dtr23Ry-.cjs +1 -0
- package/dist/{index-mXSF8m_y.js → index-KXPu5RR8.js} +5 -5
- package/dist/{index-CrHUNEBr.js → index-OwBy9Gpy.js} +4 -4
- package/dist/{index-sWPCQFjw.cjs → index-RFCzxTjm.cjs} +1 -1
- package/dist/{index-DuePS5l5.cjs → index-aqcB6iZB.cjs} +1 -1
- package/dist/{index-Xm20qFvb.cjs → index-fpDYvtXs.cjs} +1 -1
- package/dist/{index-RqtMCA_6.cjs → index-hsD4_RoH.cjs} +1 -1
- package/dist/{index-hhguTasx.js → index-kHf3YLFM.js} +2 -2
- package/dist/{index-CGCXj04X.cjs → index-l52VRsV3.cjs} +1 -1
- package/dist/{index-DND7Q01H.js → index-t2mHyzKW.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-IJCmIwBn.cjs → index.vue_vue_type_script_setup_true_lang-CKo9xhlB.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-lD5FjnBK.js → index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CK9PyDrN.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DXFzvQ4G.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-1HJraTNR.js → index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-DC8a5k-C.js} +9 -9
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-D38E-fv0.cjs → index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-jKRAQ5rG.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-WK-0REgN.cjs → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-Cbj9ujhe.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-CEI3VZwN.js → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-fAsg47j1.js} +20 -20
- package/dist/{main-Cf6XbAJo.js → main-B-wHHtXE.js} +5 -5
- package/dist/{main-_CubAgd-.cjs → main-PqdyFogk.cjs} +1 -1
- package/dist/{menu-B-wiVQl5.cjs → menu-DYsWoy6Z.cjs} +1 -1
- package/dist/{menu-DV47UKJo.js → menu-Qw1eGtzq.js} +4 -0
- package/dist/{menuIndex-mY8CjeHW.cjs → menuIndex-BUbnVBfn.cjs} +1 -1
- package/dist/{menuIndex-M4MLExuN.js → menuIndex-w5mHOEmH.js} +1 -1
- package/dist/{modelComp-BlAKXNIt.cjs → modelComp-8s0tWZDU.cjs} +1 -1
- package/dist/{modelComp-B4I2gbtf.js → modelComp-y7HaQuVQ.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-DxwM2ftD.js → threeModel-BJyxaIFR.js} +3 -3
- package/dist/{threeModel-CFZ8X-1L.cjs → threeModel-BsVSDgWa.cjs} +1 -1
- package/package.json +1 -1
- package/public/icons/svg/operate.svg +1 -0
- package/dist/index-CumZnKBN.cjs +0 -1
- package/dist/index-Dxauc4f9.cjs +0 -1
- package/dist/index-fj1E6Tyq.js +0 -1223
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const N=require("vue"),c=require("./menu-
|
|
1
|
+
"use strict";const N=require("vue"),c=require("./menu-DYsWoy6Z.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"}];N.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 f,$;let a=[];if(a.push(s),((f=Object.keys(n))==null?void 0:f.length)>0){let y=[];($=I(n))==null||$.forEach(T=>{y.push(T)}),y==null||y.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 f=I(n);f==null||f.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);N.ref(0);N.ref(1);const q=l=>{let t;l.replaceAll(" ",`\r
|
|
2
2
|
`).includes(`\r
|
|
3
3
|
`)?t=l.replaceAll(" ",`\r
|
|
4
4
|
`).split(`\r
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bR as Dt, s as xt, bO as Rt, E as Bt, g as At, u as It, p as Ot } from "./menu-
|
|
2
|
-
import { f as Vt, g as Nt } from "./menuIndex-
|
|
1
|
+
import { bR as Dt, s as xt, bO as Rt, E as Bt, g as At, u as It, p as Ot } from "./menu-Qw1eGtzq.js";
|
|
2
|
+
import { f as Vt, g as Nt } from "./menuIndex-w5mHOEmH.js";
|
|
3
3
|
const Pt = It(Ot), { menus: Mt } = xt(Pt), oe = Dt("loginState", {
|
|
4
4
|
state: () => ({
|
|
5
5
|
superAdminInfo: {},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const M=require("./menu-
|
|
1
|
+
"use strict";const M=require("./menu-DYsWoy6Z.cjs"),lt=require("./menuIndex-BUbnVBfn.cjs"),Rt=M.useMenuState(M.pinia),{menus:At}=M.storeToRefs(Rt),Bt=M.defineStore("loginState",{state:()=>({superAdminInfo:{},cryptoInfo:{publicKey:"",privateKey:""},loginUserInfo:{},structureData:[],isStructureExist:!1}),actions:{setSuperAdminInfo(r){this.superAdminInfo=r},setLoginUserInfo(r){this.loginUserInfo=r},setStructureData(r){this.structureData=r},setIsStructureExist(r){this.isStructureExist=r},async getModelSecretAsync(r){var e,i,n,s,h,o,a,f,l,p,v,y,S;const t=await M.getInsofDataApi({key:{systemKey:r?r.systemKey:sessionStorage.getItem("systemKey"),pageKey:"secret",type:"system"}});return((e=t==null?void 0:t.data)==null?void 0:e.code)===200&&(i=t==null?void 0:t.data)!=null&&i.result&&Array.isArray((n=t==null?void 0:t.data)==null?void 0:n.result)&&((h=(s=t==null?void 0:t.data)==null?void 0:s.result)==null?void 0:h.length)>0&&(this.cryptoInfo.publicKey=(l=(f=(a=(o=t.data)==null?void 0:o.result[0])==null?void 0:a.value)==null?void 0:f.cryptoInfo)==null?void 0:l.publicKey,this.cryptoInfo.privateKey=(S=(y=(v=(p=t.data)==null?void 0:p.result[0])==null?void 0:v.value)==null?void 0:y.cryptoInfo)==null?void 0:S.privateKey),{publicKey:this.cryptoInfo.publicKey,privateKey:this.cryptoInfo.privateKey}},async setLogRecordAsync(r,t,e="operate"){var i;try{const n=lt.findNodeByPropInTree(At.value,"path",t,"children");if(!n)return;const s=await M.createInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:e},value:{module:n?n.title:t,timeStamp:lt.getCurrentDateTime(),detail:{...r}}});return((i=s==null?void 0:s.data)==null?void 0:i.code)===200}catch(n){M.ElMessage.error(n)}}},persist:[{key:"loginState",storage:localStorage,pick:["superAdminInfo"]}]});var It="0123456789abcdefghijklmnopqrstuvwxyz";function B(r){return It.charAt(r)}function Ot(r,t){return r&t}function G(r,t){return r|t}function ct(r,t){return r^t}function pt(r,t){return r&~t}function Vt(r){if(r==0)return-1;var t=0;return(r&65535)==0&&(r>>=16,t+=16),(r&255)==0&&(r>>=8,t+=8),(r&15)==0&&(r>>=4,t+=4),(r&3)==0&&(r>>=2,t+=2),(r&1)==0&&++t,t}function Nt(r){for(var t=0;r!=0;)r&=r-1,++t;return t}var _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wt="=";function tt(r){var t,e,i="";for(t=0;t+3<=r.length;t+=3)e=parseInt(r.substring(t,t+3),16),i+=_.charAt(e>>6)+_.charAt(e&63);for(t+1==r.length?(e=parseInt(r.substring(t,t+1),16),i+=_.charAt(e<<2)):t+2==r.length&&(e=parseInt(r.substring(t,t+2),16),i+=_.charAt(e>>2)+_.charAt((e&3)<<4));(i.length&3)>0;)i+=wt;return i}function gt(r){var t="",e,i=0,n=0;for(e=0;e<r.length&&r.charAt(e)!=wt;++e){var s=_.indexOf(r.charAt(e));s<0||(i==0?(t+=B(s>>2),n=s&3,i=1):i==1?(t+=B(n<<2|s>>4),n=s&15,i=2):i==2?(t+=B(n),t+=B(s>>2),n=s&3,i=3):(t+=B(n<<2|s>>4),t+=B(s&15),i=0))}return i==1&&(t+=B(n<<2)),t}var H,Pt={decode:function(r){var t;if(H===void 0){var e="0123456789ABCDEF",i=` \f
|
|
2
2
|
\r \u2028\u2029`;for(H={},t=0;t<16;++t)H[e.charAt(t)]=t;for(e=e.toLowerCase(),t=10;t<16;++t)H[e.charAt(t)]=t;for(t=0;t<i.length;++t)H[i.charAt(t)]=-1}var n=[],s=0,h=0;for(t=0;t<r.length;++t){var o=r.charAt(t);if(o=="=")break;if(o=H[o],o!=-1){if(o===void 0)throw new Error("Illegal character at offset "+t);s|=o,++h>=2?(n[n.length]=s,s=0,h=0):s<<=4}}if(h)throw new Error("Hex encoding incomplete: 4 bits missing");return n}},P,ht={decode:function(r){var t;if(P===void 0){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=`= \f
|
|
3
3
|
\r \u2028\u2029`;for(P=Object.create(null),t=0;t<64;++t)P[e.charAt(t)]=t;for(P["-"]=62,P._=63,t=0;t<i.length;++t)P[i.charAt(t)]=-1}var n=[],s=0,h=0;for(t=0;t<r.length;++t){var o=r.charAt(t);if(o=="=")break;if(o=P[o],o!=-1){if(o===void 0)throw new Error("Illegal character at offset "+t);s|=o,++h>=4?(n[n.length]=s>>16,n[n.length]=s>>8&255,n[n.length]=s&255,s=0,h=0):s<<=6}}switch(h){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:n[n.length]=s>>10;break;case 3:n[n.length]=s>>16,n[n.length]=s>>8&255;break}return n},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(r){var t=ht.re.exec(r);if(t)if(t[1])r=t[1];else if(t[2])r=t[2];else throw new Error("RegExp out of sync");return ht.decode(r)}},C=1e13,j=function(){function r(t){this.buf=[+t||0]}return r.prototype.mulAdd=function(t,e){var i=this.buf,n=i.length,s,h;for(s=0;s<n;++s)h=i[s]*t+e,h<C?e=0:(e=0|h/C,h-=e*C),i[s]=h;e>0&&(i[s]=e)},r.prototype.sub=function(t){var e=this.buf,i=e.length,n,s;for(n=0;n<i;++n)s=e[n]-t,s<0?(s+=C,t=1):t=0,e[n]=s;for(;e[e.length-1]===0;)e.pop()},r.prototype.toString=function(t){if((t||10)!=10)throw new Error("only base 10 is supported");for(var e=this.buf,i=e[e.length-1].toString(),n=e.length-2;n>=0;--n)i+=(C+e[n]).toString().substring(1);return i},r.prototype.valueOf=function(){for(var t=this.buf,e=0,i=t.length-1;i>=0;--i)e=e*C+t[i];return e},r.prototype.simplify=function(){var t=this.buf;return t.length==1?t[0]:this},r}(),Et="…",Mt=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,qt=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function F(r,t){return r.length>t&&(r=r.substring(0,t)+Et),r}var nt=function(){function r(t,e){this.hexDigits="0123456789ABCDEF",t instanceof r?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}return r.prototype.get=function(t){if(t===void 0&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(t):this.enc[t]},r.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(t&15)},r.prototype.hexDump=function(t,e,i){for(var n="",s=t;s<e;++s)if(n+=this.hexByte(this.get(s)),i!==!0)switch(s&15){case 7:n+=" ";break;case 15:n+=`
|
|
4
4
|
`;break;default:n+=" "}return n},r.prototype.isASCII=function(t,e){for(var i=t;i<e;++i){var n=this.get(i);if(n<32||n>176)return!1}return!0},r.prototype.parseStringISO=function(t,e){for(var i="",n=t;n<e;++n)i+=String.fromCharCode(this.get(n));return i},r.prototype.parseStringUTF=function(t,e){for(var i="",n=t;n<e;){var s=this.get(n++);s<128?i+=String.fromCharCode(s):s>191&&s<224?i+=String.fromCharCode((s&31)<<6|this.get(n++)&63):i+=String.fromCharCode((s&15)<<12|(this.get(n++)&63)<<6|this.get(n++)&63)}return i},r.prototype.parseStringBMP=function(t,e){for(var i="",n,s,h=t;h<e;)n=this.get(h++),s=this.get(h++),i+=String.fromCharCode(n<<8|s);return i},r.prototype.parseTime=function(t,e,i){var n=this.parseStringISO(t,e),s=(i?Mt:qt).exec(n);return s?(i&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),n=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(n+=":"+s[5],s[6]&&(n+=":"+s[6],s[7]&&(n+="."+s[7]))),s[8]&&(n+=" UTC",s[8]!="Z"&&(n+=s[8],s[9]&&(n+=":"+s[9]))),n):"Unrecognized time: "+n},r.prototype.parseInteger=function(t,e){for(var i=this.get(t),n=i>127,s=n?255:0,h,o="";i==s&&++t<e;)i=this.get(t);if(h=e-t,h===0)return n?-1:0;if(h>4){for(o=i,h<<=3;((+o^s)&128)==0;)o=+o<<1,--h;o="("+h+` bit)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1753428217148" class="icon" viewBox="0 0 1230 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="34443" xmlns:xlink="http://www.w3.org/1999/xlink" width="19.21875" height="16"><path d="M800.585901 666.312904a71.402697 71.402697 0 1 0-71.739503-71.402697 71.514965 71.514965 0 0 0 71.739503 71.402697z m412.47407-192.877097a456.820086 456.820086 0 0 1 0 242.611995 102.051968 102.051968 0 0 0-41.090231-8.644666 104.521873 104.521873 0 0 0-92.060081 56.134195 110.135292 110.135292 0 0 0 28.965245 138.090122 338.938274 338.938274 0 0 1-204.216204 121.586668 104.634141 104.634141 0 0 0-208.370135 0 434.590944 434.590944 0 0 1-204.216205-121.586668 110.247561 110.247561 0 0 0 31.884224-132.476702 104.858678 104.858678 0 0 0-94.866791-61.859884 102.501042 102.501042 0 0 0-41.2025 8.644666 456.371012 456.371012 0 0 1 0-242.499726 101.041552 101.041552 0 0 0 40.977963 8.532398 106.430435 106.430435 0 0 0 104.858678-108.002193 108.90034 108.90034 0 0 0-41.539305-86.109856A434.029602 434.029602 0 0 1 696.064028 166.718562a104.634141 104.634141 0 0 0 208.370135 0 455.13606 455.13606 0 0 1 203.991668 121.249863 108.788071 108.788071 0 0 0-41.651574 86.109856 106.430435 106.430435 0 0 0 104.970946 108.002193 102.61331 102.61331 0 0 0 40.977963-8.532398z m-55.460585 167.841246a747.258415 747.258415 0 0 0 0-93.182765 163.799583 163.799583 0 0 1-135.283412-84.762636 166.269488 166.269488 0 0 1-2.582173-155.379454 358.472974 358.472974 0 0 0-80.047363-46.591382 171.546102 171.546102 0 0 1-275.618902 0 358.136169 358.136169 0 0 0-79.935094 46.591382 163.125973 163.125973 0 0 1-5.501152 158.747506 168.402587 168.402587 0 0 1-134.72207 80.496437 767.915799 767.915799 0 0 0 0 95.203596 168.402587 168.402587 0 0 1 134.04846 78.587874 162.901436 162.901436 0 0 1 6.399298 160.880605 357.013485 357.013485 0 0 0 80.159632 46.703651 168.402587 168.402587 0 0 1 275.618901 0 357.911632 357.911632 0 0 0 80.159632-46.703651 166.15722 166.15722 0 0 1 5.725688-161.21741 163.687315 163.687315 0 0 1 132.027629-78.587874z m-357.013485-189.17224A142.805394 142.805394 0 1 1 657.668238 595.022476a142.805394 142.805394 0 0 1 142.917663-142.693126zM0 499.931148v-71.402697h261.922158v71.402697zM0 71.402697V0h1142.779958v71.402697H0z m0 857.16917v-71.402697h333.324855v71.402697z" fill="#404040" p-id="34444"></path></svg>
|
|
@@ -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 { u as i, s as p } from "./menu-
|
|
5
|
-
import { B as u } from "./index-
|
|
6
|
-
import { S as l } from "./index-
|
|
7
|
-
import { i as d } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js";
|
|
4
|
+
import { u as i, s as p } from "./menu-Qw1eGtzq.js";
|
|
5
|
+
import { B as u } from "./index-Djm4s0si.js";
|
|
6
|
+
import { S as l } from "./index-DU7mec17.js";
|
|
7
|
+
import { i as d } from "./index-BCEAEGRT.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, M = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(f) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { d as H, u as L, S as M } from "./index-
|
|
4
|
-
import { E as N } from "./menu-
|
|
2
|
+
import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js";
|
|
3
|
+
import { d as H, u as L, S as M } from "./index-CdV-dIPz.js";
|
|
4
|
+
import { E as N } from "./menu-Qw1eGtzq.js";
|
|
5
5
|
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
import { S as x } from "./index-BHtNKL1L.js";
|
|
7
7
|
const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),i=require("./menu-B-wiVQl5.cjs"),ce=require("./modelComp-BlAKXNIt.cjs"),pe=require("./index-TAKcAJBd.cjs"),fe=require("./index-RqtMCA_6.cjs"),de=require("./menuIndex-mY8CjeHW.cjs"),A=ce.useModelComp(i.pinia),Z=pe.useUnit(i.pinia),I=i.useMenuState(i.pinia),{menus:m,configMenu:H,activeMenuPath:O,cacheStructures:E}=i.storeToRefs(I),_=g.ref(!1),ee=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(m.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),x=g.ref([{label:"新建"}]),ie=g.computed(()=>[{key:"extraButton",contents:x.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),j=g.ref([]),k=g.ref({}),ge=g.ref({}),q=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;j.value=e?(t=q.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):q.value},ve=g.ref([{label:"查询"},{label:"重置"}]),ye=async()=>{},te=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:te(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),J=g.ref([]),C=g.ref({}),h=g.ref(null),le=g.ref([]),ae=g.computed(()=>{var e;return(e=te(m.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),oe=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});le.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},be=async e=>{var t;_.value=!0,h.value={...e,rootNode:de.findRootNodeByPath(ae.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?x.value.splice(0):(x.value=[{label:"新建"}],J.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await oe(e==null?void 0:e.path),await F(e)},he=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},Ce=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=he(e),J.value=[],A.setSubmitCurStructure(!1),Z.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await ue(C.value,v.type)},ne=g.ref(!0),Ie=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ne.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ne.value,async e=>{var t;await g.nextTick(),j.value=(t=q.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const ke=g.ref(null),Te=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,K;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(K=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:K.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},Me=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Te(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=J.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=H.value),await I.setConfigMenu(u),Z.setSelectTitle(l),A.setIsEdit("edit")},F=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:O.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),_.value=!1},B=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:O.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},X=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Y=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(B(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(B(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(B(s,"update",e))})),l},De=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Se=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=le.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=X(b,a),M=X(s,d),w=Y("dialogConfig",T),N=Y("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var U,z,G,L,V,Q,W;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(U=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:U.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((z=T==null?void 0:T.updateComps)==null?void 0:z.length)===0&&v.type==="update"){const y=(L=(G=C.value)==null?void 0:G.structureIds)==null?void 0:L.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((V=M==null?void 0:M.updateComps)==null?void 0:V.length)===0&&v.type==="update"){const y=(W=(Q=C.value)==null?void 0:Q.structureIds)==null?void 0:W.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const se=De(S);ue({...t,isNotInitial:!0,structureIds:se},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},ue=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:O.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),fe.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),F(h.value)})},we=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...H.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...H.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Se(e,t),k.value={},v.show=!1,await F(h.value)},Ne=()=>{v.show=!1},re={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:ee.value,name:""}]}]},Pe=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Ne,buttonValue:ve,changeTrigger:Ie,changedRow:ge,clickNodeTrigger:be,clickRowButton:Ce,clickSubmitForm:we,clickTrigger:Me,dialogInfo:v,formatFormData:R,getInitialSubStructure:oe,getTableDataAsync:F,handleItemDataChange:ye,inputForm:k,menuPageData:ie,operatingForm:ke,pageData:ee,renderFormData:j,tableLoading:_,tempMenuPageData:re,treeData:ae},Symbol.toStringTag,{value:"Module"}));exports.State=Pe;exports.tempMenuPageData=re;
|
|
1
|
+
"use strict";const g=require("vue"),i=require("./menu-DYsWoy6Z.cjs"),ce=require("./modelComp-8s0tWZDU.cjs"),pe=require("./index-DRqKKbXM.cjs"),fe=require("./index-hsD4_RoH.cjs"),de=require("./menuIndex-BUbnVBfn.cjs"),A=ce.useModelComp(i.pinia),Z=pe.useUnit(i.pinia),I=i.useMenuState(i.pinia),{menus:m,configMenu:H,activeMenuPath:O,cacheStructures:E}=i.storeToRefs(I),_=g.ref(!1),ee=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(m.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),x=g.ref([{label:"新建"}]),ie=g.computed(()=>[{key:"extraButton",contents:x.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),j=g.ref([]),k=g.ref({}),ge=g.ref({}),q=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;j.value=e?(t=q.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):q.value},ve=g.ref([{label:"查询"},{label:"重置"}]),ye=async()=>{},te=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:te(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),J=g.ref([]),C=g.ref({}),h=g.ref(null),le=g.ref([]),ae=g.computed(()=>{var e;return(e=te(m.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),oe=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});le.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},be=async e=>{var t;_.value=!0,h.value={...e,rootNode:de.findRootNodeByPath(ae.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?x.value.splice(0):(x.value=[{label:"新建"}],J.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await oe(e==null?void 0:e.path),await F(e)},he=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},Ce=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=he(e),J.value=[],A.setSubmitCurStructure(!1),Z.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await ue(C.value,v.type)},ne=g.ref(!0),Ie=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ne.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ne.value,async e=>{var t;await g.nextTick(),j.value=(t=q.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const ke=g.ref(null),Te=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,K;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(K=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:K.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},Me=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Te(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=J.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=H.value),await I.setConfigMenu(u),Z.setSelectTitle(l),A.setIsEdit("edit")},F=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:O.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),_.value=!1},B=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:O.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},X=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Y=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(B(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(B(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(B(s,"update",e))})),l},De=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Se=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=le.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=X(b,a),M=X(s,d),w=Y("dialogConfig",T),N=Y("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var U,z,G,L,V,Q,W;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(U=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:U.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((z=T==null?void 0:T.updateComps)==null?void 0:z.length)===0&&v.type==="update"){const y=(L=(G=C.value)==null?void 0:G.structureIds)==null?void 0:L.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((V=M==null?void 0:M.updateComps)==null?void 0:V.length)===0&&v.type==="update"){const y=(W=(Q=C.value)==null?void 0:Q.structureIds)==null?void 0:W.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const se=De(S);ue({...t,isNotInitial:!0,structureIds:se},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},ue=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:O.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),fe.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),F(h.value)})},we=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...H.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...H.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Se(e,t),k.value={},v.show=!1,await F(h.value)},Ne=()=>{v.show=!1},re={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:ee.value,name:""}]}]},Pe=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Ne,buttonValue:ve,changeTrigger:Ie,changedRow:ge,clickNodeTrigger:be,clickRowButton:Ce,clickSubmitForm:we,clickTrigger:Me,dialogInfo:v,formatFormData:R,getInitialSubStructure:oe,getTableDataAsync:F,handleItemDataChange:ye,inputForm:k,menuPageData:ie,operatingForm:ke,pageData:ee,renderFormData:j,tableLoading:_,tempMenuPageData:re,treeData:ae},Symbol.toStringTag,{value:"Module"}));exports.State=Pe;exports.tempMenuPageData=re;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-CKo9xhlB.cjs"),y=require("./index-DQm7DvqZ.cjs"),C=require("./menu-DYsWoy6Z.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=require("./index-BpPyaNFa.cjs"),A={class:"avatar-model-wrap"},N=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(i,{emit:w}){const u=i,c=w,h=e.computed(()=>"http://139.196.154.85:20013"),p=e.ref(""),d=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{d.value=o},{immediate:!0});const S=async()=>{if(!(u!=null&&u.disabled))try{const o=await y.downloadAvatarApi({url:p.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});_.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,l;try{const r=await y.uploadAvatarApi(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(d.value=h.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),p.value=(l=(n=r.data)==null?void 0:n.result)==null?void 0:l.url,c("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},b=async()=>{try{if(!d.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t,n;return e.openBlock(),e.createElementBlock("div",A,[e.createVNode(I._sfc_main,{avatarUrl:d.value,avatarBlob:_.value,onClickAvatar:S,onSubmitImage:B,onDeleteImage:b},{avatarDefault:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(((l=i.userInfo)==null?void 0:l.account)??"未知"),1)]}),_:1},8,["avatarUrl","avatarBlob"]),e.createElementVNode("span",null,e.toDisplayString((g=i.userInfo)!=null&&g.userName?(t=i.userInfo)==null?void 0:t.userName:(n=i.userInfo)==null?void 0:n.account),1)])}}}),V=x._export_sfc(N,[["__scopeId","data-v-bcb7a17f"]]),E=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:w}){const u=i,c=e.ref({}),h=e.ref([]),p=w,d=t=>{c.value.dialogShow=(t==null?void 0:t.label)==="电子签名",p("clickSignButton",t)},_=()=>{c.value.dialogShow=!1,p("beforeDestroy")},S=e.computed(()=>"http://139.196.154.85:20013"),B=t=>{var a;const n=t.split(","),l=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let s=r.length;const v=new Uint8Array(s);for(;s--;)v[s]=r.charCodeAt(s);return new Blob([v],{type:l})},b=async t=>{var n,l,r;try{const s=await y.uploadAvatarApi(t);((n=s==null?void 0:s.data)==null?void 0:n.code)===200&&p("clickSubmitSign",S.value+"/"+((r=(l=s.data)==null?void 0:l.result)==null?void 0:r.url))}catch(s){C.ElMessage.error(s)}},o=e.ref(""),f=t=>{o.value=t,c.value.dialogShow=!1;const n=new FormData,l=B(t);n.append("file",l,"image.png"),b(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),b(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var l,r,s,v;o.value="",(l=c.value)!=null&&l.dialogShow&&(c.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]}),c.value=(s=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:s.contents,h.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 l=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),s=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(y.Signature,{signPadInfo:c.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=c.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:(m=i.userInfo)==null?void 0:m.signature,fit:"contain"},{error:e.withCtx(()=>[e.createVNode(l,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.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(s,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(s,{key:1,id:"themeButton",disabled:a.disabled,onClick:T=>d(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),U=x._export_sfc(E,[["__scopeId","data-v-b9bd887d"]]);exports.ssAvatar=V;exports.ssSignature=U;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as u, computed as E, reactive as H, nextTick as X, watch as Y } from "vue";
|
|
2
|
-
import { bR as Te, g as N, s as S, E as g, c as O, bO as Z, bM as m, bP as ee, p as k, u as te } from "./menu-
|
|
3
|
-
import { u as se, d as ne, i as Ke, e as G } from "./crypto-
|
|
4
|
-
import { u as Pe } from "./modelComp-
|
|
5
|
-
import { E as we } from "./index-
|
|
2
|
+
import { bR as Te, g as N, s as S, E as g, c as O, bO as Z, bM as m, bP as ee, p as k, u as te } from "./menu-Qw1eGtzq.js";
|
|
3
|
+
import { u as se, d as ne, i as Ke, e as G } from "./crypto-AruyYTHF.js";
|
|
4
|
+
import { u as Pe } from "./modelComp-y7HaQuVQ.js";
|
|
5
|
+
import { E as we } from "./index-CmXpvujN.js";
|
|
6
6
|
const re = Te("authorityState", {
|
|
7
7
|
state: () => ({
|
|
8
8
|
routerPageStructures: []
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("vue"),c=require("./menu-
|
|
1
|
+
"use strict";const l=require("vue"),c=require("./menu-DYsWoy6Z.cjs"),u=require("./index-hsD4_RoH.cjs"),d=require("./modelComp-8s0tWZDU.cjs"),g=d.useModelComp(),{itemData:D}=c.storeToRefs(g),b=l.ref(0),i=l.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},s=l.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),m=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,b.value)},C=e=>{console.log("onDoubleClick",e)},h=(e,t)=>{console.log("onButtonClick",e,t)},k=async e=>{const t=await u.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var o;return{id:a.id,tableData:(o=a==null?void 0:a.value)==null?void 0:o.tableData}});return n==null?void 0:n.map(a=>{var o;if(Array.isArray(a==null?void 0:a.tableData)){let r={id:a.id};return(o=a==null?void 0:a.tableData)==null||o.forEach((p,y)=>{r[`a${y}`]=p}),r}else return{...a.tableData,id:a.id}})},S={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};l.watch(()=>D.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(s.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const T=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:m,handleQueryChange:f,onButtonClick:h,onDoubleClick:C,pageData:s,queryFormData:i,structureId:b,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"}));exports.State=T;
|
|
@@ -1,8 +1,8 @@
|
|
|
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, e as y } from "./index-
|
|
5
|
-
import { u as S, p as I, s as N } from "./menu-
|
|
2
|
+
import { S as x } from "./index-C78HINGN.js";
|
|
3
|
+
import { B } from "./index-Djm4s0si.js";
|
|
4
|
+
import { s as F, e as y } from "./index-CdV-dIPz.js";
|
|
5
|
+
import { u as S, p as I, s as N } from "./menu-Qw1eGtzq.js";
|
|
6
6
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const E = { class: "menu-module" }, M = {
|
|
8
8
|
class: "table-wrap",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-jKRAQ5rG.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=["title"],_={key:0,class:"menu-operate-icon"},C={class:"menu-config-wrap"},k=["onClick"],h={class:"module-dialog-content"};function v(o,l,B,V,N,M){const i=e.resolveComponent("svg-icon"),d=e.resolveComponent("el-popover"),c=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{mode:o.mode,menuList:o.renderMenuList,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var s,a;return[e.createVNode(i,{name:t.icon??"",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((s=t==null?void 0:t.config)==null?void 0:s.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,u),t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(d,{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",C,[(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:D=>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,k))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),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",h,[(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[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const y=f._export_sfc(p._sfc_main,[["render",v],["__scopeId","data-v-b9f960ef"]]);exports.default=y;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { onMounted as f, resolveComponent as h, createElementBlock as C, openBlock as g, createVNode as y } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./menu-
|
|
4
|
-
import "./array-
|
|
2
|
+
import "./index-DFOpoHOf.js";
|
|
3
|
+
import "./menu-Qw1eGtzq.js";
|
|
4
|
+
import "./array-wJSGLzMi.js";
|
|
5
5
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-
|
|
8
|
-
import "./crypto-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-DC8a5k-C.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-fAsg47j1.js";
|
|
8
|
+
import "./crypto-AruyYTHF.js";
|
|
9
9
|
import "./index-BHtNKL1L.js";
|
|
10
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js";
|
|
11
|
+
import "./index-Djm4s0si.js";
|
|
12
12
|
import "vue-router";
|
|
13
13
|
const v = {
|
|
14
14
|
__name: "index",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as M } from "./index.
|
|
2
|
-
import { resolveComponent as r, createElementBlock as s, openBlock as l, Fragment as
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
1
|
+
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-DC8a5k-C.js";
|
|
2
|
+
import { resolveComponent as r, createElementBlock as s, openBlock as l, Fragment as f, createVNode as n, withCtx as i, createElementVNode as a, createCommentVNode as D, normalizeStyle as b, toDisplayString as u, renderList as C, createTextVNode as h, createBlock as B, resolveDynamicComponent as w } from "vue";
|
|
3
|
+
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const V = ["title"], $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "menu-operate-icon"
|
|
7
|
-
},
|
|
8
|
-
function
|
|
9
|
-
const g = r("svg-icon"), k = r("el-popover"),
|
|
10
|
-
return l(), s(
|
|
11
|
-
|
|
7
|
+
}, L = { class: "menu-config-wrap" }, N = ["onClick"], S = { class: "module-dialog-content" };
|
|
8
|
+
function m(t, d, E, F, O, R) {
|
|
9
|
+
const g = r("svg-icon"), k = r("el-popover"), v = r("ssMenu"), p = r("el-button"), y = r("ssDialog");
|
|
10
|
+
return l(), s(f, null, [
|
|
11
|
+
n(v, {
|
|
12
12
|
mode: t.mode,
|
|
13
13
|
menuList: t.renderMenuList,
|
|
14
14
|
onClickMenu: t.clickMenu,
|
|
@@ -16,39 +16,40 @@ function L(t, d, N, E, F, O) {
|
|
|
16
16
|
onCloseMenu: t.closeMenu
|
|
17
17
|
}, {
|
|
18
18
|
title: i(({ menu: e }) => {
|
|
19
|
-
var
|
|
19
|
+
var c, _;
|
|
20
20
|
return [
|
|
21
|
-
|
|
21
|
+
n(g, {
|
|
22
22
|
name: e.icon ?? "",
|
|
23
23
|
class: "menu-icon"
|
|
24
24
|
}, null, 8, ["name"]),
|
|
25
25
|
a("span", {
|
|
26
26
|
title: e.title,
|
|
27
|
-
class: "menu-title"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
class: "menu-title",
|
|
28
|
+
style: b({ marginRight: e != null && e.config && ((c = e == null ? void 0 : e.config) == null ? void 0 : c.length) > 0 ? "25px" : "1px" })
|
|
29
|
+
}, u(e.title ?? ""), 13, V),
|
|
30
|
+
e != null && e.config && ((_ = e == null ? void 0 : e.config) == null ? void 0 : _.length) > 0 ? (l(), s("span", $, [
|
|
31
|
+
n(k, {
|
|
32
|
+
title: "",
|
|
32
33
|
placement: "bottom-start",
|
|
33
34
|
trigger: "click",
|
|
34
35
|
"popper-class": "menu-operate-popover"
|
|
35
36
|
}, {
|
|
36
37
|
reference: i(() => [
|
|
37
|
-
|
|
38
|
+
n(g, { name: "config" })
|
|
38
39
|
]),
|
|
39
40
|
default: i(() => [
|
|
40
|
-
a("div",
|
|
41
|
-
(l(!0), s(
|
|
41
|
+
a("div", L, [
|
|
42
|
+
(l(!0), s(f, null, C(e == null ? void 0 : e.config, (o) => (l(), s("div", {
|
|
42
43
|
class: "menu-config-item",
|
|
43
|
-
key:
|
|
44
|
-
onClick: (
|
|
44
|
+
key: o.id,
|
|
45
|
+
onClick: (T) => t.clickMenuIcon(e, o)
|
|
45
46
|
}, [
|
|
46
|
-
|
|
47
|
-
name:
|
|
47
|
+
n(g, {
|
|
48
|
+
name: o == null ? void 0 : o.operateIcon,
|
|
48
49
|
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
49
50
|
}, null, 8, ["name"]),
|
|
50
|
-
a("span", null,
|
|
51
|
-
], 8,
|
|
51
|
+
a("span", null, u(o == null ? void 0 : o.operateType), 1)
|
|
52
|
+
], 8, N))), 128))
|
|
52
53
|
])
|
|
53
54
|
]),
|
|
54
55
|
_: 2
|
|
@@ -58,7 +59,7 @@ function L(t, d, N, E, F, O) {
|
|
|
58
59
|
}),
|
|
59
60
|
_: 1
|
|
60
61
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]),
|
|
61
|
-
|
|
62
|
+
n(y, {
|
|
62
63
|
class: "module-dialog",
|
|
63
64
|
title: t.dialogInfo.title,
|
|
64
65
|
visible: t.dialogInfo.show,
|
|
@@ -66,11 +67,11 @@ function L(t, d, N, E, F, O) {
|
|
|
66
67
|
onBeforeDestroy: t.beforeDialogDestroy
|
|
67
68
|
}, {
|
|
68
69
|
default: i(() => [
|
|
69
|
-
a("div",
|
|
70
|
-
(l(!0), s(
|
|
70
|
+
a("div", S, [
|
|
71
|
+
(l(!0), s(f, null, C(t.dialogRenderComps, (e) => (l(), s("div", {
|
|
71
72
|
key: e.id
|
|
72
73
|
}, [
|
|
73
|
-
(l(),
|
|
74
|
+
(l(), B(w(t.getComponents((e == null ? void 0 : e.comp) ?? "Input")), {
|
|
74
75
|
itemData: e == null ? void 0 : e.compData,
|
|
75
76
|
key: e == null ? void 0 : e.id,
|
|
76
77
|
content: (e == null ? void 0 : e.contents) ?? [],
|
|
@@ -82,22 +83,22 @@ function L(t, d, N, E, F, O) {
|
|
|
82
83
|
]),
|
|
83
84
|
footer: i(() => [
|
|
84
85
|
a("div", null, [
|
|
85
|
-
|
|
86
|
+
n(p, {
|
|
86
87
|
id: "themeBorderButton",
|
|
87
88
|
onClick: t.beforeDialogDestroy
|
|
88
89
|
}, {
|
|
89
90
|
default: i(() => d[0] || (d[0] = [
|
|
90
|
-
|
|
91
|
+
h("取消")
|
|
91
92
|
])),
|
|
92
93
|
_: 1,
|
|
93
94
|
__: [0]
|
|
94
95
|
}, 8, ["onClick"]),
|
|
95
|
-
|
|
96
|
+
n(p, {
|
|
96
97
|
id: "themeButton",
|
|
97
98
|
onClick: t.clickSubmitForm
|
|
98
99
|
}, {
|
|
99
100
|
default: i(() => d[1] || (d[1] = [
|
|
100
|
-
|
|
101
|
+
h(" 确认 ")
|
|
101
102
|
])),
|
|
102
103
|
_: 1,
|
|
103
104
|
__: [1]
|
|
@@ -108,7 +109,7 @@ function L(t, d, N, E, F, O) {
|
|
|
108
109
|
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
109
110
|
], 64);
|
|
110
111
|
}
|
|
111
|
-
const
|
|
112
|
+
const A = /* @__PURE__ */ I(M, [["render", m], ["__scopeId", "data-v-b9f960ef"]]);
|
|
112
113
|
export {
|
|
113
|
-
|
|
114
|
+
A as default
|
|
114
115
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
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-
|
|
3
|
-
import { u as ke } from "./modelComp-
|
|
4
|
-
import { u as Te } from "./index-
|
|
5
|
-
import { f as Me } from "./index-
|
|
6
|
-
import { a as Se } from "./menuIndex-
|
|
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-Qw1eGtzq.js";
|
|
3
|
+
import { u as ke } from "./modelComp-y7HaQuVQ.js";
|
|
4
|
+
import { u as Te } from "./index-Djm4s0si.js";
|
|
5
|
+
import { f as Me } from "./index-BCEAEGRT.js";
|
|
6
|
+
import { a as Se } from "./menuIndex-w5mHOEmH.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(() => {
|
|
8
8
|
var e, t;
|
|
9
9
|
return [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createElementBlock as m, openBlock as O, createElementVNode as o, renderSlot as u, defineComponent as Z, ref as L, resolveComponent as l, createVNode as S, withCtx as c, reactive as W, watch as N, unref as v, toDisplayString as r, createTextVNode as j } from "vue";
|
|
2
2
|
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { a as CA, l as BA, b as QA, p as iA, E as K, d as oA, g as G } from "./menu-
|
|
3
|
+
import { a as CA, l as BA, b as QA, p as iA, E as K, d as oA, g as G } from "./menu-Qw1eGtzq.js";
|
|
4
4
|
import { useRouter as cA } from "vue-router";
|
|
5
|
-
import { u as nA, d as RA } from "./crypto-
|
|
6
|
-
import { v as wA } from "./index-
|
|
7
|
-
import { r as sA, g as eA, c as tA, a as SA, b as JA, d as aA, h as dA } from "./index-
|
|
5
|
+
import { u as nA, d as RA } from "./crypto-AruyYTHF.js";
|
|
6
|
+
import { v as wA } from "./index-kHf3YLFM.js";
|
|
7
|
+
import { r as sA, g as eA, c as tA, a as SA, b as JA, d as aA, h as dA } from "./index-BCEAEGRT.js";
|
|
8
8
|
const FA = {}, UA = { class: "header-wrapper" }, DA = { class: "header-horizontal" }, kA = { class: "header-logo" }, rA = { class: "header-cTitle" }, uA = { class: "header-horizontal" }, lA = { class: "header-eTitle" };
|
|
9
9
|
function xA(d, x) {
|
|
10
10
|
return O(), m("div", UA, [
|
|
@@ -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-B6d2-dto.cjs"),_=require("./index-DRqKKbXM.cjs"),u=require("./index-DQm7DvqZ.cjs"),i=require("./menu-DYsWoy6Z.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,6 +1,6 @@
|
|
|
1
1
|
import { ref as Sp, onMounted as Ab, watch as vL, onUnmounted as cL, createElementBlock as Mb, openBlock as Ib, createVNode as pL } from "vue";
|
|
2
2
|
import { _ as Lb } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as Ki } from "./menu-
|
|
3
|
+
import { c as Ki } from "./menu-Qw1eGtzq.js";
|
|
4
4
|
/*! *****************************************************************************
|
|
5
5
|
Copyright (c) Microsoft Corporation.
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as n, onMounted as r, createElementBlock as s, openBlock as m, createVNode as c } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { u as i, s as u } from "./menu-
|
|
5
|
-
import { B as p } from "./index-
|
|
6
|
-
import { S as l } from "./index-
|
|
7
|
-
import { i as d } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js";
|
|
4
|
+
import { u as i, s as u } from "./menu-Qw1eGtzq.js";
|
|
5
|
+
import { B as p } from "./index-Djm4s0si.js";
|
|
6
|
+
import { S as l } from "./index-CtKkkNVO.js";
|
|
7
|
+
import { i as d } from "./index-BCEAEGRT.js";
|
|
8
8
|
const I = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(f) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./menu-
|
|
1
|
+
"use strict";const a=require("./menu-DYsWoy6Z.cjs"),h=require("./crypto-CyF3hwB4.cjs"),x=require("vue"),q=a.useMenuState(a.pinia),v=h.useLoginState(a.pinia),D=x.ref(!1),E=x.ref(!1),w=async()=>{const I=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),K=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([I,K]).then(s=>{var r,u,o,n,i,c,l,y,g,d,S,f,m,p;const t=s==null?void 0:s[0],e=s==null?void 0:s[1];if(t.data.code===200){const M=(l=(c=(i=(n=(o=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:o.value)==null?void 0:n.pageData)==null?void 0:i.compData)==null?void 0:c[0])==null?void 0:l.contents;q.setRawMenus(M??[]),D.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&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):a.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=w;
|