ss-component-new 1.1.529 → 1.1.530
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/{index-DrPUxp9t.cjs → index-B1lScm6R.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-O1ENZnCV.js → index-BEAeHErF.js} +1 -1
- package/dist/{index-hyrN5I3d.js → index-BKxZDweL.js} +6 -6
- package/dist/{index-DvfwTgDV.cjs → index-BVokJQgA.cjs} +1 -1
- package/dist/{index-BzDOTOVF.js → index-BeaCPL_A.js} +4 -4
- package/dist/{index-B3MmxsIn.js → index-Bkm9CeI0.js} +1 -1
- package/dist/{index-DulyC0pR.js → index-Bp5nyb0L.js} +4 -4
- package/dist/{index-ECdf2g-Z.js → index-Brg2Puyi.js} +816 -781
- package/dist/{index-94P-gKKl.js → index-BtDNt4Nw.js} +5 -5
- package/dist/{index-B4uX9OAx.js → index-C51MSYup.js} +6 -6
- package/dist/{index-CI7JFzie.js → index-CAFMHjaK.js} +4 -4
- package/dist/{index-BHVoswgC.js → index-CGKNzAeg.js} +7 -7
- package/dist/{index-DSgEyEex.js → index-CJ_rdkr8.js} +1 -1
- package/dist/{index-CVO1Gr1e.cjs → index-CNZyrawL.cjs} +1 -1
- package/dist/{index-DN9JJiAj.cjs → index-CO8ZmOPV.cjs} +1 -1
- package/dist/{index-D3vpZC1T.js → index-CSlu7h7t.js} +9 -9
- package/dist/{index-C7CgAn5o.cjs → index-CUM7uuyE.cjs} +1 -1
- package/dist/{index-wl-rvhJx.cjs → index-CaTcXO8z.cjs} +1 -1
- package/dist/{index-UY-aGfk_.js → index-Cb_UWAh3.js} +441 -431
- package/dist/{index-COjKsTeN.cjs → index-CftvavdR.cjs} +1 -1
- package/dist/{index-CAriDPeT.js → index-CmFqasP1.js} +3 -3
- 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-ObZMFO5J.js → index-CuAfpETO.js} +4 -4
- package/dist/{index-rCREAftC.js → index-D2V8yzkB.js} +5 -5
- package/dist/{index-BsK8pb6f.cjs → index-D82eDFrF.cjs} +1 -1
- package/dist/{index-UwMWRc39.js → index-D8GNAbkq.js} +4 -4
- package/dist/{index-BdVW4UZV.cjs → index-DEioTepW.cjs} +1 -1
- package/dist/{index-Dj5zlzh3.js → index-DJ_NcnCW.js} +5 -5
- package/dist/{index-DA-Y0ntH.cjs → index-DMTMs1gH.cjs} +1 -1
- package/dist/{index-i6oSAK8p.cjs → index-DMcamypJ.cjs} +1 -1
- package/dist/{index-DJWcrZnn.cjs → index-DOdKCQBV.cjs} +1 -1
- package/dist/{index-nuI9V5ye.js → index-DRH4FvWj.js} +1 -1
- package/dist/{index-CDBkv_Ya.js → index-DU7mec17.js} +3 -3
- package/dist/{index-B9tww-Qb.js → index-DYuL814u.js} +4 -4
- package/dist/{index-CNOvDYiY.js → index-D_vw0zud.js} +1 -1
- package/dist/{index-Csb_gyiA.cjs → index-Db9E2sSI.cjs} +1 -1
- package/dist/{index-BYJfhhPN.cjs → index-DfnOnkgR.cjs} +1 -1
- package/dist/{index-Cn8IDHUW.cjs → index-DiAjm_oh.cjs} +1 -1
- package/dist/{index-Cwjqsu4B.cjs → index-Dm8EQvZF.cjs} +1 -1
- package/dist/{index-DMZrHCyp.cjs → index-DtSe6w5r.cjs} +4 -4
- package/dist/{index-sWPCQFjw.cjs → index-RFCzxTjm.cjs} +1 -1
- package/dist/{index-BmzcsjMi.cjs → index-bZa3uTxo.cjs} +1 -1
- package/dist/{index-Bw7eudAp.cjs → index-cxz3KN3m.cjs} +1 -1
- package/dist/{index-Cfv6DZ1x.cjs → index-d5LEMMOT.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-s1UAxQui.cjs +1 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DIdwd_P2.js → index.vue_vue_type_script_setup_true_lang-CB9mcOxT.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-s6Ozru7R.cjs → index.vue_vue_type_script_setup_true_lang-nRqP_AxA.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C-dZE1aR.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CLLHBSNC.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BdjcQwTP.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-mvv_-S5m.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_b9caa997_lang-4P_RUS5d.js → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-BxO0HDch.js} +20 -20
- package/dist/{index.vue_vue_type_style_index_0_scoped_b9caa997_lang-nxj0uxsg.cjs → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-C8fvbD4C.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-BN1rioX8.cjs → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-Bzh3S2zm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-l5CYSerH.js → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-C3Pt_ebZ.js} +9 -9
- package/dist/{main-B9jk1zSC.js → main-BS9PgQY7.js} +5 -5
- package/dist/{main-BBz5t2Ax.cjs → main-D2ylPT32.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-BjhOcDlp.cjs → threeModel-DcstQBUZ.cjs} +1 -1
- package/dist/{threeModel-CxNRKsD_.js → threeModel-YulIPoKP.js} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-BV7oq1Z4.js → threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-BdCMCKXt.js} +3 -3
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-DCn4bomb.cjs → threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-KlWrCcok.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-C0snO4jh.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -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)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-mvv_-S5m.cjs");const n=require("./menu-DYsWoy6Z.cjs"),o=require("./index-CftvavdR.cjs"),c=require("./index-BDyEsCzC.cjs"),u=require("./index-hsD4_RoH.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await u.getActivePageStructureId(r.value)}),(l,m)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|
|
@@ -1,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,12 +1,12 @@
|
|
|
1
1
|
import { resolveComponent as L, createElementBlock as _, openBlock as r, Fragment as j, renderList as q, unref as W, createElementVNode as C, createVNode as D, toDisplayString as E, ref as I, watch as A, withCtx as z, createBlock as G, resolveDynamicComponent as H, createCommentVNode as y, normalizeStyle as X, withModifiers as w } from "vue";
|
|
2
|
-
import { s as Y, g as J } from "./index-
|
|
3
|
-
import { p as B, s as V, c as v, E as Z } from "./menu-
|
|
4
|
-
import { u as S } from "./modelComp-
|
|
5
|
-
import "./array-
|
|
2
|
+
import { s as Y, g as J } from "./index-CGKNzAeg.js";
|
|
3
|
+
import { p as B, s as V, c as v, E as Z } from "./menu-Qw1eGtzq.js";
|
|
4
|
+
import { u as S } from "./modelComp-y7HaQuVQ.js";
|
|
5
|
+
import "./array-wJSGLzMi.js";
|
|
6
6
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import ee from "./index-CZtXRS3l.js";
|
|
8
|
-
import { b as te } from "./index-
|
|
9
|
-
import { E as ne } from "./index-
|
|
8
|
+
import { b as te } from "./index-Brg2Puyi.js";
|
|
9
|
+
import { E as ne } from "./index-CmXpvujN.js";
|
|
10
10
|
const oe = { class: "type-select" }, se = ["onClick"], ae = { class: "list-icon" }, le = {
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(M) {
|
|
@@ -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-DEioTepW.cjs"),_=require("./index-CftvavdR.cjs"),u=require("./index-DtSe6w5r.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,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as v, reactive as w, onMounted as V, watch as y, nextTick as z, resolveComponent as r, createElementBlock as p, openBlock as i, createVNode as n, withCtx as l, createElementVNode as s, toDisplayString as u, Fragment as S, renderList as T, createBlock as N, createTextVNode as d } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { u as R, s as A, c as M } from "./menu-
|
|
5
|
-
import { B as I } from "./index-
|
|
6
|
-
import { j as _ } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CLLHBSNC.js";
|
|
4
|
+
import { u as R, s as A, c as M } from "./menu-Qw1eGtzq.js";
|
|
5
|
+
import { B as I } from "./index-C51MSYup.js";
|
|
6
|
+
import { j as _ } from "./index-BCEAEGRT.js";
|
|
7
7
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "role-wrapper" }, F = { class: "role-dialog-header" }, O = ["title"], P = { class: "dialog-footer" }, j = /* @__PURE__ */ v({
|
|
9
9
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as c, reactive as k, computed as K, defineComponent as Z, onMounted as G, resolveDirective as Q, createElementBlock as E, openBlock as _, createElementVNode as b, withDirectives as X, createVNode as S, unref as D, createBlock as Y } from "vue";
|
|
2
|
-
import { s as U, bS as ee, bT as te, bU as ae, g as P, u as se, p as V, bM as re, E as B } from "./menu-
|
|
3
|
-
import { u as L, e as ne, d as oe } from "./crypto-
|
|
4
|
-
import { a as le, s as ie } from "./index-
|
|
5
|
-
import { d as ue, h as de } from "./index-
|
|
2
|
+
import { s as U, bS as ee, bT as te, bU as ae, g as P, u as se, p as V, bM as re, E as B } from "./menu-Qw1eGtzq.js";
|
|
3
|
+
import { u as L, e as ne, d as oe } from "./crypto-AruyYTHF.js";
|
|
4
|
+
import { a as le, s as ie } from "./index-CuAfpETO.js";
|
|
5
|
+
import { d as ue, h as de } from "./index-Brg2Puyi.js";
|
|
6
6
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const $ = L(V), { loginUserInfo: i, cryptoInfo: m } = U($), ge = se(V), { activeMenuPath: h } = U(ge), I = c(0);
|
|
8
8
|
var R, N, M, x;
|