ss-component-new 1.2.44 → 1.2.45
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-S0-tgcId.js → MTLLoader-Bp_zXJHj.js} +1 -1
- package/dist/{MTLLoader-z5-t3xJP.cjs → MTLLoader-CP_pjCVi.cjs} +1 -1
- package/dist/{OrbitControls-BV-VucZ-.cjs → OrbitControls-B5zHPgTk.cjs} +1 -1
- package/dist/{OrbitControls-neGlLp4U.js → OrbitControls-QeoZHu0O.js} +1 -1
- package/dist/{animationData-DGlw1Pwm.js → animationData-B5eOmRnz.js} +3 -3
- package/dist/{animationData-BI3PXunj.cjs → animationData-Ba6obiMd.cjs} +1 -1
- package/dist/{array-BzXzat0I.cjs → array-CXTr_u8T.cjs} +1 -1
- package/dist/{array-B0sVMejm.js → array-CpD9GkZu.js} +1 -1
- package/dist/{dataUtil-BMiqO5iF.cjs → dataUtil-BxHv9-qc.cjs} +1 -1
- package/dist/{dataUtil-yN0F9IZh.js → dataUtil-iQRU-HFQ.js} +1 -1
- package/dist/{fileUtil-CLjIZqTr.cjs → fileUtil-DOKmUgX6.cjs} +1 -1
- package/dist/{fileUtil-Bev09uzf.js → fileUtil-DtFX4qSS.js} +1 -1
- package/dist/{iconfont-DCNS3tUf.js → iconfont-BI4Uo8yP.js} +2 -2
- package/dist/{iconfont-DIct6CCo.cjs → iconfont-nIq9TlPr.cjs} +1 -1
- package/dist/{index-Dn9nE8Eq.cjs → index-AosP55-j.cjs} +1 -1
- package/dist/{index-Cy7dhIjv.cjs → index-B-ErCfWs.cjs} +1 -1
- package/dist/{index-CmPg86RO.js → index-B4ekORH0.js} +1 -1
- package/dist/{index-DuQEB-MM.cjs → index-B5ElOuGg.cjs} +1 -1
- package/dist/{index-CB9fhGS6.js → index-B8iVe_eb.js} +17 -17
- package/dist/{index-CbbcH5oq.js → index-B9sOWZWH.js} +5 -5
- package/dist/{index-Cx2uJNrm.cjs → index-BDur1jFN.cjs} +1 -1
- package/dist/index-BJu7m-Nr.cjs +1 -0
- package/dist/{index-BobtqupC.cjs → index-Bb0GRmmB.cjs} +1 -1
- package/dist/{index-CLfSP16a.cjs → index-BfP_DVsu.cjs} +1 -1
- package/dist/{index-XI2Rvi0q.js → index-BiXsFita.js} +1 -1
- package/dist/{index-DLOY0GPB.js → index-BtQRcdm8.js} +2 -2
- package/dist/{index-DsELssZh.cjs → index-By2szESa.cjs} +1 -1
- package/dist/{index-BA3EBTs5.cjs → index-C7enRklE.cjs} +1 -1
- package/dist/{index-BhBoXLgm.cjs → index-C8peX_zn.cjs} +1 -1
- package/dist/{index-bwwqrQDH.js → index-C9jcqjv8.js} +1 -1
- package/dist/{index-lMKlyOCK.js → index-CB31dswD.js} +4 -4
- package/dist/{index-Bl_wu7Ce.js → index-CG_g2ziw.js} +1 -1
- package/dist/{index-CbXglzHn.cjs → index-CIasmB1I.cjs} +1 -1
- package/dist/{index-_hpntJ68.js → index-CLtZ8LSX.js} +1 -1
- package/dist/{index-_R_mDcr0.cjs → index-CRSHYsls.cjs} +1 -1
- package/dist/{index-DVFTyM4M.js → index-CXXjdjCc.js} +4 -4
- package/dist/{index-r1aE58w0.cjs → index-CaCpfXzA.cjs} +1 -1
- package/dist/{index-Da7Akok4.js → index-CeXS_yjh.js} +4 -4
- package/dist/{index-Dbkrv2wN.cjs → index-Cgo-pHHk.cjs} +1 -1
- package/dist/{index-CsCIkw9R.cjs → index-ChzT-uN5.cjs} +1 -1
- package/dist/{index-B_Tkvppm.js → index-CjlgPPLu.js} +7 -7
- package/dist/{index-DL6qIAmS.cjs → index-CqYwvSb1.cjs} +1 -1
- package/dist/{index-DIPySh01.cjs → index-Cxu7w2E_.cjs} +1 -1
- package/dist/{index-DwJ_KFIl.js → index-DDz2Uaa6.js} +1 -1
- package/dist/{index-Doph8iRz.js → index-DFgo_-tB.js} +1 -1
- package/dist/{index-6PGBoTBs.cjs → index-DIqmyCXw.cjs} +1 -1
- package/dist/{index-D86mE5bR.js → index-DNTETHco.js} +1 -1
- package/dist/{index-D2pDrujp.cjs → index-DZrrnLsD.cjs} +1 -1
- package/dist/{index-DpBque0B.js → index-DaNkpB7i.js} +8 -8
- package/dist/{index-BgFjc2to.js → index-DerJOgVr.js} +3 -3
- package/dist/index-Dl_nOM4w.js +602 -0
- package/dist/{index-DAQyshAW.js → index-Hsfgg6Jr.js} +1 -1
- package/dist/{index-CY-dTAL6.js → index-QsfFZ239.js} +3 -3
- package/dist/{index-B0cPiCrJ.cjs → index-Rn_5RMYO.cjs} +1 -1
- package/dist/{index-cZUdQLs9.cjs → index-W04qB42v.cjs} +1 -1
- package/dist/{index-DJ9hDOV8.js → index-Yj-fe5Fq.js} +2 -2
- package/dist/{index-Cm0sETei.js → index-ntjMJGUe.js} +1 -1
- package/dist/{index-BoXz8LQd.js → index-s5__Qjzi.js} +1 -1
- package/dist/{index-3HHIJyYz.cjs → index-xnnwo0kC.cjs} +1 -1
- package/dist/{index-Hznc1RHv.cjs → index-ytX2FVZK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BI9sR6fB.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bj08IQ8o.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-HDmb-6aI.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D1qJ0WdA.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bmw4uN_h.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BHN6MuWN.js} +2095 -2110
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-JMLqADEE.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BnVF9mg-.cjs} +51 -51
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-wyjrIVAw.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BYGwQPjD.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DsySz2Q6.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Dp-hCMfv.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Cu2BshsL.js → index.vue_vue_type_style_index_1_lang-CU-2e_BS.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-HFKqIlIz.cjs → index.vue_vue_type_style_index_1_lang-Ckqvc1oN.cjs} +1 -1
- package/dist/{main-DnoUlIhf.cjs → main-Cu9JHgqK.cjs} +1 -1
- package/dist/{main-CZ7ecnlE.js → main-Dr4DzkFw.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-DoiYcvs4.js → threeModel-BxSAmes5.js} +4 -4
- package/dist/{threeModel-SJkYCRZG.cjs → threeModel-CfE4qItC.cjs} +1 -1
- package/dist/{threePreview-CJ3vTE2P.js → threePreview-Bo7UlxmA.js} +3 -3
- package/dist/{threePreview-UGPvJ0Kr.cjs → threePreview-Do2o5OBN.cjs} +1 -1
- package/dist/{threeSceneView-4qe_PpyY.cjs → threeSceneView-D7n8nPfy.cjs} +1 -1
- package/dist/{threeSceneView-CWbDj-33.js → threeSceneView-DZs6WyDt.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-GISXOGMC.js → threeSceneViewForCPMPIP-BlOqsiB_.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-YOScA2Ku.cjs → threeSceneViewForCPMPIP-jBfAtm1G.cjs} +1 -1
- package/dist/{threeTrackPathView-SikIkQ4h.js → threeTrackPathView-DVHETbx3.js} +4 -4
- package/dist/{threeTrackPathView-C7GA97Vy.cjs → threeTrackPathView-D_mOz7ZU.cjs} +1 -1
- package/dist/{threeViewerHost-CbmFGUtP.js → threeViewerHost-B4_JNQvE.js} +2 -2
- package/dist/{threeViewerHost-DNfmRw6a.cjs → threeViewerHost-CSVMxHgm.cjs} +1 -1
- package/dist/{urdfTree-bqnyp0ks.cjs → urdfTree-77wdErmJ.cjs} +1 -1
- package/dist/{urdfTree-DfcawAzu.js → urdfTree-C6zY5_p4.js} +1 -1
- package/dist/{workpieceTreePanel-DtlsVo1q.js → workpieceTreePanel-27hu7whF.js} +5 -5
- package/dist/{workpieceTreePanel-XHkn5qFT.cjs → workpieceTreePanel-CMwRzaFj.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-e1IN0g06.js +0 -577
- package/dist/index-zo_7oW0G.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
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { resolveComponent as PA, createBlock as sA, openBlock as v, withCtx as i, createElementVNode as d, toDisplayString as dA, ref as B, onMounted as un, watch as pA, createElementBlock as y, Fragment as bA, renderList as mA, createCommentVNode as N, normalizeStyle as he, defineComponent as rn, resolveDynamicComponent as Je, unref as A, computed as SA, provide as Ye, resolveDirective as at, withDirectives as MA, createVNode as u, vShow as Xe, createTextVNode as TA, renderSlot as je, normalizeClass as Oe, onUnmounted as it, createSlots as It } from "vue";
|
|
2
|
-
import { m as zn, a as Qn, b as Xn } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as zn, a as Qn, b as Xn } from "./index-CeXS_yjh.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-BYGwQPjD.js";
|
|
4
4
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Bt, a as zt, b as Qt, e as Xt, s as Ot } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-
|
|
5
|
+
import { _ as Bt, a as zt, b as Qt, e as Xt, s as Ot } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bj08IQ8o.js";
|
|
6
6
|
import { c as He, p as XA, s as IA, u as On, b as ge, g as te, d as vt, E as re, e as At, f as yt } from "./index-DsSA-OiE.js";
|
|
7
7
|
import { a as nn, u as tn } from "./index-l2JNYn9u.js";
|
|
8
8
|
import { S as QA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Le, s as fe, b as jt, c as Ht, r as wA, o as me, d as Se, e as ct, f as st, h as ut, i as En, j as rt, k as wt, t as bt, l as Ze, m as et, n as dn, p as Ge, q as vn, u as Fe, v as Ve, w as qe, x as _e, y as $e, z as cn, D as kt, A as pt, B as xt, C as nt, E as tt, F as WA, G as mt, H as St, I as gt } from "./index-
|
|
10
|
-
import { a as Jt } from "./array-
|
|
11
|
-
import { u as yn, g as le, a as jn, l as Lt, b as dt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
12
|
-
import { u as Hn, a as ot } from "./index-
|
|
13
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
9
|
+
import { a as Le, s as fe, b as jt, c as Ht, r as wA, o as me, d as Se, e as ct, f as st, h as ut, i as En, j as rt, k as wt, t as bt, l as Ze, m as et, n as dn, p as Ge, q as vn, u as Fe, v as Ve, w as qe, x as _e, y as $e, z as cn, D as kt, A as pt, B as xt, C as nt, E as tt, F as WA, G as mt, H as St, I as gt } from "./index-CjlgPPLu.js";
|
|
10
|
+
import { a as Jt } from "./array-CpD9GkZu.js";
|
|
11
|
+
import { u as yn, g as le, a as jn, l as Lt, b as dt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BHN6MuWN.js";
|
|
12
|
+
import { u as Hn, a as ot } from "./index-B9sOWZWH.js";
|
|
13
|
+
import "./index.vue_vue_type_style_index_1_lang-CU-2e_BS.js";
|
|
14
14
|
import "./index-Bbjcv84T.js";
|
|
15
15
|
import { useRouter as ht } from "vue-router";
|
|
16
|
-
import Rt from "./index-
|
|
17
|
-
import { C as Kt } from "./index-
|
|
18
|
-
import Dt from "./threeModel-
|
|
19
|
-
import { s as sn, _ as ye } from "./index-
|
|
20
|
-
import { d as An, T as In, u as Nt, a as Ut, b as Wt } from "./threeViewerHost-
|
|
21
|
-
import { _ as en } from "./index-
|
|
22
|
-
import { s as Bn } from "./index-
|
|
23
|
-
import { g as ft, a as we, b as Mt, c as Tt, d as Zt, e as fn } from "./dataUtil-
|
|
16
|
+
import Rt from "./index-Yj-fe5Fq.js";
|
|
17
|
+
import { C as Kt } from "./index-DFgo_-tB.js";
|
|
18
|
+
import Dt from "./threeModel-BxSAmes5.js";
|
|
19
|
+
import { s as sn, _ as ye } from "./index-B4ekORH0.js";
|
|
20
|
+
import { d as An, T as In, u as Nt, a as Ut, b as Wt } from "./threeViewerHost-B4_JNQvE.js";
|
|
21
|
+
import { _ as en } from "./index-CXXjdjCc.js";
|
|
22
|
+
import { s as Bn } from "./index-DerJOgVr.js";
|
|
23
|
+
import { g as ft, a as we, b as Mt, c as Tt, d as Zt, e as fn } from "./dataUtil-iQRU-HFQ.js";
|
|
24
24
|
import { T as lt } from "./svgIcon-D-_fXUBL.js";
|
|
25
25
|
import { t as Yt, c as Gt, b as Ft } from "./index-CAPx0_D4.js";
|
|
26
26
|
import { v as Vt } from "./index-BYAakLtY.js";
|
|
27
|
-
import { f as qt, a as _t } from "./animationData-
|
|
27
|
+
import { f as qt, a as _t } from "./animationData-B5eOmRnz.js";
|
|
28
28
|
const $t = { class: "menu-title" };
|
|
29
29
|
function Af(z, aA, t, L, D, Y) {
|
|
30
30
|
const a = PA("ssMenu");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as G, watch as We, nextTick as ua, resolveComponent as qe, createBlock as Le, openBlock as V, withCtx as Q, createElementVNode as he, renderSlot as Ka, onMounted as ba, createElementBlock as Se, normalizeStyle as Ul, normalizeClass as rr, toDisplayString as Oe, createCommentVNode as xe, createVNode as ue, unref as Xe, Fragment as tl, renderList as cl, createTextVNode as He, defineComponent as nr, reactive as zl, inject as on, provide as tn, onBeforeUnmount as cn, computed as Fa, onUnmounted as dn, createSlots as pn, withDirectives as za, vShow as Ja } from "vue";
|
|
2
2
|
import { by as Ra, ay as Wa, c as q, E as Je, c3 as Sa, g as El, p as Al, s as Dl, u as fn, bI as ha, e as qa, b as ml, bK as gn, d as hn, ce as yn } from "./index-DsSA-OiE.js";
|
|
3
|
-
import { b6 as Rl, bm as vn, g as il, a as bn, u as Sn, b5 as kn, bn as Ga, bo as Ha, bp as Tn, bq as An, l as na, b2 as Qa, f as Xa, br as Ya, be as mn, bs as Un, b4 as _n } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as jl, _ as Za, h as Cn, e as xn, E as On } from "./index-
|
|
5
|
-
import { b as Dn, T as En, d as ya, c as jn } from "./threeViewerHost-
|
|
3
|
+
import { b6 as Rl, bm as vn, g as il, a as bn, u as Sn, b5 as kn, bn as Ga, bo as Ha, bp as Tn, bq as An, l as na, b2 as Qa, f as Xa, br as Ya, be as mn, bs as Un, b4 as _n } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BHN6MuWN.js";
|
|
4
|
+
import { c as jl, _ as Za, h as Cn, e as xn, E as On } from "./index-CXXjdjCc.js";
|
|
5
|
+
import { b as Dn, T as En, d as ya, c as jn } from "./threeViewerHost-B4_JNQvE.js";
|
|
6
6
|
import { u as Ln, a as $n, E as Ia } from "./index-l2JNYn9u.js";
|
|
7
7
|
import { r as Pn, u as Wl, w as Bn } from "./xlsx-ByPOQ6N_.js";
|
|
8
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
8
|
+
import "./index.vue_vue_type_style_index_1_lang-CU-2e_BS.js";
|
|
9
9
|
import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { s as Jl } from "./index-
|
|
10
|
+
import { s as Jl } from "./index-B4ekORH0.js";
|
|
11
11
|
import "./index-Bbjcv84T.js";
|
|
12
12
|
import { i as Va } from "./isString-RZ1z_1Z2.js";
|
|
13
13
|
const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BnVF9mg-.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:d}){const e=o,i=t.ref(e.modelValue),a=d,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(i.value)),loading:e==null?void 0:e.loading,disabled:e==null?void 0:e.disabled},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.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:d}){const e=o,i=d,a=t.ref(!1),s=()=>{i("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-5e87a97b"]]);exports._sfc_main=f;exports.ssDialog=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),F=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=require("./index-C8qRkCgn.cjs"),x=require("./index-H18D4EBa.cjs"),Q=require("vue-router"),X=require("./index-CvPFDCfO.cjs"),Y={},Z={class:"left-wrap"},ee={class:"left-bg"};function te(E,K){return e.openBlock(),e.createElementBlock("div",Z,[e.createElementVNode("div",ee,[e.renderSlot(E.$slots,"img",{},void 0,!0)])])}const ae=F._export_sfc(Y,[["render",te],["__scopeId","data-v-9b7ee6c9"]]),q={ACCOUNT:"account",FACE:"face"},ne={class:"right-wrap"},oe={class:"tab-content"},se={class:"tab-tips"},re={class:"tab-content"},ce={class:"tab-tips"},le=e.defineComponent({__name:"index",props:{tabList:{type:Array,default:[]},loading:{type:Boolean,default:!1}},emits:["clickLogin","handleTabChange"],setup(E,{emit:K}){const b=e.ref(q.ACCOUNT),f=K,A=()=>{f("clickLogin",b.value)},v=p=>{f("handleTabChange",p)};return(p,h)=>{const y=e.resolveComponent("el-button"),_=e.resolveComponent("el-tab-pane"),w=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",ne,[e.createVNode(w,{modelValue:b.value,"onUpdate:modelValue":h[0]||(h[0]=S=>b.value=S),class:"right-tabs",onTabChange:v},{default:e.withCtx(()=>[e.createVNode(_,{name:e.unref(q).ACCOUNT},{label:e.withCtx(()=>[e.renderSlot(p.$slots,"tabLabel1",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",oe,[e.renderSlot(p.$slots,"tabContent1",{},void 0,!0)]),e.createElementVNode("div",{class:"tab-button special",onClick:A},[e.createVNode(y,{loading:E.loading},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"tabButton1",{},void 0,!0)]),_:3},8,["loading"])]),e.createElementVNode("div",se,[e.renderSlot(p.$slots,"tabTips1",{},void 0,!0)])]),_:3},8,["name"]),e.createVNode(_,{name:e.unref(q).FACE},{label:e.withCtx(()=>[e.renderSlot(p.$slots,"tabLabel2",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",re,[e.renderSlot(p.$slots,"tabContent2",{},void 0,!0)]),e.createElementVNode("div",ce,[e.renderSlot(p.$slots,"tabTips2",{},void 0,!0)])]),_:3},8,["name"])]),_:3},8,["modelValue"])])}}}),ie=F._export_sfc(le,[["__scopeId","data-v-8b1962f0"]]),de={class:"account-wrap"},ue=e.defineComponent({__name:"index",props:{activeTabName:{type:String,default:""},isClickLogin:{type:Boolean,default:!1}},emits:["handleLoginFormChange"],setup(E,{emit:K}){const b=E,f=e.reactive({account:"",password:""}),A=e.reactive({account:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]}),v=e.ref(null),p=K;return e.watch(()=>b.isClickLogin,h=>{var y;h&&(b==null?void 0:b.activeTabName)==="account"&&((y=v.value)==null||y.validate(_=>{var w;for(let S in f)f.hasOwnProperty(S)&&(f[S]=(w=f[S])==null?void 0:w.trim());p("handleLoginFormChange",_,_?f:null)}))},{immediate:!0}),e.watch(()=>b.activeTabName,h=>{var y;h==="account"&&((y=v.value)==null||y.resetFields())}),(h,y)=>{const _=e.resolveComponent("svg-icon"),w=e.resolveComponent("el-input"),S=e.resolveComponent("el-form-item"),$=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",de,[e.createVNode($,{model:f,rules:A,ref_key:"formRef",ref:v},{default:e.withCtx(()=>[e.createVNode(S,{label:"",prop:"account"},{default:e.withCtx(()=>[e.createVNode(w,{class:"account-input",modelValue:f.account,"onUpdate:modelValue":y[0]||(y[0]=V=>f.account=V),placeholder:"请输入账号",clearable:""},{prefix:e.withCtx(()=>[e.createVNode(_,{name:"account",style:{width:"15px",height:"15px"}})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(S,{label:"",prop:"password"},{default:e.withCtx(()=>[e.createVNode(w,{class:"account-input",modelValue:f.password,"onUpdate:modelValue":y[1]||(y[1]=V=>f.password=V),type:"password",placeholder:"请输入密码","show-password":"",clearable:""},{prefix:e.withCtx(()=>[e.createVNode(_,{name:"password",style:{width:"15px",height:"15px"}})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])}}}),fe=F._export_sfc(ue,[["__scopeId","data-v-48037c0f"]]);function pe(E){return u.service({url:"http://139.196.154.85:20015/api/face/face-verify",method:"post",data:E})}const ye={class:"account-wrap"},ge={class:"video-wrap"},me=e.defineComponent({__name:"index",props:{systemKey:{default:""},activeTabName:{default:""},isClickLogin:{type:Boolean,default:!1}},emits:["handleLoginFormChange"],setup(E,{emit:K}){const b=E,f=K,A=u.useLoginState(u.pinia),v=e.ref(null),p=e.ref(null);let h=!1,y=null;const _=async(l,m)=>{const{privateKey:k}=await A.getModelSecretAsync();let C=l;return m!=="superAdmin"&&(C=x.decryptData(l,k)),C},w=async l=>{if(!l)return;const m=new FormData;m.set("file",l),b.systemKey&&m.set("systemKey",b.systemKey),console.log("Face Recognition",b.systemKey);const k=await pe(m),{data:C}=k||{},{account:I,password:L,layer:D}=(C==null?void 0:C.data)||{},B=C==null?void 0:C.msg;if(!I){u.ElMessage.warning(B||"识别失败,请重新识别!");return}const P=await _(L,D);f("handleLoginFormChange",!0,{account:I,password:P})},S=()=>{if(!p.value||!v.value)return;const l=p.value,m=l.getContext("2d"),k=v.value;l.width=200,l.height=200;const C=k.videoWidth||640,I=k.videoHeight||480,L=Math.min(200/C,200/I),D=C*L,B=I*L,P=(200-D)/2,H=(200-B)/2;m==null||m.drawImage(k,0,0,C,I,P,H,D,B),l.toBlob(a=>{if(a){const n=new File([a],"face.png",{type:"image/png"});w(n)}},"image/png")},$=async()=>{if(!v.value||h)return;const l=v.value;try{if(y=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1}),l){const m=l;m.srcObject=y,h=!0}}catch{u.ElMessage.warning("摄像头启动失败")}};function V(l){if(l&&(l.getTracks().forEach(m=>m.stop()),v.value)){const m=v.value;m.srcObject=null}}const U=()=>{V(y),h=!1};return e.watch(()=>b.activeTabName,l=>{if(l!==q.FACE){U();return}if(l===q.FACE&&!h){$();return}}),e.onBeforeUnmount(()=>{U()}),(l,m)=>(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",ge,[e.createElementVNode("video",{class:"face-video",ref_key:"videoRef",ref:v,id:"v",autoplay:"",playsinline:""},null,512)]),e.createElementVNode("button",{class:"face-screenshot",onClick:S},"人脸识别"),e.createElementVNode("canvas",{ref_key:"canvasRef",ref:p,id:"canvas"},null,512)]))}}),ve=F._export_sfc(me,[["__scopeId","data-v-0ae97a87"]]);function he(){const E={account:"superadmin",password:"1c8e7623312244c1feb677732278fb8b2af6af1a5335fdaebbdb2720137b372b7871292d11165b83b2967b9c39fa37027d63d37a2f36d764257b566dcfa99f334faa8995301601aec549adf39aef8d89c8788da03a9164937a5f73af20a15ea60d47c7cf01cf",tenantId:-1,code:"",codeId:0};return u.service({url:"/api/sysAuth/login",method:"post",data:E})}const be={class:"login-wrap"},_e={class:"login-body"},we={class:"login-body-item left"},Ce={class:"title"},Ne={class:"login-body-item right"},Ae=e.defineComponent({__name:"index",props:{oldSystemKey:{}},emits:["change"],setup(E,{emit:K}){const b=Q.useRouter(),f=u.useLoginState(u.pinia),{systemKey:A,systemInfo:v,loginUserInfo:p}=u.storeToRefs(f),h=e.ref({sysCTitle:"",sysETitle:"",loginTitle:"账户密码登录",tabs:[{name:"密码登录",btnLabel:"登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"},{name:"人脸识别",btnLabel:"人脸识别",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"},{name:"刷卡登录",btnLabel:"登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"}]}),y=e.ref("account"),_=e.ref(!1),w=e.ref(!1),S=()=>{_.value=!0},$=(a,n)=>{_.value=!1,a&&B(n)},V=a=>x.getFirstArrayProperty(a),U=a=>{let n;const o=x.convertArrayToTree(a),s=x.addPathToTree(o),i=x.getLeafNodesRecursive(s),g=x.groupByField(i,"parentPath");return n=x.handleRowAuthorityRender(g),n},l=(a,n)=>{var s,i,g;const o=(n==null?void 0:n.userRoles)??(n==null?void 0:n.角色名称);try{if(n.layer&&((s=n==null?void 0:n.layer)==null?void 0:s.toUpperCase())==="SUPERADMIN")return"superAdmin";if(Array.isArray(o)){if((o==null?void 0:o.length)===1){const r=a==null?void 0:a.find(t=>(t==null?void 0:t.roleName)===(o==null?void 0:o[0])||t.角色名称===(o==null?void 0:o[0])),N=V(r),c=U(r==null?void 0:r[N]);return r&&c&&Array.isArray(c)?r?c==null?void 0:c.flatMap(t=>t.checkedButtons):[]:[]}if((o==null?void 0:o.length)>1){let r=a==null?void 0:a.filter(t=>o==null?void 0:o.includes(t.roleName||(t==null?void 0:t.角色名称)));const N=V(r==null?void 0:r[0]),c=(g=(i=r==null?void 0:r.map(t=>Array.isArray(t==null?void 0:t[N])?t==null?void 0:t[N]:[]))==null?void 0:i.flat())==null?void 0:g.flatMap(t=>t.checkedButtons);return(c==null?void 0:c.length)===0?u.ElMessage.error("该用户没有权限,请联系管理员"):new Set(c)}}if(typeof o=="string"){const r=a==null?void 0:a.find(t=>(t==null?void 0:t.roleName)===o||(t==null?void 0:t.角色名称)===o),N=V(r),c=U(r==null?void 0:r[N]);return r&&c&&Array.isArray(c)?r?c==null?void 0:c.flatMap(t=>t.checkedButtons):[]:[]}}catch(r){throw new Error(r)}},m=async a=>{var n,o;try{let s=[];const i=await u.getInsofDataApi({key:{systemKey:A.value?A.value:a==null?void 0:a.systemKey,pageKey:"系统管理/角色管理",type:"data"}});if(i.data.code===200){const g=(o=(n=i.data)==null?void 0:n.result)==null?void 0:o.map(r=>r.value.tableData);s=l(g,a)}if(s)return Array.isArray(s)?Array.from(s):s;throw u.ElMessage.error("获取用户权限失败,请联系管理员"),new Error("获取用户权限失败,请联系管理员")}catch(s){throw u.ElMessage.error("获取用户权限失败,请联系管理员"),new Error(s)}},k=async a=>{var n,o,s,i,g,r,N;try{let c=[],t,M,R;A.value?R={pageKey:"系统管理/用户管理",type:"data",systemKey:A.value}:R={pageKey:"系统管理/用户管理",type:"data"};const W=await u.getInsofDataApi({key:R});let j;if(!sessionStorage.getItem("systemKey")||sessionStorage.getItem("systemKey")===""?j=await u.getInsofDataApi({key:{layer:"superAdmin"}}):j=await u.getInsofDataApi({key:{layer:"superAdmin",systemKey:sessionStorage.getItem("systemKey")}}),W.data.code===200&&j.data.code===200){const z=(o=(n=j.data)==null?void 0:n.result)==null?void 0:o.map(d=>{var T,O;return{...d.value.tableData,layer:(T=d.key)==null?void 0:T.layer,systemKey:(O=d==null?void 0:d.key)==null?void 0:O.systemKey,id:d.id}}),G=(i=(s=W.data)==null?void 0:s.result)==null?void 0:i.map(d=>{var T,O;return{...d.value.tableData,layer:(T=d.key)==null?void 0:T.layer,systemKey:(O=d==null?void 0:d.key)==null?void 0:O.systemKey,id:d.id}}),J=[...z,...G];if(t=J==null?void 0:J.find(d=>(d==null?void 0:d.account)===(a==null?void 0:a.account)||(d==null?void 0:d.账号)===(a==null?void 0:a.account)),t){if(((g=t.layer)==null?void 0:g.toUpperCase())!=="SUPERADMIN"&&(!(t!=null&&t.状态)||(t==null?void 0:t.状态)==="禁用"||(t==null?void 0:t.status)==="禁用")){u.ElMessage.error("该用户已被禁用,请联系管理员"),w.value=!1;return}c=await m(t);const{privateKey:d}=await f.getModelSecretAsync(t);let T;if(t.password?T=((r=t.layer)==null?void 0:r.toUpperCase())==="SUPERADMIN"?t.password:x.decryptData(t.password,d):T=((N=t.layer)==null?void 0:N.toUpperCase())==="SUPERADMIN"?t.password:x.resetPassword,(a==null?void 0:a.password)===T)M=t;else throw M=null,u.ElMessage.error("输入的密码错误,请重新输入"),w.value=!1,new Error("输入的密码错误,请重新输入")}else return u.ElMessage.error("该用户不存在,请重新输入")}return M&&c?{matchedUser:M,userAuthority:c}:void 0}catch(c){throw new Error(c)}},C=async a=>{var o,s,i;const n=await k(a);if(n!=null&&n.matchedUser){f.setLoginUserInfo(n.matchedUser),sessionStorage.setItem("authority",JSON.stringify(n.userAuthority));const g=((s=(o=n.matchedUser)==null?void 0:o.layer)==null?void 0:s.toUpperCase())==="SUPERADMIN";return sessionStorage.setItem("isSuperAdmin",JSON.stringify(g)),sessionStorage.setItem("systemKey",A.value?A.value:(i=n.matchedUser)==null?void 0:i.systemKey),await I(n.matchedUser),!0}else throw w.value=!1,new Error("该用户数据处理失败,请联系管理员")},I=async a=>{var o,s,i,g,r,N,c,t,M;const n=await u.getInsofDataApi({key:{layer:"superAdmin",systemKey:A.value?A.value:a==null?void 0:a.systemKey}});if(n.data.code===200&&(o=n.data)!=null&&o.result&&Array.isArray((s=n.data)==null?void 0:s.result)&&((g=(i=n.data)==null?void 0:i.result)==null?void 0:g.length)>0){const R=(M=(t=(c=(N=(r=n.data)==null?void 0:r.result)==null?void 0:N[0])==null?void 0:c.value)==null?void 0:t.tableData)==null?void 0:M.account;f.setSuperAdminInfo({account:R})}},L=async()=>{var a,n,o;try{const s=await he();return((a=s==null?void 0:s.data)==null?void 0:a.code)===200?(sessionStorage.setItem("loginToken",(o=(n=s.data)==null?void 0:n.result)==null?void 0:o.accessToken),!0):!1}catch(s){u.ElMessage.error(s)}},D=async()=>{var a,n,o;try{const s=await u.axios.post("http://139.196.154.85:20024/api/sysAuth/login",{account:"superadmin",password:"9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",codeId:0,code:""});return((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&sessionStorage.setItem("magicToken",(o=(n=s.data)==null?void 0:n.result)==null?void 0:o.accessToken),!0}catch{return!0}};e.onMounted(async()=>{await L()});const B=async a=>{var i,g,r,N;w.value=!0;let n=[C(a),L(),D()];const o=await Promise.all(n);(o==null?void 0:o.every(c=>c))&&(await X.verifyStructureDataToStore(),b.push("/"),f.setLogRecordAsync({type:"登录",data:{account:((i=p.value)==null?void 0:i.account)??((g=p.value)==null?void 0:g.账号),userName:((r=p.value)==null?void 0:r.姓名)||((N=p.value)==null?void 0:N.userName)||"未知"}},"/login","login"))},P=a=>{y.value=a,_.value=!1,w.value=!1},H=a=>/^[\u4e00-\u9fa5\s,。!?《》“”【】]+$/.test(a);return(a,n)=>(e.openBlock(),e.createElementBlock("div",be,[e.createElementVNode("div",_e,[e.createElementVNode("div",we,[e.createVNode(ae,{class:"login-left-bg"},{img:e.withCtx(()=>{var o,s,i,g;return[e.createElementVNode("div",Ce,[e.createElementVNode("div",null,e.toDisplayString(((o=e.unref(v))==null?void 0:o.EnglishName)||"INSOFWORKS"),1),e.createElementVNode("div",null,e.toDisplayString((s=e.unref(v))!=null&&s.chineseName&&H((i=e.unref(v))==null?void 0:i.chineseName)?(g=e.unref(v))==null?void 0:g.chineseName:"工业软件集成开发平台"),1)]),n[0]||(n[0]=e.createElementVNode("div",{class:"divide-line"},null,-1))]}),_:1})]),e.createElementVNode("div",Ne,[e.createVNode(ie,{loading:w.value,onClickLogin:S,onHandleTabChange:P},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value.loginTitle),1)]),tabLabel1:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value.tabs[0].name),1)]),tabContent1:e.withCtx(()=>[e.createVNode(fe,{activeTabName:y.value,isClickLogin:_.value,onHandleLoginFormChange:$},null,8,["activeTabName","isClickLogin"])]),tabButton1:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value.tabs[0].btnLabel),1)]),tabLabel2:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value.tabs[1].name),1)]),tabContent2:e.withCtx(()=>[e.createVNode(ve,{systemKey:a.oldSystemKey,activeTabName:y.value,isClickLogin:_.value,onHandleLoginFormChange:$},null,8,["systemKey","activeTabName","isClickLogin"])]),tabButton2:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value.tabs[1].btnLabel),1)]),_:1},8,["loading"])])])]))}}),Ee=F._export_sfc(Ae,[["__scopeId","data-v-c56e9da8"]]);exports.default=Ee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-_n__iqIC.cjs"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-_n__iqIC.cjs"),r=require("./index-DIqmyCXw.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),y=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),y=require("./index-DIqmyCXw.cjs"),c=require("./index-C8qRkCgn.cjs"),l=require("./index-H18D4EBa.cjs"),g=l.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{l.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await l.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),r=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return r==null?void 0:r.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,b)=>{s[`a${b}`]=p}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:m,structureId:d,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),r=l.useMenuState(),{activeMenuPath:t}=c.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await l.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(y.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, watch as m, defineComponent as b, reactive as y, onMounted as g, createElementBlock as D, openBlock as i, createVNode as f } from "vue";
|
|
2
|
-
import { s as h } from "./index-
|
|
2
|
+
import { s as h } from "./index-B9sOWZWH.js";
|
|
3
3
|
import { g as C, s as c } from "./index-DsSA-OiE.js";
|
|
4
4
|
import { ad as k, ac as _, a as S, u as A, ae as T } from "./index-l2JNYn9u.js";
|
|
5
5
|
const B = S(), { itemData: I } = c(B), u = l(0), P = l([
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as s, watch as d, defineComponent as m, reactive as y, onMounted as i, createElementBlock as g, openBlock as D, createVNode as f } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BHN6MuWN.js";
|
|
4
4
|
import { g as h, s as c } from "./index-DsSA-OiE.js";
|
|
5
5
|
import { ad as C, ac as _, a as k, u as S, ae as v } from "./index-l2JNYn9u.js";
|
|
6
|
-
import { s as T } from "./index-
|
|
6
|
+
import { s as T } from "./index-B9sOWZWH.js";
|
|
7
7
|
const A = k(), { itemData: B } = c(A), u = s(0), I = s([
|
|
8
8
|
{
|
|
9
9
|
label: "机构名称",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-CkKrD8Sj.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-CkKrD8Sj.cjs"),_=require("./index-Cxu7w2E_.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BnVF9mg-.cjs");const h=require("./index-DZrrnLsD.cjs"),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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DIqmyCXw.cjs"),n=require("./index-_n__iqIC.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BnVF9mg-.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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
2
|
import { S as m } from "./index-DMDfh7Et.js";
|
|
3
|
-
import { s as _ } from "./index-
|
|
3
|
+
import { s as _ } from "./index-B9sOWZWH.js";
|
|
4
4
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
6
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { s as B } from "./index-
|
|
4
|
-
import { s as F } from "./index-
|
|
5
|
-
import { c as y } from "./index-
|
|
2
|
+
import { S as x } from "./index-s5__Qjzi.js";
|
|
3
|
+
import { s as B } from "./index-B9sOWZWH.js";
|
|
4
|
+
import { s as F } from "./index-B4ekORH0.js";
|
|
5
|
+
import { c as y } from "./index-CXXjdjCc.js";
|
|
6
6
|
import { u as S } from "./index-l2JNYn9u.js";
|
|
7
7
|
import { p as I, s as N } from "./index-DsSA-OiE.js";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
2
|
+
import { s as m } from "./index-B9sOWZWH.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-DMDfh7Et.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|