ss-component-new 1.2.155 → 1.2.157
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-CbvThhWx.cjs → MTLLoader-CON2gTRp.cjs} +1 -1
- package/dist/{MTLLoader-CMURtRmx.js → MTLLoader-DtNJQHmm.js} +1 -1
- package/dist/{OrbitControls-DOB9odHE.cjs → OrbitControls-BY3ezl_D.cjs} +1 -1
- package/dist/{OrbitControls-BhhVjjyX.js → OrbitControls-CIIGJ1Yk.js} +1 -1
- package/dist/{URDFLoader-ryz5S2wh.js → URDFLoader-VfgJGdmC.js} +2 -2
- package/dist/{URDFLoader-BQzgTrKb.cjs → URDFLoader-krcmjASo.cjs} +1 -1
- package/dist/{animationData-Cag7b8Yw.js → animationData-3ODtoGkt.js} +1 -1
- package/dist/{animationData-NxBLrIfp.cjs → animationData-DL5kR5qT.cjs} +1 -1
- package/dist/{array-BOfs8TL9.cjs → array-B7tQHAQO.cjs} +1 -1
- package/dist/{array-tYsqksbN.js → array-NKj1u0mH.js} +1 -1
- package/dist/{iconfont-Ce9x88cB.cjs → iconfont-CPh6-XDx.cjs} +1 -1
- package/dist/{iconfont-CIUdPbyd.js → iconfont-CeWk9EZE.js} +2 -2
- package/dist/{index-BImwlwM3.cjs → index-0VmT6NTQ.cjs} +1 -1
- package/dist/{index-CsqNsGOB.cjs → index-3ObhKDQk.cjs} +1 -1
- package/dist/{index-BTrGmp3n.js → index-4PML6Nea.js} +4 -4
- package/dist/{index-DOaJINkt.js → index-5wWdb2WK.js} +1 -1
- package/dist/{index-C1r6eNsE.cjs → index-B9RguO5-.cjs} +1 -1
- package/dist/{index-BBoqiNmu.js → index-BDnkp7Dt.js} +4 -4
- package/dist/{index-BJ2Euixm.cjs → index-BHphPH8W.cjs} +1 -1
- package/dist/{index-DqeU8QDv.cjs → index-BMDI-P3d.cjs} +1 -1
- package/dist/{index-DpwQMxFl.js → index-BN16tY7I.js} +1 -1
- package/dist/{index-BRGcucyR.cjs → index-BNUNEmtk.cjs} +1 -1
- package/dist/{index-B0wCtogA.js → index-BZ8dVq9e.js} +16 -16
- package/dist/{index-BtrG98zI.cjs → index-Be46NApR.cjs} +1 -1
- package/dist/{index-CbyyUczZ.js → index-BmKO9XDO.js} +2 -2
- package/dist/{index-BkLyMam0.js → index-ByeLrAuC.js} +1 -1
- package/dist/{index-BbxTU27p.cjs → index-C2vmfHa1.cjs} +1 -1
- package/dist/{index-CbegTEDS.js → index-C4ywDwCi.js} +3 -3
- package/dist/{index-BaJ1ApPX.js → index-CBEL_6Si.js} +1 -1
- package/dist/{index-Bu4xdgiw.cjs → index-CHX8jQ1H.cjs} +1 -1
- package/dist/{index-FhVsEBbh.js → index-CRgMYM4u.js} +3 -3
- package/dist/{index-ClJWCAN3.js → index-CZfvCqGH.js} +1 -1
- package/dist/{index-DBZsgn9O.js → index-ChEYPVLw.js} +7 -7
- package/dist/{index-BK8xITN7.js → index-Ckoo6in_.js} +1 -1
- package/dist/{index-BlxRoCtv.cjs → index-Cnus_1Kj.cjs} +1 -1
- package/dist/{index-BIfMaPdD.cjs → index-CoQ92yGS.cjs} +1 -1
- package/dist/{index-C8yNGUHQ.js → index-Cq9zh3EY.js} +5 -5
- package/dist/{index-BmmhVk9e.js → index-CrSmLsHn.js} +1 -1
- package/dist/{index-CCt2H2s8.js → index-D-KmkWON.js} +2 -2
- package/dist/{index-fw9ERcwE.js → index-D8UQ1fFh.js} +1 -1
- package/dist/{index-CW2u_aCY.cjs → index-DBArZP7q.cjs} +1 -1
- package/dist/{index-kPad_Wz-.cjs → index-DR3ue0zQ.cjs} +1 -1
- package/dist/{index-B5PDB_DR.js → index-Dv0vEhwk.js} +4 -4
- package/dist/{index-De3e1uA6.cjs → index-DzG6zsw5.cjs} +1 -1
- package/dist/{index-B79lmwQh.cjs → index-GDtT6HPL.cjs} +1 -1
- package/dist/{index-CZ1YZ5Tw.cjs → index-GxvfLkVZ.cjs} +1 -1
- package/dist/index-HKpbTQLq.js +12381 -0
- package/dist/{index-DPv4druU.js → index-HTNXPcKy.js} +1 -1
- package/dist/{index-CVm9ffzi.cjs → index-TGiBKb6v.cjs} +1 -1
- package/dist/{index-DY-nko7Q.cjs → index-VxbsA1VD.cjs} +1 -1
- package/dist/{index-CX4tC3ZQ.cjs → index-WPSxI7w5.cjs} +1 -1
- package/dist/{index-Cr_N_aXi.js → index-YXcguIZz.js} +1 -1
- package/dist/{index-DV6PovOP.cjs → index-jUDIs3Ya.cjs} +1 -1
- package/dist/index-rC0ZXewZ.cjs +1 -0
- package/dist/{index-iCkUckXM.cjs → index-w0NOZSwp.cjs} +1 -1
- package/dist/{index-CXdMEUN4.js → index-wSqC0zng.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DzcWNT_S.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3Rjpklkh.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CHjsxsdZ.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BE3hooPx.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-gYSxFu5Q.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CCVcoa8F.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-LgoSB_E1.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-3cwCIRaO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-ChTUpVDV.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-CkDkQMjM.js → index.vue_vue_type_style_index_1_lang-BQ6hq9wH.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-DeA0Obuf.cjs → index.vue_vue_type_style_index_1_lang-DIJc8zJY.cjs} +1 -1
- package/dist/{main-B4lkyHnG.js → main-BBuE_qnM.js} +3 -3
- package/dist/{main-BW2zOult.cjs → main-y7xxaKyn.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-5Ekp4Fvc.js → threeModel-C7OjIcIi.js} +4 -4
- package/dist/{threeModel-CmWQ-pkY.cjs → threeModel-DQ0V145w.cjs} +1 -1
- package/dist/{threePreview-Br85s9rP.cjs → threePreview-6iCX29LI.cjs} +1 -1
- package/dist/{threePreview-yo1VS4RE.js → threePreview-D3kQq9sZ.js} +3 -3
- package/dist/{threeSceneView-Cp4KgL_d.js → threeSceneView-BPETINU1.js} +8 -8
- package/dist/{threeSceneView-Dj0HlTb5.cjs → threeSceneView-R0-Nb4Zz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CFBWx5ou.cjs → threeSceneViewForCPMPIP-Cyib1saR.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-qWppAoz7.js → threeSceneViewForCPMPIP-DIquqTAP.js} +7 -7
- package/dist/{threeTrackPathView-yOWGl4zK.js → threeTrackPathView-CkuM2C1u.js} +3 -3
- package/dist/{threeTrackPathView-CGtXtUjb.cjs → threeTrackPathView-IavIlBzV.cjs} +1 -1
- package/dist/{threeViewerHost-DRf-tr5c.js → threeViewerHost-CQ-PrEBJ.js} +2 -2
- package/dist/{threeViewerHost-Dzsbbmp9.cjs → threeViewerHost-Drc-zri7.cjs} +1 -1
- package/dist/{urdfTree-DHuKunSt.js → urdfTree-BgHnlfaF.js} +1 -1
- package/dist/{urdfTree-DgYbFnuo.cjs → urdfTree-CuVoqajK.cjs} +1 -1
- package/dist/{workpieceTreePanel-D7NHtL2m.cjs → workpieceTreePanel-BTCpxutG.cjs} +1 -1
- package/dist/{workpieceTreePanel-C8xJtPGX.js → workpieceTreePanel-Dw9JBd1a.js} +4 -4
- package/package.json +1 -1
- package/dist/index-CKNyZKHO.cjs +0 -1
- package/dist/index-D5EuVo_c.js +0 -12451
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C, createElementVNode as u, toDisplayString as CA, defineComponent as ln, ref as o, watch as xA, createElementBlock as Q, Fragment as hA, renderList as VA, createCommentVNode as W, normalizeStyle as Re, createVNode as a, unref as A, resolveDynamicComponent as Le, onMounted as On, computed as RA, provide as Fe, resolveDirective as $n, withDirectives as ne, vShow as je, createTextVNode as te, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
|
|
2
|
-
import { m as yn, a as jn, b as Hn } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
2
|
+
import { m as yn, a as jn, b as Hn } from "./index-BDnkp7Dt.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
|
|
4
4
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-
|
|
5
|
+
import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3Rjpklkh.js";
|
|
6
6
|
import { p as QA, s as BA, d as ot, c as fn, u as wn, b as Ee, g as ue, e as At, E as oe, f as Gn, h as Et } from "./index-DIUrwul5.js";
|
|
7
7
|
import { a as vn, u as an } from "./index-AIq5wzuR.js";
|
|
8
8
|
import { S as bA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-
|
|
10
|
-
import { a as Ht } from "./array-
|
|
11
|
-
import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
12
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
9
|
+
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-HKpbTQLq.js";
|
|
10
|
+
import { a as Ht } from "./array-NKj1u0mH.js";
|
|
11
|
+
import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_1_lang-BQ6hq9wH.js";
|
|
13
13
|
import "./index-_lg-jrRI.js";
|
|
14
14
|
import { useRouter as xt } from "vue-router";
|
|
15
|
-
import pt from "./index-
|
|
16
|
-
import { C as mt } from "./index-
|
|
17
|
-
import Jt from "./threeModel-
|
|
18
|
-
import { _ as St, a as Bn } from "./index-
|
|
15
|
+
import pt from "./index-D-KmkWON.js";
|
|
16
|
+
import { C as mt } from "./index-YXcguIZz.js";
|
|
17
|
+
import Jt from "./threeModel-C7OjIcIi.js";
|
|
18
|
+
import { _ as St, a as Bn } from "./index-Dv0vEhwk.js";
|
|
19
19
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as rn } from "./index-
|
|
21
|
-
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-
|
|
22
|
-
import { s as Qn } from "./index-
|
|
23
|
-
import { u as at } from "./index-
|
|
20
|
+
import { s as rn } from "./index-HTNXPcKy.js";
|
|
21
|
+
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-CQ-PrEBJ.js";
|
|
22
|
+
import { s as Qn } from "./index-C4ywDwCi.js";
|
|
23
|
+
import { u as at } from "./index-Cq9zh3EY.js";
|
|
24
24
|
import { T as _n } from "./svgIcon-D-_fXUBL.js";
|
|
25
25
|
import { t as Rt, c as Kt, b as Dt } from "./index-CAPx0_D4.js";
|
|
26
26
|
import { v as Nt } from "./index-gvHJ-SKY.js";
|
|
27
|
-
import { f as Wt, a as Ut } from "./animationData-
|
|
27
|
+
import { f as Wt, a as Ut } from "./animationData-3ODtoGkt.js";
|
|
28
28
|
const Mt = { class: "menu-title" };
|
|
29
29
|
function Zt(M, yA, g, vA, AA, cA) {
|
|
30
30
|
const z = oA("ssMenu");
|
|
@@ -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-rC0ZXewZ.cjs");const a=require("./index-C8qRkCgn.cjs");require("./array-B7tQHAQO.cjs");const S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs");require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-3cwCIRaO.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BE3hooPx.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_1_lang-DIJc8zJY.cjs");require("./index-BIkQWptd.cjs");require("./index-DOCHgBta.cjs");require("vue-router");require("./index-DBArZP7q.cjs");;/* empty css */require("./index-D_tbgi5B.cjs");const q={__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:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const u=a.useLoginState(a.pinia),{loginUserInfo:m}=a.storeToRefs(u),e=o,s=c,y=n.computed(()=>{var t,i;return(e==null?void 0:e.showButton)||((i=(t=m.value)==null?void 0:t.layer)==null?void 0:i.toUpperCase())==="SUPERADMIN"});n.watch(()=>e==null?void 0:e.systemKey,t=>{u.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{u.setSystemInfo(t)},{immediate:!0});const f=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},d=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,r=16,C=t/i,v=r*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,i)=>{const r=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(r,{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:y.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:f,onOpenThreeBuild:g,pageKey:o.pageKey,onThreeData:h,onSetLoginInfo:w},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},B=S._export_sfc(q,[["__scopeId","data-v-a9684a30"]]);exports.default=B;
|
|
@@ -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-Dv6oihNZ.js";
|
|
4
4
|
import { g as h, s as c } from "./index-DIUrwul5.js";
|
|
5
5
|
import { ae as C, ad as _, a as k, u as S, af as v } from "./index-AIq5wzuR.js";
|
|
6
|
-
import { s as T } from "./index-
|
|
6
|
+
import { s as T } from "./index-Cq9zh3EY.js";
|
|
7
7
|
const A = k(), { itemData: B } = c(A), u = s(0), I = s([
|
|
8
8
|
{
|
|
9
9
|
label: "机构名称",
|
|
@@ -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-CZfvCqGH.js";
|
|
3
3
|
import { c as s } from "./index-DIUrwul5.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BoXjy_oE.cjs"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BoXjy_oE.cjs"),r=require("./index-jUDIs3Ya.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,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as F, computed as N, ref as p, watch as $, createElementBlock as B, openBlock as b, createVNode as v, createCommentVNode as j, withCtx as u, createTextVNode as T, toDisplayString as I, resolveComponent as k, createBlock as x, Fragment as L, renderList as O, createElementVNode as R, normalizeStyle as q } from "vue";
|
|
2
|
-
import { s as H } from "./index-
|
|
3
|
-
import { d as M, e as P } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { s as H } from "./index-YXcguIZz.js";
|
|
3
|
+
import { d as M, e as P } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
4
4
|
import { E as z } from "./index-DIUrwul5.js";
|
|
5
5
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { S as W } from "./index-
|
|
6
|
+
import { S as W } from "./index-Dv0vEhwk.js";
|
|
7
7
|
import { S as E } from "./index-BHtNKL1L.js";
|
|
8
8
|
const D = { class: "avatar-model-wrap" }, G = { key: 0 }, J = /* @__PURE__ */ F({
|
|
9
9
|
__name: "index",
|
|
@@ -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-DIUrwul5.js";
|
|
3
3
|
import { u as M } from "./index-AIq5wzuR.js";
|
|
4
|
-
import { s as D } from "./index-
|
|
4
|
+
import { s as D } from "./index-Cq9zh3EY.js";
|
|
5
5
|
import { a as T, d as S, f as w } from "./index-zHH5odRp.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 l=require("vue"),u=require("./index-C8qRkCgn.cjs"),_=require("./index-DOCHgBta.cjs"),C=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-C8qRkCgn.cjs"),_=require("./index-DOCHgBta.cjs"),C=require("./index-jUDIs3Ya.cjs"),r=require("./index-BbzUzdxF.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=_.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
2
|
import { S as I, t as x } from "./index-_lg-jrRI.js";
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
3
|
+
import { s as w, a as L } from "./index-C4ywDwCi.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { h as E } from "./index-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
6
|
+
import { h as E } from "./index-Dv0vEhwk.js";
|
|
7
7
|
import { u as N, s as U } from "./index-DIUrwul5.js";
|
|
8
8
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
@@ -1,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 { ab as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { ab as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { computed as v, watch as u, onMounted as S, onUnmounted as B, resolveComponent as I, createElementBlock as D, openBlock as K, createVNode as p } from "vue";
|
|
2
|
-
import "./index-
|
|
2
|
+
import "./index-HKpbTQLq.js";
|
|
3
3
|
import { u as T, p as j, s as x } from "./index-DIUrwul5.js";
|
|
4
|
-
import "./array-
|
|
4
|
+
import "./array-NKj1u0mH.js";
|
|
5
5
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
8
|
-
import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
|
|
8
|
+
import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3Rjpklkh.js";
|
|
9
9
|
import "./index-BHtNKL1L.js";
|
|
10
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
10
|
+
import "./index.vue_vue_type_style_index_1_lang-BQ6hq9wH.js";
|
|
11
11
|
import "./index-_lg-jrRI.js";
|
|
12
12
|
import "./index-AIq5wzuR.js";
|
|
13
13
|
import "vue-router";
|
|
14
|
-
import "./index-
|
|
14
|
+
import "./index-C4ywDwCi.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "./index-gvHJ-SKY.js";
|
|
17
17
|
const L = {
|
|
@@ -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 f, createVNode as i } from "vue";
|
|
2
|
-
import { s as h } from "./index-
|
|
2
|
+
import { s as h } from "./index-Cq9zh3EY.js";
|
|
3
3
|
import { g as C, s as c } from "./index-DIUrwul5.js";
|
|
4
4
|
import { ae as k, ad as _, a as S, u as A, af as T } from "./index-AIq5wzuR.js";
|
|
5
5
|
const B = S(), { itemData: I } = c(B), u = l(0), P = l([
|
|
@@ -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-jUDIs3Ya.cjs"),n=require("./index-BoXjy_oE.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-CttArv-I.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,12 +1,12 @@
|
|
|
1
1
|
import { ref as Y, watch as Ze, nextTick as oa, resolveComponent as Ie, createBlock as Pe, openBlock as ae, withCtx as I, createElementVNode as ge, renderSlot as Ba, onMounted as va, createElementBlock as ke, normalizeStyle as xl, normalizeClass as ar, toDisplayString as Oe, createCommentVNode as De, createVNode as se, unref as al, Fragment as fl, renderList as hl, createTextVNode as el, defineComponent as rr, reactive as ql, inject as dn, provide as pn, onBeforeUnmount as fn, computed as Ma, onUnmounted as hn, createSlots as gn, withModifiers as Fa, withDirectives as Ka, vShow as za } from "vue";
|
|
2
2
|
import { by as Ja, ay as Wa, c as X, E as Ge, bS as nr, g as Cl, p as ml, s as Ll, u as yn, f as vn, b as Al, bK as bn, bI as Ra, e as kn, ce as Sn } from "./index-DIUrwul5.js";
|
|
3
|
-
import { V as Hl, aD as Tn, aE as Ql, aF as mn, g as Pl, b as An, a as Cn, U as xn, u as Un, aG as qa, aH as Ga, aI as _n, aJ as Dn, d as ga, R as Ha, n as Qa, l as On, aK as Xa, a1 as En, aL as jn, aM as Ln, aN as Pn, T as $n, aO as Nn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { d as $l, a as Ya, i as wn, e as Bn, E as Mn } from "./index-
|
|
5
|
-
import { a as Fn, T as Kn } from "./threeViewerHost-
|
|
3
|
+
import { V as Hl, aD as Tn, aE as Ql, aF as mn, g as Pl, b as An, a as Cn, U as xn, u as Un, aG as qa, aH as Ga, aI as _n, aJ as Dn, d as ga, R as Ha, n as Qa, l as On, aK as Xa, a1 as En, aL as jn, aM as Ln, aN as Pn, T as $n, aO as Nn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
4
|
+
import { d as $l, a as Ya, i as wn, e as Bn, E as Mn } from "./index-Dv0vEhwk.js";
|
|
5
|
+
import { a as Fn, T as Kn } from "./threeViewerHost-CQ-PrEBJ.js";
|
|
6
6
|
import { u as zn, a as Jn, E as Za } from "./index-AIq5wzuR.js";
|
|
7
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-BQ6hq9wH.js";
|
|
8
8
|
import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { s as Gl } from "./index-
|
|
9
|
+
import { s as Gl } from "./index-HTNXPcKy.js";
|
|
10
10
|
import "./index-_lg-jrRI.js";
|
|
11
11
|
import { i as Ia } from "./isString-CN3i5s9o.js";
|
|
12
12
|
const Va = (B) => B.match(/\((.*)\)/)[1], er = {
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { s as m } from "./index-Cq9zh3EY.js";
|
|
3
3
|
import { u as d, ag as p, af as l } from "./index-AIq5wzuR.js";
|
|
4
4
|
import { s as g, u as h } from "./index-DIUrwul5.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
2
|
-
import { a as W, d as X, f as Y, s as Z } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
1
|
+
import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
|
|
2
|
+
import { a as W, d as X, f as Y, s as Z } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
|
|
3
3
|
import { resolveComponent as r, createElementBlock as l, openBlock as n, Fragment as g, createVNode as s, createCommentVNode as d, withCtx as i, normalizeStyle as E, toDisplayString as c, createElementVNode as p, renderList as _, createTextVNode as M, createBlock as S, resolveDynamicComponent as L } from "vue";
|
|
4
4
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const $ = ["title"], N = {
|
|
@@ -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-Cq9zh3EY.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-62PHNV7A.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-w0NOZSwp.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs"),x=require("./index-C8qRkCgn.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-BNUNEmtk.cjs"),k=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V={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:b}){const s=i,u=b,h=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),p=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=s.userInfo)==null?void 0:o.头像},o=>{p.value=h.value+"/"+o},{immediate:!0});const w=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"]});_.value=f}catch(o){throw new Error(o)}},S=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&&(p.value=h.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){x.ElMessage.error(r)}},y=async()=>{try{if(!p.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I.ssAvatar,{avatarUrl:p.value,avatarBlob:_.value,size:i.size,onClickAvatar:w,onSubmitImage:S,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",V,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=C._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:b}){const s=i,u=e.ref({}),h=e.ref([]),d=b,p=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},_=()=>{u.value.dialogShow=!1,d("beforeDestroy")},w=e.computed(()=>"http://222.92.178.198:62001"),S=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){x.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=S(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,h.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const 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:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;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:w.value+"/"+((m=i.userInfo)==null?void 0:m.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>p(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=C._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-jUDIs3Ya.cjs"),h=require("./index-DOCHgBta.cjs"),g=require("./index-C8qRkCgn.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 _=h.useMenuState(),{menus:C,activeMenuPath:k}=g.storeToRefs(_),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=g.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"),f=e.resolveComponent("el-popover"),m=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),v=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(v,{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(m,{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(f,{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,13 +1,13 @@
|
|
|
1
1
|
import { ref as G, resolveComponent as Z, createBlock as W, openBlock as _, createCommentVNode as s0, createSlots as B2, withCtx as I, renderSlot as g0, defineComponent as h2, onMounted as ae, createVNode as e0, createElementVNode as a0, createElementBlock as V, Fragment as y0, renderList as C0, createTextVNode as E2, toDisplayString as j0, reactive as d1, h as Be, Transition as Ur, withDirectives as ut, vShow as qt, createApp as Fr, toRefs as T4, nextTick as y2, isRef as qr, watch as n2, computed as i0, onBeforeUnmount as On, normalizeStyle as X0, normalizeClass as X3, resolveDynamicComponent as Yt, normalizeProps as Yr, guardReactiveProps as Kr, mergeProps as u1, withModifiers as z4, inject as Xr, watchEffect as _e, onUnmounted as f1, unref as nt, resolveDirective as Qr } from "vue";
|
|
2
2
|
import { S as ft } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { aP as Jr, W as P4, n as Je, c as Zr, u as e8, a2 as vs, T as ws, e as A4, aQ as t8, aR as i8, aS as n8, aT as s8, d as o8, aU as xs, aV as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { aP as Jr, W as P4, n as Je, c as Zr, u as e8, a2 as vs, T as ws, e as A4, aQ as t8, aR as i8, aS as n8, aT as s8, d as o8, aU as xs, aV as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
|
|
4
4
|
import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { bQ as l8, bR as r8, cf as a8, cg as _s, bG as c8, b8 as n3, V as h8, af as V4, aJ as Dt, b7 as ys, $ as E4, ch as d8, E as B3, p as st, s as pt, c as Y2, a as B4, ci as u8, aW as f8, aw as p8, cj as g8, b as m8, b2 as v8 } from "./index-DIUrwul5.js";
|
|
6
6
|
import { _ as xe } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
7
7
|
import { a as Dn, u as Mn } from "./index-AIq5wzuR.js";
|
|
8
|
-
import { s as Tn } from "./index-
|
|
9
|
-
import { T as Ss, a as w8 } from "./threeViewerHost-
|
|
10
|
-
import { s as x8 } from "./index-
|
|
8
|
+
import { s as Tn } from "./index-HTNXPcKy.js";
|
|
9
|
+
import { T as Ss, a as w8 } from "./threeViewerHost-CQ-PrEBJ.js";
|
|
10
|
+
import { s as x8 } from "./index-YXcguIZz.js";
|
|
11
11
|
var b8 = "[object Date]";
|
|
12
12
|
function _8(n) {
|
|
13
13
|
return l8(n) && r8(n) == b8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs");const c=require("./index-C8qRkCgn.cjs"),r=require("./index-DOCHgBta.cjs"),i=require("./index-jUDIs3Ya.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),m=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=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 l==null?void 0:l.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((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},S={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.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 k=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:m,handleQueryChange:f,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",v,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const l=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs");const r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={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(t,{emit:s}){const e=t,d=s,o=l.ref(!1),i=()=>{d("beforeDestroy")};return l.watch(()=>e==null?void 0:e.visible,()=>{o.value=e==null?void 0:e.visible},{deep:!0,immediate:!0}),(a,n)=>{const u=l.resolveComponent("el-dialog");return l.openBlock(),l.createBlock(u,{modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=c=>o.value=c),width:e==null?void 0:e.dialogWidth,"before-close":i,draggable:"",style:l.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":t.modalClass,"close-on-press-escape":e==null?void 0:e.closeOnPressEscape,"align-center":e==null?void 0:e.alignCenter,"append-to-body":t.appendToBody},{default:l.withCtx(()=>[l.renderSlot(a.$slots,"default",{},void 0,!0)]),header:l.withCtx(()=>[l.createElementVNode("div",f,l.toDisplayString(e==null?void 0:e.title),1),l.renderSlot(a.$slots,"header",{},void 0,!0)]),footer:l.withCtx(()=>[l.renderSlot(a.$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"])}}},y=r._export_sfc(g,[["__scopeId","data-v-5e87a97b"]]);exports.ssDialog=y;
|
|
@@ -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-jUDIs3Ya.cjs"),c=require("./index-C8qRkCgn.cjs"),l=require("./index-DOCHgBta.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;
|