ss-component-new 1.1.261 → 1.1.262
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-CGcjUVKX.cjs → array-BdJe1Isx.cjs} +1 -1
- package/dist/{array-BKq3BIQz.js → array-DnpEPYrW.js} +2 -2
- package/dist/{cloneDeep-B7uQBoFQ.cjs → cloneDeep-CuzxIr2L.cjs} +1 -1
- package/dist/{cloneDeep-C2Kxf4cz.js → cloneDeep-E3wKN3B0.js} +1 -1
- package/dist/{index-CW3K0wJl.cjs → index-1hfdjpZa.cjs} +1 -1
- package/dist/{index-LztiiC8W.js → index-B2gB_eHu.js} +13 -13
- package/dist/{index-BTE2McnW.cjs → index-BCgmgSo6.cjs} +1 -1
- package/dist/{index-DiqIaffC.js → index-BDiy9l4J.js} +6 -6
- package/dist/{index-DJt9epxc.js → index-BIxHHxhy.js} +3 -3
- package/dist/{index-CcWrPjiF.js → index-BM5XhVdC.js} +1 -1
- package/dist/{index-SuPnthkA.cjs → index-BQz6TAOh.cjs} +1 -1
- package/dist/{index-CPLQkq0l.cjs → index-BR6ludiV.cjs} +1 -1
- package/dist/{index-BxNkT68g.js → index-BYgVh4wp.js} +31 -31
- package/dist/{index-BEUHy5vT.js → index-B_SWF15M.js} +5 -5
- package/dist/{index-DqW6UiIO.cjs → index-BaKNxwnN.cjs} +1 -1
- package/dist/{index-Clc0UQZs.cjs → index-BcWsVwmK.cjs} +1 -1
- package/dist/{index-JlAZlJSa.js → index-BkSpEp24.js} +6 -6
- package/dist/{index-BNRMWt2X.cjs → index-Bkz-wtWG.cjs} +1 -1
- package/dist/{index-DJXxlOVw.cjs → index-Bmd4CfMk.cjs} +1 -1
- package/dist/{index-CRA36cu_.js → index-BoVzh91B.js} +4 -4
- package/dist/{index-BEMqiaE4.cjs → index-BszuOV6x.cjs} +1 -1
- package/dist/{index-C4WiBNX7.cjs → index-BtBTtGCV.cjs} +1 -1
- package/dist/{index-XGNOqMia.cjs → index-C5CWOGoQ.cjs} +1 -1
- package/dist/{index-C99sTbLR.cjs → index-C8cVwYL_.cjs} +1 -1
- package/dist/{index-k1B4X854.js → index-CAqt6-um.js} +4 -4
- package/dist/{index-BpRK84YO.js → index-CCJN0WUL.js} +9 -9
- package/dist/{index-BPc4Eac7.cjs → index-CMNXbrgU.cjs} +1 -1
- package/dist/{index-DMxFp_J8.js → index-CQT8T6Du.js} +7 -7
- package/dist/{index-B5JYLkwE.js → index-CT57Kiyw.js} +5 -5
- package/dist/{index-D5iqPx4_.cjs → index-CTb7K2Bk.cjs} +1 -1
- package/dist/{index-P8qnw1yi.js → index-CYpllCLZ.js} +5 -5
- package/dist/{index-DrgtDDgh.js → index-Cly4yemp.js} +1 -1
- package/dist/{index-DBUg3cD4.js → index-CnSWuvbR.js} +5 -5
- package/dist/{index-BKkSFReI.cjs → index-ConK7kqd.cjs} +1 -1
- package/dist/{index-CUS5J9_e.js → index-CrhFsTrF.js} +3 -3
- package/dist/{index-BePWixJ7.cjs → index-Cx6JU0mX.cjs} +1 -1
- package/dist/{index-1FDUIkCX.cjs → index-D-m5syTd.cjs} +1 -1
- package/dist/{index-BPDeDTcT.js → index-D1I_FANs.js} +8 -8
- package/dist/{index-CbAVZYKT.cjs → index-D78i8R3T.cjs} +1 -1
- package/dist/{index-BSvAtDik.js → index-DA1g69WH.js} +7 -7
- package/dist/{index-Dqq6ANsR.js → index-DPhNWMWt.js} +1 -1
- package/dist/{index-ChDUVY4O.cjs → index-DPqX5NOD.cjs} +1 -1
- package/dist/{index-DSHdwrIv.js → index-DV_n4TRj.js} +4 -4
- package/dist/{index-B2U6bRXC.js → index-DZr5ivXe.js} +1 -1
- package/dist/{index-BDeQhlHq.cjs → index-DjT9EKHk.cjs} +1 -1
- package/dist/{index-kzgPDfJF.cjs → index-DjVsDHMd.cjs} +1 -1
- package/dist/{index-i7I_BwC_.js → index-Gu7G-roX.js} +4 -4
- package/dist/index-Hhjfw8oQ.cjs +1 -0
- package/dist/{index-CV8NL82B.js → index-K_gfyAlX.js} +1 -1
- package/dist/{index-CU_Jx-5J.cjs → index-Oj115_Py.cjs} +1 -1
- package/dist/{index-CtNApXqx.js → index-Qhs8qV0Q.js} +1 -1
- package/dist/{index-B-UH_ubV.js → index-Vyzu845m.js} +8 -8
- package/dist/{index-CdbyfD9T.cjs → index-WrUPpyn7.cjs} +1 -1
- package/dist/{index-Dz-F31F9.js → index-_c4rtHYx.js} +66 -67
- package/dist/{index-BuzU8y87.js → index-ce6eGEEn.js} +3 -3
- package/dist/{index-BqjnsqxM.cjs → index-g9LQfTOA.cjs} +1 -1
- package/dist/{index-CaEGsvtY.cjs → index-hmwwoDCP.cjs} +1 -1
- package/dist/{index-BSHYuItV.cjs → index-o8ssqTcl.cjs} +1 -1
- package/dist/{index-BXTWkSfY.js → index-oInxtbp2.js} +3 -3
- package/dist/{index-ChrvsNKe.cjs → index-q1VJsIJM.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-GU5YecI_.js → index.vue_vue_type_script_setup_true_lang-I_efsWj8.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CsELnqsB.cjs → index.vue_vue_type_script_setup_true_lang-MiZbv3kB.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-HXVPBHSR.js → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-BUnbO0RO.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-CiQLJOHK.cjs → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Cn95BsEm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-BP1ltJdK.js → index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-BB6kJ34L.js} +12 -12
- package/dist/{index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-Dhxd_sQH.cjs → index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-DjU3k4mS.cjs} +1 -1
- package/dist/{login-f0ZOWhgZ.js → login-B9vlP2b5.js} +2 -2
- package/dist/{login-MRZ_aZ2l.cjs → login-Duwt6-x6.cjs} +1 -1
- package/dist/{main-CD7tAcIb.js → main-5iPo1p9a.js} +7 -7
- package/dist/{main-CpGTA5Qv.cjs → main-XmfoFrF9.cjs} +1 -1
- package/dist/{menu-PjSpUL7w.cjs → menu-BnL2_TmY.cjs} +1 -1
- package/dist/{menu-uQv0bEzE.js → menu-Mo-2vv7x.js} +1 -1
- package/dist/{modelComp-BavIqTd8.js → modelComp-CucEweH7.js} +1 -1
- package/dist/{modelComp-qapurFEA.cjs → modelComp-D4sttzBW.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/dist/index-CrY9cebv.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),S=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),S=require("./index-C8cVwYL_.cjs"),U=require("./login-Duwt6-x6.cjs"),g=require("./menu-BnL2_TmY.cjs"),R=require("./crypto-CRbcEKIz.cjs"),A=require("./index-WrUPpyn7.cjs"),T=require("./index-DjVsDHMd.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V=U.useLoginState(),{loginUserInfo:u,cryptoInfo:m}=g.storeToRefs(V),j=g.useMenuState(),{activeMenuPath:h}=g.storeToRefs(j),D=n.ref(0);var k,E,N,B;const W=n.ref([{label:"",name:"account",value:(k=u.value)==null?void 0:k.account},{label:"",name:"userDept",value:(E=u.value)==null?void 0:E.userDept},{label:"",name:"userRoles",value:(B=(N=u.value)==null?void 0:N.userRoles)==null?void 0:B.join("、")}]),H=()=>{},b=n.ref(!1),w=n.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),I=n.ref([{label:"签字版",icon:S.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:S.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:S.upload_filled_default,type:"buttonUpload",disabled:!1}]),q=n.ref(!1),K=n.computed(()=>{var t;const s=sessionStorage.getItem("authority"),e=JSON.parse(s||"");return Array.isArray(e)?(q.value=!(e!=null&&e.includes(`${h.value}/上传头像`)),(t=I.value)==null?void 0:t.map(r=>({...r,disabled:!(e!=null&&e.includes(`${h.value}/签名`))}))):typeof e=="string"&&(e==null?void 0:e.toUpperCase())==="SUPERADMIN"?I.value:[]}),z=n.computed(()=>[{key:"signConfig",contents:w},{key:"signTypeList",contents:K.value}]),J=s=>{w.dialogShow=s.label==="电子签名"},x=()=>{w.dialogShow=!1},M=async s=>{var t,r,l,o,a,i,c,p,f;const e=await g.getInsofDataApi({id:s,key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:"/系统管理/用户管理"}});if(((t=e==null?void 0:e.data)==null?void 0:t.code)===200&&e.data.result&&Array.isArray(e.data.result)&&e.data.result.length>0){const y={...(o=(l=(r=e.data.result)==null?void 0:r[0])==null?void 0:l.value)==null?void 0:o.tableData,id:(i=(a=e.data.result)==null?void 0:a[0])==null?void 0:i.id,layer:(f=(p=(c=e.data.result)==null?void 0:c[0])==null?void 0:p.key)==null?void 0:f.layer};V.setLoginUserInfo(y)}},P=async s=>{var e,t,r,l;try{const o=await g.updateInsofDataApi({id:(e=u.value)==null?void 0:e.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:"/系统管理/用户管理",layer:(t=u.value)==null?void 0:t.layer},value:{tableData:s}});((r=o==null?void 0:o.data)==null?void 0:r.code)===200&&(x(),g.ElMessage.success("修改成功"),await M((l=u.value)==null?void 0:l.id),b.value=!1)}catch{g.ElMessage.error("修改响应失败"),b.value=!1}},Z=async(s,e)=>{var r;const t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",[s]:e};b.value=!0,console.log(3434,u.value),await P(t)},v=n.reactive({baseCols:[],otherCols:[]}),$=n.ref([]),L=n.ref(),G=(s,e,t)=>{var o,a,i,c,p;let r;const l=e;((a=(o=u.value)==null?void 0:o.layer)==null?void 0:a.toUpperCase())!=="SUPERADMIN"?r=R.decryptData((i=u.value)==null?void 0:i.password,(c=m==null?void 0:m.value)==null?void 0:c.privateKey):r=(p=u.value)==null?void 0:p.password,r===l?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},Q=(s,e,t)=>{e?/^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*(),.?":{}|<>]).{6,}$/.test(e)?t():t(new Error("密码必须包含大写字母、小写字母、数字和特殊字符,并且长度至少为6个字符")):t(new Error("请输入密码"))},X=(s,e,t)=>{var r;e!==((r=L.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},Y=async()=>{var e,t,r,l,o,a,i,c,p;const s=await g.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"/系统管理/用户管理"}});if(((e=s==null?void 0:s.data)==null?void 0:e.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const f=(i=(a=(o=(l=(r=s.data.result)==null?void 0:r[0])==null?void 0:l.value)==null?void 0:o.pageData)==null?void 0:a.compData)==null?void 0:i.find(d=>(d==null?void 0:d.key)==="header"),y=["password","status","userDept","avatar","signature","account","userRoles","layer"];v.baseCols=f&&((c=f.contents)==null?void 0:c.map(d=>({...d,isFormColHidden:(y==null?void 0:y.includes(d==null?void 0:d.prop))||(d==null?void 0:d.label)==="操作"})));const C=(p=f.contents)==null?void 0:p.find(d=>(d==null?void 0:d.prop)==="password"),F=[{...C,label:"当前密码",prop:"currentPass",validator:G},{...C,label:"新密码",prop:"newtPass",validator:Q},{...C,label:"确认密码",prop:"confirmNewPass",validator:X}];v.otherCols=F,ae(u.value)}},ee=s=>{L.value=s},te=async({content:s,buttonName:e})=>{var r,l,o,a,i;let t;e==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((o=(l=u.value)==null?void 0:l.layer)==null?void 0:o.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:R.encryptData(s==null?void 0:s.confirmNewPass,(a=m.value)==null?void 0:a.publicKey)}),e==="保存基本信息"&&(t={...u.value,...s,status:((i=u.value)==null?void 0:i.status)??"启用"}),b.value=!0,await P(t)},_=()=>{const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},e=sessionStorage.getItem("authority"),t=JSON.parse(e||"");if(Array.isArray(t)){const r=t!=null&&t.includes(`${h.value}/基本信息`)?s==null?void 0:s.base:[],l=t!=null&&t.includes(`${h.value}/修改密码`)?s==null?void 0:s.other:[];return{base:r,other:l}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},ae=s=>{var e,t,r,l,o;_(),$.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(e=v.baseCols)==null?void 0:e.map(a=>({...a,width:2,type:a==null?void 0:a.formType,name:a==null?void 0:a.prop,contents:a==null?void 0:a.options,value:s[a==null?void 0:a.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=_())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=v.otherCols)==null?void 0:r.map(a=>({...a,width:1,type:a==null?void 0:a.formType,name:a==null?void 0:a.prop,contents:a==null?void 0:a.options})),formRules:(l=v.otherCols)==null?void 0:l.reduce((a,i)=>(a[i.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(c,p,f)=>i.validator(c,p,f),trigger:"blur"}],a),{}),buttonValue:(o=_())==null?void 0:o.other,isEnableWrap:!1},value:""}]}]},se=Object.freeze(Object.defineProperty({__proto__:null,beforeSignDestroy:x,changeFormTrigger:ee,clickFormButton:H,clickSignButton:J,clickTabButton:te,getUserTableHeadersAsync:Y,itemData:z,loading:b,refreshLoginUserInfoAsync:M,rowContents:W,signPadInfo:w,signTypes:K,submitImageAsync:Z,tabKey:D,tabsContents:$,tempSignTypes:I,uploadDisabled:q},Symbol.toStringTag,{value:"Module"})),re={class:"personal-wrapper"},ne={class:"personal-box left"},oe={class:"base-avatar"},le={class:"center-avatar"},ie={class:"base-info"},ue={class:"base-signature"},de={class:"personal-box right"},ce=n.defineComponent({__name:"index",setup(s){const e=n.reactive({...se}),t=U.useLoginState(),{loginUserInfo:r}=g.storeToRefs(t);return n.onMounted(()=>{var l;e.getUserTableHeadersAsync(),e.refreshLoginUserInfoAsync((l=r==null?void 0:r.value)==null?void 0:l.id),D.value++}),(l,o)=>{const a=n.resolveDirective("loading");return n.openBlock(),n.createElementBlock("div",re,[n.createElementVNode("div",ne,[n.createElementVNode("div",oe,[n.withDirectives((n.openBlock(),n.createElementBlock("div",le,[n.createVNode(A.ssAvatar,{disabled:e.uploadDisabled,userInfo:n.unref(r),onSubmitImage:o[0]||(o[0]=i=>e.submitImageAsync("avatarUrl",i))},null,8,["disabled","userInfo"])])),[[a,e.loading]])]),n.createElementVNode("div",ie,[n.createVNode(T.ssForm,{rowContents:e.rowContents,isEnableWrap:!1,isButtonRow:!0,isEdit:!1},null,8,["rowContents"])]),n.createElementVNode("div",ue,[n.createVNode(A.ssSignature,{userInfo:n.unref(r),itemData:e.itemData,onClickSignButton:e.clickSignButton,onBeforeDestroy:e.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=i=>e.submitImageAsync("signature",i))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"])])]),n.createElementVNode("div",de,[(n.openBlock(),n.createBlock(T.ssTab,{key:n.unref(D),tabsContents:e.tabsContents,onChangeTrigger:e.changeFormTrigger,onClickTrigger:e.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])])}}}),pe=O._export_sfc(ce,[["__scopeId","data-v-a55e627c"]]);exports.default=pe;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, onMounted as V, resolveComponent as l, createElementBlock as m, openBlock as o, Fragment as _, renderList as M, createBlock as r, createCommentVNode as I, withCtx as s, createVNode as b, createSlots as g, renderSlot as u, mergeProps as O, computed as S } from "vue";
|
|
2
|
-
import { u as q, s as E } from "./menu-
|
|
2
|
+
import { u as q, s as E } from "./menu-Mo-2vv7x.js";
|
|
3
3
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const R = /* @__PURE__ */ w({
|
|
5
5
|
__name: "menuItem",
|
|
@@ -6015,12 +6015,12 @@ const I9 = N4(P, "$notify"), D9 = [
|
|
|
6015
6015
|
{
|
|
6016
6016
|
path: "/login",
|
|
6017
6017
|
name: "Login",
|
|
6018
|
-
component: async () => import("./index-
|
|
6018
|
+
component: async () => import("./index-CYpllCLZ.js")
|
|
6019
6019
|
},
|
|
6020
6020
|
{
|
|
6021
6021
|
path: "/",
|
|
6022
6022
|
name: "Model",
|
|
6023
|
-
component: async () => import("./index-
|
|
6023
|
+
component: async () => import("./index-B2gB_eHu.js"),
|
|
6024
6024
|
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
6025
6025
|
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
6026
6026
|
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
@@ -6028,32 +6028,32 @@ const I9 = N4(P, "$notify"), D9 = [
|
|
|
6028
6028
|
{
|
|
6029
6029
|
path: "平台管理/菜单管理",
|
|
6030
6030
|
name: "Menu",
|
|
6031
|
-
component: async () => import("./index-
|
|
6031
|
+
component: async () => import("./index-CQT8T6Du.js")
|
|
6032
6032
|
},
|
|
6033
6033
|
{
|
|
6034
6034
|
path: "系统管理/个人中心",
|
|
6035
6035
|
name: "PersonalCenter",
|
|
6036
|
-
component: async () => import("./index-
|
|
6036
|
+
component: async () => import("./index-B_SWF15M.js")
|
|
6037
6037
|
},
|
|
6038
6038
|
{
|
|
6039
6039
|
path: "系统管理/职位管理",
|
|
6040
6040
|
name: "Post",
|
|
6041
|
-
component: async () => import("./index-
|
|
6041
|
+
component: async () => import("./index-CAqt6-um.js")
|
|
6042
6042
|
},
|
|
6043
6043
|
{
|
|
6044
6044
|
path: "系统管理/用户管理",
|
|
6045
6045
|
name: "User",
|
|
6046
|
-
component: async () => import("./index-
|
|
6046
|
+
component: async () => import("./index-BkSpEp24.js")
|
|
6047
6047
|
},
|
|
6048
6048
|
{
|
|
6049
6049
|
path: "系统管理/角色管理",
|
|
6050
6050
|
name: "Role",
|
|
6051
|
-
component: async () => import("./index-
|
|
6051
|
+
component: async () => import("./index-CnSWuvbR.js")
|
|
6052
6052
|
},
|
|
6053
6053
|
{
|
|
6054
6054
|
path: "系统管理/部门管理",
|
|
6055
6055
|
name: "Dept",
|
|
6056
|
-
component: async () => import("./index-
|
|
6056
|
+
component: async () => import("./index-BoVzh91B.js")
|
|
6057
6057
|
},
|
|
6058
6058
|
{
|
|
6059
6059
|
path: "priority",
|
|
@@ -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-MiZbv3kB.cjs"),B=require("./index-ConK7kqd.cjs"),x=require("./menu-BnL2_TmY.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DjVsDHMd.cjs"),k=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(i,{emit:b}){const u=i,c=b,_=e.computed(()=>"http://139.196.154.85:20013"),p=e.ref(""),d=e.ref(""),h=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{d.value=o},{immediate:!0});const w=async()=>{if(!(u!=null&&u.disabled))try{const o=await B.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"]});h.value=f}catch(o){throw new Error(o)}},S=async o=>{var f,g,t,n,l;try{const r=await B.uploadAvatarApi(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(d.value=_.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)}},y=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",N,[e.createVNode(I._sfc_main,{avatarUrl:d.value,avatarBlob:h.value,onClickAvatar:w,onSubmitImage:S,onDeleteImage:y},{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)])}}}),E=C._export_sfc(V,[["__scopeId","data-v-bcb7a17f"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:b}){const u=i,c=e.ref({}),_=e.ref([]),p=b,d=t=>{c.value.dialogShow=(t==null?void 0:t.label)==="电子签名",p("clickSignButton",t)},h=()=>{c.value.dialogShow=!1,p("beforeDestroy")},w=e.computed(()=>"http://139.196.154.85:20013"),S=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})},y=async t=>{var n,l,r;try{const s=await B.uploadAvatarApi(t);((n=s==null?void 0:s.data)==null?void 0:n.code)===200&&p("clickSubmitSign",w.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=S(t);n.append("file",l,"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 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,_.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(A.Signature,{signPadInfo:c.value,onBeforeDestroy:h,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(_.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,type:"primary"},{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,type:"primary",disabled:a.disabled,onClick:q=>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"])}}}),T=C._export_sfc(U,[["__scopeId","data-v-0bab2515"]]);exports.ssAvatar=E;exports.ssSignature=T;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as bl, g as Cl, m as gl, s as kl } from "./index-
|
|
2
|
-
import { ref as B, watch as Ce, createElementBlock as W, openBlock as A,
|
|
3
|
-
import { p as Pe } from "./index-
|
|
4
|
-
import { F as sl, a as xe, s as Ie, g as Dl, b as cl, c as be, f as qe, m as Ye, d as Ge, e as Ze, h as $l, i as Tl, _ as El } from "./index-
|
|
5
|
-
import { e as ll, s as Me, E as Ne, g as il, f as Bl } from "./menu-
|
|
1
|
+
import { u as bl, g as Cl, m as gl, s as kl } from "./index-DA1g69WH.js";
|
|
2
|
+
import { ref as B, watch as Ce, createElementBlock as W, openBlock as A, createVNode as N, resolveComponent as pe, Fragment as ve, renderList as fe, createElementVNode as i, createCommentVNode as Oe, toDisplayString as q, withCtx as ee, createBlock as he, defineComponent as ze, reactive as el, createTextVNode as Ue, resolveDynamicComponent as Je, computed as tl, renderSlot as He, createSlots as _l, mergeProps as wl, unref as xl, normalizeStyle as Il, withModifiers as Ke } from "vue";
|
|
3
|
+
import { p as Pe } from "./index-Cly4yemp.js";
|
|
4
|
+
import { F as sl, a as xe, s as Ie, g as Dl, b as cl, c as be, f as qe, m as Ye, d as Ge, e as Ze, h as $l, i as Tl, _ as El } from "./index-CT57Kiyw.js";
|
|
5
|
+
import { e as ll, s as Me, E as Ne, g as il, f as Bl } from "./menu-Mo-2vv7x.js";
|
|
6
6
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { c as h } from "./cloneDeep-
|
|
8
|
-
import { E as je } from "./index-
|
|
9
|
-
import { u as Fl } from "./modelComp-
|
|
10
|
-
import { s as Al, a as Ol } from "./index-
|
|
7
|
+
import { c as h } from "./cloneDeep-E3wKN3B0.js";
|
|
8
|
+
import { E as je } from "./index-oInxtbp2.js";
|
|
9
|
+
import { u as Fl } from "./modelComp-CucEweH7.js";
|
|
10
|
+
import { s as Al, a as Ol } from "./index-Gu7G-roX.js";
|
|
11
11
|
import Ll from "./index-CZtXRS3l.js";
|
|
12
12
|
const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
13
13
|
state: () => ({
|
|
@@ -137,7 +137,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
137
137
|
},
|
|
138
138
|
{ deep: !0, immediate: !0 }
|
|
139
139
|
), (L, E) => (A(), W("div", Rl, [
|
|
140
|
-
(
|
|
140
|
+
N(xe, {
|
|
141
141
|
rowContents: p.value,
|
|
142
142
|
formRules: y.formRules,
|
|
143
143
|
buttonValue: V.value,
|
|
@@ -145,12 +145,11 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
145
145
|
isEnableWrap: k.value,
|
|
146
146
|
onOnButtonClick: z,
|
|
147
147
|
onChange: R,
|
|
148
|
-
isButtonRow: C.value
|
|
149
|
-
|
|
150
|
-
}, null, 8, ["rowContents", "formRules", "buttonValue", "isRowFlex", "isEnableWrap", "isButtonRow"]))
|
|
148
|
+
isButtonRow: C.value
|
|
149
|
+
}, null, 8, ["rowContents", "formRules", "buttonValue", "isRowFlex", "isEnableWrap", "isButtonRow"])
|
|
151
150
|
]));
|
|
152
151
|
}
|
|
153
|
-
}, ul = /* @__PURE__ */ ye(Nl, [["__scopeId", "data-v-
|
|
152
|
+
}, ul = /* @__PURE__ */ ye(Nl, [["__scopeId", "data-v-327200de"]]), Qe = B(0), dl = (y) => {
|
|
154
153
|
var F;
|
|
155
154
|
return !y || (y == null ? void 0 : y.length) === 0 ? [] : (F = h(y)) == null ? void 0 : F.map((a) => (Qe.value++, a = {
|
|
156
155
|
label: (a == null ? void 0 : a.label) ?? "",
|
|
@@ -397,9 +396,9 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
397
396
|
});
|
|
398
397
|
};
|
|
399
398
|
return (e, l) => {
|
|
400
|
-
const n =
|
|
399
|
+
const n = pe("svg-icon");
|
|
401
400
|
return A(), W("div", Wl, [
|
|
402
|
-
(A(!0), W(ve, null,
|
|
401
|
+
(A(!0), W(ve, null, fe(d == null ? void 0 : d.tableChildContents, (u, j) => (A(), W("div", zl, [
|
|
403
402
|
i("div", Ml, [
|
|
404
403
|
i("div", Kl, q(u.label), 1),
|
|
405
404
|
i("div", Gl, [
|
|
@@ -438,7 +437,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
438
437
|
}, {
|
|
439
438
|
default: ee(() => [
|
|
440
439
|
i("div", ql, [
|
|
441
|
-
(A(),
|
|
440
|
+
(A(), he(xe, {
|
|
442
441
|
rowContents: k.value,
|
|
443
442
|
key: k.value,
|
|
444
443
|
isEnableWrap: !0,
|
|
@@ -552,9 +551,9 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
552
551
|
a("deleteChange", e);
|
|
553
552
|
};
|
|
554
553
|
return (e, l) => {
|
|
555
|
-
const n =
|
|
554
|
+
const n = pe("svg-icon");
|
|
556
555
|
return A(), W("div", Xl, [
|
|
557
|
-
(A(!0), W(ve, null,
|
|
556
|
+
(A(!0), W(ve, null, fe(d == null ? void 0 : d.tableChildContents, (u, j) => (A(), W("div", Yl, [
|
|
558
557
|
i("div", Zl, [
|
|
559
558
|
i("div", ea, q(u.label), 1),
|
|
560
559
|
i("div", la, [
|
|
@@ -593,7 +592,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
593
592
|
}, {
|
|
594
593
|
default: ee(() => [
|
|
595
594
|
i("div", na, [
|
|
596
|
-
(A(),
|
|
595
|
+
(A(), he(xe, {
|
|
597
596
|
rowContents: k.value,
|
|
598
597
|
key: k.value,
|
|
599
598
|
isEnableWrap: !0,
|
|
@@ -1016,7 +1015,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1016
1015
|
},
|
|
1017
1016
|
{ deep: !0, immediate: !0 }
|
|
1018
1017
|
), (o, r) => {
|
|
1019
|
-
const m =
|
|
1018
|
+
const m = pe("svg-icon");
|
|
1020
1019
|
return A(), W("div", sa, [
|
|
1021
1020
|
i("div", ia, [
|
|
1022
1021
|
i("div", ua, [
|
|
@@ -1033,7 +1032,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1033
1032
|
])
|
|
1034
1033
|
]),
|
|
1035
1034
|
i("div", ra, [
|
|
1036
|
-
(A(!0), W(ve, null,
|
|
1035
|
+
(A(!0), W(ve, null, fe(v.value, (f, J) => (A(), W("div", { key: J }, [
|
|
1037
1036
|
i("div", ta, [
|
|
1038
1037
|
i("div", ca, q(f == null ? void 0 : f.label), 1),
|
|
1039
1038
|
i("div", da, [
|
|
@@ -1080,7 +1079,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1080
1079
|
])
|
|
1081
1080
|
]),
|
|
1082
1081
|
i("div", fa, [
|
|
1083
|
-
(A(!0), W(ve, null,
|
|
1082
|
+
(A(!0), W(ve, null, fe(E.value, (f, J) => (A(), W("div", { key: J }, [
|
|
1084
1083
|
i("div", ha, [
|
|
1085
1084
|
i("div", ma, q(f == null ? void 0 : f.label), 1),
|
|
1086
1085
|
i("div", ya, [
|
|
@@ -1114,7 +1113,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1114
1113
|
])
|
|
1115
1114
|
]),
|
|
1116
1115
|
i("div", Ca, [
|
|
1117
|
-
(A(!0), W(ve, null,
|
|
1116
|
+
(A(!0), W(ve, null, fe(O.value, (f, J) => (A(), W("div", { key: J }, [
|
|
1118
1117
|
i("div", ga, [
|
|
1119
1118
|
i("div", ka, q(f == null ? void 0 : f.label), 1),
|
|
1120
1119
|
i("div", _a, [
|
|
@@ -1148,7 +1147,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1148
1147
|
])
|
|
1149
1148
|
]),
|
|
1150
1149
|
i("div", xa, [
|
|
1151
|
-
(A(!0), W(ve, null,
|
|
1150
|
+
(A(!0), W(ve, null, fe(S.value, (f, J) => (A(), W("div", { key: J }, [
|
|
1152
1151
|
i("div", Ia, [
|
|
1153
1152
|
i("div", Da, q(f == null ? void 0 : f.label), 1),
|
|
1154
1153
|
i("div", $a, [
|
|
@@ -1188,7 +1187,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1188
1187
|
}, {
|
|
1189
1188
|
default: ee(() => [
|
|
1190
1189
|
i("div", Ba, [
|
|
1191
|
-
(A(),
|
|
1190
|
+
(A(), he(xe, {
|
|
1192
1191
|
rowContents: k.value,
|
|
1193
1192
|
key: k.value,
|
|
1194
1193
|
isEnableWrap: !0,
|
|
@@ -1217,7 +1216,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1217
1216
|
}, {
|
|
1218
1217
|
default: ee(() => [
|
|
1219
1218
|
i("div", Fa, [
|
|
1220
|
-
(A(),
|
|
1219
|
+
(A(), he(xe, {
|
|
1221
1220
|
rowContents: t.value,
|
|
1222
1221
|
key: t.value,
|
|
1223
1222
|
isEnableWrap: !0,
|
|
@@ -1246,7 +1245,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1246
1245
|
}, {
|
|
1247
1246
|
default: ee(() => [
|
|
1248
1247
|
i("div", Aa, [
|
|
1249
|
-
(A(),
|
|
1248
|
+
(A(), he(xe, {
|
|
1250
1249
|
rowContents: e.value,
|
|
1251
1250
|
key: e.value,
|
|
1252
1251
|
isEnableWrap: !0,
|
|
@@ -1275,7 +1274,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1275
1274
|
}, {
|
|
1276
1275
|
default: ee(() => [
|
|
1277
1276
|
i("div", Oa, [
|
|
1278
|
-
(A(),
|
|
1277
|
+
(A(), he(xe, {
|
|
1279
1278
|
rowContents: u.value,
|
|
1280
1279
|
key: u.value,
|
|
1281
1280
|
isEnableWrap: !0,
|
|
@@ -1519,7 +1518,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1519
1518
|
},
|
|
1520
1519
|
{ deep: !0, immediate: !0 }
|
|
1521
1520
|
), (s, x) => {
|
|
1522
|
-
const T =
|
|
1521
|
+
const T = pe("svg-icon");
|
|
1523
1522
|
return A(), W("div", Va, [
|
|
1524
1523
|
i("div", Ra, [
|
|
1525
1524
|
i("div", Na, [
|
|
@@ -1536,7 +1535,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1536
1535
|
])
|
|
1537
1536
|
]),
|
|
1538
1537
|
i("div", ja, [
|
|
1539
|
-
(A(!0), W(ve, null,
|
|
1538
|
+
(A(!0), W(ve, null, fe(k.value, (b, G) => (A(), W("div", { key: G }, [
|
|
1540
1539
|
i("div", Ua, [
|
|
1541
1540
|
i("div", null, q(b.label), 1),
|
|
1542
1541
|
i("div", Pa, [
|
|
@@ -1570,7 +1569,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1570
1569
|
])
|
|
1571
1570
|
]),
|
|
1572
1571
|
i("div", za, [
|
|
1573
|
-
(A(!0), W(ve, null,
|
|
1572
|
+
(A(!0), W(ve, null, fe($.value, (b, G) => (A(), W("div", { key: G }, [
|
|
1574
1573
|
i("div", Ma, [
|
|
1575
1574
|
i("div", null, q(b.label), 1),
|
|
1576
1575
|
i("div", Ka, [
|
|
@@ -1608,7 +1607,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1608
1607
|
}, {
|
|
1609
1608
|
default: ee(() => [
|
|
1610
1609
|
i("div", Ja, [
|
|
1611
|
-
(A(),
|
|
1610
|
+
(A(), he(xe, {
|
|
1612
1611
|
rowContents: C.value,
|
|
1613
1612
|
key: C.value,
|
|
1614
1613
|
isEnableWrap: !0,
|
|
@@ -1639,7 +1638,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1639
1638
|
}, {
|
|
1640
1639
|
default: ee(() => [
|
|
1641
1640
|
i("div", qa, [
|
|
1642
|
-
(A(),
|
|
1641
|
+
(A(), he(xe, {
|
|
1643
1642
|
rowContents: L.value,
|
|
1644
1643
|
key: L.value,
|
|
1645
1644
|
isEnableWrap: !0,
|
|
@@ -1838,7 +1837,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1838
1837
|
var c, w;
|
|
1839
1838
|
t && (k.value = ((c = t == null ? void 0 : t.find((e) => e.key === "stepConfig")) == null ? void 0 : c.contents) ?? {}, _.value = ((w = t == null ? void 0 : t.find((e) => e.key === "stepList")) == null ? void 0 : w.contents) ?? []);
|
|
1840
1839
|
}, { immediate: !0 }), (t, c) => {
|
|
1841
|
-
const w =
|
|
1840
|
+
const w = pe("svg-icon"), e = pe("el-button");
|
|
1842
1841
|
return A(), W(ve, null, [
|
|
1843
1842
|
i("div", null, [
|
|
1844
1843
|
i("div", Qa, [
|
|
@@ -1855,7 +1854,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1855
1854
|
])
|
|
1856
1855
|
]),
|
|
1857
1856
|
i("div", Xa, [
|
|
1858
|
-
(A(!0), W(ve, null,
|
|
1857
|
+
(A(!0), W(ve, null, fe(_.value, (l, n) => (A(), W("div", {
|
|
1859
1858
|
class: "module-data-item",
|
|
1860
1859
|
key: n
|
|
1861
1860
|
}, [
|
|
@@ -1902,7 +1901,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
1902
1901
|
}, {
|
|
1903
1902
|
default: ee(() => [
|
|
1904
1903
|
i("div", Za, [
|
|
1905
|
-
(A(),
|
|
1904
|
+
(A(), he(xe, {
|
|
1906
1905
|
rowContents: C.value,
|
|
1907
1906
|
key: C.value,
|
|
1908
1907
|
isEnableWrap: !1,
|
|
@@ -2127,7 +2126,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
2127
2126
|
var c, w;
|
|
2128
2127
|
t && (C.value = ((c = t == null ? void 0 : t.find((e) => e.key === "timeLineConfig")) == null ? void 0 : c.contents) ?? {}, V.value = ((w = t == null ? void 0 : t.find((e) => e.key === "timeLineList")) == null ? void 0 : w.contents) ?? []);
|
|
2129
2128
|
}, { immediate: !0 }), (t, c) => {
|
|
2130
|
-
const w =
|
|
2129
|
+
const w = pe("svg-icon"), e = pe("el-button");
|
|
2131
2130
|
return A(), W(ve, null, [
|
|
2132
2131
|
i("div", null, [
|
|
2133
2132
|
i("div", an, [
|
|
@@ -2144,7 +2143,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
2144
2143
|
])
|
|
2145
2144
|
]),
|
|
2146
2145
|
i("div", nn, [
|
|
2147
|
-
(A(!0), W(ve, null,
|
|
2146
|
+
(A(!0), W(ve, null, fe(V.value, (l, n) => (A(), W("div", {
|
|
2148
2147
|
class: "module-data-item",
|
|
2149
2148
|
key: n
|
|
2150
2149
|
}, [
|
|
@@ -2191,7 +2190,7 @@ const Sl = (y) => y.match(/\((.*)\)/)[1], Vl = ll("formComp", {
|
|
|
2191
2190
|
}, {
|
|
2192
2191
|
default: ee(() => [
|
|
2193
2192
|
i("div", sn, [
|
|
2194
|
-
(A(),
|
|
2193
|
+
(A(), he(xe, {
|
|
2195
2194
|
rowContents: $.value,
|
|
2196
2195
|
key: $.value,
|
|
2197
2196
|
isEnableWrap: !1,
|
|
@@ -2300,9 +2299,9 @@ const dn = /* @__PURE__ */ ye(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2300
2299
|
V("change", e, "methodData");
|
|
2301
2300
|
}, w = (e) => al(e);
|
|
2302
2301
|
return (e, l) => (A(), W("div", vn, [
|
|
2303
|
-
(A(!0), W(ve, null,
|
|
2302
|
+
(A(!0), W(ve, null, fe(p.value, (n, u) => (A(), W("div", { key: a.value }, [
|
|
2304
2303
|
(n == null ? void 0 : n.key) === "extra" ? (A(), W("div", pn)) : (A(), W("div", fn, [
|
|
2305
|
-
(A(),
|
|
2304
|
+
(A(), he(Je(w(n.comp)), {
|
|
2306
2305
|
itemData: n == null ? void 0 : n.compData,
|
|
2307
2306
|
childItemData: n == null ? void 0 : n.itemChildData,
|
|
2308
2307
|
key: u,
|
|
@@ -2317,11 +2316,11 @@ const dn = /* @__PURE__ */ ye(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2317
2316
|
onBeforeDestroy: t
|
|
2318
2317
|
}, {
|
|
2319
2318
|
default: ee(() => [
|
|
2320
|
-
(A(!0), W(ve, null,
|
|
2319
|
+
(A(!0), W(ve, null, fe(C.value, (n, u) => (A(), W("div", {
|
|
2321
2320
|
key: u,
|
|
2322
2321
|
class: "extra-dialog"
|
|
2323
2322
|
}, [
|
|
2324
|
-
(A(),
|
|
2323
|
+
(A(), he(Je(w(n.comp)), {
|
|
2325
2324
|
itemData: n == null ? void 0 : n.compData,
|
|
2326
2325
|
onChange: R,
|
|
2327
2326
|
childItemData: n == null ? void 0 : n.itemChildData,
|
|
@@ -2475,7 +2474,7 @@ const dn = /* @__PURE__ */ ye(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2475
2474
|
},
|
|
2476
2475
|
{ immediate: !0, deep: !0 }
|
|
2477
2476
|
), (k, _) => (A(), W("div", yn, [
|
|
2478
|
-
(A(!0), W(ve, null,
|
|
2477
|
+
(A(!0), W(ve, null, fe(F.value, (z) => (A(), W("div", null, [
|
|
2479
2478
|
z.api !== "" ? (A(), W("div", {
|
|
2480
2479
|
key: 0,
|
|
2481
2480
|
onClick: (R) => v(z),
|
|
@@ -2662,7 +2661,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2662
2661
|
var c, w;
|
|
2663
2662
|
t && (k.value = ((c = t == null ? void 0 : t.find((e) => e.key === "signConfig")) == null ? void 0 : c.contents) ?? {}, _.value = ((w = t == null ? void 0 : t.find((e) => e.key === "signTypeList")) == null ? void 0 : w.contents) ?? []);
|
|
2664
2663
|
}, { immediate: !0 }), (t, c) => {
|
|
2665
|
-
const w =
|
|
2664
|
+
const w = pe("svg-icon"), e = pe("el-button");
|
|
2666
2665
|
return A(), W(ve, null, [
|
|
2667
2666
|
i("div", null, [
|
|
2668
2667
|
i("div", xn, [
|
|
@@ -2681,7 +2680,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2681
2680
|
])
|
|
2682
2681
|
]),
|
|
2683
2682
|
i("div", In, [
|
|
2684
|
-
(A(!0), W(ve, null,
|
|
2683
|
+
(A(!0), W(ve, null, fe(_.value, (l, n) => (A(), W("div", {
|
|
2685
2684
|
class: "module-data-item",
|
|
2686
2685
|
key: n
|
|
2687
2686
|
}, [
|
|
@@ -2727,7 +2726,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2727
2726
|
}, {
|
|
2728
2727
|
default: ee(() => [
|
|
2729
2728
|
i("div", $n, [
|
|
2730
|
-
(A(),
|
|
2729
|
+
(A(), he(xe, {
|
|
2731
2730
|
rowContents: $.value,
|
|
2732
2731
|
key: $.value,
|
|
2733
2732
|
isEnableWrap: !1,
|
|
@@ -2773,7 +2772,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2773
2772
|
};
|
|
2774
2773
|
return (z, R) => {
|
|
2775
2774
|
var O, t, c, w, e;
|
|
2776
|
-
const L =
|
|
2775
|
+
const L = pe("el-step"), E = pe("el-steps");
|
|
2777
2776
|
return A(), W(ve, null, [
|
|
2778
2777
|
N(E, {
|
|
2779
2778
|
direction: (O = y.stepConfig) == null ? void 0 : O.direction,
|
|
@@ -2783,7 +2782,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2783
2782
|
"align-center": ((c = y.stepConfig) == null ? void 0 : c.alignCenter) ?? !0
|
|
2784
2783
|
}, {
|
|
2785
2784
|
default: ee(() => [
|
|
2786
|
-
(A(!0), W(ve, null,
|
|
2785
|
+
(A(!0), W(ve, null, fe(y.stepList, (l, n) => (A(), he(L, {
|
|
2787
2786
|
key: n,
|
|
2788
2787
|
class: "step-item",
|
|
2789
2788
|
onClick: (u) => V(l, n + 1)
|
|
@@ -2803,18 +2802,18 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2803
2802
|
]),
|
|
2804
2803
|
_: 3
|
|
2805
2804
|
}, 8, ["direction", "active", "simple", "align-center"]),
|
|
2806
|
-
(w = y.stepConfig) != null && w.allowTrigger && ((e = y.stepConfig) != null && e.active) ? (A(!0), W(ve, { key: 0 },
|
|
2805
|
+
(w = y.stepConfig) != null && w.allowTrigger && ((e = y.stepConfig) != null && e.active) ? (A(!0), W(ve, { key: 0 }, fe($(), (l, n) => (A(), W("div", {
|
|
2807
2806
|
key: n,
|
|
2808
2807
|
class: "step-cont-wrap"
|
|
2809
2808
|
}, [
|
|
2810
|
-
(A(),
|
|
2809
|
+
(A(), he(Je(v(l == null ? void 0 : l.type)), {
|
|
2811
2810
|
modelValue: l.value,
|
|
2812
2811
|
"onUpdate:modelValue": (u) => l.value = u,
|
|
2813
2812
|
onClickTrigger: k,
|
|
2814
2813
|
onChangeTrigger: _,
|
|
2815
2814
|
content: l == null ? void 0 : l.content
|
|
2816
2815
|
}, _l({ _: 2 }, [
|
|
2817
|
-
|
|
2816
|
+
fe(z.$slots, (u, j) => ({
|
|
2818
2817
|
name: j,
|
|
2819
2818
|
fn: ee((S) => [
|
|
2820
2819
|
He(z.$slots, j, wl({ ref_for: !0 }, S || {}), void 0, !0)
|
|
@@ -2848,8 +2847,8 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2848
2847
|
}, {
|
|
2849
2848
|
immediate: !0
|
|
2850
2849
|
}), (v, $) => {
|
|
2851
|
-
const k =
|
|
2852
|
-
return A(),
|
|
2850
|
+
const k = pe("svg-icon");
|
|
2851
|
+
return A(), he(Fn, {
|
|
2853
2852
|
stepConfig: p.value,
|
|
2854
2853
|
stepList: C.value,
|
|
2855
2854
|
onClickStep: V
|
|
@@ -2882,10 +2881,10 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2882
2881
|
},
|
|
2883
2882
|
setup(y) {
|
|
2884
2883
|
return (F, d) => {
|
|
2885
|
-
const a =
|
|
2886
|
-
return A(),
|
|
2884
|
+
const a = pe("el-timeline-item"), p = pe("el-timeline");
|
|
2885
|
+
return A(), he(p, null, {
|
|
2887
2886
|
default: ee(() => [
|
|
2888
|
-
(A(!0), W(ve, null,
|
|
2887
|
+
(A(!0), W(ve, null, fe(y.activities, (C, V) => (A(), he(a, {
|
|
2889
2888
|
key: V,
|
|
2890
2889
|
timestamp: C.timestamp,
|
|
2891
2890
|
placement: y.timeLineConfig.placement,
|
|
@@ -2925,7 +2924,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2925
2924
|
a.value = (C = p == null ? void 0 : p.find((v) => (v == null ? void 0 : v.key) === "timeLineList")) == null ? void 0 : C.contents, d.value = (V = p == null ? void 0 : p.find((v) => (v == null ? void 0 : v.key) === "timeLineConfig")) == null ? void 0 : V.contents;
|
|
2926
2925
|
}, {
|
|
2927
2926
|
immediate: !0
|
|
2928
|
-
}), (p, C) => (A(),
|
|
2927
|
+
}), (p, C) => (A(), he(Ln, {
|
|
2929
2928
|
activities: a.value,
|
|
2930
2929
|
timeLineConfig: d.value
|
|
2931
2930
|
}, {
|
|
@@ -3013,9 +3012,9 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3013
3012
|
}), F.setItemData(C);
|
|
3014
3013
|
};
|
|
3015
3014
|
return (p, C) => {
|
|
3016
|
-
const V =
|
|
3015
|
+
const V = pe("svg-icon");
|
|
3017
3016
|
return A(), W("div", Wn, [
|
|
3018
|
-
(A(!0), W(ve, null,
|
|
3017
|
+
(A(!0), W(ve, null, fe(xl(_o), (v, $) => (A(), W("div", {
|
|
3019
3018
|
class: "type-list",
|
|
3020
3019
|
key: $
|
|
3021
3020
|
}, [
|
|
@@ -3091,7 +3090,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3091
3090
|
});
|
|
3092
3091
|
};
|
|
3093
3092
|
return (L, E) => {
|
|
3094
|
-
const O =
|
|
3093
|
+
const O = pe("svg-icon");
|
|
3095
3094
|
return A(), W("div", Jn, [
|
|
3096
3095
|
E[1] || (E[1] = i("div", { class: "fill-operate" }, q("操作栏"), -1)),
|
|
3097
3096
|
i("div", qn, [
|
|
@@ -3161,7 +3160,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3161
3160
|
var w, e;
|
|
3162
3161
|
return [
|
|
3163
3162
|
i("div", ao, [
|
|
3164
|
-
(A(),
|
|
3163
|
+
(A(), he(Je(_(t.comp + "Operate")), {
|
|
3165
3164
|
itemContents: t == null ? void 0 : t.compData,
|
|
3166
3165
|
originalItemContents: (e = (w = C.value) == null ? void 0 : w.find((l, n) => n === c)) == null ? void 0 : e.compData,
|
|
3167
3166
|
onChange: (l) => z(l, t, c)
|
|
@@ -3194,12 +3193,12 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3194
3193
|
return (C, V) => {
|
|
3195
3194
|
var v;
|
|
3196
3195
|
return ((v = a.value) == null ? void 0 : v.length) > 0 ? (A(), W("div", so, [
|
|
3197
|
-
(A(!0), W(ve, null,
|
|
3196
|
+
(A(!0), W(ve, null, fe(a.value, ($, k) => (A(), W("div", {
|
|
3198
3197
|
class: "item-content",
|
|
3199
3198
|
key: k
|
|
3200
3199
|
}, [
|
|
3201
3200
|
i("div", io, q($.name), 1),
|
|
3202
|
-
(A(),
|
|
3201
|
+
(A(), he(Je(p($.comp)), {
|
|
3203
3202
|
itemData: $ == null ? void 0 : $.compData,
|
|
3204
3203
|
childItemData: $ == null ? void 0 : $.itemChildData,
|
|
3205
3204
|
key: k
|
|
@@ -3289,7 +3288,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3289
3288
|
},
|
|
3290
3289
|
{ immediate: !0, deep: !0 }
|
|
3291
3290
|
), (w, e) => {
|
|
3292
|
-
const l =
|
|
3291
|
+
const l = pe("svg-icon"), n = pe("el-input"), u = pe("el-form-item"), j = pe("el-form");
|
|
3293
3292
|
return A(), W("div", null, [
|
|
3294
3293
|
i("div", to, [
|
|
3295
3294
|
e[8] || (e[8] = i("h4", null, "标签页管理", -1)),
|
|
@@ -3302,7 +3301,7 @@ const wn = /* @__PURE__ */ ye(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3302
3301
|
])
|
|
3303
3302
|
]),
|
|
3304
3303
|
i("div", co, [
|
|
3305
|
-
(A(!0), W(ve, null,
|
|
3304
|
+
(A(!0), W(ve, null, fe(p.value, (S, M) => (A(), W("div", {
|
|
3306
3305
|
class: "tab-item",
|
|
3307
3306
|
key: M
|
|
3308
3307
|
}, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as S, u as P, E as v } from "./menu-
|
|
2
|
-
import { p as K } from "./index-
|
|
3
|
-
import { u as k } from "./login-
|
|
1
|
+
import { g as S, u as P, E as v } from "./menu-Mo-2vv7x.js";
|
|
2
|
+
import { p as K } from "./index-Cly4yemp.js";
|
|
3
|
+
import { u as k } from "./login-B9vlP2b5.js";
|
|
4
4
|
import { ref as h } from "vue";
|
|
5
5
|
const A = P(K), E = k(K), x = h(!1), D = h(!1), q = async () => {
|
|
6
6
|
const I = S({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./menu-
|
|
1
|
+
"use strict";const s=require("./menu-BnL2_TmY.cjs"),x=require("./index-CTb7K2Bk.cjs"),q=require("./login-Duwt6-x6.cjs"),I=require("vue"),w=s.useMenuState(x.pinia),v=q.useLoginState(x.pinia),D=I.ref(!1),E=I.ref(!1),P=async()=>{const K=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),M=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([K,M]).then(a=>{var r,u,n,o,i,l,c,g,y,d,S,f,m,p;const t=a==null?void 0:a[0],e=a==null?void 0:a[1];if(t.data.code===200){const h=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;w.setRawMenus(h??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else s.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):s.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=P;
|