ss-component-new 1.2.19 → 1.2.21
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-DHZB79in.js → animationData-BgVD7m_Z.js} +4 -4
- package/dist/{animationData-CM-r9wyr.cjs → animationData-CMbPkqzG.cjs} +1 -1
- package/dist/{array-DtLHXuRQ.cjs → array-CFSAyjws.cjs} +1 -1
- package/dist/{array-lSB-nT70.js → array-DPyu0w54.js} +2 -2
- package/dist/{index-BdpUfLri.cjs → index-10VrsYdM.cjs} +1 -1
- package/dist/{index-BA5XOzgo.js → index-B0IAWN2b.js} +6 -6
- package/dist/{index-CQF_xosZ.cjs → index-B1GAMEgu.cjs} +1 -1
- package/dist/{index-Cwgs7EkD.js → index-B1XSRq6_.js} +1 -1
- package/dist/index-B3GHAekq.cjs +1 -0
- package/dist/{index-qagc_PIZ.js → index-B3VR9DS9.js} +127 -127
- package/dist/{index-CYp77kPp.js → index-B42dCx1W.js} +35 -35
- package/dist/{index-BXBJvXWT.js → index-BHMxqTVw.js} +1 -1
- package/dist/{index-BZPwTn-e.js → index-BISAvhZU.js} +3 -3
- package/dist/{index-B66Gznvh.cjs → index-BIvF4-_X.cjs} +1 -1
- package/dist/{index-DLovX_qy.js → index-BIxz3VQK.js} +11 -11
- package/dist/{index-CDLzfr4U.js → index-BKM1OHVI.js} +2 -2
- package/dist/{index-CYe2gI66.cjs → index-BKPxS6l5.cjs} +1 -1
- package/dist/{index-CCZA5OMk.js → index-BKd-eN-X.js} +45 -45
- package/dist/{index-d7fMw53g.cjs → index-BSzMEymQ.cjs} +1 -1
- package/dist/{index-C0lRDd5G.cjs → index-BVORb8w5.cjs} +1 -1
- package/dist/{index-CJ18eFLi.cjs → index-BaEflW9q.cjs} +1 -1
- package/dist/{index-C461j30b.js → index-Bgje9P6C.js} +1 -1
- package/dist/{index-CKvtRDgL.cjs → index-Bm44NMcZ.cjs} +1 -1
- package/dist/{index-DoJxkMbN.js → index-BnP-OVLZ.js} +19 -19
- package/dist/{index-CUm-3IJT.cjs → index-BoBLST3L.cjs} +1 -1
- package/dist/{index-Cp9R4hVX.cjs → index-Bpa1jsWq.cjs} +1 -1
- package/dist/{index-DW-CHCUy.js → index-BsorG9sX.js} +3 -3
- package/dist/{index-CohL-xT-.js → index-Byuw-d13.js} +2 -2
- package/dist/{index-DWyHMwpG.js → index-CETOzEkF.js} +6 -6
- package/dist/{index-BwjuTBrR.js → index-CFrBvay9.js} +1 -1
- package/dist/{index-ClF5mrVY.cjs → index-CPVt8Wrk.cjs} +1 -1
- package/dist/{index-BkRpCoTx.cjs → index-CTVVACAH.cjs} +1 -1
- package/dist/{index-ct6Uwcq4.cjs → index-CahUIEFl.cjs} +1 -1
- package/dist/{index--LhAkpOq.cjs → index-CbslhDEf.cjs} +1 -1
- package/dist/{index-Dw4KeMlJ.cjs → index-Cu7pB5GB.cjs} +1 -1
- package/dist/{index-Cf79bLZO.js → index-Cu_QyXxB.js} +2 -2
- package/dist/{index-DcmGr3J0.cjs → index-CyqP7oeY.cjs} +1 -1
- package/dist/{index-BKgbkArH.cjs → index-CyzuptEh.cjs} +1 -1
- package/dist/{index-n6maO8qu.js → index-D0fqSkIt.js} +2 -2
- package/dist/{index-BfNqdIOP.js → index-D3w8CFxz.js} +4 -4
- package/dist/{index-Cqd0F9a9.js → index-DAkKNbYV.js} +12 -12
- package/dist/{index-DhqF2CA-.js → index-DRGXzdw7.js} +2 -2
- package/dist/{index-CijoI-9f.js → index-DZgwOX56.js} +6 -6
- package/dist/{index-DFXZiHSV.cjs → index-DaOTArXF.cjs} +1 -1
- package/dist/{index-9YqHJG26.js → index-DhcAF24X.js} +8 -8
- package/dist/{index-BovzU-BN.js → index-DmmUjSu_.js} +4 -4
- package/dist/{index-BWHJGJ1e.cjs → index-Do4CoXhH.cjs} +1 -1
- package/dist/{index-CAkJ-S5C.cjs → index-DpmVXC_Q.cjs} +1 -1
- package/dist/{index-C26I2eIi.cjs → index-DubsCmcm.cjs} +1 -1
- package/dist/{index-CAAtUOzM.cjs → index-DwkFRUcM.cjs} +1 -1
- package/dist/{index-CvSBsAV7.cjs → index-FGO3o5gd.cjs} +1 -1
- package/dist/{index-CutRp0mU.js → index-IplqGB4d.js} +6 -6
- package/dist/{index-Ckc2csf3.js → index-Z-Tg_cZ7.js} +2 -2
- package/dist/{index-CY02zKVE.cjs → index-bL_GpYsf.cjs} +1 -1
- package/dist/{index-CqnPwWag.js → index-lzrjiUS5.js} +2 -2
- package/dist/{index-Cd58A7uv.cjs → index-rhNfaMfG.cjs} +1 -1
- package/dist/{index-B19xwKx1.js → index-sUsojzpW.js} +1 -1
- package/dist/{index-CwVl7hYK.js → index-w38DtIEl.js} +6 -6
- package/dist/{index-BdioXHog.js → index-x1q2XfBL.js} +12 -12
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CqTDROhf.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Be4dFvUC.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DMNlG9dC.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CIRzfvAn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DZZXEjAk.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-6zdxGopn.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CM9szr9Y.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-97ZyXl6J.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DCpKvb-8.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BgIXU87c.js} +11641 -11513
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CY0MiFwy.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-CecxMizO.cjs → index.vue_vue_type_style_index_1_lang-29vzgcAi.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-BswQV5Lr.js → index.vue_vue_type_style_index_1_lang-CtkjAjQ8.js} +3 -3
- package/dist/index.vue_vue_type_style_index_1_lang-DUZFMfkl.js +8310 -0
- package/dist/index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs +32 -0
- package/dist/{isString-BNK38WbE.js → isString-BrYdkZh8.js} +1 -1
- package/dist/{main-oZpjzC8J.cjs → main-Bt-9WV5Z.cjs} +1 -1
- package/dist/{main-DD4ds9VF.js → main-DNN-2mgC.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeLatheView-Bp0kjo_V.js → threeLatheView-DuqX5kKf.js} +2 -2
- package/dist/{threeModel-CFk-bjEz.cjs → threeModel-14TQ7qah.cjs} +1 -1
- package/dist/{threeModel-od894OgJ.js → threeModel-KPFJkl4n.js} +3 -3
- package/dist/{threePreview-DFFjm93P.js → threePreview-B7C8gY5w.js} +1 -1
- package/dist/{threeSceneView-DKa3NvXL.cjs → threeSceneView-Bb-MdEV9.cjs} +1 -1
- package/dist/{threeSceneView-J9yJnd-8.js → threeSceneView-SrIIrGLz.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-C9RBmFtK.js → threeSceneViewForCPMPIP-CN_9lSRm.js} +25 -25
- package/dist/{threeSceneViewForCPMPIP-cGJ49EX2.cjs → threeSceneViewForCPMPIP-Da6YyhFH.cjs} +1 -1
- package/dist/{threeViewerHost-Cpea-3lX.js → threeViewerHost-BwiicdtA.js} +10 -10
- package/dist/{threeViewerHost-DqllErXG.cjs → threeViewerHost-U-AzJqIN.cjs} +1 -1
- package/dist/{useRayCaster-B2SPBFYC.js → useRayCaster-Bx73bXeL.js} +1 -1
- package/dist/{useRayCaster-CjOF8Be7.cjs → useRayCaster-CnW80o7b.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BRbH6lIH.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-_Oz7xRLf.cjs +0 -56
- package/dist/index.vue_vue_type_style_index_1_lang-CT_2jezv.cjs +0 -32
- package/dist/index.vue_vue_type_style_index_1_lang-DMXip4Xp.js +0 -8260
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { resolveComponent as ge, createBlock as pe, openBlock as d, withCtx as u, createElementVNode as c, toDisplayString as de, ref as w, onMounted as Qt, watch as je, createElementBlock as D, Fragment as xe, renderList as Ye, createCommentVNode as ae, normalizeStyle as pt, defineComponent as Mt, resolveDynamicComponent as Lt, unref as r, computed as nt, provide as Ct, resolveDirective as na, createVNode as i, withDirectives as tt, createTextVNode as Ve, vShow as Et, renderSlot as Xe, normalizeClass as Kt, createSlots as oa, mergeProps as sa, onUnmounted as Sa } from "vue";
|
|
2
|
-
import { m as Vt, a as Gt, b as Jt } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as Vt, a as Gt, b as Jt } from "./index-IplqGB4d.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-6zdxGopn.js";
|
|
4
4
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-
|
|
6
|
-
import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-
|
|
7
|
-
import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-
|
|
5
|
+
import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BgIXU87c.js";
|
|
6
|
+
import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-B42dCx1W.js";
|
|
7
|
+
import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-DUZFMfkl.js";
|
|
8
8
|
import { S as Ue } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-
|
|
10
|
-
import { a as xa } from "./array-
|
|
11
|
-
import { u as Ht, a as Aa } from "./index-
|
|
12
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-DAkKNbYV.js";
|
|
10
|
+
import { a as xa } from "./array-DPyu0w54.js";
|
|
11
|
+
import { u as Ht, a as Aa } from "./index-B3VR9DS9.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Be4dFvUC.js";
|
|
13
13
|
import "./three-viewport-gizmo-CkQ98n-T.js";
|
|
14
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
15
|
-
import "./index-
|
|
14
|
+
import "./index.vue_vue_type_style_index_1_lang-CtkjAjQ8.js";
|
|
15
|
+
import "./index-Byuw-d13.js";
|
|
16
16
|
import { useRouter as Ca } from "vue-router";
|
|
17
|
-
import Ka from "./index-
|
|
18
|
-
import Ya from "./threeModel-
|
|
19
|
-
import { s as Ut, _ as it } from "./index-
|
|
20
|
-
import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-
|
|
21
|
-
import { _ as wt, g as La } from "./index-
|
|
22
|
-
import { s as bt } from "./index-
|
|
17
|
+
import Ka from "./index-sUsojzpW.js";
|
|
18
|
+
import Ya from "./threeModel-KPFJkl4n.js";
|
|
19
|
+
import { s as Ut, _ as it } from "./index-B1XSRq6_.js";
|
|
20
|
+
import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-BwiicdtA.js";
|
|
21
|
+
import { _ as wt, g as La } from "./index-w38DtIEl.js";
|
|
22
|
+
import { s as bt } from "./index-DmmUjSu_.js";
|
|
23
23
|
import { a as Va, d as Ga, t as Ja, c as Oa, b as Wa } from "./index-C2usxP_Q.js";
|
|
24
|
-
import { v as Ha } from "./index-
|
|
25
|
-
import { f as qa, a as Xa } from "./animationData-
|
|
24
|
+
import { v as Ha } from "./index-BKM1OHVI.js";
|
|
25
|
+
import { f as qa, a as Xa } from "./animationData-BgVD7m_Z.js";
|
|
26
26
|
const Za = { class: "menu-title" };
|
|
27
27
|
function za(B, ee, e, C, b, N) {
|
|
28
28
|
const a = ge("ssMenu");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-B3GHAekq.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs"),_=require("./index-1z9RrjZc.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"routerPage-wrapper"},N={class:"role-dialog-header"},b=["title"],D={title:"更多"},y={class:"dialog-footer"},S=e.defineComponent({__name:"index",setup(T){const g=h.useMenuState(),{menus:C,activeMenuPath:k}=_.storeToRefs(g),o=e.reactive({...h.State$1}),{treeRef:x}=h.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(k.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,d;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(d=t==null?void 0:t.path)==null?void 0:d.substring(1):t.path}});return e.watch(()=>C.value,i=>{e.nextTick(()=>{const t=_.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),d=e.resolveComponent("svg-icon"),v=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(V.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",N,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:x,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,b),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(v,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",D,[e.withDirectives(e.createVNode(d,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),M=B._export_sfc(S,[["__scopeId","data-v-78a46dd8"]]);exports.default=M;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),p=require("./index-1z9RrjZc.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const g=require("vue"),p=require("./index-1z9RrjZc.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:m}=p.storeToRefs(D),V=w.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(V),E=g.ref(0),P=g.computed(()=>{var s,a,t,r,n,l,e,o,d,v,f;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((d=u.value)==null?void 0:d.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((v=u.value)==null?void 0:v.layer)==="superAdmin"?"启用":((f=u.value)==null?void 0:f.状态)??"未知"}]}),W=()=>{},U=g.ref(!1),h=g.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=g.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),_=g.ref(!1),I=g.ref(!1),R=g.ref(!1),M=g.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value;return Array.isArray(a)?(R.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),O=g.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:M.value}]),$=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,d,v,f;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(f=(v=(d=a.data.result)==null?void 0:d[0])==null?void 0:v.key)==null?void 0:f.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,n,l;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{U.value=!1,_.value=!1,I.value=!1}},x=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};_.value=s==="avatarUrl",I.value=s==="signature",await q(r,"图片修改")},c=g.reactive({baseCols:[],otherCols:[]}),K=g.ref([]),k=g.ref(),B=(s,a,t)=>{var l,e,o,d,v,f;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?w.decryptData((d=u.value)==null?void 0:d.password,(v=m==null?void 0:m.value)==null?void 0:v.privateKey):w.resetPassword:r=(f=u.value)==null?void 0:f.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},H=(s,a,t)=>{a?t():t(new Error("请输入密码"))},j=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,d,v,f;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(d=P.value)==null?void 0:d.map(i=>i==null?void 0:i.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(f=b.contents)==null?void 0:f.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:B},{...A,label:"新密码",prop:"newtPass",validator:H},{...A,label:"确认密码",prop:"confirmNewPass",validator:j}];c.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:w.encryptData(s==null?void 0:s.confirmNewPass,(e=m.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},T=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=c.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(d,v,f)=>o.validator(d,v,f),trigger:"blur"}],e),{}),buttonValue:(l=T())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:_,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:$,clickTabButton:G,getUserTableHeadersAsync:J,itemData:O,loading:U,refreshLoginUserInfoAsync:N,rowContents:P,signPadInfo:h,signTypes:M,signatureLoading:I,submitImageAsync:x,tabKey:E,tabsContents:K,tempSignTypes:S,uploadDisabled:R},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as D, openBlock as O, createElementVNode as b, renderSlot as B, defineComponent as X, ref as U, resolveComponent as S, createVNode as y, withCtx as f, reactive as z, watch as Y, unref as L, toDisplayString as N, createTextVNode as R } from "vue";
|
|
2
2
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as ie, r as de, g as ue, c as pe, b as fe, e as ye, f as ge, h as Ae } from "./index.vue_vue_type_style_index_1_lang-DUZFMfkl.js";
|
|
4
4
|
import { useRouter as be } from "vue-router";
|
|
5
|
-
import { a as me, u as he, p as ve, s as _e, E, b as we, g as Q } from "./index-
|
|
6
|
-
import { v as Ce } from "./index-
|
|
5
|
+
import { a as me, u as he, p as ve, s as _e, E, b as we, g as Q } from "./index-B42dCx1W.js";
|
|
6
|
+
import { v as Ce } from "./index-BKM1OHVI.js";
|
|
7
7
|
const Ie = {}, ke = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
8
8
|
function Ee(I, K) {
|
|
9
9
|
return O(), D("div", ke, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as f, computed as S, reactive as P } from "vue";
|
|
2
|
-
import { s as R, c9 as $, ca as B, c8 as H, g as _, u as j, p as L, c as J, f as x, E as T } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { s as R, c9 as $, ca as B, c8 as H, g as _, u as j, p as L, c as J, f as x, E as T } from "./index-B42dCx1W.js";
|
|
3
|
+
import { b4 as z, u as G, d as Q, r as X } from "./index.vue_vue_type_style_index_1_lang-DUZFMfkl.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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as
|
|
2
|
-
import { s as E } from "./index-
|
|
3
|
-
import { u as F,
|
|
4
|
-
import { s as O, c as H } from "./index-
|
|
1
|
+
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
+
import { s as E } from "./index-B3VR9DS9.js";
|
|
3
|
+
import { u as F, aC as x } from "./index.vue_vue_type_style_index_1_lang-DUZFMfkl.js";
|
|
4
|
+
import { s as O, c as H } from "./index-B42dCx1W.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" }, q = ["title"], G = { title: "更多" }, J = { class: "dialog-footer" }, K = /* @__PURE__ */ z({
|
|
7
7
|
__name: "index",
|
|
@@ -106,7 +106,7 @@ const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" },
|
|
|
106
106
|
default: l(() => {
|
|
107
107
|
var o;
|
|
108
108
|
return [
|
|
109
|
-
(u(!0), k(
|
|
109
|
+
(u(!0), k(v, null, B((o = n.renderButtons) == null ? void 0 : o.slice(0, 2), (r) => (u(), b(s, {
|
|
110
110
|
key: r.title,
|
|
111
111
|
label: r.title,
|
|
112
112
|
value: r.path
|
|
@@ -147,7 +147,7 @@ const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" },
|
|
|
147
147
|
default: l(() => {
|
|
148
148
|
var o;
|
|
149
149
|
return [
|
|
150
|
-
(u(!0), k(
|
|
150
|
+
(u(!0), k(v, null, B((o = n.renderButtons) == null ? void 0 : o.slice(2), (r) => (u(), b(s, {
|
|
151
151
|
key: r.title,
|
|
152
152
|
label: r.title,
|
|
153
153
|
value: r.path
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs");const r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f=t.defineComponent({__name:"index",props:{modelValue:String,disabled:{type:Boolean,default:!1},content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyColor:{type:Boolean,default:!1},buttonType:{type:String,default:"primary"}},emits:["clickTrigger"],setup(o,{emit:i}){const e=o,d=t.ref(e.modelValue),a=i,s=l=>{a("clickTrigger",l)};return(l,n)=>{const u=t.resolveComponent("el-button");return t.openBlock(),t.createBlock(u,{type:e==null?void 0:e.buttonType,id:e!=null&&e.emptyColor?"":"themeButton",onClick:n[0]||(n[0]=c=>s(d.value)),loading:e==null?void 0:e.loading,disabled:e==null?void 0:e.disabled},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1},8,["type","id","loading","disabled"])}}}),y={class:"dialog-title"},m={__name:"index",props:{title:{type:String,default:""},dialogWidth:{type:Number,default:600},visible:{type:Boolean,default:!1},fullScreen:{type:Boolean,default:!1},dialogHeight:{type:Number,default:600},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},modalClass:{type:String,default:""},alignCenter:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},emits:["beforeDestroy"],setup(o,{emit:i}){const e=o,d=i,a=t.ref(!1),s=()=>{d("beforeDestroy")};return t.watch(()=>e==null?void 0:e.visible,()=>{a.value=e==null?void 0:e.visible},{deep:!0,immediate:!0}),(l,n)=>{const u=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(u,{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=c=>a.value=c),width:e==null?void 0:e.dialogWidth,"before-close":s,draggable:"",style:t.normalizeStyle({height:e==null?void 0:e.dialogHeight}),fullscreen:e==null?void 0:e.fullScreen,"destroy-on-close":!0,"show-close":e==null?void 0:e.showClose,"close-on-click-modal":e==null?void 0:e.closeOnClickModal,"modal-class":o.modalClass,"close-on-press-escape":e==null?void 0:e.closeOnPressEscape,"align-center":e==null?void 0:e.alignCenter,"append-to-body":o.appendToBody},{default:t.withCtx(()=>[t.renderSlot(l.$slots,"default",{},void 0,!0)]),header:t.withCtx(()=>[t.createElementVNode("div",y,t.toDisplayString(e==null?void 0:e.title),1),t.renderSlot(l.$slots,"header",{},void 0,!0)]),footer:t.withCtx(()=>[t.renderSlot(l.$slots,"footer",{},void 0,!0)]),_:3},8,["modelValue","width","style","fullscreen","show-close","close-on-click-modal","modal-class","close-on-press-escape","align-center","append-to-body"])}}},g=r._export_sfc(m,[["__scopeId","data-v-20aa9334"]]);exports._sfc_main=f;exports.ssDialog=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-Cu7pB5GB.cjs");const h=require("./index-1z9RrjZc.cjs");require("./array-CFSAyjws.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-97ZyXl6J.cjs");require("./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CY0MiFwy.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CIRzfvAn.cjs");require("./three-viewport-gizmo-BV37JzRa.cjs");require("./index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs");require("./index.vue_vue_type_style_index_1_lang-29vzgcAi.cjs");require("./index-Bpa1jsWq.cjs");require("vue-router");require("./index-CahUIEFl.cjs");require("./index-B1GAMEgu.cjs");const S={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},d=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,u=16,w=t/r,g=u*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,r)=>{const u=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(u,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-BVORb8w5.cjs"),k=require("./threeViewerHost-U-AzJqIN.cjs"),C=require("./index-1z9RrjZc.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DaOTArXF.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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-B3GHAekq.cjs"),c=require("./index-1z9RrjZc.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-ckXQqCiT.cjs"),g=r.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},_=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,y)=>{s[`a${y}`]=p}),s}else return{...t.tableData,id:t.id}})},k={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:D,onButtonClick:h,onDoubleClick:_,pageData:u,queryFormData:m,structureId:d,tempPostPageData:k},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(b.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|