ss-component-new 1.2.34 → 1.2.36
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-BzJ43684.js → MTLLoader-B4lJr_ku.js} +1 -1
- package/dist/{MTLLoader-BK95MfNU.cjs → MTLLoader-CkNQ5SUP.cjs} +1 -1
- package/dist/{OrbitControls-2eTi7aWC.cjs → OrbitControls-CpTJa--7.cjs} +1 -1
- package/dist/{OrbitControls-D-HKj8Fo.js → OrbitControls-CwAfnF56.js} +1 -1
- package/dist/{animationData-0sWRlTij.cjs → animationData-CF6-_eBc.cjs} +1 -1
- package/dist/{animationData-B5nSa3Wr.js → animationData-ETdtTXwF.js} +3 -3
- package/dist/{array-BRaoaWrW.js → array-BUiCaQsR.js} +1 -1
- package/dist/{array-C44hFkbE.cjs → array-CbzJvO5y.cjs} +1 -1
- package/dist/config.js +2 -2
- package/dist/{dataUtil-CEoQ4Ndk.cjs → dataUtil-DFkONpps.cjs} +1 -1
- package/dist/{dataUtil-CQtKj9uA.js → dataUtil-oabcbdyY.js} +1 -1
- package/dist/{fileUtil-DtGYyEnX.cjs → fileUtil-BezA0XEu.cjs} +1 -1
- package/dist/{fileUtil-Dj784v6C.js → fileUtil-xUu_aleM.js} +1 -1
- package/dist/{iconfont-C9S_ZYmF.cjs → iconfont-Bc_5-mGm.cjs} +1 -1
- package/dist/{iconfont-B00HEBSZ.js → iconfont-Cj5twyUW.js} +2 -2
- package/dist/{index-C1qs0RQj.cjs → index-7jCqww1w.cjs} +1 -1
- package/dist/{index--C6k-D2N.js → index-B35gkDgD.js} +1 -1
- package/dist/{index-C4l0VtK0.cjs → index-B3_Z46NG.cjs} +1 -1
- package/dist/{index-DZR8LUZN.js → index-BA_mOmgl.js} +2 -2
- package/dist/{index-BtpjDKvW.cjs → index-BHkXSoxP.cjs} +1 -1
- package/dist/{index-CWLJn5Pm.cjs → index-BOfa3R-1.cjs} +1 -1
- package/dist/{index-15b-TQsb.js → index-BWDmAGYH.js} +2 -2
- package/dist/{index-fLRprcfZ.cjs → index-BahsZur-.cjs} +1 -1
- package/dist/{index-CD9AL3Zp.cjs → index-Bha2dAuG.cjs} +1 -1
- package/dist/{index-DRtjEAPe.js → index-BjLowWoy.js} +2 -2
- package/dist/{index-pApFSSVJ.js → index-BnNI_rxz.js} +2 -2
- package/dist/{index-CshWG_Bn.cjs → index-BntUSUuQ.cjs} +1 -1
- package/dist/{index-ClIX3WK6.js → index-BopRIRaa.js} +5 -5
- package/dist/{index-CPGdT7Ir.js → index-Bp59pdeu.js} +3 -3
- package/dist/{index-BalMucur.cjs → index-BsQpRUkg.cjs} +1 -1
- package/dist/{index-sNFUCD37.cjs → index-Bsj_M3tu.cjs} +1 -1
- package/dist/{index-BDnhFcKf.js → index-BwL33eO2.js} +2 -2
- package/dist/{index-ClijEvVw.js → index-C-4KKbC7.js} +27 -26
- package/dist/{index-BhXhtoRc.js → index-CTIVfb14.js} +2 -2
- package/dist/{index-DFF7L3iO.js → index-CUeHiWp_.js} +1 -1
- package/dist/{index-Dmx1WOtT.cjs → index-CV-9wRXp.cjs} +1 -1
- package/dist/{index-BDRc8Y81.js → index-CWQAImyg.js} +1 -1
- package/dist/{index-J7ZV_p_y.js → index-CX9ZToOe.js} +7 -7
- package/dist/{index-Cf9pDAXa.js → index-C_FC7JhD.js} +5 -5
- package/dist/{index-CamDUXA9.js → index-CcKVjgvm.js} +1 -1
- package/dist/{index-D7eQxqbc.cjs → index-CfKLvZ17.cjs} +1 -1
- package/dist/{index-CgjAehAI.cjs → index-Ci05kJVO.cjs} +1 -1
- package/dist/{index-CkTe2T2S.cjs → index-CizvuDrT.cjs} +1 -1
- package/dist/{index-C8Pcs5aU.cjs → index-CnW0XyMI.cjs} +1 -1
- package/dist/{index-DBtBAS_Q.cjs → index-CnasZ7DR.cjs} +1 -1
- package/dist/{index-7_o-VRMN.js → index-CowSp0mU.js} +2 -2
- package/dist/{index-DVYQdx3z.cjs → index-Cs1m0QHY.cjs} +1 -1
- package/dist/{index-Dwzx2xTf.js → index-CvI-Xndo.js} +1 -1
- package/dist/{index-rwUPu6ZD.cjs → index-CvrlW6Kj.cjs} +1 -1
- package/dist/{index-BWrns3Oc.cjs → index-D4X5ZbsB.cjs} +1 -1
- package/dist/{index-Dr4WmRi_.js → index-DHOgfCKk.js} +5 -5
- package/dist/{index-CocGAXyD.js → index-DK1sT-Gv.js} +11 -11
- package/dist/{index-Dj0KOUf5.js → index-DPLITXsJ.js} +20 -20
- package/dist/{index-DH8MpnEO.js → index-DalL4U6b.js} +1 -1
- package/dist/{index-Dpt2UYlJ.cjs → index-DbW_sD5N.cjs} +1 -1
- package/dist/{index-HQwjD7os.cjs → index-DynEv7dZ.cjs} +1 -1
- package/dist/{index-DjhlRPC-.cjs → index-ExjSK4s1.cjs} +1 -1
- package/dist/{index-DABjfIra.js → index-GOk9tc6o.js} +1 -1
- package/dist/{index-CnE7ML6c.cjs → index-LcSS6r-3.cjs} +1 -1
- package/dist/{index-CIIVTNal.cjs → index-RfA-XD5A.cjs} +1 -1
- package/dist/{index-aYtsSmZR.js → index-bFFymrtu.js} +2 -2
- package/dist/{index-b8sQiO-W.js → index-bhZxftEb.js} +5 -5
- package/dist/{index-DcJFFIQw.cjs → index-h5XWazmL.cjs} +1 -1
- package/dist/{index-CNwegUef.js → index-ixEWAWI8.js} +3 -3
- package/dist/{index-B--EuduQ.js → index-peUgec1X.js} +8 -8
- package/dist/{index-BdKvrPvY.cjs → index-vDXPLbzt.cjs} +1 -1
- package/dist/{index-DlHrVgZ8.cjs → index-w9_VhKWc.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CX15bSA6.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B8Lpp-LG.js} +6138 -6136
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-hIVK_HWV.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-yBjOSB4T.cjs} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C5hViTw-.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0V41x5SW.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNsyaAD5.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B95xPNJf.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DTRpzofW.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-qUMVkjAK.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DaxZVXAO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Cgrrd0F_.js → index.vue_vue_type_style_index_1_lang-BX_Iweoa.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-C1o8R3nH.cjs → index.vue_vue_type_style_index_1_lang-BgqA98cE.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-4wOK4zzH.js → index.vue_vue_type_style_index_1_lang-CWCaf0OP.js} +12 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-C4diM8a_.cjs → index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs} +1 -1
- package/dist/{main-CB1J3P3P.cjs → main-BnGiV5RB.cjs} +1 -1
- package/dist/{main-DJo5OeDN.js → main-DHZFoZje.js} +4 -4
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +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-CuxcqV63.cjs → threeModel-BHsadPD8.cjs} +1 -1
- package/dist/{threeModel-D04_GFIf.js → threeModel-BkNMl4gC.js} +4 -4
- package/dist/{threePreview-V9Xz9HjD.js → threePreview-BhHpGgi8.js} +3 -3
- package/dist/{threePreview-CW0sFOSX.cjs → threePreview-q2XmhoL-.cjs} +1 -1
- package/dist/{threeSceneView-DDsAajYr.js → threeSceneView-CDFoPU6x.js} +10 -10
- package/dist/{threeSceneView-BF_WPeoa.cjs → threeSceneView-D_2JHUdz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BRcYZwUP.js → threeSceneViewForCPMPIP-BBelwG21.js} +9 -9
- package/dist/{threeSceneViewForCPMPIP-QaddctTy.cjs → threeSceneViewForCPMPIP-DSIkOvjL.cjs} +1 -1
- package/dist/{threeTrackPathView-B7nPn2Ux.cjs → threeTrackPathView-CClVyd1p.cjs} +1 -1
- package/dist/{threeTrackPathView-4BeFstTz.js → threeTrackPathView-CeCre9ru.js} +4 -4
- package/dist/{threeViewerHost-jb5Evx2L.cjs → threeViewerHost-B2ROtL1I.cjs} +1 -1
- package/dist/{threeViewerHost-Cn8KRcg6.js → threeViewerHost-DLd9bynL.js} +3 -3
- package/dist/{urdfTree-BKFaMWwA.cjs → urdfTree-B2NsYdY-.cjs} +1 -1
- package/dist/{urdfTree-6IOpa4uv.js → urdfTree-vu4m_HnH.js} +1 -1
- package/dist/{workpieceTreePanel-BxHEIkWb.js → workpieceTreePanel-CXVtdZfX.js} +5 -5
- package/dist/{workpieceTreePanel-cCIDMmlI.cjs → workpieceTreePanel-Dif_gJAG.cjs} +1 -1
- package/package.json +1 -1
- package/public/config.js +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as G, resolveComponent as X, createBlock as j, openBlock as b, createCommentVNode as t0, createSlots as L2, withCtx as I, renderSlot as f0, defineComponent as d2, onMounted as ae, createVNode as Q, createElementVNode as o0, createElementBlock as A, Fragment as _0, renderList as C0, createTextVNode as B2, toDisplayString as j0, reactive as r1, h as Ee, Transition as $r, withDirectives as ht, vShow as jt, createApp as jr, toRefs as D4, nextTick as y2, isRef as Wr, watch as a2, computed as i0, onBeforeUnmount as On, normalizeStyle as X0, normalizeClass as K3, resolveDynamicComponent as Wt, normalizeProps as Ur, guardReactiveProps as Fr, mergeProps as a1, withModifiers as M4, inject as qr, watchEffect as we, onUnmounted as c1, unref as it, resolveDirective as Yr } from "vue";
|
|
2
2
|
import { S as dt } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { aR as Kr, d as Qe, aO as ms, aS as Xr, aT as Qr, aU as Jr, aV as Zr, aW as vs, aX as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { aR as Kr, d as Qe, aO as ms, aS as Xr, aT as Qr, aU as Jr, aV as Zr, aW as vs, aX as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
4
4
|
import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { bD as T4, bE as z4, c4 as e8, c5 as xs, br as t8, aW as e3, O as i8, a8 as P4, aA as Ct, aV as bs, V as A4, c6 as n8, E as E3, p as t3, s as i3, c as Y2, a as V4, c7 as s8, aM as o8, ao as l8, c8 as r8, b as a8, aS as c8 } from "./index-DBDeHECn.js";
|
|
6
|
-
import { _ as ne, s as Dn } from "./index
|
|
7
|
-
import { a as Mn, u as E4, aM as B4 } from "./index.vue_vue_type_style_index_1_lang-
|
|
8
|
-
import { u as L4, T as X3, b as h8, d as d8 } from "./threeViewerHost-
|
|
9
|
-
import { s as u8 } from "./index-
|
|
6
|
+
import { _ as ne, s as Dn } from "./index-B35gkDgD.js";
|
|
7
|
+
import { a as Mn, u as E4, aM as B4 } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
8
|
+
import { u as L4, T as X3, b as h8, d as d8 } from "./threeViewerHost-DLd9bynL.js";
|
|
9
|
+
import { s as u8 } from "./index-CUeHiWp_.js";
|
|
10
10
|
var f8 = "[object Date]";
|
|
11
11
|
function p8(n) {
|
|
12
12
|
return T4(n) && z4(n) == f8;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as s, watch as d, defineComponent as y, reactive as m, 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-
|
|
4
|
-
import { az as h, ay as C, a as _, u as k, aA as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
4
|
+
import { az as h, ay as C, a as _, u as k, aA as S } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
5
5
|
import { g as v, s as c } from "./index-DBDeHECn.js";
|
|
6
|
-
import { s as A } from "./index-
|
|
6
|
+
import { s as A } from "./index-CX9ZToOe.js";
|
|
7
7
|
const T = _(), { itemData: B } = c(T), u = s(0), I = s([
|
|
8
8
|
{
|
|
9
9
|
label: "机构名称",
|
|
@@ -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-LcSS6r-3.cjs"),r=require("./index-DEBf-IBT.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 +1 @@
|
|
|
1
|
-
"use strict";const M=require("vue"),n=require("./index-DEBf-IBT.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const M=require("vue"),n=require("./index-DEBf-IBT.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.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;
|
|
@@ -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
|
-
import { S as m } from "./index-
|
|
3
|
-
import { s as _ } from "./index-
|
|
2
|
+
import { S as m } from "./index-GOk9tc6o.js";
|
|
3
|
+
import { s as _ } from "./index-CX9ZToOe.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,13 +1,13 @@
|
|
|
1
1
|
import { createElementBlock as J, openBlock as W, createElementVNode as m, renderSlot as $, defineComponent as Y, ref as E, resolveComponent as B, createVNode as k, withCtx as y, reactive as se, watch as ae, onMounted as fe, toDisplayString as V, unref as X, createTextVNode as j } from "vue";
|
|
2
2
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import { a as ne, u as oe, p as ce, E as K, s as ye, b as pe, g as q } from "./index-DBDeHECn.js";
|
|
4
|
-
import { d as re, r as ge, g as ve, c as me, b as be, e as he, f as _e, h as we } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
+
import { d as re, r as ge, g as ve, c as me, b as be, e as he, f as _e, h as we } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
5
5
|
import { useRouter as Ae } from "vue-router";
|
|
6
|
-
import { v as Ce } from "./index-
|
|
7
|
-
const ke = {},
|
|
6
|
+
import { v as Ce } from "./index-CcKVjgvm.js";
|
|
7
|
+
const ke = {}, Ie = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
8
8
|
function Te(T, M) {
|
|
9
|
-
return W(), J("div",
|
|
10
|
-
m("div",
|
|
9
|
+
return W(), J("div", Ie, [
|
|
10
|
+
m("div", Se, [
|
|
11
11
|
$(T.$slots, "img", {}, void 0, !0)
|
|
12
12
|
])
|
|
13
13
|
]);
|
|
@@ -26,7 +26,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["clickLogin", "handleTabChange"],
|
|
28
28
|
setup(T, { emit: M }) {
|
|
29
|
-
const b = E("account"), d = M,
|
|
29
|
+
const b = E("account"), d = M, I = () => {
|
|
30
30
|
d("clickLogin", b.value);
|
|
31
31
|
}, h = (u) => {
|
|
32
32
|
d("handleTabChange", u);
|
|
@@ -51,7 +51,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
|
|
|
51
51
|
]),
|
|
52
52
|
m("div", {
|
|
53
53
|
class: "tab-button special",
|
|
54
|
-
onClick:
|
|
54
|
+
onClick: I
|
|
55
55
|
}, [
|
|
56
56
|
k(p, { loading: T.loading }, {
|
|
57
57
|
default: y(() => [
|
|
@@ -103,7 +103,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
|
|
|
103
103
|
const b = T, d = se({
|
|
104
104
|
account: "",
|
|
105
105
|
password: ""
|
|
106
|
-
}),
|
|
106
|
+
}), I = se({
|
|
107
107
|
account: [
|
|
108
108
|
{ required: !0, message: "请输入账号", trigger: "blur" }
|
|
109
109
|
],
|
|
@@ -129,7 +129,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
|
|
|
129
129
|
return W(), J("div", Ve, [
|
|
130
130
|
k(w, {
|
|
131
131
|
model: d,
|
|
132
|
-
rules:
|
|
132
|
+
rules: I,
|
|
133
133
|
ref_key: "formRef",
|
|
134
134
|
ref: h
|
|
135
135
|
}, {
|
|
@@ -205,19 +205,19 @@ const Re = { class: "account-wrap" }, Oe = { class: "video-wrap" }, Fe = /* @__P
|
|
|
205
205
|
},
|
|
206
206
|
emits: ["handleLoginFormChange"],
|
|
207
207
|
setup(T, { emit: M }) {
|
|
208
|
-
const b = T, d = M,
|
|
208
|
+
const b = T, d = M, I = oe(ce), h = E(null), u = E(null);
|
|
209
209
|
let g = !1;
|
|
210
210
|
const p = async (r) => {
|
|
211
211
|
if (!r)
|
|
212
212
|
return;
|
|
213
213
|
const w = new FormData();
|
|
214
214
|
w.set("file", r), b.systemKey && w.set("systemKey", b.systemKey), console.log("Face Recognition", b.systemKey);
|
|
215
|
-
const A = await De(w), { data:
|
|
215
|
+
const A = await De(w), { data: S } = A || {}, { account: L, password: U, layer: x } = (S == null ? void 0 : S.data) || {}, D = S == null ? void 0 : S.msg;
|
|
216
216
|
if (!L) {
|
|
217
217
|
K.warning(D || "识别失败,请重新识别!");
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const { privateKey: O } = await
|
|
220
|
+
const { privateKey: O } = await I.getModelSecretAsync();
|
|
221
221
|
let R = U;
|
|
222
222
|
x !== "superAdmin" && (R = re(U, O)), d("handleLoginFormChange", !0, {
|
|
223
223
|
account: L,
|
|
@@ -228,8 +228,8 @@ const Re = { class: "account-wrap" }, Oe = { class: "video-wrap" }, Fe = /* @__P
|
|
|
228
228
|
return;
|
|
229
229
|
const r = u.value, w = r.getContext("2d"), A = h.value;
|
|
230
230
|
r.width = 200, r.height = 200;
|
|
231
|
-
const
|
|
232
|
-
w == null || w.drawImage(A, 0, 0,
|
|
231
|
+
const S = A.videoWidth || 640, L = A.videoHeight || 480, U = Math.min(200 / S, 200 / L), x = S * U, D = L * U, O = (200 - x) / 2, R = (200 - D) / 2;
|
|
232
|
+
w == null || w.drawImage(A, 0, 0, S, L, O, R, x, D), r.toBlob((G) => {
|
|
233
233
|
if (G) {
|
|
234
234
|
const Z = new File([G], "face.png", { type: "image/png" });
|
|
235
235
|
p(Z);
|
|
@@ -300,7 +300,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
300
300
|
},
|
|
301
301
|
emits: ["change"],
|
|
302
302
|
setup(T, { emit: M }) {
|
|
303
|
-
const b = Ae(), d = oe(ce), { systemKey:
|
|
303
|
+
const b = Ae(), d = oe(ce), { systemKey: I, systemInfo: h, loginUserInfo: u } = ye(d), g = E({
|
|
304
304
|
// sysCTitle: 'INSOFWORKS',
|
|
305
305
|
sysCTitle: "",
|
|
306
306
|
sysETitle: "",
|
|
@@ -327,7 +327,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
327
327
|
_.value = !0;
|
|
328
328
|
}, w = (a, t) => {
|
|
329
329
|
_.value = !1, a && Z(t);
|
|
330
|
-
}, A = (a) => ve(a),
|
|
330
|
+
}, A = (a) => ve(a), S = (a) => {
|
|
331
331
|
let t;
|
|
332
332
|
const s = me(a), n = be(s), l = he(n), f = _e(l, "parentPath");
|
|
333
333
|
return t = we(f), t;
|
|
@@ -339,7 +339,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
339
339
|
return "superAdmin";
|
|
340
340
|
if (Array.isArray(s)) {
|
|
341
341
|
if ((s == null ? void 0 : s.length) === 1) {
|
|
342
|
-
const o = a == null ? void 0 : a.find((e) => (e == null ? void 0 : e.roleName) === (s == null ? void 0 : s[0]) || e.角色名称 === (s == null ? void 0 : s[0])), C = A(o), c =
|
|
342
|
+
const o = a == null ? void 0 : a.find((e) => (e == null ? void 0 : e.roleName) === (s == null ? void 0 : s[0]) || e.角色名称 === (s == null ? void 0 : s[0])), C = A(o), c = S(o == null ? void 0 : o[C]);
|
|
343
343
|
return o && c && Array.isArray(c) ? o ? c == null ? void 0 : c.flatMap((e) => e.checkedButtons) : [] : [];
|
|
344
344
|
}
|
|
345
345
|
if ((s == null ? void 0 : s.length) > 1) {
|
|
@@ -349,7 +349,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
if (typeof s == "string") {
|
|
352
|
-
const o = a == null ? void 0 : a.find((e) => (e == null ? void 0 : e.roleName) === s || (e == null ? void 0 : e.角色名称) === s), C = A(o), c =
|
|
352
|
+
const o = a == null ? void 0 : a.find((e) => (e == null ? void 0 : e.roleName) === s || (e == null ? void 0 : e.角色名称) === s), C = A(o), c = S(o == null ? void 0 : o[C]);
|
|
353
353
|
return o && c && Array.isArray(c) ? o ? c == null ? void 0 : c.flatMap((e) => e.checkedButtons) : [] : [];
|
|
354
354
|
}
|
|
355
355
|
} catch (o) {
|
|
@@ -362,7 +362,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
362
362
|
const l = await q({
|
|
363
363
|
key: {
|
|
364
364
|
// systemKey: user?.systemKey,
|
|
365
|
-
systemKey:
|
|
365
|
+
systemKey: I.value ? I.value : a == null ? void 0 : a.systemKey,
|
|
366
366
|
// pageKey: '/系统管理/角色管理',
|
|
367
367
|
pageKey: "系统管理/角色管理",
|
|
368
368
|
type: "data"
|
|
@@ -382,12 +382,12 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
382
382
|
var t, s, n, l, f, o, C;
|
|
383
383
|
try {
|
|
384
384
|
let c = [], e, P, F;
|
|
385
|
-
|
|
385
|
+
I.value ? F = {
|
|
386
386
|
// pageKey: '/系统管理/用户管理',
|
|
387
387
|
pageKey: "系统管理/用户管理",
|
|
388
388
|
type: "data",
|
|
389
389
|
// 通过electron传递的值获取模型key,解决多账号导入同一模型,账号名重复权限失败问题
|
|
390
|
-
systemKey:
|
|
390
|
+
systemKey: I.value
|
|
391
391
|
} : F = {
|
|
392
392
|
// pageKey: '/系统管理/用户管理',
|
|
393
393
|
pageKey: "系统管理/用户管理",
|
|
@@ -453,7 +453,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
453
453
|
if (t != null && t.matchedUser) {
|
|
454
454
|
d.setLoginUserInfo(t.matchedUser), sessionStorage.setItem("authority", JSON.stringify(t.userAuthority));
|
|
455
455
|
const f = ((n = (s = t.matchedUser) == null ? void 0 : s.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
456
|
-
return sessionStorage.setItem("isSuperAdmin", JSON.stringify(f)), sessionStorage.setItem("systemKey",
|
|
456
|
+
return sessionStorage.setItem("isSuperAdmin", JSON.stringify(f)), sessionStorage.setItem("systemKey", I.value ? I.value : (l = t.matchedUser) == null ? void 0 : l.systemKey), await O(t.matchedUser), !0;
|
|
457
457
|
} else
|
|
458
458
|
throw v.value = !1, new Error("该用户数据处理失败,请联系管理员");
|
|
459
459
|
}, O = async (a) => {
|
|
@@ -462,7 +462,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
462
462
|
key: {
|
|
463
463
|
// pageKey: '/user',
|
|
464
464
|
layer: "superAdmin",
|
|
465
|
-
systemKey:
|
|
465
|
+
systemKey: I.value ? I.value : a == null ? void 0 : a.systemKey
|
|
466
466
|
// systemKey: user?.systemKey
|
|
467
467
|
}
|
|
468
468
|
});
|
|
@@ -483,11 +483,12 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
483
483
|
}, G = async () => {
|
|
484
484
|
var a, t, s;
|
|
485
485
|
try {
|
|
486
|
-
const n = await pe.post("http://
|
|
486
|
+
const n = await pe.post("http://222.92.178.198:62001/api/sysAuth/login", {
|
|
487
487
|
account: "superadmin",
|
|
488
488
|
password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
|
|
489
489
|
codeId: 0,
|
|
490
|
-
code: ""
|
|
490
|
+
code: "",
|
|
491
|
+
tenantId: -1
|
|
491
492
|
});
|
|
492
493
|
return ((a = n == null ? void 0 : n.data) == null ? void 0 : a.code) === 200 ? (sessionStorage.setItem("magicToken", (s = (t = n.data) == null ? void 0 : t.result) == null ? void 0 : s.accessToken), !0) : !1;
|
|
493
494
|
} catch (n) {
|
|
@@ -567,7 +568,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
|
|
|
567
568
|
])
|
|
568
569
|
]));
|
|
569
570
|
}
|
|
570
|
-
}), sa = /* @__PURE__ */ z(Qe, [["__scopeId", "data-v-
|
|
571
|
+
}), sa = /* @__PURE__ */ z(Qe, [["__scopeId", "data-v-0d08102c"]]);
|
|
571
572
|
export {
|
|
572
573
|
sa as default
|
|
573
574
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { u as d, aB as p, aA as l } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { s as m } from "./index-CX9ZToOe.js";
|
|
3
|
+
import { u as d, aB as p, aA as l } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
4
4
|
import { s as g, u as h } from "./index-DBDeHECn.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as N, nextTick as q, Fragment as z, withDirectives as H, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
3
3
|
import { I as X, a4 as J, Z as W, B as D, C as c, av as B, W as g } from "./index-DBDeHECn.js";
|
|
4
4
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Y = "ElUpload";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-CvrlW6Kj.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs"),a=require("./index-DEBf-IBT.cjs"),s={class:"routerPage-wrapper"},i=t.defineComponent({__name:"index",setup(d){const o=n.useMenuState(),{activeMenuPath:c}=a.storeToRefs(o),r=a.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{r.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(l,_)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(u.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
-
import { s as b } from "./index-
|
|
2
|
+
import { s as b } from "./index-CvI-Xndo.js";
|
|
3
3
|
import { c as s } from "./index-DBDeHECn.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { bh as Ra, as as Wa, c as q, E as Je, c0 as Sa, g as El, p as Al, s as Dl, u as fn, bt as ha, e as qa, b as ml, bv as gn, d as hn, c3 as yn } from "./index-DBDeHECn.js";
|
|
3
|
-
import { d as Ga, aO as vn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as jl, _ as Ha, h as bn, e as Sn, E as kn } from "./index-
|
|
5
|
-
import { b as Tn, T as An, d as ya, c as mn } from "./threeViewerHost-
|
|
6
|
-
import { aL as Rl, aF as Un, j as il, k as _n, i as Cn, u as xn, aK as On, a as Dn, a_ as Qa, a$ as Xa, b0 as En, b1 as jn, l as na, E as Ya, aI as Za, b2 as Ia, aT as Ln, b3 as $n } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { d as Ga, aO as vn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
4
|
+
import { c as jl, _ as Ha, h as bn, e as Sn, E as kn } from "./index-BopRIRaa.js";
|
|
5
|
+
import { b as Tn, T as An, d as ya, c as mn } from "./threeViewerHost-DLd9bynL.js";
|
|
6
|
+
import { aL as Rl, aF as Un, j as il, k as _n, i as Cn, u as xn, aK as On, a as Dn, a_ as Qa, a$ as Xa, b0 as En, b1 as jn, l as na, E as Ya, aI as Za, b2 as Ia, aT as Ln, b3 as $n } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.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-BX_Iweoa.js";
|
|
9
9
|
import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { s as Jl } from "./index
|
|
11
|
-
import "./index-
|
|
10
|
+
import { s as Jl } from "./index-B35gkDgD.js";
|
|
11
|
+
import "./index-DalL4U6b.js";
|
|
12
12
|
import { i as Va } from "./isString-DBnuELeA.js";
|
|
13
13
|
const er = (j) => j.match(/\((.*)\)/)[1], lr = {
|
|
14
14
|
__name: "index",
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import { u as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { S as x } from "./index-BA_mOmgl.js";
|
|
3
|
+
import { s as B } from "./index-CX9ZToOe.js";
|
|
4
|
+
import { s as F } from "./index-B35gkDgD.js";
|
|
5
|
+
import { c as y } from "./index-BopRIRaa.js";
|
|
6
|
+
import { u as S } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
7
7
|
import { p as I, s as N } from "./index-DBDeHECn.js";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const E = { class: "menu-module" }, M = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as S, E as v, u as P, p as K } from "./index-DBDeHECn.js";
|
|
2
|
-
import { u as k } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { u as k } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
3
3
|
import { ref as h } from "vue";
|
|
4
4
|
const A = k(K), E = P(K), x = h(!1), D = h(!1), j = async () => {
|
|
5
5
|
const I = S({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-B3_Z46NG.cjs"),B=require("./threeViewerHost-B2ROtL1I.cjs"),C=require("./index-DEBf-IBT.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-vDXPLbzt.cjs"),_=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:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:w}){const s=i,u=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=s.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const S=async()=>{if(!(s!=null&&s.disabled))try{const o=await B.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)}},k=async o=>{var f,g,t,n,c;try{const r=await B.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,u("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:i.size,onClickAvatar:S,onSubmitImage:k,onDeleteImage:y,clickStop:s==null?void 0:s.clickStop},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=i.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=i.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),i.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-747bdfb7"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:w}){const s=i,u=e.ref({}),m=e.ref([]),d=w,h=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{u.value.dialogShow=!1,d("beforeDestroy")},S=e.computed(()=>"http://222.92.178.198:62001"),k=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 B.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,u.value.dialogShow=!1;const n=new FormData,c=k(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(()=>s==null?void 0:s.itemData,t=>{var c,r,l,v;o.value="",(c=u.value)!=null&&c.dialogShow&&(u.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]}),u.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:u.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=u.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:S.value+"/"+((p=i.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(_.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(_.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(_.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";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-Dhkn6DXN.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-CvrlW6Kj.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs"),_=require("./index-DEBf-IBT.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"routerPage-wrapper"},N={class:"role-dialog-header"},b=["title"],D={title:"更多"},y={class:"dialog-footer"},S=e.defineComponent({__name:"index",setup(T){const g=h.useMenuState(),{menus:C,activeMenuPath:k}=_.storeToRefs(g),o=e.reactive({...h.State$1}),{treeRef:x}=h.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(k.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,d;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(d=t==null?void 0:t.path)==null?void 0:d.substring(1):t.path}});return e.watch(()=>C.value,i=>{e.nextTick(()=>{const t=_.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),d=e.resolveComponent("svg-icon"),v=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(V.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",N,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:x,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,b),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(v,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",D,[e.withDirectives(e.createVNode(d,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),M=B._export_sfc(S,[["__scopeId","data-v-78a46dd8"]]);exports.default=M;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),p=require("./index-DEBf-IBT.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const g=require("vue"),p=require("./index-DEBf-IBT.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:m}=p.storeToRefs(D),V=w.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(V),E=g.ref(0),P=g.computed(()=>{var s,a,t,r,n,l,e,o,d,v,f;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((d=u.value)==null?void 0:d.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((v=u.value)==null?void 0:v.layer)==="superAdmin"?"启用":((f=u.value)==null?void 0:f.状态)??"未知"}]}),W=()=>{},U=g.ref(!1),h=g.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=g.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),_=g.ref(!1),I=g.ref(!1),R=g.ref(!1),M=g.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value;return Array.isArray(a)?(R.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),O=g.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:M.value}]),$=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,d,v,f;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(f=(v=(d=a.data.result)==null?void 0:d[0])==null?void 0:v.key)==null?void 0:f.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,n,l;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{U.value=!1,_.value=!1,I.value=!1}},x=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};_.value=s==="avatarUrl",I.value=s==="signature",await q(r,"图片修改")},c=g.reactive({baseCols:[],otherCols:[]}),K=g.ref([]),k=g.ref(),B=(s,a,t)=>{var l,e,o,d,v,f;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?w.decryptData((d=u.value)==null?void 0:d.password,(v=m==null?void 0:m.value)==null?void 0:v.privateKey):w.resetPassword:r=(f=u.value)==null?void 0:f.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},H=(s,a,t)=>{a?t():t(new Error("请输入密码"))},j=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,d,v,f;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(d=P.value)==null?void 0:d.map(i=>i==null?void 0:i.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(f=b.contents)==null?void 0:f.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:B},{...A,label:"新密码",prop:"newtPass",validator:H},{...A,label:"确认密码",prop:"confirmNewPass",validator:j}];c.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:w.encryptData(s==null?void 0:s.confirmNewPass,(e=m.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},T=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=c.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(d,v,f)=>o.validator(d,v,f),trigger:"blur"}],e),{}),buttonValue:(l=T())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:_,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:$,clickTabButton:G,getUserTableHeadersAsync:J,itemData:O,loading:U,refreshLoginUserInfoAsync:N,rowContents:P,signPadInfo:h,signTypes:M,signatureLoading:I,submitImageAsync:x,tabKey:E,tabsContents:K,tempSignTypes:S,uploadDisabled:R},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-RfA-XD5A.cjs");const h=require("./index-DEBf-IBT.cjs");require("./array-CbzJvO5y.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-DaxZVXAO.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-yBjOSB4T.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNsyaAD5.cjs");require("./index.vue_vue_type_style_index_1_lang-BgqA98cE.cjs");require("./index-CnW0XyMI.cjs");require("vue-router");require("./index-CfKLvZ17.cjs");require("./dataUtil-DFkONpps.cjs");;/* empty css */require("./index-w9_VhKWc.cjs");const S={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},u=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,d=16,w=t/r,g=d*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{u(),window.addEventListener("resize",u)}),n.onUnmounted(()=>{window.removeEventListener("resize",u)}),(t,r)=>{const d=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(d,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { p as h, s as k, c as m, g as x } from "./index-DBDeHECn.js";
|
|
3
|
-
import { u as M } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
-
import { s as D } from "./index-
|
|
3
|
+
import { u as M } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
4
|
+
import { s as D } from "./index-CX9ZToOe.js";
|
|
5
5
|
import { a as T, d as S, f as w } from "./index-CkTqgfCV.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-Bsj_M3tu.cjs"),r=require("./index-CvrlW6Kj.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,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 { aQ as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { aQ as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|