ss-component-new 1.2.7 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{animationData-CMKGpOzN.js → animationData-1jRSDcwE.js} +3 -3
- package/dist/{animationData-CjOlng3t.cjs → animationData-BQdcO65E.cjs} +1 -1
- package/dist/{array-zuPH84bL.js → array-BivICFct.js} +1 -1
- package/dist/{index-PBT5kNaR.cjs → index-1vs_3Pz3.cjs} +1 -1
- package/dist/{index-BnNuMzEv.js → index-B--6DX0M.js} +1 -1
- package/dist/{index-B_HoaLPL.js → index-B1NmIRwn.js} +2 -2
- package/dist/index-BBVbSXk-.cjs +1 -0
- package/dist/{index-CXchqN8w.js → index-BDVOKqI5.js} +5 -5
- package/dist/{index-CW99kzgY.cjs → index-BFl4mw2K.cjs} +1 -1
- package/dist/{index-D46pfmEc.js → index-BM6YLczV.js} +7 -7
- package/dist/index-BSa3xW1H.js +158 -0
- package/dist/{index-BoHTgzWr.js → index-BWECkG4C.js} +5 -5
- package/dist/{index-CkCmJLPU.js → index-BkrJ0cBf.js} +2 -2
- package/dist/{index-IknA4u4L.js → index-BlZXanJX.js} +1 -1
- package/dist/{index-Cia5yg2S.cjs → index-BsPQl6nI.cjs} +1 -1
- package/dist/{index-k3lVcyGc.cjs → index-BxftyAcm.cjs} +1 -1
- package/dist/{index-W6FccWpW.js → index-C9gh-jny.js} +38 -37
- package/dist/{index-d3F4mRMM.js → index-CA-edgmV.js} +1 -1
- package/dist/{index-DxukQK2k.cjs → index-CIv0zRrQ.cjs} +1 -1
- package/dist/{index-Ah-8x9yf.js → index-CVfC3cyK.js} +2 -2
- package/dist/{index-C2WJz0OJ.cjs → index-C_MIoNOd.cjs} +1 -1
- package/dist/{index-UDddsXT4.js → index-CgtkRkQ3.js} +1 -1
- package/dist/{index-MqvNXMd6.js → index-Ci_C9h8v.js} +1 -1
- package/dist/{index-Br5wm1ow.js → index-CxbH4zmS.js} +1 -1
- package/dist/{index-Czw_p2Ax.cjs → index-Cyk0Tzhx.cjs} +1 -1
- package/dist/{index-CQzgMbjC.js → index-D732VV-0.js} +2 -2
- package/dist/{index-B5Qn4jv8.js → index-D9wa1LMS.js} +2 -2
- package/dist/{index-sBAb1SLC.js → index-DGE2awa5.js} +1 -1
- package/dist/{index-1aEh3d97.cjs → index-DNm5s2Lm.cjs} +1 -1
- package/dist/{index-BhLnI2fF.cjs → index-DW7I4GY6.cjs} +1 -1
- package/dist/{index-BniAk5Lo.js → index-DWfuOOVD.js} +18 -18
- package/dist/{index-B3bZrnX5.cjs → index-DbisH6iI.cjs} +1 -1
- package/dist/{index-CJW7oNUN.js → index-Dcd9HZXq.js} +2 -2
- package/dist/index-DdFUblTC.cjs +1 -0
- package/dist/{index-HZr3I0-O.js → index-Dfhvay-Y.js} +5 -5
- package/dist/{index-Dx63Z3PG.cjs → index-Djagy2ww.cjs} +1 -1
- package/dist/{index-Dv_9EftF.cjs → index-L3WHrdzB.cjs} +1 -1
- package/dist/{index-CUUjf1P3.js → index-LjRfbvxs.js} +10 -10
- package/dist/index-YMD55UlA.cjs +1 -0
- package/dist/{index-BX3CpqTk.js → index-cA_EynOM.js} +3 -3
- package/dist/{index-CHksmnYA.js → index-fMxLuU_H.js} +1 -1
- package/dist/{index-fnqbVNnP.js → index-fzCcjoGJ.js} +1 -1
- package/dist/{index-DLN_fbq6.js → index-lyUWApVE.js} +48 -32
- package/dist/{index-UuJKyKlu.js → index-pkxiNiXI.js} +2 -2
- package/dist/{index-hseXzBbE.cjs → index-pleSKUL2.cjs} +1 -1
- package/dist/{index-DauH8AzR.cjs → index-sS7-HQlI.cjs} +1 -1
- package/dist/{index-DKHaw4wr.cjs → index-wpD5_HUA.cjs} +1 -1
- package/dist/{index-DDNAWKqD.js → index-y1YK6w8c.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DULpc85o.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkSoLqEi.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CtqR5lQb.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-B5nxyyO7.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DuybmJnl.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BfcynI3w.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-C-NVC3BN.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-86_u8ovk.js} +4115 -4103
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang--PcXwjiH.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-dAkBFPF0.cjs} +14 -14
- package/dist/{index.vue_vue_type_style_index_1_lang-Ck3aGjUr.cjs → index.vue_vue_type_style_index_1_lang-B_ESWhzz.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Dy1Zc_t-.js → index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-D909xoIu.js → index.vue_vue_type_style_index_1_lang-Bmq_QiXo.js} +2 -2
- package/dist/{main-D6-NZoCw.js → main-CSTH0D6W.js} +4 -4
- package/dist/{main-CSuKoOz4.cjs → main-YbBj49yf.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-CPolYsAh.js → threeModel-Xb9BSJ_k.js} +2 -2
- package/dist/{threeModel-CIXJ7OQA.cjs → threeModel-nbfSsMNt.cjs} +1 -1
- package/dist/{threeSceneView-CUBwHIv3.js → threeSceneView-BLWTfaec.js} +8 -8
- package/dist/{threeSceneView-C_0lI1AI.cjs → threeSceneView-JPxH8xcz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-D4KdOIxO.cjs → threeSceneViewForCPMPIP-CT63Js8f.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BHhBMxdP.js → threeSceneViewForCPMPIP-skA3ZWC-.js} +6 -6
- package/dist/{threeViewerHost-Cbz8Cw7s.js → threeViewerHost-Enxz60zh.js} +3 -3
- package/dist/{threeViewerHost-DOwyFQG3.cjs → threeViewerHost-UHWY3q2v.cjs} +1 -1
- package/dist/{useRayCaster-CF6KDZ1R.js → useRayCaster-CQ61IQT5.js} +1 -1
- package/dist/{useRayCaster-CqS7g8Ix.cjs → useRayCaster-CvOiIyjA.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B7PZ70Ke.cjs +0 -1
- package/dist/index-BPOERPtt.js +0 -22
- package/dist/index-BQ7is--r.cjs +0 -1
- package/dist/index-Bc20prdj.cjs +0 -1
- package/dist/index-CJXXl1EN.cjs +0 -1
- package/dist/index-DsnxblRp.js +0 -144
- package/dist/index-Kbl8xHWJ.js +0 -24
- package/dist/index-tEinx-qZ.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { s as B } from "./index-
|
|
4
|
-
import { s as F } from "./index-
|
|
5
|
-
import { c as y } from "./index-
|
|
6
|
-
import { u as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { S as x } from "./index-CVfC3cyK.js";
|
|
3
|
+
import { s as B } from "./index-BM6YLczV.js";
|
|
4
|
+
import { s as F } from "./index-Ci_C9h8v.js";
|
|
5
|
+
import { c as y } from "./index-BWECkG4C.js";
|
|
6
|
+
import { u as S } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
7
7
|
import { p as I, s as N } from "./index-DbzvXPKu.js";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const E = { class: "menu-module" }, M = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-C2aGGJxk.cjs"),k=require("./threeViewerHost-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-C2aGGJxk.cjs"),k=require("./threeViewerHost-UHWY3q2v.cjs"),C=require("./index-1z9RrjZc.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-Cyk0Tzhx.cjs"),S=require("./index-BpPyaNFa.cjs"),V={class:"avatar-model-wrap"},N={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:w}){const u=s,i=w,m=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),h=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const _=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});b.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,c;try{const r=await k.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(h.value=m.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,i("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},y=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(I.ssAvatar,{avatarUrl:h.value,avatarBlob:b.value,size:s.size,onClickAvatar:_,onSubmitImage:B,onDeleteImage:y},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-882723d5"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:w}){const u=s,i=e.ref({}),m=e.ref([]),d=w,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{i.value.dialogShow=!1,d("beforeDestroy")},_=e.computed(()=>"http://222.92.178.198:62001"),B=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await k.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,i.value.dialogShow=!1;const n=new FormData,c=B(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.dialogShow&&(i.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),i.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,m.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:i.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=i.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:_.value+"/"+((p=s.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>{var p;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(p=a.label)!=null&&p.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ref as H, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Ha, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Qa, reactive as Zl, inject as Qr, provide as Xr, onBeforeUnmount as Yr, computed as Ma, onUnmounted as Zr, createSlots as Ir } from "vue";
|
|
2
2
|
import { ba as Vr, ae as en, c as q, E as $e, bY as ya, g as _l, p as hl, s as Ul, u as ln, bo as pa, d as Ka, b as yl, bp as an, f as rn, c1 as nn } from "./index-DbzvXPKu.js";
|
|
3
|
-
import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-
|
|
5
|
-
import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-
|
|
6
|
-
import { aK as Kl, aA as gn, i as al, j as hn, k as yn, u as vn, aJ as bn, a as Sn, aZ as Fa, a_ as wa, a$ as kn, b0 as Tn, l as Il, E as za, aH as Ja, b1 as Wa, aS as mn, b2 as An } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
-
import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkSoLqEi.js";
|
|
4
|
+
import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-BWECkG4C.js";
|
|
5
|
+
import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-Enxz60zh.js";
|
|
6
|
+
import { aK as Kl, aA as gn, i as al, j as hn, k as yn, u as vn, aJ as bn, a as Sn, aZ as Fa, a_ as wa, a$ as kn, b0 as Tn, l as Il, E as za, aH as Ja, b1 as Wa, aS as mn, b2 as An } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
7
|
+
import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-Bmq_QiXo.js";
|
|
8
8
|
import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import "./three-viewport-gizmo-CkQ98n-T.js";
|
|
10
|
-
import { s as Vl } from "./index-
|
|
11
|
-
import "./index-
|
|
10
|
+
import { s as Vl } from "./index-Ci_C9h8v.js";
|
|
11
|
+
import "./index-BlZXanJX.js";
|
|
12
12
|
import { i as Ga } from "./isString-CZMLuMzD.js";
|
|
13
13
|
const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
14
14
|
__name: "index",
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { ref as l, watch as m, defineComponent as b, reactive as y, onMounted as g, createElementBlock as D, openBlock as i, createVNode as f } from "vue";
|
|
2
|
+
import { s as h } from "./index-BM6YLczV.js";
|
|
3
|
+
import { g as C, s as c } from "./index-DbzvXPKu.js";
|
|
4
|
+
import { at as k, as as _, a as S, u as A, au as T } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
5
|
+
const B = S(), { itemData: I } = c(B), u = l(0), P = l([
|
|
6
|
+
{
|
|
7
|
+
label: "机构名称",
|
|
8
|
+
value: "",
|
|
9
|
+
name: "deptName"
|
|
10
|
+
}
|
|
11
|
+
]), x = (e) => {
|
|
12
|
+
console.log("handleQueryChange", e);
|
|
13
|
+
}, r = l([
|
|
14
|
+
{
|
|
15
|
+
key: "extraButton",
|
|
16
|
+
contents: [
|
|
17
|
+
{
|
|
18
|
+
label: "新增"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
key: "rowButton",
|
|
24
|
+
contents: [
|
|
25
|
+
{
|
|
26
|
+
label: "编辑"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
label: "删除"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
// {
|
|
34
|
+
// key: "tableIndex",
|
|
35
|
+
// contents: []
|
|
36
|
+
// },
|
|
37
|
+
{
|
|
38
|
+
key: "header",
|
|
39
|
+
contents: [
|
|
40
|
+
{
|
|
41
|
+
label: "职位名称",
|
|
42
|
+
prop: "postName"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "职位排序",
|
|
46
|
+
formType: "Number",
|
|
47
|
+
prop: "postOrder"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "备注",
|
|
51
|
+
formType: "TextArea",
|
|
52
|
+
prop: "remark"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: "操作"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
key: "tableContents",
|
|
61
|
+
contents: []
|
|
62
|
+
// contents: [
|
|
63
|
+
// // [
|
|
64
|
+
// // "数设科技",
|
|
65
|
+
// // "集团",
|
|
66
|
+
// // '启动'
|
|
67
|
+
// // ], [
|
|
68
|
+
// // "开发部",
|
|
69
|
+
// // "部门",
|
|
70
|
+
// // '启动'
|
|
71
|
+
// // ], [
|
|
72
|
+
// // "国核",
|
|
73
|
+
// // "组",
|
|
74
|
+
// // '启动'
|
|
75
|
+
// // ],
|
|
76
|
+
// ]
|
|
77
|
+
}
|
|
78
|
+
]), M = (e) => {
|
|
79
|
+
k(e.singleContent, e.buttonName, u.value);
|
|
80
|
+
}, N = (e) => {
|
|
81
|
+
console.log("onDoubleClick", e);
|
|
82
|
+
}, w = (e, t) => {
|
|
83
|
+
console.log("onButtonClick", e, t);
|
|
84
|
+
}, O = async (e) => {
|
|
85
|
+
const t = await _(C, {
|
|
86
|
+
key: {
|
|
87
|
+
type: "data",
|
|
88
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
89
|
+
pageKey: e
|
|
90
|
+
}
|
|
91
|
+
}, "查询"), n = t == null ? void 0 : t.map((a) => {
|
|
92
|
+
var o;
|
|
93
|
+
return {
|
|
94
|
+
id: a.id,
|
|
95
|
+
tableData: (o = a == null ? void 0 : a.value) == null ? void 0 : o.tableData
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
return n == null ? void 0 : n.map((a) => {
|
|
99
|
+
var o;
|
|
100
|
+
if (Array.isArray(a == null ? void 0 : a.tableData)) {
|
|
101
|
+
let s = { id: a.id };
|
|
102
|
+
return (o = a == null ? void 0 : a.tableData) == null || o.forEach((p, d) => {
|
|
103
|
+
s[`a${d}`] = p;
|
|
104
|
+
}), s;
|
|
105
|
+
} else
|
|
106
|
+
return {
|
|
107
|
+
...a.tableData,
|
|
108
|
+
id: a.id
|
|
109
|
+
};
|
|
110
|
+
});
|
|
111
|
+
}, j = {
|
|
112
|
+
comp: "Group",
|
|
113
|
+
name: "/系统管理/职位管理",
|
|
114
|
+
compData: [
|
|
115
|
+
{
|
|
116
|
+
key: "groupContents",
|
|
117
|
+
contents: [
|
|
118
|
+
{
|
|
119
|
+
comp: "Table",
|
|
120
|
+
compData: r.value,
|
|
121
|
+
name: ""
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
};
|
|
127
|
+
m(() => I.value, (e) => {
|
|
128
|
+
var t;
|
|
129
|
+
e && (e == null ? void 0 : e.length) > 0 && (r.value = (t = e == null ? void 0 : e[0]) == null ? void 0 : t.compData);
|
|
130
|
+
});
|
|
131
|
+
const v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
132
|
+
__proto__: null,
|
|
133
|
+
getPageDataAsync: O,
|
|
134
|
+
handleItemDataChange: M,
|
|
135
|
+
handleQueryChange: x,
|
|
136
|
+
onButtonClick: w,
|
|
137
|
+
onDoubleClick: N,
|
|
138
|
+
pageData: r,
|
|
139
|
+
queryFormData: P,
|
|
140
|
+
structureId: u,
|
|
141
|
+
tempPostPageData: j
|
|
142
|
+
}, Symbol.toStringTag, { value: "Module" })), q = /* @__PURE__ */ b({
|
|
143
|
+
__name: "index",
|
|
144
|
+
setup(e) {
|
|
145
|
+
const t = y({ ...v }), n = A(), { activeMenuPath: a } = c(n);
|
|
146
|
+
return g(async () => {
|
|
147
|
+
t.structureId = await T(a.value);
|
|
148
|
+
}), (o, s) => (i(), D("div", null, [
|
|
149
|
+
f(h, {
|
|
150
|
+
itemData: t.pageData,
|
|
151
|
+
onChange: t.handleItemDataChange
|
|
152
|
+
}, null, 8, ["itemData", "onChange"])
|
|
153
|
+
]));
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
export {
|
|
157
|
+
q as default
|
|
158
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as G, resolveComponent as e0, createBlock as j, openBlock as b, createCommentVNode as t0, createSlots as B2, withCtx as H, renderSlot as u0, defineComponent as w2, onMounted as ae, createVNode as X, createElementVNode as o0, createElementBlock as V, Fragment as y0, renderList as D0, createTextVNode as ie, toDisplayString as q0, reactive as r1, h as Ee, Transition as $r, withDirectives as ht, vShow as Wt, createApp as Wr, toRefs as Mo, nextTick as _2, isRef as jr, computed as i0, watch as m2, onBeforeUnmount as kn, normalizeStyle as X0, normalizeClass as Y3, resolveDynamicComponent as jt, normalizeProps as Ur, guardReactiveProps as Fr, mergeProps as a1, withModifiers as To, inject as qr, watchEffect as we, onUnmounted as c1, unref as it, resolveDirective as Yr } from "vue";
|
|
2
2
|
import { S as dt } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { h as Kr, d as Qe, S as ms, r as Xr, H as Qr, P as Jr, x as Zr, Q as vs, j as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { h as Kr, d as Qe, S as ms, r as Xr, H as Qr, P as Jr, x as Zr, Q as vs, j as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkSoLqEi.js";
|
|
4
4
|
import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as ne, s as On } from "./index-
|
|
6
|
-
import { a as Dn, u as zo, aL as Po } from "./index.vue_vue_type_style_index_1_lang-
|
|
5
|
+
import { _ as ne, s as On } from "./index-Ci_C9h8v.js";
|
|
6
|
+
import { a as Dn, u as zo, aL as Po } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
7
7
|
import { bx as Ao, by as Vo, c2 as ea, c3 as xs, bm as ta, aO as e3, K as ia, O as Eo, ap as Ct, aN as bs, N as Bo, c4 as na, p as t3, s as i3, c as q2, E as Mn, a as Lo, c5 as sa, aC as oa, ak as la, c6 as ra, b as aa, aK as ca } from "./index-DbzvXPKu.js";
|
|
8
|
-
import { b as Ho, T as K3, a as ha, d as da } from "./threeViewerHost-
|
|
9
|
-
import { s as ua } from "./index-
|
|
8
|
+
import { b as Ho, T as K3, a as ha, d as da } from "./threeViewerHost-Enxz60zh.js";
|
|
9
|
+
import { s as ua } from "./index-CxbH4zmS.js";
|
|
10
10
|
var fa = "[object Date]";
|
|
11
11
|
function pa(n) {
|
|
12
12
|
return Ao(n) && Vo(n) == fa;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { p as h, s as k, c as m, g as x } from "./index-DbzvXPKu.js";
|
|
3
|
-
import { u as M } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
-
import { s as D } from "./index-
|
|
3
|
+
import { u as M } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
4
|
+
import { s as D } from "./index-BM6YLczV.js";
|
|
5
5
|
import { a as T, d as S, f as w } from "./index-CKHNyMzP.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as f, computed as S, reactive as P } from "vue";
|
|
2
2
|
import { s as R, c9 as $, ca as B, c6 as H, g as _, u as j, p as L, c as J, f as x, E as T } from "./index-DbzvXPKu.js";
|
|
3
|
-
import { b3 as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { b3 as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
4
4
|
const A = j(L), { loginUserInfo: o, cryptoInfo: c } = R(A), Y = G(L), { activeMenuPath: g } = R(Y), Z = f(0), M = S(() => {
|
|
5
5
|
var s, a, t, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-B5nxyyO7.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=["title"],f={key:0,class:"menu-operate-icon"},h={class:"menu-config-wrap"},_=["onClick"],v={class:"module-dialog-content"};function y(o,l,V,M,N,m){var s;const i=e.resolveComponent("svg-icon"),c=e.resolveComponent("el-popover"),p=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(p,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d;return[e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,k),t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(c,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:w=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,_))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((s=o.renderMenuList)==null?void 0:s.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const B=u._export_sfc(C._sfc_main,[["render",y],["__scopeId","data-v-92477073"]]);exports.default=B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-wpD5_HUA.cjs"),p=require("./index-DW7I4GY6.cjs"),m=require("./index-BzOBvH4x.cjs"),h=require("./index-Cyk0Tzhx.cjs"),C=require("./index.vue_vue_type_style_index_1_lang-Cb3WPLY1.cjs"),d=require("./index-1z9RrjZc.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({..._.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=l.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(p.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"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.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",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as gi, a as bi, f as ki, g as _i, u as Ci, s as Di } from "./index-
|
|
1
|
+
import { b as gi, a as bi, f as ki, g as _i, u as Ci, s as Di } from "./index-BM6YLczV.js";
|
|
2
2
|
import { computed as Gl, ref as z, watch as wl, onUnmounted as wi, resolveComponent as tl, createElementBlock as Fe, openBlock as ce, createVNode as ee, createBlock as cl, createCommentVNode as jl, withCtx as be, createElementVNode as L, Fragment as gl, renderList as Sl, toDisplayString as Je, nextTick as Es, createTextVNode as al, unref as Cl, defineComponent as Yl, reactive as Ta, resolveDynamicComponent as Ca, renderSlot as ns, createSlots as Si, mergeProps as Ii, normalizeStyle as Ga, withModifiers as Ea, onMounted as fs, getCurrentInstance as xi } from "vue";
|
|
3
3
|
import { bx as Ai, by as Ei, s as El, p as Dl, u as vs, c as s, E as bl, b as Cs, g as Vl, f as ts, bp as Ha, bo as cs, d as Ba, bZ as Ds, e as Zs, bY as Ti, i as ei, bq as $i } from "./index-DbzvXPKu.js";
|
|
4
|
-
import { c as Ul, a as Ts, e as li, E as ai, f as Bi, d as Li, b as Oi, i as ls } from "./index-
|
|
5
|
-
import { a as qa, u as Xa, k as ys, aH as Fi, aI as ws, ap as Ss, i as Il, aJ as $s, E as ra, aK as Is, aL as Nl, aM as $a, aN as ua, aO as Sa, aP as ks, l as Ki, aQ as Ui, aR as Pi, aS as Rs, aT as Ri, aU as ji, aV as Mi, aW as Ni, aX as Vi, aY as Wi } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as Ml, _ as js } from "./index-
|
|
7
|
-
import { a as zi, T as Gi } from "./threeViewerHost-
|
|
8
|
-
import { S as Hi, e as as } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
+
import { c as Ul, a as Ts, e as li, E as ai, f as Bi, d as Li, b as Oi, i as ls } from "./index-BWECkG4C.js";
|
|
5
|
+
import { a as qa, u as Xa, k as ys, aH as Fi, aI as ws, ap as Ss, i as Il, aJ as $s, E as ra, aK as Is, aL as Nl, aM as $a, aN as ua, aO as Sa, aP as ks, l as Ki, aQ as Ui, aR as Pi, aS as Rs, aT as Ri, aU as ji, aV as Mi, aW as Ni, aX as Vi, aY as Wi } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
6
|
+
import { s as Ml, _ as js } from "./index-Ci_C9h8v.js";
|
|
7
|
+
import { a as zi, T as Gi } from "./threeViewerHost-Enxz60zh.js";
|
|
8
|
+
import { S as Hi, e as as } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkSoLqEi.js";
|
|
9
9
|
import { _ as Tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { d as si, i as Ji } from "./isUndefined-chfCDxUU.js";
|
|
11
11
|
import { i as Ms } from "./isString-CZMLuMzD.js";
|
|
12
|
-
import { a as qi, s as Xi } from "./index-
|
|
12
|
+
import { a as qi, s as Xi } from "./index-cA_EynOM.js";
|
|
13
13
|
import ii from "./index-DiRBJiMW.js";
|
|
14
|
-
import { s as Yi } from "./index-
|
|
14
|
+
import { s as Yi } from "./index-fzCcjoGJ.js";
|
|
15
15
|
var Qi = "[object Boolean]";
|
|
16
16
|
function ni(e) {
|
|
17
17
|
return e === !0 || e === !1 || Ai(e) && Ei(e) == Qi;
|
|
@@ -3170,7 +3170,7 @@ const St = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), It = (e) => {
|
|
|
3170
3170
|
var n;
|
|
3171
3171
|
let u = e.trim();
|
|
3172
3172
|
return (u == null ? void 0 : u[0]) !== "[" && (u == null ? void 0 : u[0]) !== "{" && ((n = xs(u, ",")) == null ? void 0 : n.length) === 1;
|
|
3173
|
-
}, At = (e) => /^'[^']+':(?:\[{1,2}.*\]{1,2})$/.exec(s(e)), zo = (e) => /^'([^']+)':.*$/.exec(s(e)), ss = (e) => {
|
|
3173
|
+
}, At = (e) => /^'[^']+':(?:\[{1,2}.*\]{1,2})$/.exec(s(e)), Et = (e) => /\[[^\[\]]*\]=.*$/.exec(s(e)), zo = (e) => /^'([^']+)':.*$/.exec(s(e)), ss = (e) => {
|
|
3174
3174
|
let u = e;
|
|
3175
3175
|
const n = [];
|
|
3176
3176
|
let l = "";
|
|
@@ -3184,7 +3184,7 @@ const St = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), It = (e) => {
|
|
|
3184
3184
|
for (const g of n)
|
|
3185
3185
|
t++, g.includes("{") || a.includes("{") || g.includes("[") || a.includes("[") || g.includes("【") || a.includes("【") || g.includes("(") || a.includes("(") || g.includes("(") || a.includes("(") || g.includes("/*") || a.includes("/*") ? (a += g.trim(), s(a).split("{").length - 1 === s(a).split("}").length - 1 && s(a).split("【").length - 1 === s(a).split("】").length - 1 && s(a).split("[").length - 1 === s(a).split("]").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("/*").length - 1 === s(a).split("*/").length - 1 && a[a.length - 1] !== "," && a[a.length - 1] === u ? (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "") : t === (e == null ? void 0 : e.length) && l.push(a.replace(/\/\*[\s\S]*?\*\//g, ""))) : (a += g.trim(), (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === u && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = ""));
|
|
3186
3186
|
return l;
|
|
3187
|
-
},
|
|
3187
|
+
}, Tt = (e, u) => {
|
|
3188
3188
|
let n = e;
|
|
3189
3189
|
const l = [];
|
|
3190
3190
|
let a = "", t = 0;
|
|
@@ -3203,7 +3203,7 @@ const St = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), It = (e) => {
|
|
|
3203
3203
|
for (const g of n)
|
|
3204
3204
|
t++, g.includes("{") || a.includes("{") || g.includes("[") || a.includes("[") || g.includes("【") || a.includes("【") || g.includes("(") || a.includes("(") || g.includes("(") || a.includes("(") || g.includes("/*") || a.includes("/*") ? (a += g.trim(), s(a).split("{").length - 1 === s(a).split("}").length - 1 && s(a).split("【").length - 1 === s(a).split("】").length - 1 && s(a).split("[").length - 1 === s(a).split("]").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("/*").length - 1 === s(a).split("*/").length - 1 && a[a.length - 1] === u && Ws(a, "'") ? (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "") : t === (e == null ? void 0 : e.length) && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "")) : (a += g.trim(), (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === u && Ws(a, "'") && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = ""));
|
|
3205
3205
|
return (a == null ? void 0 : a.length) !== 0 && l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), l;
|
|
3206
|
-
},
|
|
3206
|
+
}, $t = (e) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(s(e)), Bt = (e) => {
|
|
3207
3207
|
var u, n, l, a, t, g, p, _, c, h, T, w, ie, P, Se, R, j, he, k, S, v, D, oe, Z, Ke, Qe, dl, ll, Xe, m, J, re, _e, $e, ae, q, f, fe, Q, ve, ze, Re, we, Ye, se, Pe, xe, je, G, E, le, te, Me, de, i, r, C, y, o, U, $, O, A, x, me, M, K, I, X, B, H, Y, ke, b, F, W, Ae, ge, Be, V, Ee, Ie;
|
|
3208
3208
|
if (zo(e)) {
|
|
3209
3209
|
let De = {}, pe = (l = (n = (u = e == null ? void 0 : e.replace(":", nl)) == null ? void 0 : u.split(nl)) == null ? void 0 : n[0]) == null ? void 0 : l.replaceAll("'", ""), ne = "", Ne = "", N = (t = (a = e == null ? void 0 : e.replace(":", nl)) == null ? void 0 : a.split(nl)) == null ? void 0 : t[1];
|
|
@@ -3259,13 +3259,13 @@ const St = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), It = (e) => {
|
|
|
3259
3259
|
formContents: [[De]]
|
|
3260
3260
|
};
|
|
3261
3261
|
}
|
|
3262
|
-
},
|
|
3262
|
+
}, Lt = (e) => (e == null ? void 0 : e[0]) === "[" && (e == null ? void 0 : e[e.length - 1]) === "]" && !(e != null && e.includes("{")), Go = (e, u) => {
|
|
3263
3263
|
let n = e.length;
|
|
3264
3264
|
for (; n--; )
|
|
3265
3265
|
if (e[n] === ")")
|
|
3266
3266
|
return e.substring(0, n) + u + e.substring(n + 1);
|
|
3267
3267
|
return e;
|
|
3268
|
-
},
|
|
3268
|
+
}, Ot = (e) => {
|
|
3269
3269
|
var t, g, p, _, c;
|
|
3270
3270
|
let u = e.slice(1, e.length - 1), n;
|
|
3271
3271
|
(u == null ? void 0 : u[0]) === "[" ? n = (g = (t = ss(s(u))) == null ? void 0 : t.filter((h) => h !== ",")) == null ? void 0 : g.map((h) => h == null ? void 0 : h.slice(1, h.length - 1)) : (u = "[" + s(u) + "]", n = (_ = (p = ss(s(u))) == null ? void 0 : p.filter((h) => h !== ",")) == null ? void 0 : _.map((h) => h == null ? void 0 : h.slice(1, h.length - 1))), n = (c = s(n)) == null ? void 0 : c.map((h) => {
|
|
@@ -6389,21 +6389,21 @@ function Lr() {
|
|
|
6389
6389
|
Lr();
|
|
6390
6390
|
const Ia = vs(), { loginUserInfo: is } = El(Ia), Al = qa(Dl), rs = z(!1), {
|
|
6391
6391
|
itemData: Or,
|
|
6392
|
-
itemGridData:
|
|
6392
|
+
itemGridData: Ft,
|
|
6393
6393
|
curStructureCompIds: Hs,
|
|
6394
6394
|
isSubmitCurStructure: Fr,
|
|
6395
6395
|
isRefreshCurStructure: Kr,
|
|
6396
6396
|
freshContent: Js,
|
|
6397
6397
|
routeToChildPath: Ur
|
|
6398
|
-
} = El(Al), aa = Xa(Dl), { activeTopMenuPath: Pr, activeMenuPath: Ll, platform:
|
|
6398
|
+
} = El(Al), aa = Xa(Dl), { activeTopMenuPath: Pr, activeMenuPath: Ll, platform: Kt, activeAsideMenu: Rr, buttonTriggerType: jr } = El(aa), Xl = Ci(Dl), { selectTitle: qs } = El(Xl), Mr = ys(Dl), { originalPath: ms } = El(Mr), Xs = Wi(Dl), As = z(!0), ps = z(0), fi = z([]), Ja = Gl(async () => {
|
|
6399
6399
|
var u, n;
|
|
6400
6400
|
const e = (u = Ll.value) != null && u.startsWith("/") ? (n = Ll.value) == null ? void 0 : n.substring(1) : Ll.value;
|
|
6401
6401
|
return (e == null ? void 0 : e.includes(ms.value)) || await zr(e);
|
|
6402
|
-
}),
|
|
6402
|
+
}), Ut = () => {
|
|
6403
6403
|
Al.setIsEdit("edit"), Al.setSubmitCurStructure(Ll.value !== "/平台管理/菜单管理");
|
|
6404
|
-
},
|
|
6404
|
+
}, Pt = () => {
|
|
6405
6405
|
Al.setIsEdit("view"), Al.setRefreshCurStructure(!0);
|
|
6406
|
-
},
|
|
6406
|
+
}, Rt = async (e) => {
|
|
6407
6407
|
var u;
|
|
6408
6408
|
if ((e == null ? void 0 : e.key) === "main" || qs.value.length === 1)
|
|
6409
6409
|
xl.value = await Il(Ll.value, sessionStorage.getItem("systemKey"), "", !1, [], await Ja.value), Xl.setSelectIndex(""), Xl.setSelectMenu(""), Xl.setSelectTitle([]);
|
|
@@ -6469,7 +6469,7 @@ const Ia = vs(), { loginUserInfo: is } = El(Ia), Al = qa(Dl), rs = z(!1), {
|
|
|
6469
6469
|
} catch {
|
|
6470
6470
|
bl.error("保存响应失败");
|
|
6471
6471
|
}
|
|
6472
|
-
},
|
|
6472
|
+
}, jt = async (e) => {
|
|
6473
6473
|
var c;
|
|
6474
6474
|
const u = JSON.parse(s(JSON.stringify(Or.value)));
|
|
6475
6475
|
if (!Fr.value)
|
|
@@ -6493,7 +6493,7 @@ const Ia = vs(), { loginUserInfo: is } = El(Ia), Al = qa(Dl), rs = z(!1), {
|
|
|
6493
6493
|
}).catch((h) => {
|
|
6494
6494
|
bl.success(h);
|
|
6495
6495
|
});
|
|
6496
|
-
}, vi = (e) => Qa(e), xl = z([]),
|
|
6496
|
+
}, vi = (e) => Qa(e), xl = z([]), Mt = z(["审批意见"]), Nr = async (e) => {
|
|
6497
6497
|
var l, a, t, g, p, _;
|
|
6498
6498
|
let u = s(Ll).value;
|
|
6499
6499
|
u = u + ms.value + ((l = Object.values(e == null ? void 0 : e.singleContent)) == null ? void 0 : l[0]);
|
|
@@ -6750,7 +6750,7 @@ wl(
|
|
|
6750
6750
|
},
|
|
6751
6751
|
{ deep: !0 }
|
|
6752
6752
|
);
|
|
6753
|
-
const
|
|
6753
|
+
const Nt = async () => {
|
|
6754
6754
|
var a, t, g, p, _, c, h, T;
|
|
6755
6755
|
aa.setLinkMenuInfo(null);
|
|
6756
6756
|
const e = await Vl({
|
|
@@ -6772,7 +6772,7 @@ const Mt = async () => {
|
|
|
6772
6772
|
type: "删除",
|
|
6773
6773
|
data: n
|
|
6774
6774
|
}, Ll.value)), aa.setActiveMenuPath(Ur.value), xl.value = null, Al.setRouteToChildPath(""), aa.setChildMenu("");
|
|
6775
|
-
}, Hr = (e) => /^[\u4e00-\u9fa5]+\/[\u4e00-\u9fa5]+\^(.+)$/.test(e),
|
|
6775
|
+
}, Hr = (e) => /^[\u4e00-\u9fa5]+\/[\u4e00-\u9fa5]+\^(.+)$/.test(e), Vt = (e) => {
|
|
6776
6776
|
if (Hr(e)) {
|
|
6777
6777
|
const u = e == null ? void 0 : e.split("^");
|
|
6778
6778
|
(u == null ? void 0 : u.length) > 0 && (u != null && u[0]) && aa.setLinkMenuInfo({
|
|
@@ -7176,22 +7176,23 @@ function Qa(e) {
|
|
|
7176
7176
|
return ct[e == null ? void 0 : e.toUpperCase()] || null;
|
|
7177
7177
|
}
|
|
7178
7178
|
export {
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7179
|
+
It as A,
|
|
7180
|
+
Lt as B,
|
|
7181
|
+
xt as C,
|
|
7182
|
+
Bt as D,
|
|
7183
|
+
Ot as E,
|
|
7184
|
+
os as F,
|
|
7184
7185
|
vi as a,
|
|
7185
7186
|
yi as b,
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7187
|
+
Pt as c,
|
|
7188
|
+
Rt as d,
|
|
7189
|
+
jt as e,
|
|
7190
|
+
Ut as f,
|
|
7190
7191
|
Qa as g,
|
|
7191
|
-
|
|
7192
|
-
|
|
7192
|
+
Nt as h,
|
|
7193
|
+
Mt as i,
|
|
7193
7194
|
As as j,
|
|
7194
|
-
|
|
7195
|
+
Vt as k,
|
|
7195
7196
|
fi as l,
|
|
7196
7197
|
mi as m,
|
|
7197
7198
|
ps as n,
|
|
@@ -7200,11 +7201,11 @@ export {
|
|
|
7200
7201
|
Yo as q,
|
|
7201
7202
|
tt as r,
|
|
7202
7203
|
xl as s,
|
|
7203
|
-
|
|
7204
|
+
$t as t,
|
|
7204
7205
|
ss as u,
|
|
7205
|
-
|
|
7206
|
+
Tt as v,
|
|
7206
7207
|
xs as w,
|
|
7207
7208
|
St as x,
|
|
7208
7209
|
At as y,
|
|
7209
|
-
|
|
7210
|
+
Et as z
|
|
7210
7211
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unref as m, defineComponent as W, inject as ue, ref as P, computed as w, onBeforeUnmount as qe, toRef as Ke, createBlock as Z, openBlock as $, Transition as cn, withCtx as z, withDirectives as De, createElementVNode as _, withModifiers as ie, normalizeClass as L, normalizeStyle as Oe, vShow as Ct, createElementBlock as K, Fragment as Ut, createVNode as ee, watch as U, nextTick as we, provide as Ne, reactive as ot, onActivated as sr, onMounted as Fe, onUpdated as ir, createCommentVNode as Q, resolveDynamicComponent as Wt, renderSlot as H, cloneVNode as ur, Text as cr, Comment as dr, mergeProps as dn, shallowRef as to, getCurrentInstance as Tt, Teleport as fr, onBeforeMount as pr, readonly as vr, onDeactivated as mr, toDisplayString as Se, toRaw as gr, toRefs as fn, watchEffect as hr, resolveComponent as je, resolveDirective as br, toHandlerKey as yr, renderList as $n, createTextVNode as Ln, withKeys as ht, vModelText as wr, isVNode as Sr } from "vue";
|
|
2
2
|
import { m as no, bK as Or, i as Er, k as Cr, b_ as oo, t as ro, b0 as Ue, n as Tr, b$ as Rr, y as te, x as ke, _ as ne, A as ae, F as ao, G as nn, K as Ve, z as F, D as Bn, a3 as Le, a2 as rt, N as ge, H as ct, P as on, ao as lo, aI as nt, ai as so, aH as Dn, av as Ir, aa as jt, b2 as io, a9 as Me, w as uo, U as he, bU as kr, b9 as Mr, Q as Pr, c0 as Ar, W as $r, L as rn, ak as Vn, Z as Lr, ac as Br, aM as Dr, I as zt, b3 as Nn, be as Vr, O as Nr, ab as Fr, af as zr, V as Fn, ae as Hr, a6 as Wr, bh as jr, $ as co } from "./index-DbzvXPKu.js";
|
|
3
|
-
import { aC as fo, aD as Kr, az as Ur, t as Gt, aE as zn, a2 as Hn, a0 as _r, Q as qr, aF as Gr, x as pn, G as po, F as yt, P as Qr, R as Zr, D as Xr, H as Yr, M as Jr, U as tt, C as vo, B as xr } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { aC as fo, aD as Kr, az as Ur, t as Gt, aE as zn, a2 as Hn, a0 as _r, Q as qr, aF as Gr, x as pn, G as po, F as yt, P as Qr, R as Zr, D as Xr, H as Yr, M as Jr, U as tt, C as vo, B as xr } from "./index.vue_vue_type_style_index_1_lang-Bl5IzVKi.js";
|
|
4
4
|
import { i as ea, d as ta } from "./isUndefined-chfCDxUU.js";
|
|
5
5
|
function na(e, t, n, r) {
|
|
6
6
|
for (var a = e.length, l = n + (r ? 1 : -1); r ? l-- : ++l < a; )
|