ss-component-new 1.1.633 → 1.1.635
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/icons/svg/overviewTable.svg +1 -0
- package/dist/{index-CEg1sz75.cjs → index-2IuWtRvB.cjs} +1 -1
- package/dist/{index-CrgjBzVS.js → index-2wBJkTrh.js} +5199 -5163
- package/dist/{index-kuv99E55.js → index-BBrpNYHw.js} +3 -3
- package/dist/{index-C2T-nUxf.js → index-BDUZPFuu.js} +2 -2
- package/dist/{index-DIarFx7J.cjs → index-BSSprZ6M.cjs} +1 -1
- package/dist/{index-DFcheNvH.js → index-BTX9S_RI.js} +5 -5
- package/dist/{index-DL_n7qRJ.cjs → index-B_FqERMU.cjs} +1 -1
- package/dist/{index-B-yPS3rp.js → index-BchaBgeO.js} +2 -2
- package/dist/{index-CeLPDTwU.js → index-BdC8VdZV.js} +1 -1
- package/dist/{index-DvivPqwT.cjs → index-BmY2B9GX.cjs} +1 -1
- package/dist/index-BqAe773i.js +1366 -0
- package/dist/{index-BmcZxive.cjs → index-BqT6FOpQ.cjs} +1 -1
- package/dist/{index-DaSO7YHM.js → index-C0WZv0b0.js} +3 -3
- package/dist/{index-pjWtCMgy.cjs → index-C191HdA-.cjs} +175 -175
- package/dist/{index-DecdMM1v.cjs → index-CDe14QVc.cjs} +1 -1
- package/dist/{index-DBZRy3lN.js → index-CM0TXqYS.js} +2 -2
- package/dist/index-CMpho8DX.cjs +15 -0
- package/dist/index-CUjmZqRQ.js +523 -0
- package/dist/{index-HqOoOEAR.cjs → index-CcFxuWEo.cjs} +1 -1
- package/dist/{index-Tkl0B4fI.cjs → index-CeYo3Axi.cjs} +1 -1
- package/dist/{index-w1m-7HgK.js → index-D-VR8qNG.js} +1 -1
- package/dist/{index-Dra92QV3.cjs → index-D-u3BBde.cjs} +1 -1
- package/dist/{index-DRlW_FO7.cjs → index-D8bFq5Hd.cjs} +1 -1
- package/dist/index-DIHMCopJ.cjs +1 -0
- package/dist/{index-Cvch-vB9.cjs → index-DSC9qxMj.cjs} +1 -1
- package/dist/{index-C59V9sny.js → index-D_BWzS6S.js} +4 -4
- package/dist/{index-CRPV_RMZ.cjs → index-De2rW-L3.cjs} +1 -1
- package/dist/{index-Fox5Ey1S.js → index-Dokz6Y6B.js} +2 -2
- package/dist/{index-uLrDB1Xa.js → index-DyukzFeY.js} +3 -3
- package/dist/{index-Dq8PiIPj.js → index-DyzvZ4Cb.js} +4 -4
- package/dist/{index-BCQ3_DA0.js → index-G5dZe_EB.js} +1 -1
- package/dist/{index-BO5t0KuG.cjs → index-_SF7uPAf.cjs} +1 -1
- package/dist/{index-DTtCq9R6.js → index-bxA-k3D8.js} +2 -2
- package/dist/{index-D8su61We.cjs → index-eFEWH0CT.cjs} +1 -1
- package/dist/index-hvB6XliF.cjs +1 -0
- package/dist/{index-D4bJYU9h.js → index-j5LlDKXY.js} +4078 -4093
- package/dist/{index-B2emCdgZ.cjs → index-kfVN5aTL.cjs} +1 -1
- package/dist/index-oL2vQuDq.js +4677 -0
- package/dist/{index-D-pZ2i-i.js → index-oaqMPyhi.js} +3 -3
- package/dist/index-qw6X9wDw.cjs +1 -0
- package/dist/{index-J-hawjSV.cjs → index-u4k0d_l7.cjs} +1 -1
- package/dist/{index-r5L5PJP9.js → index-zwRivr5J.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-2o4JetL0.cjs → index.vue_vue_type_script_setup_true_lang-BSHKpL3U.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DARKvbG4.js → index.vue_vue_type_script_setup_true_lang-zFnpYkL9.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DRgBQqLh.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CsM4kD2l.cjs} +83 -83
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CftP2xRb.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Ds2Sv3Xv.js} +5235 -5188
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-CkzpFrX9.cjs → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-4WqW_UTK.cjs} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-D67Y6zhl.js → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-B2CWAZHJ.js} +210 -213
- package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-dJ4zAKVN.js → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-Bpvz0p69.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-bFC2qCE0.cjs → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-C8RzrVMt.cjs} +1 -1
- package/dist/{main-DkkfxEBJ.js → main-CUS7qbfa.js} +3 -3
- package/dist/{main-BWKdGljh.cjs → main-Ddhrf3gM.cjs} +1 -1
- package/dist/{modelComp-bhPfLPDx.js → modelComp-CJ4sMWBs.js} +1 -5
- package/dist/modelComp-MsmKaqKZ.cjs +1 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +7 -7
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-BnYY7l1a.js → threeModel-Csz3rDOv.js} +1 -1
- package/dist/{threeModel-DAM364BO.cjs → threeModel-Dm6VrNex.cjs} +1 -1
- package/package.json +1 -1
- package/public/icons/svg/overviewTable.svg +1 -0
- package/dist/index-BDU36H65.cjs +0 -15
- package/dist/index-BkS8zx2B.cjs +0 -1
- package/dist/index-BwU7Nmc_.cjs +0 -1
- package/dist/index-C7lbxT_p.cjs +0 -1
- package/dist/index-CDYUd7s_.js +0 -1344
- package/dist/index-D6W6q5C9.js +0 -499
- package/dist/index-DC_O3ZXX.cjs +0 -1
- package/dist/index-boQYixno.js +0 -32
- package/dist/index-kLuh8TiZ.js +0 -4642
- package/dist/modelComp-B8kjqlTY.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1754464727540" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5863" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M368.64 34.133333H112.64C68.266667 34.133333 34.133333 68.266667 34.133333 112.64v256c0 23.893333 17.066667 40.96 40.96 40.96s40.96-17.066667 40.96-40.96V116.053333h252.586667c23.893333 0 40.96-17.066667 40.96-40.96S389.12 34.133333 368.64 34.133333zM911.36 34.133333h-256c-23.893333 0-40.96 17.066667-40.96 40.96s17.066667 40.96 40.96 40.96h252.586667v252.586667c0 23.893333 17.066667 40.96 40.96 40.96s40.96-17.066667 40.96-40.96V112.64C989.866667 68.266667 955.733333 34.133333 911.36 34.133333zM368.64 907.946667H116.053333v-252.586667c0-23.893333-17.066667-40.96-40.96-40.96S34.133333 634.88 34.133333 655.36v256C34.133333 955.733333 68.266667 989.866667 112.64 989.866667h256c23.893333 0 40.96-17.066667 40.96-40.96s-20.48-40.96-40.96-40.96zM948.906667 617.813333c-23.893333 0-40.96 17.066667-40.96 40.96v252.586667h-252.586667c-23.893333 0-40.96 17.066667-40.96 40.96s17.066667 40.96 40.96 40.96h256c40.96 0 78.506667-34.133333 78.506667-78.506667v-256c0-23.893333-17.066667-40.96-40.96-40.96z" p-id="5864"></path><path d="M416.426667 488.106667L307.2 344.746667c-13.653333-17.066667-34.133333-20.48-51.2-6.826667-17.066667 13.653333-20.48 34.133333-6.826667 51.2L337.92 512l-95.573333 126.293333c-13.653333 17.066667-10.24 37.546667 6.826666 51.2 6.826667 3.413333 13.653333 6.826667 20.48 6.826667 10.24 0 23.893333-6.826667 30.72-13.653333l112.64-146.773334c10.24-17.066667 10.24-34.133333 3.413334-47.786666z" p-id="5865"></path><path d="M597.333333 488.106667L488.106667 341.333333c-13.653333-17.066667-34.133333-20.48-51.2-6.826666-17.066667 13.653333-20.48 34.133333-6.826667 51.2l92.16 122.88-95.573333 126.293333c-13.653333 17.066667-10.24 37.546667 6.826666 51.2 6.826667 3.413333 13.653333 6.826667 20.48 6.826667 10.24 0 23.893333-6.826667 30.72-13.653334l112.64-146.773333c10.24-13.653333 10.24-30.72 0-44.373333z" p-id="5866"></path><path d="M778.24 488.106667L669.013333 341.333333c-13.653333-17.066667-34.133333-20.48-51.2-6.826666-17.066667 13.653333-20.48 34.133333-6.826666 51.2l92.16 122.88-95.573334 126.293333c-6.826667 6.826667-6.826667 17.066667-6.826666 27.306667 0 10.24 6.826667 17.066667 13.653333 23.893333 6.826667 3.413333 13.653333 6.826667 23.893333 6.826667 10.24 0 23.893333-6.826667 30.72-13.653334l112.64-146.773333c6.826667-13.653333 6.826667-30.72-3.413333-44.373333z" p-id="5867"></path></svg>
|
|
@@ -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-BSHKpL3U.cjs"),y=require("./index-CMpho8DX.cjs"),C=require("./menu-CcabvNj6.cjs"),x=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://139.196.154.85:20013"),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){C.ElMessage.error(r)}},b=async()=>{try{if(!d.value)return}catch(o){C.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=x._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://139.196.154.85:20013"),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){C.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=x._export_sfc(E,[["__scopeId","data-v-b9bd887d"]]);exports.ssAvatar=V;exports.ssSignature=U;
|