ss-component-new 1.2.72 → 1.2.74
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-K11XHLAM.js → MTLLoader-C8f_8u_d.js} +1 -1
- package/dist/{MTLLoader-ikqYcjAo.cjs → MTLLoader-bGxXiH2P.cjs} +1 -1
- package/dist/{OrbitControls-Cw_tl6K1.js → OrbitControls--BFTtfLk.js} +1 -1
- package/dist/{OrbitControls-CS8gOWAT.cjs → OrbitControls-D2Rfszp6.cjs} +1 -1
- package/dist/{URDFLoader-BhEBwb_Y.cjs → URDFLoader-B2Mddboq.cjs} +1 -1
- package/dist/{URDFLoader-Dlh2X0Iv.js → URDFLoader-BxCn2jnZ.js} +2 -2
- package/dist/{animationData-D_zroenU.cjs → animationData-ptkfkBjF.cjs} +1 -1
- package/dist/{animationData-C0Dh4mjP.js → animationData-yUSDctu6.js} +1 -1
- package/dist/{array-eASasGM2.js → array-BwP37J1t.js} +1 -1
- package/dist/{array-Dkcb0MKV.cjs → array-CPzmA4t5.cjs} +1 -1
- package/dist/{iconfont-T0wWnxgR.js → iconfont-Bfo51Yte.js} +2 -2
- package/dist/{iconfont-77OhOwxs.cjs → iconfont-RRElI-SY.cjs} +1 -1
- package/dist/{index-Bd3cJhSh.cjs → index--8jDZXDO.cjs} +1 -1
- package/dist/{index-jz3YasSY.js → index-6EZ2c42F.js} +1 -1
- package/dist/{index-DVdauMYc.js → index-B2DQOaxH.js} +1 -1
- package/dist/{index-Z5WfIite.js → index-B7L2pIgD.js} +3 -3
- package/dist/{index-HiZw37CZ.cjs → index-BCj3Biv7.cjs} +1 -1
- package/dist/{index-C6Hq4npG.cjs → index-BFWFISwE.cjs} +1 -1
- package/dist/{index-Ds1y6Uqe.cjs → index-BG--dusB.cjs} +1 -1
- package/dist/{index-O38XeeGF.js → index-BIM20D0K.js} +16 -16
- package/dist/{index-Cyiwumzg.js → index-BMG9pw74.js} +1 -1
- package/dist/{index-D907HeIK.cjs → index-BNa7hFlv.cjs} +1 -1
- package/dist/{index-BUxE-JUG.cjs → index-BjFLyOy2.cjs} +1 -1
- package/dist/{index-DTFPueRJ.cjs → index-BmAvaFkY.cjs} +1 -1
- package/dist/{index-BHb9mdSS.js → index-Bo-Isokv.js} +1 -1
- package/dist/{index-Bw5o8WK1.cjs → index-BqWOEEkk.cjs} +1 -1
- package/dist/{index-DvMLV6_i.js → index-C2lTLJyO.js} +1 -1
- package/dist/{index-BVsUXckx.js → index-C4Bz7x-a.js} +4 -4
- package/dist/{index-BKZZqxv8.js → index-C73fqPKN.js} +7 -7
- package/dist/{index-DClp_CE2.cjs → index-CLWM8vdx.cjs} +1 -1
- package/dist/{index-BVHMMDYj.cjs → index-CWPdwhFo.cjs} +1 -1
- package/dist/{index-vUsExAu6.cjs → index-CfSZ94oy.cjs} +1 -1
- package/dist/{index-DzDFCtjN.cjs → index-Cmns7DGJ.cjs} +1 -1
- package/dist/{index-svORarJa.js → index-CyCUgbpT.js} +7 -7
- package/dist/{index-Cf-44FjK.cjs → index-DChnUwef.cjs} +1 -1
- package/dist/{index-CTnokPli.js → index-DKv5HhZA.js} +4 -4
- package/dist/{index-D77fb8YT.cjs → index-DNyv2azK.cjs} +1 -1
- package/dist/{index-Dgu3YiKg.cjs → index-DU996MGb.cjs} +1 -1
- package/dist/{index-GBag8JpT.cjs → index-DXjIiBKm.cjs} +1 -1
- package/dist/{index-C7_zXFBB.js → index-D_8s9Jv8.js} +1 -1
- package/dist/{index-CnUzzOAg.js → index-D_LF-ySC.js} +1 -1
- package/dist/{index-Dj4SVmPC.js → index-DfdrLT2k.js} +4 -4
- package/dist/{index-YWsdowCe.js → index-DpwZhuPz.js} +1 -1
- package/dist/{index-Di9z9n0o.cjs → index-DrtYy1lh.cjs} +1 -1
- package/dist/{index-C0TESDF4.cjs → index-DtNajbhX.cjs} +1 -1
- package/dist/{index-ECG5cq2t.cjs → index-DwzobGZ4.cjs} +1 -1
- package/dist/{index-BtmfheCs.js → index-DxMdNUo0.js} +1 -1
- package/dist/{index-DcRnbkgF.cjs → index-Fk0-h7BT.cjs} +1 -1
- package/dist/{index-DMSzQRai.js → index-ISwjwHnE.js} +1 -1
- package/dist/{index-Dm78GSsI.js → index-PoKBuhpL.js} +1 -1
- package/dist/{index-BGdo0lqx.cjs → index-cd67kj-n.cjs} +1 -1
- package/dist/{index-K-uL8YOH.cjs → index-h40g0hP1.cjs} +1 -1
- package/dist/{index-ZM_5Mf9f.js → index-kkkmA8ut.js} +2 -2
- package/dist/{index-DJIYiX7n.js → index-mmAwB7MM.js} +3 -3
- package/dist/{index-BsynnP1m.js → index-n1LeBjBw.js} +5 -5
- package/dist/{index-DBmvCes2.js → index-udkxep-V.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BzQaSUrd.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BQ_1G9WP.cjs} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BlnK_yzI.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CvljhgNe.js} +1649 -1638
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B8vp1IiT.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-fXuLTS.cjs} +43 -43
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BqQqbKuV.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vAxHEUPT.js} +1395 -1383
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Ptcjn9Ky.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-ByXI7fJH.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Dz4nCqvT.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DnJ3D_TN.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-BwRYUsPu.js → index.vue_vue_type_style_index_1_lang-B12hzlNV.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-BSiAbU7c.cjs → index.vue_vue_type_style_index_1_lang-BuCtDbIL.cjs} +1 -1
- package/dist/{main-DhuYYLjy.js → main-BQkVwQGt.js} +3 -3
- package/dist/{main-DYDt57Qc.cjs → main-CKJOZvmd.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-CcHi1GT0.js → threeModel-B70hqGbt.js} +4 -4
- package/dist/{threeModel-5wvGy8S9.cjs → threeModel-BSxLcY10.cjs} +1 -1
- package/dist/{threePreview-DjrtURuf.js → threePreview-B_u6OLOV.js} +3 -3
- package/dist/{threePreview-unSCDqCQ.cjs → threePreview-DzxpKE29.cjs} +1 -1
- package/dist/{threeSceneView-o0KAzZ_q.cjs → threeSceneView-CxOKxbjP.cjs} +1 -1
- package/dist/{threeSceneView-DhSHXsQI.js → threeSceneView-D1tPKP8f.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-CX3biKW2.js → threeSceneViewForCPMPIP-8zR1iiKh.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-5KiGagRG.cjs → threeSceneViewForCPMPIP-CKkRPc08.cjs} +1 -1
- package/dist/{threeTrackPathView-ChRPHpPb.cjs → threeTrackPathView-D37NVq6t.cjs} +1 -1
- package/dist/{threeTrackPathView-DxGKpAp8.js → threeTrackPathView-DtmXAv5H.js} +3 -3
- package/dist/{threeViewerHost-CzYaQhEH.js → threeViewerHost-BNs118k0.js} +2 -2
- package/dist/{threeViewerHost-BGIjs6Rt.cjs → threeViewerHost-vo3_msNQ.cjs} +1 -1
- package/dist/{urdfTree-DSu_fNLS.cjs → urdfTree-BRyv3OKC.cjs} +1 -1
- package/dist/{urdfTree-CJmO7Y4d.js → urdfTree-C45qnYd1.js} +1 -1
- package/dist/{workpieceTreePanel-CMuekYhH.js → workpieceTreePanel-BA7m84k8.js} +4 -4
- package/dist/{workpieceTreePanel-Cnr0mMqr.cjs → workpieceTreePanel-DQYwtsmB.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
2
|
import { S as m } from "./index-BMwOfyZG.js";
|
|
3
|
-
import { s as _ } from "./index-
|
|
3
|
+
import { s as _ } from "./index-n1LeBjBw.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 { ref as G, resolveComponent as X, createBlock as j, openBlock as b, createCommentVNode as i0, createSlots as B2, withCtx as I, renderSlot as f0, defineComponent as h2, onMounted as re, createVNode as Q, createElementVNode as o0, createElementBlock as A, Fragment as _0, renderList as C0, createTextVNode as E2, toDisplayString as W0, reactive as c1, h as Be, Transition as $r, withDirectives as dt, vShow as Ut, createApp as jr, toRefs as M4, nextTick as S2, isRef as Wr, watch as r2, computed as t0, onBeforeUnmount as On, normalizeStyle as X0, normalizeClass as X3, resolveDynamicComponent as Ft, normalizeProps as Ur, guardReactiveProps as Fr, mergeProps as h1, withModifiers as T4, inject as qr, watchEffect as we, onUnmounted as d1, unref as nt, resolveDirective as Yr } from "vue";
|
|
2
2
|
import { S as ut } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { av as Kr, D as z4, m as Je, b as Xr, S as ms, c as P4, aw as Qr, ax as Jr, ay as Zr, az as e8, d as t8, aA as vs, aB as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { av as Kr, D as z4, m as Je, b as Xr, S as ms, c as P4, aw as Qr, ax as Jr, ay as Zr, az as e8, d as t8, aA as vs, aB as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vAxHEUPT.js";
|
|
4
4
|
import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { bR as A4, bS as V4, cf as i8, cg as xs, bG as n8, b8 as t3, U as s8, ae as E4, aJ as kt, b7 as bs, Z as B4, ch as o8, E as B3, p as i3, s as n3, c as Y2, a as L4, ci as l8, aW as r8, aw as a8, cj as c8, b as h8, b2 as d8 } from "./index-Ai5OAXHo.js";
|
|
6
6
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
7
7
|
import { a as Dn, u as H4 } from "./index-BWjhL8R0.js";
|
|
8
|
-
import { s as Mn } from "./index-
|
|
9
|
-
import { T as _s, a as u8 } from "./threeViewerHost-
|
|
10
|
-
import { s as f8 } from "./index-
|
|
8
|
+
import { s as Mn } from "./index-6EZ2c42F.js";
|
|
9
|
+
import { T as _s, a as u8 } from "./threeViewerHost-BNs118k0.js";
|
|
10
|
+
import { s as f8 } from "./index-B2DQOaxH.js";
|
|
11
11
|
var p8 = "[object Date]";
|
|
12
12
|
function g8(n) {
|
|
13
13
|
return A4(n) && V4(n) == p8;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as $o, a as Mo, f as Ro, g as Lo, u as Fo, s as jo } from "./index-
|
|
1
|
+
import { b as $o, a as Mo, f as Ro, g as Lo, u as Fo, s as jo } from "./index-n1LeBjBw.js";
|
|
2
2
|
import { computed as Xt, ref as de, watch as wt, onUnmounted as Ko, resolveComponent as Ut, createElementBlock as et, openBlock as Ee, createVNode as Se, createBlock as Ot, createCommentVNode as fa, withCtx as $e, createElementVNode as ie, Fragment as Ht, renderList as Jt, toDisplayString as bt, nextTick as qa, createTextVNode as It, defineComponent as ma, resolveDynamicComponent as nn, onMounted as Rn, unref as Tt, reactive as ja, renderSlot as zn, createSlots as Uo, mergeProps as vr, normalizeStyle as cn, withModifiers as Nn, getCurrentInstance as No, inject as _l, shallowRef as Wo, toRef as Vo, onBeforeMount as gr, watchEffect as Ho, onBeforeUnmount as yr, normalizeClass as Cl, getCurrentScope as qo, onScopeDispose as Go, provide as Sl, toRefs as El, withDirectives as Xo, vShow as Yo } from "vue";
|
|
3
3
|
import { bP as Jo, k as oi, bQ as Qo, bR as Zo, bS as es, s as Zt, p as Yt, u as Bi, c as g, E as Wt, b as qi, g as va, d as Gi, bK as $n, bI as qn, e as fn, bJ as Xi, f as mr, bT as ts } from "./index-Ai5OAXHo.js";
|
|
4
|
-
import { c as ca, a as dl, d as br, E as kr, e as xr, f as as, b as ns, i as mi } from "./index-
|
|
5
|
-
import { u as $i, F as is, A as Yi, I as Ji, g as na, S as ls, B as fl, C as Qi, D as ha, E as Vn, G as an, H as On, J as Ki, l as rs, K as os, L as ss, M as Dl, N as us, O as bi, P as cs, Q as ds, R as fs, T as ps, n as hs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { s as pa } from "./index-
|
|
7
|
-
import { a as vs, T as gs } from "./threeViewerHost-
|
|
4
|
+
import { c as ca, a as dl, d as br, E as kr, e as xr, f as as, b as ns, i as mi } from "./index-C4Bz7x-a.js";
|
|
5
|
+
import { u as $i, F as is, A as Yi, I as Ji, g as na, S as ls, B as fl, C as Qi, D as ha, E as Vn, G as an, H as On, J as Ki, l as rs, K as os, L as ss, M as Dl, N as us, O as bi, P as cs, Q as ds, R as fs, T as ps, n as hs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vAxHEUPT.js";
|
|
6
|
+
import { s as pa } from "./index-6EZ2c42F.js";
|
|
7
|
+
import { a as vs, T as gs } from "./threeViewerHost-BNs118k0.js";
|
|
8
8
|
import { a as Ln, u as Xn, E as Ga, ac as ys } from "./index-BWjhL8R0.js";
|
|
9
9
|
import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as Tl } from "./isString-8mN8gX27.js";
|
|
11
11
|
import { _ as Il } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
12
|
-
import { a as ms, s as bs } from "./index-
|
|
12
|
+
import { a as ms, s as bs } from "./index-B7L2pIgD.js";
|
|
13
13
|
import wr from "./index-rlStojTL.js";
|
|
14
|
-
import { s as ks } from "./index-
|
|
14
|
+
import { s as ks } from "./index-Bo-Isokv.js";
|
|
15
15
|
var xs = /\s/;
|
|
16
16
|
function ws(a) {
|
|
17
17
|
for (var r = a.length; r-- && xs.test(a.charAt(r)); )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-BjFLyOy2.cjs"),_=require("./index-BNa7hFlv.cjs"),m=require("./index-DwzobGZ4.cjs"),h=require("./index-Fk0-h7BT.cjs"),C=require("./index-DeBHVrj0.cjs"),d=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({...p.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var i;t.formatFormData(n.value),e.nextTick(()=>{var o,r;(r=l.value)==null||r.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((i=n.value)==null?void 0:i.path)}),(i,o)=>{const r=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(r,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(_.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
|
|
@@ -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-Cmns7DGJ.cjs"),r=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-ByXI7fJH.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},m=["onClick"],V={class:"module-dialog-content"};function N(o,l,w,M,D,b){var r;const C=e.resolveComponent("ss-input"),i=e.resolveComponent("svg-icon"),h=e.resolveComponent("el-popover"),k=e.resolveComponent("ss-menu"),s=e.resolveComponent("el-button"),u=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(k,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d,p,c;return[!o.fixElement||(t==null?void 0:t.path)!==((a=o.fixElement)==null?void 0:a.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((p=o.fixElement)==null?void 0:p.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(C,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((c=t==null?void 0:t.config)==null?void 0:c.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(h,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:I=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,m))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((r=o.renderMenuList)==null?void 0:r.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(u,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",V,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const E=f._export_sfc(g._sfc_main,[["render",N],["__scopeId","data-v-140f5e74"]]);exports.setComponent=g.setComponent;exports.default=E;
|
|
@@ -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-B-fXuLTS.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,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-C73fqPKN.js";
|
|
3
3
|
import { u as T, p as j, s as x } from "./index-Ai5OAXHo.js";
|
|
4
|
-
import "./array-
|
|
4
|
+
import "./array-BwP37J1t.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-vAxHEUPT.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DnJ3D_TN.js";
|
|
8
|
+
import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CvljhgNe.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-B12hzlNV.js";
|
|
11
11
|
import "./index-D9iPLSwS.js";
|
|
12
12
|
import "./index-BWjhL8R0.js";
|
|
13
13
|
import "vue-router";
|
|
14
|
-
import "./index-
|
|
14
|
+
import "./index-B7L2pIgD.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "./index-C5AMx3DP.js";
|
|
17
17
|
const L = {
|
|
@@ -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-BNa7hFlv.cjs"),c=require("./index-C8qRkCgn.cjs"),l=require("./index-DeBHVrj0.cjs"),g=l.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{l.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await l.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),r=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return r==null?void 0:r.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((p,b)=>{s[`a${b}`]=p}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:m,structureId:d,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),r=l.useMenuState(),{activeMenuPath:t}=c.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await l.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(y.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { s as B } from "./index-
|
|
4
|
-
import { s as F } from "./index-
|
|
5
|
-
import { c as y } from "./index-
|
|
2
|
+
import { S as x } from "./index-PoKBuhpL.js";
|
|
3
|
+
import { s as B } from "./index-n1LeBjBw.js";
|
|
4
|
+
import { s as F } from "./index-6EZ2c42F.js";
|
|
5
|
+
import { c as y } from "./index-C4Bz7x-a.js";
|
|
6
6
|
import { u as S } from "./index-BWjhL8R0.js";
|
|
7
7
|
import { p as I, s as N } from "./index-Ai5OAXHo.js";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-C8qRkCgn.cjs"),_=require("./index-DeBHVrj0.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-DeBHVrj0.cjs"),C=require("./index-BNa7hFlv.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 +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-BNa7hFlv.cjs"),n=require("./index-5ngo1Jl7.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"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-fXuLTS.cjs"),a=require("./index-C8qRkCgn.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),T="ElUpload";class R extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new R(i,l.status,o.method,r)}function U(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const D=r=>{typeof XMLHttpRequest>"u"&&a.throwError(T,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(U(o))}),o.open(r.method,l,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))a.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},b=["text","picture","picture-card"];let L=1;const N=()=>Date.now()+L++,x=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:b,default:"text"},httpRequest:{type:a.definePropType(Function),default:D},disabled:Boolean,limit:Number}),F=a.buildProps({...x,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}}),j={style:{"text-align":"left"}},A={class:"cropper-warp"},q={class:"cropper-warp-left"},$=["src"],H={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new B.Cropper(s,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),V=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},S=s=>{p.value.clearFiles();const n=s[0];n.uid=N(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),I=e.resolveComponent("el-upload"),k=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(k,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=O=>t.isShowDialog=O),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(I,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":V,"on-exceed":S},{trigger:e.withCtx(()=>[e.createVNode(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",A,[e.createElementVNode("div",q,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,$)]),e.createElementVNode("div",H,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),E=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(E,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),P=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"}));exports.CropperDialog=E;exports.genFileId=N;exports.index=Z;exports.ssAvatar=P;exports.uploadBaseProps=x;exports.uploadListTypes=b;exports.uploadProps=F;
|
|
@@ -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-Ai5OAXHo.js";
|
|
3
3
|
import { u as M } from "./index-BWjhL8R0.js";
|
|
4
|
-
import { s as D } from "./index-
|
|
4
|
+
import { s as D } from "./index-n1LeBjBw.js";
|
|
5
5
|
import { a as T, d as S, f as w } from "./index-Da8kLXUi.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
@@ -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-n1LeBjBw.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-BMwOfyZG.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ee, renderList as ae, createElementVNode as g, toDisplayString as Q, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as te, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
|
|
2
|
-
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-
|
|
2
|
+
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-C73fqPKN.js";
|
|
3
3
|
import { p as ie, s as le, c as R, E as ea } from "./index-Ai5OAXHo.js";
|
|
4
4
|
import { a as me, u as qe, E as aa } from "./index-BWjhL8R0.js";
|
|
5
|
-
import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-
|
|
5
|
+
import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-BwP37J1t.js";
|
|
6
6
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import ia from "./index-rlStojTL.js";
|
|
8
|
-
import { a as da, b as pa } from "./index-
|
|
9
|
-
import { s as va } from "./index-
|
|
8
|
+
import { a as da, b as pa } from "./index-C4Bz7x-a.js";
|
|
9
|
+
import { s as va } from "./index-6EZ2c42F.js";
|
|
10
10
|
const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -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-n1LeBjBw.js";
|
|
3
3
|
import { g as C, s as c } from "./index-Ai5OAXHo.js";
|
|
4
4
|
import { ae as k, ad as _, a as S, u as A, af as T } from "./index-BWjhL8R0.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"),l=require("./index-CLJYSvkY.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-CLJYSvkY.cjs"),_=require("./index-DtNajbhX.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-fXuLTS.cjs");const h=require("./index-Fk0-h7BT.cjs"),f=require("./index-C8qRkCgn.cjs"),y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={class:"personal-wrapper"},x={class:"personal-box left"},N={class:"base-avatar"},S={class:"center-avatar"},D={class:"base-info"},E={class:"base-signature"},k={class:"personal-box right"},B=e.defineComponent({__name:"index",setup(T){const t=e.reactive({...l.State}),b=f.useLoginState(),{loginUserInfo:n}=f.storeToRefs(b);return e.onMounted(()=>{var s;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((s=n==null?void 0:n.value)==null?void 0:s.id),l.tabKey.value++}),(s,o)=>{var c,d,u,g,p,m,v;const r=e.resolveComponent("svg-icon"),i=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",x,[e.createElementVNode("div",N,[e.createElementVNode("div",S,[e.withDirectives(e.createVNode(_.ssAvatar,{size:100,disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=a=>t.submitImageAsync("avatarUrl",a))},null,8,["disabled","userInfo"]),[[i,t.avatarLoading]])])]),e.createElementVNode("div",D,[e.createElementVNode("div",null,[e.createVNode(r,{name:"userAccount",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((c=e.unref(n))==null?void 0:c.account)||(((d=e.unref(n))==null?void 0:d.姓名)??"未知")),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"role",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((u=e.unref(n))==null?void 0:u.layer)==="superAdmin"?"超级管理员":((g=e.unref(n))==null?void 0:g.角色名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"dept",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((p=e.unref(n))==null?void 0:p.部门名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"status",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((m=e.unref(n))==null?void 0:m.layer)==="superAdmin"?"启用":((v=e.unref(n))==null?void 0:v.状态)??"未知"),1)])]),e.createElementVNode("div",E,[e.withDirectives(e.createVNode(_.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=a=>t.submitImageAsync("signature",a))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[i,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[(e.openBlock(),e.createBlock(h.ssTab,{key:e.unref(l.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[i,t.loading]])])}}}),C=y._export_sfc(B,[["__scopeId","data-v-3bdf3f4b"]]);exports.default=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-DXjIiBKm.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-fXuLTS.cjs"),x=require("./index-C8qRkCgn.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-Fk0-h7BT.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";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-B-fXuLTS.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,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-Bo-Isokv.js";
|
|
3
3
|
import { c as s } from "./index-Ai5OAXHo.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|