ss-component-new 1.2.95 → 1.2.97
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-8qht74Q7.js → MTLLoader-DnouUI-8.js} +1 -1
- package/dist/{MTLLoader-BmycYKH6.cjs → MTLLoader-zZDM0NQh.cjs} +1 -1
- package/dist/{OrbitControls-Bzn7u6zE.cjs → OrbitControls-B85G8nPk.cjs} +1 -1
- package/dist/{OrbitControls-BjJ79rTx.js → OrbitControls-DFhYzlF3.js} +1 -1
- package/dist/{animationData-CQDxkaf8.js → animationData-DfKVkFbz.js} +3 -3
- package/dist/{animationData-Bx4eWR_g.cjs → animationData-DxBvEqB1.cjs} +1 -1
- package/dist/{array-Dg-eQLeS.cjs → array-CYnA_0YM.cjs} +1 -1
- package/dist/{array-Cn-xxeGh.js → array-jPdolPpm.js} +1 -1
- package/dist/{dataUtil-BFP1At6d.cjs → dataUtil-B4sGo38_.cjs} +1 -1
- package/dist/{dataUtil-C4lMM2nY.js → dataUtil-DQX9rTvE.js} +1 -1
- package/dist/{iconfont-CYyOVK2s.cjs → iconfont-C7kE-QbU.cjs} +1 -1
- package/dist/{iconfont-m9s2eWSa.js → iconfont-WOKNi2xx.js} +2 -2
- package/dist/{index-uCKXm0Ml.cjs → index-331j518H.cjs} +1 -1
- package/dist/{index-DzEn5obj.cjs → index-6sZXjGGz.cjs} +1 -1
- package/dist/{index-CIu1uGjo.js → index-B-AhHUV1.js} +1 -1
- package/dist/{index-CTh_Ncuz.cjs → index-B21qNg4A.cjs} +1 -1
- package/dist/{index-Cytb2XpO.cjs → index-BDxPlbe2.cjs} +1 -1
- package/dist/{index-C0g2wZa2.js → index-BFzMf0GC.js} +1 -1
- package/dist/{index-CKH8tgtf.js → index-BI7g3c_u.js} +19 -19
- package/dist/{index-Dw6fiZyq.js → index-BODyH6MD.js} +2 -2
- package/dist/{index-BayQ6HRi.js → index-BXfKtvF-.js} +1 -1
- package/dist/{index-dJkjnoBT.js → index-BXv3aZ7v.js} +2 -2
- package/dist/{index-BZlNDUf3.js → index-BYk9Fb6p.js} +5 -5
- package/dist/{index-BUjf2k-5.js → index-B_zjoT4m.js} +2 -2
- package/dist/{index-_O8-0tTU.js → index-Bhha7SY3.js} +2 -2
- package/dist/{index-Qc-s-Zm7.js → index-BoTiP0aV.js} +2 -2
- package/dist/{index-Df60duTb.js → index-BxZ-k8Ww.js} +1 -1
- package/dist/{index-DGqnGNR8.cjs → index-C-dlFxRJ.cjs} +1 -1
- package/dist/{index-DMwTF1Hl.cjs → index-CGRb8BQx.cjs} +1 -1
- package/dist/{index-TGJkSdz2.js → index-CJOQxUog.js} +2 -2
- package/dist/{index-CwByh9ZP.cjs → index-CLOUp_4j.cjs} +1 -1
- package/dist/{index-CqfXVkG_.cjs → index-CPAXrzNY.cjs} +1 -1
- package/dist/{index-ssE7UMws.cjs → index-CQRJ3pLh.cjs} +1 -1
- package/dist/{index-DEX2MMzx.js → index-CSQJCfDf.js} +1 -1
- package/dist/{index-FKHrqiVz.js → index-CV2JWX-7.js} +1 -1
- package/dist/{index-CymErwj9.cjs → index-CZPnP0uy.cjs} +1 -1
- package/dist/{index-D0NuMuh5.js → index-CcwTi2WJ.js} +1 -1
- package/dist/{index-CXZD7ZqS.js → index-CeGM8aBH.js} +4 -4
- package/dist/{index-j16y0mCJ.cjs → index-Cnk_4Zz5.cjs} +1 -1
- package/dist/{index-C8dRWVYa.cjs → index-Cppt0AsF.cjs} +1 -1
- package/dist/{index-DnJvIr_e.js → index-CqI3frdZ.js} +11 -11
- package/dist/{index-DP1ngDkf.js → index-Cr5if46q.js} +2 -2
- package/dist/{index-DlnbkEM7.cjs → index-Cw3gRBT3.cjs} +1 -1
- package/dist/{index-UBLKP4tK.cjs → index-D0hovh9R.cjs} +1 -1
- package/dist/{index-DEftTK7V.cjs → index-D6u590uA.cjs} +1 -1
- package/dist/{index-CxXHtat8.cjs → index-DHBoRe9V.cjs} +1 -1
- package/dist/{index-D450aSmc.cjs → index-DHZMd8iK.cjs} +1 -1
- package/dist/{index-9ZD8V6kl.js → index-DHjtOySN.js} +5 -5
- package/dist/{index-CRLrdcaz.js → index-DJ6qg2Mo.js} +5 -5
- package/dist/{index-B-Plyeh4.js → index-DRfVnLTN.js} +8 -8
- package/dist/{index-Bg0aEQlB.js → index-DRizRbU3.js} +1 -1
- package/dist/{index-BIoBDMY8.cjs → index-DSPjcpWK.cjs} +1 -1
- package/dist/{index-C-YumVbf.js → index-D_RGoDln.js} +5 -5
- package/dist/{index-CP5OwgDj.cjs → index-D_igus4A.cjs} +1 -1
- package/dist/{index-D-7Puf0_.cjs → index-DbDM-XfB.cjs} +1 -1
- package/dist/{index-BgUWl3Zu.js → index-DeOwZgqL.js} +7 -7
- package/dist/{index-1l1PVuvD.js → index-DgZVeYqH.js} +1 -1
- package/dist/{index-DY8hmk1Q.cjs → index-DhufphmT.cjs} +1 -1
- package/dist/{index-jwp9FUJG.cjs → index-DrzK0O_g.cjs} +1 -1
- package/dist/{index-CSZdFHsD.cjs → index-DwFpQNpA.cjs} +1 -1
- package/dist/{index-BgyeksTj.cjs → index-S1LIIzCa.cjs} +1 -1
- package/dist/{index-BvqgSoo0.cjs → index-_PP-dSm3.cjs} +1 -1
- package/dist/{index-BjjK_8u-.cjs → index-a6bC3A9D.cjs} +1 -1
- package/dist/{index-dme4eW3i.cjs → index-eaKFpHpQ.cjs} +1 -1
- package/dist/{index-F-C5-x1o.js → index-hhS08X8b.js} +3 -3
- package/dist/{index-CdroHcgB.cjs → index-iErxMZBi.cjs} +1 -1
- package/dist/{index-BdjFLIVl.js → index-iZ9BRKg5.js} +2 -2
- package/dist/{index-nvZihuIg.js → index-kLDMroPk.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DwtbPt8c.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DSlAeFA3.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-WJTWjMIt.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-ERjMISIK.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DFR9Kcwi.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js} +1648 -1643
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2CSvQmH.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dzyqt2Z-.cjs} +59 -59
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DZ8szdDo.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DODc2KPN.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-02N_VKFB.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-mJB_yl_P.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs → index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-CIdKArLI.js → index.vue_vue_type_style_index_1_lang-BH0DRFVE.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-B0Uj0kxH.cjs → index.vue_vue_type_style_index_1_lang-BRFs_L5R.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js → index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js} +159 -163
- package/dist/{main-_im25sGn.cjs → main-B541MQH8.cjs} +1 -1
- package/dist/{main-CYhFa6nS.js → main-Z5UMyCj6.js} +4 -4
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-BYpxhXBO.js → threeModel-BcjGbIJZ.js} +4 -4
- package/dist/{threeModel-DzvIhn6F.cjs → threeModel-tKq0hvaK.cjs} +1 -1
- package/dist/{threePreview-Bd5BpbCA.js → threePreview-BnPMGQ2H.js} +3 -3
- package/dist/{threePreview-CIuFqz2p.cjs → threePreview-DD0br2ae.cjs} +1 -1
- package/dist/{threeSceneView-BhmqTLZA.js → threeSceneView-BUD002PP.js} +10 -10
- package/dist/{threeSceneView-CAMJYdpr.cjs → threeSceneView-DVUTlm6F.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-fwJ6mDCc.cjs → threeSceneViewForCPMPIP-BYYbyqD7.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-C7cCpwwv.js → threeSceneViewForCPMPIP-D4RC4BAo.js} +9 -9
- package/dist/threeTrackPathView-BvUihuyk.cjs +370 -0
- package/dist/{threeTrackPathView-BvbmDcVs.js → threeTrackPathView-DDCEu3Gx.js} +353 -331
- package/dist/{threeViewerHost---qrarPK.js → threeViewerHost-BVeUteVd.js} +3 -3
- package/dist/{threeViewerHost-BRpeReJJ.cjs → threeViewerHost-Sda_AoRw.cjs} +2 -2
- package/dist/{urdfTree-CXBSDiJj.cjs → urdfTree-Br9VYqKp.cjs} +1 -1
- package/dist/{urdfTree-DxLmsFUL.js → urdfTree-DaWvX-6R.js} +1 -1
- package/dist/{workpieceTreePanel-DaCEJl86.js → workpieceTreePanel-BdRaFNRp.js} +5 -5
- package/dist/{workpieceTreePanel-D1WeZesv.cjs → workpieceTreePanel-Z3aVdOWB.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/threeTrackPathView-C3n4B-Ye.cjs +0 -370
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Ko } from "./index-
|
|
1
|
+
import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Ko } from "./index-DeOwZgqL.js";
|
|
2
2
|
import { computed as Ht, ref as ue, watch as mt, onUnmounted as Uo, resolveComponent as Rt, createElementBlock as tt, openBlock as Oe, createVNode as De, createBlock as At, createCommentVNode as fa, withCtx as Le, createElementVNode as le, Fragment as Ut, renderList as Yt, toDisplayString as vt, nextTick as Ga, createTextVNode as Et, defineComponent as ya, resolveDynamicComponent as hn, onMounted as Mn, unref as $t, reactive as ja, renderSlot as An, createSlots as No, mergeProps as ur, normalizeStyle as Pn, withModifiers as Kn, getCurrentInstance as Wo, inject as yl, shallowRef as Vo, toRef as Ho, onBeforeMount as cr, watchEffect as qo, onBeforeUnmount as dr, normalizeClass as ml, getCurrentScope as Go, onScopeDispose as Xo, provide as bl, toRefs as kl, withDirectives as Yo, vShow as Jo } from "vue";
|
|
3
3
|
import { cc as Qo, k as ii, cd as Zo, bS as es, bT as ts, s as Xt, p as qt, u as Mi, c as v, b as Ai, E as Ft, g as va, f as Xi, bK as Bn, bI as Vn, d as vn, bJ as Yi, e as fr, cb as as } from "./index-BUYYl2Pc.js";
|
|
4
|
-
import { u as ns, c as sa, a as ll, e as pr, E as hr, f as vr, d as is, b as ls, i as yi } from "./index-
|
|
5
|
-
import { a as Rn, u as Hn, i as Ri, ax as rs, ay as gr, an as Ji, az as Oi, aA as yr, j as aa, aB as rl, E as Xa, aC as Qi, aD as ha, aE as Nn, aF as on, aG as In, aH as Ni, l as os, aI as ss, aJ as us, aK as cs, aL as ds, aM as fs, aN as ps, aO as hs, aP as vs } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as pa, _ as xl } from "./index-
|
|
7
|
-
import { a as gs, T as ys } from "./threeViewerHost
|
|
8
|
-
import { aP as ms, aQ as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
+
import { u as ns, c as sa, a as ll, e as pr, E as hr, f as vr, d as is, b as ls, i as yi } from "./index-DJ6qg2Mo.js";
|
|
5
|
+
import { a as Rn, u as Hn, i as Ri, ax as rs, ay as gr, an as Ji, az as Oi, aA as yr, j as aa, aB as rl, E as Xa, aC as Qi, aD as ha, aE as Nn, aF as on, aG as In, aH as Ni, l as os, aI as ss, aJ as us, aK as cs, aL as ds, aM as fs, aN as ps, aO as hs, aP as vs } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
|
|
6
|
+
import { s as pa, _ as xl } from "./index-DRizRbU3.js";
|
|
7
|
+
import { a as gs, T as ys } from "./threeViewerHost-BVeUteVd.js";
|
|
8
|
+
import { aP as ms, aQ as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js";
|
|
9
9
|
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as wl } from "./isString-BATKat46.js";
|
|
11
|
-
import { a as ks, s as xs } from "./index-
|
|
11
|
+
import { a as ks, s as xs } from "./index-hhS08X8b.js";
|
|
12
12
|
import mr from "./index-rlStojTL.js";
|
|
13
|
-
import { s as ws } from "./index-
|
|
13
|
+
import { s as ws } from "./index-DgZVeYqH.js";
|
|
14
14
|
var _s = /\s/;
|
|
15
15
|
function Cs(a) {
|
|
16
16
|
for (var r = a.length; r-- && _s.test(a.charAt(r)); )
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as f, resolveComponent as m, createBlock as y, openBlock as g, withCtx as d, createTextVNode as h, toDisplayString as b, watch as B, normalizeStyle as C, renderSlot as c, createElementVNode as v } from "vue";
|
|
2
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
|
|
3
3
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const D = /* @__PURE__ */ _({
|
|
5
5
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-a6bC3A9D.cjs"),_=require("./index-D_igus4A.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dzyqt2Z-.cjs");const h=require("./index-C-dlFxRJ.cjs");require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs");const f=require("./index-C8qRkCgn.cjs"),y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={class:"personal-wrapper"},x={class:"personal-box left"},N={class:"base-avatar"},S={class:"center-avatar"},D={class:"base-info"},E={class:"base-signature"},k={class:"personal-box right"},B=e.defineComponent({__name:"index",setup(T){const t=e.reactive({...l.State}),b=f.useLoginState(),{loginUserInfo:n}=f.storeToRefs(b);return e.onMounted(()=>{var s;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((s=n==null?void 0:n.value)==null?void 0:s.id),l.tabKey.value++}),(s,o)=>{var c,d,u,g,p,m,v;const r=e.resolveComponent("svg-icon"),i=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",x,[e.createElementVNode("div",N,[e.createElementVNode("div",S,[e.withDirectives(e.createVNode(_.ssAvatar,{size:100,disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=a=>t.submitImageAsync("avatarUrl",a))},null,8,["disabled","userInfo"]),[[i,t.avatarLoading]])])]),e.createElementVNode("div",D,[e.createElementVNode("div",null,[e.createVNode(r,{name:"userAccount",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((c=e.unref(n))==null?void 0:c.account)||(((d=e.unref(n))==null?void 0:d.姓名)??"未知")),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"role",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((u=e.unref(n))==null?void 0:u.layer)==="superAdmin"?"超级管理员":((g=e.unref(n))==null?void 0:g.角色名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"dept",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((p=e.unref(n))==null?void 0:p.部门名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"status",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((m=e.unref(n))==null?void 0:m.layer)==="superAdmin"?"启用":((v=e.unref(n))==null?void 0:v.状态)??"未知"),1)])]),e.createElementVNode("div",E,[e.withDirectives(e.createVNode(_.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=a=>t.submitImageAsync("signature",a))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[i,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[(e.openBlock(),e.createBlock(h.ssTab,{key:e.unref(l.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[i,t.loading]])])}}}),C=y._export_sfc(B,[["__scopeId","data-v-3bdf3f4b"]]);exports.default=C;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x } from "./index-
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
2
|
+
import { S as I, t as x } from "./index-CV2JWX-7.js";
|
|
3
|
+
import { s as w, a as L } from "./index-hhS08X8b.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { d as E } from "./index-
|
|
7
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js";
|
|
6
|
+
import { d as E } from "./index-DJ6qg2Mo.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
|
|
8
8
|
import { u as N, s as U } from "./index-BUYYl2Pc.js";
|
|
9
9
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-Cppt0AsF.cjs"),k=require("./threeViewerHost-Sda_AoRw.cjs"),C=require("./index-C8qRkCgn.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-C-dlFxRJ.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 s=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-Cnk_4Zz5.cjs"),r=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as R, watch as Me, nextTick as sa, resolveComponent as Ne, createBlock as Oe, openBlock as Y, withCtx as G, createElementVNode as de, renderSlot as Fa, onMounted as Sa, createElementBlock as Se, normalizeStyle as vl, normalizeClass as ar, toDisplayString as _e, createCommentVNode as xe, createVNode as ne, unref as Qe, Fragment as tl, renderList as cl, createTextVNode as Fe, defineComponent as rr, reactive as Fl, inject as sn, provide as un, onBeforeUnmount as on, computed as za, onUnmounted as tn, createSlots as cn, withDirectives as Ja, vShow as Ra } from "vue";
|
|
2
2
|
import { by as Wa, ay as qa, c as J, E as Ke, cb as ka, p as yl, s as Al, u as dn, bI as ra, d as ya, b as Ul, g as zl, bK as pn, f as fn, ce as gn } from "./index-BUYYl2Pc.js";
|
|
3
|
-
import { d as Ga, aP as hn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as xl, _ as Qa, h as yn, e as vn, E as bn } from "./index-
|
|
5
|
-
import { c as Sn, e as Rl, a as kn, T as mn, d as va, w as Tn } from "./threeViewerHost
|
|
6
|
-
import { aC as ua, av as An, k as Un, i as xn, u as _n, aB as Cn, a as On, j as Ge, aQ as Ha, aR as Xa, aS as En, aT as Dn, l as na, E as Ya, ax as Za, aU as Ln } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as Ga, aP as hn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js";
|
|
4
|
+
import { c as xl, _ as Qa, h as yn, e as vn, E as bn } from "./index-DJ6qg2Mo.js";
|
|
5
|
+
import { c as Sn, e as Rl, a as kn, T as mn, d as va, w as Tn } from "./threeViewerHost-BVeUteVd.js";
|
|
6
|
+
import { aC as ua, av as An, k as Un, i as xn, u as _n, aB as Cn, a as On, j as Ge, aQ as Ha, aR as Xa, aS as En, aT as Dn, l as na, E as Ya, ax as Za, aU as Ln } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-BH0DRFVE.js";
|
|
8
8
|
import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { s as Jl } from "./index-
|
|
10
|
-
import "./index-
|
|
9
|
+
import { s as Jl } from "./index-DRizRbU3.js";
|
|
10
|
+
import "./index-CV2JWX-7.js";
|
|
11
11
|
import { i as Va } from "./isString-BATKat46.js";
|
|
12
12
|
const Ia = (L) => L.match(/\((.*)\)/)[1], er = {
|
|
13
13
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
|
|
2
|
-
import { aR as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { aR as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -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-B8_elAaU.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"},g={__name:"index",props:{title:{type:String,default:""},dialogWidth:{type:[Number,String],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"])}}},m=r._export_sfc(g,[["__scopeId","data-v-babbda23"]]);exports._sfc_main=f;exports.ssDialog=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-DODc2KPN.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=["title"],f={key:0,class:"menu-operate-icon"},h={class:"menu-config-wrap"},_=["onClick"],v={class:"module-dialog-content"};function y(o,l,V,m,M,N){var r;const i=e.resolveComponent("svg-icon"),p=e.resolveComponent("el-popover"),g=e.resolveComponent("ssMenu"),s=e.resolveComponent("el-button"),C=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(g,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d;return[e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,k),t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(p,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:w=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,_))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((r=o.renderMenuList)==null?void 0:r.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(C,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const B=u._export_sfc(c._sfc_main,[["render",y],["__scopeId","data-v-92477073"]]);exports.setComponent=c.setComponent;exports.default=B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const M=require("vue"),n=require("./index-C8qRkCgn.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const M=require("vue"),n=require("./index-C8qRkCgn.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs"),k=M.ref([]),q=M.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:k.value}]),A=(l,s,o)=>{l==="清空"&&T.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await n.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(n.ElMessage.success("清空日志成功"),o(!0)):(n.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{n.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},K=async(l="login")=>{var s,o,r;try{const e=await n.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});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,y,p,g,f,v,b,_,S,h,x,B,D,w,E;return l==="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:(y=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:y.type}:{timeStamp:(p=a==null?void 0:a.value)==null?void 0:p.timeStamp,account:(g=a==null?void 0:a.value)==null?void 0:g.account,userName:(f=a==null?void 0:a.value)==null?void 0:f.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(_=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&_.startsWith("/")?(h=(S=a==null?void 0:a.value)==null?void 0:S.module)==null?void 0:h.substring(1):(x=a==null?void 0:a.value)==null?void 0:x.module:(D=(B=a==null?void 0:a.value)==null?void 0:B.module)==null?void 0:D.pageKey,id:a==null?void 0:a.id,type:(E=(w=a==null?void 0:a.value)==null?void 0:w.detail)==null?void 0:E.type}});n.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:A,getLogTableDataAsync:K,pageData:q,tableData:k},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=A;exports.getLogTableDataAsync=K;
|