ss-component-new 1.3.293 → 1.3.294
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/{MTLLoader-BOBkrSfe.js → MTLLoader-BrEAUYmm.js} +1 -1
- package/dist/{MTLLoader-C6rfxQ-U.cjs → MTLLoader-DqRiQxtb.cjs} +1 -1
- package/dist/{OrbitControls-stRsVWeF.cjs → OrbitControls-DjWgA8Ek.cjs} +1 -1
- package/dist/{OrbitControls-Dv9oFyLz.js → OrbitControls-Xm3TiWSm.js} +1 -1
- package/dist/{URDFLoader-C51mjCMr.cjs → URDFLoader-BG8UBoRV.cjs} +1 -1
- package/dist/{URDFLoader-CkLxRSym.js → URDFLoader-BVq4-_nm.js} +2 -2
- package/dist/{animationData-B4mCFW0Z.js → animationData-CKnGxrwv.js} +3 -3
- package/dist/{animationData-2Gchlfns.cjs → animationData-CvSQOLjD.cjs} +1 -1
- package/dist/{array-BZGJgmUx.cjs → array-BIFwfUgy.cjs} +1 -1
- package/dist/{array-BVedBC4J.js → array-h9qrV9Ml.js} +4 -4
- package/dist/clone-BkXJ1f6m.cjs +1 -0
- package/dist/{clone-DlNyA_zn.js → clone-DXbbt8Hm.js} +1 -1
- package/dist/{dayjs.min-73fIR1V_.cjs → dayjs.min-C_98bw1w.cjs} +1 -1
- package/dist/{dayjs.min-E1ZLJ-8j.js → dayjs.min-DuspkzAg.js} +1 -1
- package/dist/{iconfont-B3tjmizt.cjs → iconfont-Bh5e2p75.cjs} +1 -1
- package/dist/{iconfont-Dd30Cjr5.js → iconfont-CI2ln_lz.js} +2 -2
- package/dist/{index-Co-U8J6E.cjs → index-1hSToJw_.cjs} +1 -1
- package/dist/{index-DefvWUXW.js → index-7LnDFIOi.js} +6 -6
- package/dist/{index-DsopYGEs.js → index-8_DPJ72l.js} +9 -9
- package/dist/{index-CQY6ageG.cjs → index-92G6p6-P.cjs} +1 -1
- package/dist/{index-BK2xjtjO.js → index-B0Os7fXW.js} +4 -4
- package/dist/{index-D-RquVVU.cjs → index-B42t_3aO.cjs} +1 -1
- package/dist/{index-fAnqtn_m.cjs → index-B6OWlCN4.cjs} +1 -1
- package/dist/{index-0hpStIBH.js → index-B7B9vl_S.js} +4 -4
- package/dist/{index-Bsk8vIdB.cjs → index-BF-N-Qth.cjs} +1 -1
- package/dist/{index-BpzCJnoT.js → index-BMj0wGQ5.js} +1 -1
- package/dist/{index-BwyBfUCz.cjs → index-BSSGdoZ8.cjs} +1 -1
- package/dist/{index-CwOB279v.cjs → index-BVbA0cHb.cjs} +1 -1
- package/dist/{index-C_rNGRpL.js → index-BX5zltQ3.js} +2 -2
- package/dist/{index-B846yqBS.js → index-BbRiCABC.js} +2 -2
- package/dist/{index-BkOJA3nu.cjs → index-BcTkU3nu.cjs} +1 -1
- package/dist/{index-BKPi9246.js → index-BwLsaB2x.js} +7042 -7075
- package/dist/{index-CEwg_zdl.js → index-Bwv7RY5s.js} +1 -1
- package/dist/{index-CuxsdavJ.js → index-Bzw_ww-W.js} +4 -4
- package/dist/{index-B83PV1ft.cjs → index-C2939x9u.cjs} +1 -1
- package/dist/{index-BEEOZ_LN.js → index-CDVaGIeb.js} +1 -1
- package/dist/index-CLPhoWCk.js +9640 -0
- package/dist/{index-cC0isUDx.cjs → index-CNFkoqud.cjs} +1 -1
- package/dist/{index-B5_JD9Zr.js → index-CPlrxGTO.js} +2 -2
- package/dist/{index-CvAN1H22.js → index-CWCyvGjm.js} +9 -9
- package/dist/{index-DR_J3sca.js → index-CX9Re9vz.js} +2 -2
- package/dist/index-Co49Xwzc.cjs +25 -0
- package/dist/{index-C4MRQylF.cjs → index-D-514Msd.cjs} +1 -1
- package/dist/{index-CkXAOjdK.js → index-D4rNc1Ug.js} +2 -2
- package/dist/{index-sqfOcL_Q.cjs → index-D6rBwYFi.cjs} +1 -1
- package/dist/{index-DG_ZoAwM.cjs → index-D9VN9VwZ.cjs} +1 -1
- package/dist/{index-BJQ12PRZ.cjs → index-DIgF229o.cjs} +1 -1
- package/dist/{index-6egNZH3a.js → index-DPbLX2EM.js} +3 -3
- package/dist/{index-CEuh0_6n.js → index-DRSO21bq.js} +1 -1
- package/dist/index-DbnYm_qF.cjs +2 -0
- package/dist/{index-tT9c2s2F.js → index-Ddd5C1wv.js} +2 -2
- package/dist/{index-Cw3Mzxsu.cjs → index-Dfkxf6i6.cjs} +1 -1
- package/dist/{index-wW51rQ0m.js → index-Diu2CNkR.js} +6 -6
- package/dist/{index-DCL0uKEy.cjs → index-DjNtEs7b.cjs} +1 -1
- package/dist/{index-CBb-zQHx.cjs → index-DliVCzLT.cjs} +1 -1
- package/dist/{index-C4Dlzm7P.js → index-DmmlczJa.js} +4 -4
- package/dist/{index-OVAb_o-R.cjs → index-Dnm0jw7y.cjs} +1 -1
- package/dist/{index-DLJBDAUp.js → index-DnqpKHUZ.js} +1 -1
- package/dist/{index-B5V-oUOc.js → index-Do1JEQ8b.js} +1 -1
- package/dist/{index-WsYVHGnw.cjs → index-DtT8Y2gZ.cjs} +1 -1
- package/dist/{index-Ba_o-vqP.cjs → index-DzS8TUJx.cjs} +1 -1
- package/dist/{index-BMOdyP-6.cjs → index-DzvNguHf.cjs} +1 -1
- package/dist/{index-CsBViUVV.js → index-MM7KiUTF.js} +3 -3
- package/dist/{index-BxEBUPI0.cjs → index-R66yOvAG.cjs} +1 -1
- package/dist/{index-CAIY8beW.js → index-SQ7v5v4-.js} +3 -3
- package/dist/{index-CkTFRGxB.js → index-WrlsRfB9.js} +1 -1
- package/dist/{index-D-RfdXBa.cjs → index-XMnT8VKx.cjs} +1 -1
- package/dist/{index-CqiskI7e.js → index-Y6ou98p7.js} +1 -1
- package/dist/{index-DenEnDJU.cjs → index-apX7jShx.cjs} +1 -1
- package/dist/{index-Cxujb_7E.js → index-ehuQSQgp.js} +4 -4
- package/dist/{index-CUyRzcId.js → index-fChGNUaV.js} +2 -2
- package/dist/{index-Cq0IbX2g.cjs → index-g7Wgp9gu.cjs} +1 -1
- package/dist/{index-Cck4n4WY.cjs → index-ucDLs-jz.cjs} +1 -1
- package/dist/{index-BGXlt0Bk.cjs → index-zoVL0zIS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-6F-e2GJs.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CA4D5g5S.cjs} +62 -62
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C92zyRB7.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Ct_Gif7C.js} +1845 -1850
- package/dist/{main-Bj5s2YI8.cjs → main-BTE6x0vf.cjs} +1 -1
- package/dist/{main-B5W7D5YD.js → main-bSQJ_0uW.js} +4 -4
- package/dist/{menu-BMAZOS2j.js → menu-BzDsNPVM.js} +648 -560
- package/dist/{menu-DopnPfbG.cjs → menu-DUkDo01b.cjs} +5 -6
- package/dist/{menuIndex-DhpobxSC.cjs → menuIndex-BkBrPObt.cjs} +1 -1
- package/dist/{menuIndex-DuWSagQ-.js → menuIndex-yuvNAovT.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-C87-hoqY.js → threeModel-CTNYjx5D.js} +4 -4
- package/dist/{threeModel-DTxQtp2f.cjs → threeModel-DvlIbUeU.cjs} +1 -1
- package/dist/{threePreview-BfNy0TQL.js → threePreview-EMOU8ESj.js} +4 -4
- package/dist/{threePreview-DQX5gazP.cjs → threePreview-T5JQIpIE.cjs} +1 -1
- package/dist/{threeSceneView-Br8jbvLM.cjs → threeSceneView-APtKdbqq.cjs} +1 -1
- package/dist/{threeSceneView-jNmK6OkL.js → threeSceneView-DtyttwpI.js} +14 -14
- package/dist/{threeSceneViewForCPMPIP-B3ZnBCj6.cjs → threeSceneViewForCPMPIP-COQwY-59.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DB1dWZmp.js → threeSceneViewForCPMPIP-jf5pOP0k.js} +8 -8
- package/dist/{threeTrackPathView-yar3btno.cjs → threeTrackPathView-ewxBf_AV.cjs} +1 -1
- package/dist/{threeTrackPathView-DaPoMzkC.js → threeTrackPathView-jXEBNcpF.js} +4 -4
- package/dist/{threeViewerHost-pVaZ-5d1.js → threeViewerHost-CDxym2iV.js} +3 -3
- package/dist/{threeViewerHost-CJ4fhhdJ.cjs → threeViewerHost-CgyOy9_V.cjs} +1 -1
- package/dist/{urdfTree-dQ-2fOQE.js → urdfTree-BRwS94Xs.js} +1 -1
- package/dist/{urdfTree-D7WPM5fm.cjs → urdfTree-BVYJZhPX.cjs} +1 -1
- package/dist/{workpieceTreePanel-Di20N5y6.js → workpieceTreePanel-D29Boj5S.js} +4 -4
- package/dist/{workpieceTreePanel-rK0hhgpD.cjs → workpieceTreePanel-FDRKfo7x.cjs} +1 -1
- package/package.json +1 -1
- package/dist/clone-DZsVSfvJ.cjs +0 -1
- package/dist/index-C73PF4P6.cjs +0 -25
- package/dist/index-efltJzM6.js +0 -9611
- package/dist/index-iyPg8SID.cjs +0 -2
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as S, getCurrentInstance as Ue, inject as ye, unref as d, ref as F, onMounted as Ce, watch as K, toRef as nt, onUnmounted as ao, shallowRef as _e, nextTick as W, defineComponent as re, useAttrs as so, useSlots as En, createElementBlock as U, openBlock as k, normalizeStyle as ot, normalizeClass as O, createCommentVNode as I, Fragment as $e, createElementVNode as R, renderSlot as _, createBlock as Q, withCtx as X, resolveDynamicComponent as G, mergeProps as Dt, withModifiers as Se, toDisplayString as se, onBeforeUnmount as Xe, provide as Hn, Text as ro, reactive as In, createVNode as ve, h as Ao, watchEffect as io, isRef as lo, onScopeDispose as uo, markRaw as yt, toRefs as co, resolveComponent as Le, Transition as fo, withDirectives as ft, withKeys as Pe, vShow as pt, createTextVNode as zt, isVNode as Qn, render as Fn } from "vue";
|
|
2
|
-
import { s as po, o as go, d as ho } from "./dayjs.min-
|
|
3
|
-
import { J as Tn, $ as mo, a0 as vo, x as Mn, a1 as So, g as wo, s as Ft, u as qn, b as rt, p as at, n as Bo, o as bo, c as jt } from "./menu-
|
|
2
|
+
import { s as po, o as go, d as ho } from "./dayjs.min-DuspkzAg.js";
|
|
3
|
+
import { J as Tn, $ as mo, a0 as vo, x as Mn, a1 as So, g as wo, s as Ft, u as qn, b as rt, p as at, n as Bo, o as bo, c as jt } from "./menu-BzDsNPVM.js";
|
|
4
4
|
import { S as _t, o as Jn, V as Tt, W as Ln, k as $t, X as ko, Y as Qe, Z as en, _ as Do, Q as At, $ as ke, R as ae, T as yo, a0 as Ne, c as Oo, a1 as Nn, a2 as De, a3 as Co, a4 as Eo, a5 as Ho, a6 as Io, a7 as gt, a8 as Ve, a9 as Re, aa as Oe, ab as Qo, ac as Fo, ad as To, ae as Mo, af as ce, U as Ie, ag as st, ah as Vn, ai as Mt, aj as qt, ak as qo, y as Ot, al as Jo, am as tn, O as Lo, an as No, ao as Vo, ap as Yo, aq as Uo, ar as Xo, as as Ro, at as Po, au as nn, av as on, aw as an, ax as Wo, s as Ae, E as Zo } from "./request-CoGtW0Ux.js";
|
|
5
5
|
import { u as xo } from "./index-BIV-s4QY.js";
|
|
6
6
|
import { E as Go } from "./index-C81Qb0f2.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),D=require("./menu-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),D=require("./menu-DUkDo01b.cjs"),f=require("./index-ucDLs-jz.cjs"),F=require("./index.vue_vue_type_script_setup_true_lang-BKTJR2th.cjs"),z=require("./index-CUw6nGTo.cjs"),J=require("./index-CNFkoqud.cjs"),M=require("./request-BC2w2vGr.cjs"),$=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),K=require("./clone-BkXJ1f6m.cjs"),Q=require("./index-W8p89C7t.cjs"),X={class:"account-wrap"},Z={class:"video-wrap"},ee=e.defineComponent({__name:"index",emits:["startVerify","completeVerify","verifyResult"],setup(j,{expose:b,emit:h}){const V=h,{initVerifySelf:O}=J.useFaceRecognition(),r=e.ref(null),c=e.ref(null);let N=!1,w=null;const l=async a=>{if(!a)return;const o=await O(a).finally(()=>{V("completeVerify")});V("verifyResult",o)},I=()=>{if(!c.value||!r.value)return;const a=c.value,o=a.getContext("2d"),_=r.value;a.width=200,a.height=200;const C=_.videoWidth||640,E=_.videoHeight||480,x=Math.min(200/C,200/E),k=C*x,S=E*x,T=(200-k)/2,d=(200-S)/2;o==null||o.drawImage(_,0,0,C,E,T,d,k,S),a.toBlob(async B=>{if(B){const y=new File([B],"face.png",{type:"image/png"});V("startVerify"),await l(y)}},"image/png")},v=async()=>{if(!r.value||N)return;const a=r.value;try{if(w=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1}),a){const o=a;o.srcObject=w,N=!0}}catch{M.ElMessage.warning("摄像头启动失败")}};function A(a){if(a&&(a.getTracks().forEach(o=>o.stop()),r.value)){const o=r.value;o.srcObject=null}}const R=()=>{A(w),N=!1};return e.onBeforeUnmount(()=>{R()}),b({initFaceRecognition:v,cleanup:R}),(a,o)=>(e.openBlock(),e.createElementBlock("div",X,[e.createElementVNode("div",Z,[e.createElementVNode("video",{class:"face-video",ref_key:"videoRef",ref:r,id:"v",autoplay:"",playsinline:""},null,512)]),e.createElementVNode("div",{class:"face-screenshot-wrapper",onClick:I},[e.renderSlot(a.$slots,"default",{},()=>[o[0]||(o[0]=e.createElementVNode("button",{class:""},"人脸识别",-1))],!0)]),e.createElementVNode("canvas",{ref_key:"canvasRef",ref:c,id:"canvas"},null,512)]))}}),te=$._export_sfc(ee,[["__scopeId","data-v-d48749db"]]),oe={class:"personal-center"},ae={class:"body"},le={class:"body-left"},ne={class:"personal-profile"},se={class:"avatar"},re=["src"],ie={key:1,class:"downgrade-avatar"},ce={class:"base-info"},de={class:"permission"},ue={class:"personal-form-wrapper"},pe={class:"password-input-wrapper"},me={class:"edit-wrapper"},fe={class:"edit-body"},ve={class:"edit-form-wrapper"},_e={class:"edit-footer"},Ve={class:"footer-right"},ge=e.defineComponent({__name:"index",setup(j){const{isSuperAdmin:b,initEditForm:h,isAllowReplacePassword:V,initReplacePassword:O}=f.usePersonalCenter(),r=D.useLoginState(),{loginUserInfo:c}=D.storeToRefs(r),N=e.computed(()=>b.value?"超级管理员":"普通用户"),w=e.computed(()=>{var n,t;return((t=(n=c.value)==null?void 0:n.account)==null?void 0:t.charAt(0))||""}),l=e.ref({}),I=()=>{l.value=K.clone(c.value)||{}},v=e.ref(""),A=async()=>{var p,m,g;const n=(g=(m=(p=c.value)==null?void 0:p.face_photo_url)==null?void 0:m[0])==null?void 0:g.url;if(!n)return;const t=await D.platformDownloadFile({url:n}),u=new Blob([t==null?void 0:t.data],{type:t==null?void 0:t.headers["content-type"]}),i=URL.createObjectURL(u);v.value=i},R=()=>{v.value&&URL.revokeObjectURL(v.value)};e.onMounted(()=>{I(),A()}),e.onUnmounted(()=>{R()});const a=e.ref(f.tabConstants.BASE.value),o=e.ref(),_=e.ref(!1),C=()=>{_.value=!0},E=()=>{_.value=!1},x=n=>{if(n){P();return}M.ElMessage.error("验证失败")},k=n=>{o.value&&(n===f.tabConstants.RESET_PASSWORD_BY_FACE_RECOGNITION.value?o.value.initFaceRecognition():o.value.cleanup())},S=n=>{const t=n.paneName;k(t)},T=e.ref(),d=e.ref(h(c.value)),B=e.reactive({password:[{required:!0,message:"请输入密码",trigger:"blur"}]}),y=e.ref(!1),W=()=>{y.value=!0},U=()=>{y.value=!1},P=()=>{d.value=h(c.value),W()},G=()=>a.value===f.tabConstants.RESET_PASSWORD_BY_FACE_RECOGNITION.value?!0:!V(l.value),Y=async()=>{var u,i;if(await((i=(u=T.value)==null?void 0:u.validate)==null?void 0:i.call(u)),!G())return;const t=Q.ElLoading.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"});await O(d.value).finally(()=>{t.close()}),l.value={...l.value,...d.value},r.setLoginUserInfo(l.value),U()};return(n,t)=>{const u=e.resolveComponent("el-avatar"),i=e.resolveComponent("el-input"),p=e.resolveComponent("el-form-item"),m=e.resolveComponent("el-col"),g=e.resolveComponent("el-row"),q=e.resolveComponent("el-form"),L=e.resolveComponent("el-tab-pane"),H=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",oe,[t[7]||(t[7]=e.createElementVNode("div",{class:"header"},[e.createElementVNode("div",{class:"header-left"}),e.createElementVNode("div",{class:"header-right"})],-1)),e.createElementVNode("div",ae,[e.createElementVNode("div",le,[e.createElementVNode("div",ne,[e.createElementVNode("div",se,[e.createVNode(u,{fit:"cover",size:96,ref:"avatarRef",alt:"头像查找失败"},{default:e.withCtx(()=>[v.value?(e.openBlock(),e.createElementBlock("img",{key:0,class:"face-img",src:v.value},null,8,re)):(e.openBlock(),e.createElementBlock("div",ie,e.toDisplayString(w.value),1))]),_:1},512)]),e.createElementVNode("div",ce,[e.createElementVNode("div",de,e.toDisplayString(N.value),1)])])]),t[6]||(t[6]=e.createElementVNode("div",{class:"divide"},null,-1)),e.createVNode(H,{class:"user-tabs",modelValue:a.value,"onUpdate:modelValue":t[4]||(t[4]=s=>a.value=s),onTabClick:S},{default:e.withCtx(()=>[e.createVNode(L,{label:e.unref(f.tabConstants).BASE.label,name:e.unref(f.tabConstants).BASE.value},{default:e.withCtx(()=>[e.createElementVNode("div",ue,[e.createVNode(q,{class:"personal-form",model:l.value},{default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"user_name",label:"姓名","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:l.value.user_name,"onUpdate:modelValue":t[0]||(t[0]=s=>l.value.user_name=s),"aria-label":"姓名",placeholder:"姓名",readonly:""},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"employee_no",label:"工号","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:l.value.employee_no,"onUpdate:modelValue":t[1]||(t[1]=s=>l.value.employee_no=s),"aria-label":"工号",placeholder:"工号",readonly:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"account",label:"账号","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:l.value.account,"onUpdate:modelValue":t[2]||(t[2]=s=>l.value.account=s),"aria-label":"账号",placeholder:"账号",readonly:""},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"password",label:"密码","label-position":"top"},{default:e.withCtx(()=>[e.createElementVNode("div",pe,[e.createVNode(i,{modelValue:l.value.password,"onUpdate:modelValue":t[3]||(t[3]=s=>l.value.password=s),type:"password","show-password":"",readonly:"","aria-label":"密码",placeholder:"密码"},null,8,["modelValue"]),!e.unref(b)&&e.unref(V)(l.value)?(e.openBlock(),e.createBlock(F._sfc_main,{key:0,class:"replace-password",emptyColor:!0,onClickTrigger:P,modelValue:"修改密码",buttonType:"primary"})):e.createCommentVNode("",!0)])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])]),_:1},8,["label","name"]),e.createVNode(L,{label:e.unref(f.tabConstants).RESET_PASSWORD_BY_FACE_RECOGNITION.label,name:e.unref(f.tabConstants).RESET_PASSWORD_BY_FACE_RECOGNITION.value},{default:e.withCtx(()=>[e.createVNode(te,{ref_key:"faceRecognitionRef",ref:o,onStartVerify:C,onCompleteVerify:E,onVerifyResult:x},{default:e.withCtx(()=>[e.createVNode(F._sfc_main,{class:"verify-button",loading:_.value,emptyColor:!0,modelValue:"人脸识别",buttonType:"primary"},null,8,["loading"])]),_:1},512)]),_:1},8,["label","name"])]),_:1},8,["modelValue"])]),t[8]||(t[8]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1))]),e.createVNode(z.ssDialog,{class:"edit-dialog",visible:y.value,title:"用户信息",onBeforeDestroy:U,showClose:!0,closeOnClickModal:!1,closeOnPressEscape:!1,modalClass:"role-edit-modal",alignCenter:!0,appendToBody:!1},{default:e.withCtx(()=>[e.createElementVNode("div",me,[t[9]||(t[9]=e.createElementVNode("div",{class:"edit-header"},[e.createElementVNode("div",{class:"header-left"}),e.createElementVNode("div",{class:"header-right"})],-1)),e.createElementVNode("div",fe,[e.createElementVNode("div",ve,[e.createVNode(q,{class:"edit-form",ref_key:"editFormRef",ref:T,model:d.value,rules:B},{default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"password",label:"密码","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.value.password,"onUpdate:modelValue":t[5]||(t[5]=s=>d.value.password=s),"aria-label":"密码",placeholder:"密码"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])])])]),footer:e.withCtx(()=>[e.createElementVNode("div",_e,[t[10]||(t[10]=e.createElementVNode("div",{class:"footer-left"},null,-1)),e.createElementVNode("div",Ve,[e.createVNode(F._sfc_main,{class:"cancel",emptyColor:!0,onClickTrigger:U,modelValue:"取消",buttonType:"info"}),e.createVNode(F._sfc_main,{class:"confirm",emptyColor:!0,onClickTrigger:Y,modelValue:"确定",buttonType:"primary"})])])]),_:1},8,["visible"])],64)}}}),Ne=$._export_sfc(ge,[["__scopeId","data-v-e4017c10"]]);exports.default=Ne;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CA4D5g5S.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("vue"),q=require("./index-CW4qJdP8.cjs"),_=require("./index-
|
|
1
|
+
"use strict";const k=require("vue"),q=require("./index-CW4qJdP8.cjs"),_=require("./index-92G6p6-P.cjs"),l=require("./request-BC2w2vGr.cjs"),A=k.ref([]),I=k.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:A.value}]),K=(n,s,o)=>{n==="清空"&&_.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await q.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(l.ElMessage.success("清空日志成功"),o(!0)):(l.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{l.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},T=async(n="login")=>{var s,o,r;try{const e=await q.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:n}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(r=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:r.map(a=>{var t,u,c,d,p,y,f,g,v,b,S,h,B,D,w,x,E,M;return n==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(p=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:p.type}:{timeStamp:(y=a==null?void 0:a.value)==null?void 0:y.timeStamp,account:(f=a==null?void 0:a.value)==null?void 0:f.account,userName:(g=a==null?void 0:a.value)==null?void 0:g.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(S=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&S.startsWith("/")?(B=(h=a==null?void 0:a.value)==null?void 0:h.module)==null?void 0:B.substring(1):(D=a==null?void 0:a.value)==null?void 0:D.module:(x=(w=a==null?void 0:a.value)==null?void 0:w.module)==null?void 0:x.pageKey,id:a==null?void 0:a.id,type:(M=(E=a==null?void 0:a.value)==null?void 0:E.detail)==null?void 0:M.type}});l.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},N=Object.freeze(Object.defineProperty({__proto__:null,clickButton:K,getLogTableDataAsync:T,pageData:I,tableData:A},Symbol.toStringTag,{value:"Module"}));exports.State=N;exports.clickButton=K;exports.getLogTableDataAsync=T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch as be, ref as w, computed as we } from "vue";
|
|
2
|
-
import { i as E, f as B, w as Le } from "./index-
|
|
3
|
-
import { s as Te, b as V, p as C, u as Re, n as De, c as A, g as Ee, V as Be, W as Ae, X as Pe, Y as Ue, Z as xe, _ as Se } from "./menu-
|
|
4
|
-
import { f as N, E as ke } from "./index-
|
|
2
|
+
import { i as E, f as B, w as Le } from "./index-BbRiCABC.js";
|
|
3
|
+
import { s as Te, b as V, p as C, u as Re, n as De, c as A, g as Ee, V as Be, W as Ae, X as Pe, Y as Ue, Z as xe, _ as Se } from "./menu-BzDsNPVM.js";
|
|
4
|
+
import { f as N, E as ke } from "./index-D4rNc1Ug.js";
|
|
5
5
|
import { s as z } from "./request-CoGtW0Ux.js";
|
|
6
6
|
const qe = V(C), { systemUrl: f } = Te(qe);
|
|
7
7
|
let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as A, computed as c, onMounted as _ } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
|
-
import { u as C, p as h, n as R, c as b, g as S, j as E } from "./menu-
|
|
3
|
+
import { u as C, p as h, n as R, c as b, g as S, j as E } from "./menu-BzDsNPVM.js";
|
|
4
4
|
const l = {
|
|
5
5
|
ALLOW: {
|
|
6
6
|
value: "允许"
|