ss-component-new 1.1.714 → 1.1.715
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-D1rENrtC.js → array-CV47iU9i.js} +1 -1
- package/dist/{array-DiC30wYM.cjs → array-C_A3GqHl.cjs} +1 -1
- package/dist/icons/svg/colOperate.svg +1 -0
- package/dist/index-47QrfG4u.cjs +15 -0
- package/dist/{index-JNw-0LM6.js → index-62jpKG-S.js} +10 -11
- package/dist/index-8idzhcUq.cjs +4207 -0
- package/dist/index-8oaOF8hU.cjs +1 -0
- package/dist/index-B1EBZK4V.cjs +1 -0
- package/dist/index-B4D4I9Ei.cjs +1 -0
- package/dist/{index-DqIn00H8.js → index-B9e8jfXC.js} +2 -2
- package/dist/index-BAdkTvA0.cjs +1 -0
- package/dist/index-BDM24WTf.cjs +1 -0
- package/dist/{index-cplChbGm.js → index-BF1d01SM.js} +5 -5
- package/dist/{index-B7xlKvbO.cjs → index-BOZohpjd.cjs} +1 -1
- package/dist/{index-H-bGpaNs.js → index-BU8nVgIT.js} +1 -1
- package/dist/{index-CCxinvIS.js → index-Ba_1AoLH.js} +8 -9
- package/dist/{index-BhN_xaKB.js → index-BcNQOPYD.js} +2 -2
- package/dist/{index-BEHcZREm.js → index-Bcpi7fL8.js} +22 -23
- package/dist/{index-CU5qn5hA.js → index-Bdy9rjka.js} +2 -2
- package/dist/index-Bi9dI5Fg.cjs +1 -0
- package/dist/{index-DxQ-WNaQ.js → index-Bu_OR9tS.js} +7654 -7620
- package/dist/{index-S15gAcDT.js → index-ByunADrM.js} +14 -15
- package/dist/index-C6SI8hvh.cjs +1 -0
- package/dist/{index-DldssUmp.cjs → index-C9Nq7qdZ.cjs} +1 -1
- package/dist/{index-Dq3Gb645.cjs → index-CGf9qaM9.cjs} +1 -1
- package/dist/index-CGv_PH5k.cjs +1 -0
- package/dist/index-CHlc1LGK.cjs +1 -0
- package/dist/index-C_1UdyuB.cjs +1 -0
- package/dist/{index-k3Bxo8CN.js → index-ChQSWsp7.js} +7 -8
- package/dist/{index-BvgxZw84.js → index-CpnXGkvz.js} +4 -4
- package/dist/{index-DwW2YuMT.js → index-Cw3WXgi7.js} +1 -1
- package/dist/{index-BFZBbjlZ.js → index-D-t9ZfYS.js} +2 -2
- package/dist/{index-FC3u5SDQ.js → index-D7KHXUkP.js} +5 -5
- package/dist/{index-CRKPHTGu.js → index-D8qVbjll.js} +1 -1
- package/dist/index-DSPdpu8p.cjs +1 -0
- package/dist/{index-C9_p4Vm6.js → index-DZbUzYxD.js} +463 -461
- package/dist/{index-Byy_Xtef.js → index-DpzKMBIi.js} +5 -6
- package/dist/index-Du6TCMb3.cjs +1 -0
- package/dist/index-DwlLvQ7U.cjs +1 -0
- package/dist/index-HqICPCny.cjs +1 -0
- package/dist/{index-B9dgbtyu.js → index-QzT_XISi.js} +43 -44
- package/dist/index-VBY1u2Ig.cjs +1 -0
- package/dist/{index-C3bhZmjl.js → index-XuxfvwKY.js} +5 -5
- package/dist/{index-Cpx_u9T6.js → index-cBErNLtY.js} +3 -3
- package/dist/index-e750qP8Q.cjs +1 -0
- package/dist/{index-DOs-6Cx7.cjs → index-glKQqAZb.cjs} +1 -1
- package/dist/{index-Bvnvuwkn.js → index-h0An6eiK.js} +3603 -3594
- package/dist/index-iGVtZ2hS.cjs +1 -0
- package/dist/{index-di1QdZZr.js → index-s4l8lwWV.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-BcMm1KLj.cjs → index.vue_vue_type_script_setup_true_lang-BkYehasn.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DN-3ZDhB.js → index.vue_vue_type_script_setup_true_lang-D6xvhgat.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BHHPVcqx.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUNGVKqd.cjs} +135 -135
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DCPQmJ8P.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D5Z2_TwH.js} +12799 -12774
- package/dist/{index.vue_vue_type_style_index_0_scoped_ffb37532_lang-bjlUC_Ux.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-B_rzoL0d.cjs} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_ffb37532_lang-DB4kiFum.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-C7I7XGpj.js} +105 -106
- package/dist/index.vue_vue_type_style_index_0_scoped_c81d0427_lang-B_z2hHzZ.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-Bem94E3F.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DcDtqJuK.js} +53 -54
- package/dist/{menu-BRpPhHno.js → login-BLjZKKjO.js} +1006 -881
- package/dist/login-C8QOZ9u0.cjs +11 -0
- package/dist/{main-slCUa76N.js → main-DDfJ4Ebu.js} +4 -4
- package/dist/main-o1aT6Tx9.cjs +1 -0
- 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-BY_tDAcc.js → threeModel-8wtgLTlp.js} +2 -2
- package/dist/threeModel-cQmQcupA.cjs +1 -0
- package/package.json +1 -1
- package/public/icons/svg/colOperate.svg +1 -0
- package/dist/index-B1XyxOHh.cjs +0 -1
- package/dist/index-B6eLhxMJ.cjs +0 -1
- package/dist/index-BLZNIRkY.cjs +0 -15
- package/dist/index-BYA9VCDi.cjs +0 -1
- package/dist/index-C-VUvax5.cjs +0 -1
- package/dist/index-CGebARL6.cjs +0 -1
- package/dist/index-CHcDZKUi.cjs +0 -1
- package/dist/index-COoh2ijF.cjs +0 -1
- package/dist/index-CPj1rc3m.cjs +0 -1
- package/dist/index-Cdz4ZgAR.cjs +0 -4207
- package/dist/index-Cj-k4kxo.cjs +0 -1
- package/dist/index-Coxoz81K.cjs +0 -1
- package/dist/index-D6xSLp3Q.cjs +0 -1
- package/dist/index-DSC06oXb.cjs +0 -1
- package/dist/index-DTLKy7rp.cjs +0 -1
- package/dist/index-Decs_B4B.cjs +0 -1
- package/dist/index-Dp1mAXQ2.cjs +0 -1
- package/dist/index-Nn47GzGZ.cjs +0 -1
- package/dist/index-Yr549Xbj.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CiYmZBSD.cjs +0 -1
- package/dist/login-CCz_BcJe.cjs +0 -1
- package/dist/login-h0Hl0hFq.js +0 -129
- package/dist/main-DUyxM_WP.cjs +0 -1
- package/dist/menu-vml_xHJD.cjs +0 -11
- package/dist/threeModel-W5f1wios.cjs +0 -1
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { onMounted as h, resolveComponent as C, createElementBlock as g, openBlock as y, createVNode as B } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./
|
|
4
|
-
import "./array-
|
|
2
|
+
import "./index-Bcpi7fL8.js";
|
|
3
|
+
import "./login-BLjZKKjO.js";
|
|
4
|
+
import "./array-CV47iU9i.js";
|
|
5
5
|
import { _ as v } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-
|
|
7
|
-
import "./index.
|
|
8
|
-
import "./login-h0Hl0hFq.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DcDtqJuK.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_8606206c_lang-C7I7XGpj.js";
|
|
9
8
|
import "./index-BHtNKL1L.js";
|
|
10
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D5Z2_TwH.js";
|
|
11
10
|
import "./index-BCZ59Y4K.js";
|
|
12
|
-
import "./index-
|
|
11
|
+
import "./index-Bu_OR9tS.js";
|
|
13
12
|
import "vue-router";
|
|
14
|
-
const
|
|
13
|
+
const S = {
|
|
15
14
|
__name: "index",
|
|
16
15
|
props: {
|
|
17
16
|
windowConfig: {
|
|
@@ -50,9 +49,9 @@ const p = {
|
|
|
50
49
|
},
|
|
51
50
|
emits: ["buildContent", "openThreeBuild", "threeData"],
|
|
52
51
|
setup(o, { emit: u }) {
|
|
53
|
-
const t = o, n = u,
|
|
52
|
+
const t = o, n = u, l = () => {
|
|
54
53
|
n("buildContent");
|
|
55
|
-
},
|
|
54
|
+
}, r = () => {
|
|
56
55
|
n("setLoginInfo");
|
|
57
56
|
}, m = (e) => {
|
|
58
57
|
n("openThreeBuild", e);
|
|
@@ -76,16 +75,16 @@ const p = {
|
|
|
76
75
|
showButton: t == null ? void 0 : t.showButton,
|
|
77
76
|
nodeDev: t == null ? void 0 : t.nodeDev,
|
|
78
77
|
windowConfig: o.windowConfig,
|
|
79
|
-
onBuildContent:
|
|
78
|
+
onBuildContent: l,
|
|
80
79
|
onOpenThreeBuild: m,
|
|
81
80
|
pageKey: o.pageKey,
|
|
82
81
|
onThreeData: s,
|
|
83
|
-
onSetLoginInfo:
|
|
82
|
+
onSetLoginInfo: r
|
|
84
83
|
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "pageKey"])
|
|
85
84
|
]);
|
|
86
85
|
};
|
|
87
86
|
}
|
|
88
|
-
},
|
|
87
|
+
}, F = /* @__PURE__ */ v(S, [["__scopeId", "data-v-7138c9e0"]]);
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
F as default
|
|
91
90
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("vue"),d=require("./index-2p69g4HY.cjs"),c=require("./index-VBY1u2Ig.cjs"),u=require("./login-C8QOZ9u0.cjs"),g=u.useModelComp(),{itemData:D}=u.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:[]}]),h=e=>{c.submitTableAsyncByVerify(e.singleContent,e.buttonName,b.value)},C=e=>{console.log("onDoubleClick",e)},k=(e,t)=>{console.log("onButtonClick",e,t)},m=async e=>{const t=await c.handleSubmitAsync(d.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:m,handleItemDataChange:h,handleQueryChange:f,onButtonClick:k,onDoubleClick:C,pageData:s,queryFormData:i,structureId:b,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"}));exports.State=T;
|
|
@@ -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-BkYehasn.cjs"),y=require("./index-47QrfG4u.cjs"),x=require("./index-2p69g4HY.cjs"),C=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://222.92.178.198:62001"),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){x.ElMessage.error(r)}},b=async()=>{try{if(!d.value)return}catch(o){x.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=C._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://222.92.178.198:62001"),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){x.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=C._export_sfc(E,[["__scopeId","data-v-b9bd887d"]]);exports.ssAvatar=V;exports.ssSignature=U;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-B_z2hHzZ.cjs"),e=require("vue"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C=["title"],f={key:0,class:"menu-operate-icon"},u={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,{class:"vertical-menu",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??((t==null?void 0:t.level)<=2?"default":""),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,C),t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("span",f,[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",u,[(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=_._export_sfc(p._sfc_main,[["render",v],["__scopeId","data-v-c81d0427"]]);exports.default=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-8idzhcUq.cjs"),a=require("./index-VBY1u2Ig.cjs"),n=require("./login-C8QOZ9u0.cjs"),i=t.defineComponent({__name:"index",setup(s){const o=n.useMenuState(),{activeMenuPath:c}=n.storeToRefs(o),u=n.useLoginState(),e=t.reactive({...a.State});return t.onMounted(async()=>{u.getModelSecretAsync(),e.structureId=await a.getActivePageStructureId(c.value)}),(l,d)=>(t.openBlock(),t.createElementBlock("div",null,[t.createVNode(r.ssTable,{compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
|
|
@@ -0,0 +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-CUNGVKqd.cjs");const n=require("./login-C8QOZ9u0.cjs");require("./index-2p69g4HY.cjs");const o=require("./index-8idzhcUq.cjs"),c=require("./index-C6SI8hvh.cjs"),u=require("./index-VBY1u2Ig.cjs"),i={class:"role-wrapper"},s=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,_)=>(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),o=require("./login-C8QOZ9u0.cjs"),_=require("./index-8idzhcUq.cjs"),r=require("./index-BrQVl4Zd.cjs"),C=require("./index-2p69g4HY.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const d=o.useMenuState(o.pinia),{menus:c}=o.storeToRefs(d),p=l.ref([]),f=async()=>{var u,t,n,a;const e=await C.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((u=e==null?void 0:e.data)==null?void 0:u.type)==="success"){let i=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return i=(a=o.cloneDeep(i))==null?void 0:a.map(s=>{var m;const b=Object.values((m=s==null?void 0:s.value)==null?void 0:m.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),i}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=o.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,u)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(_.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as m, createVNode as i } from "vue";
|
|
2
|
-
import { s as u } from "./index-
|
|
3
|
-
import { S as l, i as p } from "./index-
|
|
4
|
-
import { a as d, s as g } from "./
|
|
5
|
-
|
|
6
|
-
const M = /* @__PURE__ */ o({
|
|
2
|
+
import { s as u } from "./index-Bu_OR9tS.js";
|
|
3
|
+
import { S as l, i as p } from "./index-Ba_1AoLH.js";
|
|
4
|
+
import { a as d, s as g, b as h } from "./login-BLjZKKjO.js";
|
|
5
|
+
const D = /* @__PURE__ */ o({
|
|
7
6
|
__name: "index",
|
|
8
|
-
setup(
|
|
9
|
-
const t = d(), { activeMenuPath: a } = g(t), n =
|
|
7
|
+
setup(f) {
|
|
8
|
+
const t = d(), { activeMenuPath: a } = g(t), n = h(), e = c({ ...l });
|
|
10
9
|
return s(async () => {
|
|
11
10
|
n.getModelSecretAsync(), e.structureId = await p(a.value);
|
|
12
11
|
}), (C, S) => (m(), r("div", null, [
|
|
@@ -21,5 +20,5 @@ const M = /* @__PURE__ */ o({
|
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
22
|
export {
|
|
24
|
-
|
|
23
|
+
D as default
|
|
25
24
|
};
|
|
@@ -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 { s as B } from "./index-
|
|
4
|
-
import { s as F, e as y } from "./index-
|
|
5
|
-
import { a as S, p as I, s as N } from "./
|
|
2
|
+
import { S as x } from "./index-62jpKG-S.js";
|
|
3
|
+
import { s as B } from "./index-Bu_OR9tS.js";
|
|
4
|
+
import { s as F, e as y } from "./index-h0An6eiK.js";
|
|
5
|
+
import { a as S, p as I, s as N } from "./login-BLjZKKjO.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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-
|
|
1
|
+
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DcDtqJuK.js";
|
|
2
2
|
import { resolveComponent as a, createElementBlock as s, openBlock as l, Fragment as f, createVNode as n, withCtx as i, createElementVNode as r, createCommentVNode as D, normalizeStyle as b, toDisplayString as C, renderList as h, createTextVNode as u, createBlock as B, resolveDynamicComponent as w } from "vue";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const V = ["title"], $ = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
|
-
import { a as h, p as k, s as x, c as m } from "./
|
|
3
|
-
import { s as M } from "./index-
|
|
2
|
+
import { a as h, p as k, s as x, c as m } from "./login-BLjZKKjO.js";
|
|
3
|
+
import { s as M } from "./index-Bu_OR9tS.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-CatyTybI.js";
|
|
5
5
|
import { g as w } from "./index-BCZ59Y4K.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { u as B, p as V, s as S, c as v } from "./
|
|
4
|
-
import "./array-
|
|
2
|
+
import { s as Y, g as J } from "./index-Bcpi7fL8.js";
|
|
3
|
+
import { u as B, p as V, s as S, c as v } from "./login-BLjZKKjO.js";
|
|
4
|
+
import "./array-CV47iU9i.js";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
import Z from "./index-CZtXRS3l.js";
|
|
7
|
-
import { b as ee } from "./index-
|
|
8
|
-
import { E as te } from "./index-
|
|
7
|
+
import { b as ee } from "./index-h0An6eiK.js";
|
|
8
|
+
import { E as te } from "./index-D8qVbjll.js";
|
|
9
9
|
import { E as ne } from "./index-BCZ59Y4K.js";
|
|
10
10
|
const oe = { class: "type-select" }, se = ["onClick"], ae = { class: "list-icon" }, le = {
|
|
11
11
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as b, getCurrentInstance as Je, inject as pe, unref as u, ref as A, onMounted as ue, watch as G, toRef as Ge, onUnmounted as zn, shallowRef as Ke, nextTick as z, defineComponent as ee, useAttrs as _n, useSlots as un, createElementBlock as O, openBlock as E, normalizeStyle as je, normalizeClass as S, createCommentVNode as k, Fragment as Ae, createElementVNode as P, renderSlot as W, createBlock as M, withCtx as L, resolveDynamicComponent as Y, mergeProps as ft, withModifiers as Me, createVNode as ae, toDisplayString as Q, onBeforeUnmount as Ne, provide as cn, Text as Dn, reactive as dn, isVNode as X, Comment as Kn, h as Un, watchEffect as Yn, isRef as Wn, onScopeDispose as Gn, markRaw as vt, toRefs as jn, resolveComponent as ke, Transition as qn, withDirectives as st, withKeys as Oe, createTextVNode as at, vShow as rt, render as fn } from "vue";
|
|
2
2
|
import { bu as Vt, d as vn, k as pn, t as Xn, bv as Jn, h as Zn, bw as Qn, D as _, ap as hn, bc as St, S as we, m as zt, n as Ze, Y as ve, ak as eo, o as Ee, $ as qe, a9 as mn, I as le, O as to, V as no, W as oo, aS as so, y as Ie, L as xe, _ as Le, u as he, aJ as ao, bx as ro, by as io, M as gn, H as lo, F as re, N as Ue, ah as uo, J as Xe, z as bn, Q as Ct, av as co, Z as pt, a4 as fo, U as Ye, al as ht, bz as vo, w as _t, x as po, ar as Dt, aK as ho, aL as mo, a0 as go, G as bo, bg as yo, T as Kt, B as Eo } from "./index-BCZ59Y4K.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as yn, q as wo, r as So, t as Co, v as To } from "./login-BLjZKKjO.js";
|
|
4
4
|
var Ut = Vt ? Vt.isConcatSpreadable : void 0;
|
|
5
5
|
function ko(e) {
|
|
6
6
|
return vn(e) || yn(e) || !!(Ut && e && e[Ut]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),m=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUNGVKqd.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c=require("./login-C8QOZ9u0.cjs"),y={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const r=a;let t=null,e=null;const o=n.ref({}),s=n.ref(null),p=()=>{s.value&&(e=new ResizeObserver(()=>{i()}),e.observe(s.value))};n.onMounted(()=>{o.value=r.optionContents,d(),window.addEventListener("resize",i),p()}),n.watch(()=>r.optionContents,()=>{o.value=r.optionContents,d()}),n.onUnmounted(()=>{e&&e.disconnect(),window.addEventListener("resize",i)});const i=()=>{t.resize()},d=()=>{t&&t.dispose(),t=m.init(document.getElementById("chartModelId"));const l=o.value;t.setOption(l),t.resize()};return(l,f)=>(n.openBlock(),n.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:s},null,512))}},x=g._export_sfc(y,[["__scopeId","data-v-798284db"]]),C=(a,r,t)=>{var s,p,i,d;let e=r;e.title.text=(t==null?void 0:t.chartName)??"",e.xAxis.data=(s=c.cloneDeep(a))==null?void 0:s.map(l=>l.x),e.legend.data=(i=(p=c.cloneDeep(a))==null?void 0:p[0])!=null&&i.y?Object.keys(c.cloneDeep(a)[0].y):[];let o=[];return((d=e.legend.data)==null?void 0:d.length)>0&&c.cloneDeep(e.legend.data).forEach(l=>{var h;const f=(h=c.cloneDeep(a))==null?void 0:h.map(u=>{var v;return(v=u==null?void 0:u.y)==null?void 0:v[l]});o.push({name:l,type:"line",data:f})}),e.series=o,e},_=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],b={class:"eCharts"},z={__name:"index",props:{eChartContents:Array},setup(a){const r=a,t=n.ref({});return n.onMounted(()=>{var o;const e=r==null?void 0:r.eChartContents;t.value=C(c.cloneDeep(e==null?void 0:e.compData),(o=_==null?void 0:_.find(s=>(s==null?void 0:s.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(n.openBlock(),n.createElementBlock("div",b,[n.createVNode(x,{optionContents:t.value},null,8,["optionContents"])]))}},k=g._export_sfc(z,[["__scopeId","data-v-0440fac3"]]);exports.default=k;
|