ss-component-new 1.3.39 → 1.3.41
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-2i72y41c.js → MTLLoader-0j4FnCmg.js} +1 -1
- package/dist/{MTLLoader-DXzoNrir.cjs → MTLLoader-D1On5cQW.cjs} +1 -1
- package/dist/{OrbitControls-DLMbmcAk.js → OrbitControls-BudbhVMs.js} +1 -1
- package/dist/{OrbitControls-25f9O6FX.cjs → OrbitControls-CJ6Z_1he.cjs} +1 -1
- package/dist/{URDFLoader-Cr4cwEF8.cjs → URDFLoader-DI_H4g1V.cjs} +1 -1
- package/dist/{URDFLoader-C9bE_XzP.js → URDFLoader-DzxcCl4w.js} +2 -2
- package/dist/{animationData-Bq1xWpzh.cjs → animationData-CCwSzs0m.cjs} +1 -1
- package/dist/{animationData-0idWk1St.js → animationData-CUCZQOwn.js} +1 -1
- package/dist/{array-BcZ8wZJh.cjs → array-CjCFNkzp.cjs} +1 -1
- package/dist/{array-D7ZpHOUW.js → array-aVLi45HQ.js} +3 -3
- package/dist/{iconfont-C8smb8wH.cjs → iconfont-B1jFivpH.cjs} +1 -1
- package/dist/{iconfont-D_lKvP4A.js → iconfont-DlCT_O46.js} +2 -2
- package/dist/{index-Dl-Z36zZ.cjs → index-28o8Qzv1.cjs} +12 -12
- package/dist/{index-SG3iZ1zi.cjs → index-3VHVULya.cjs} +1 -1
- package/dist/{index-De99NYNm.cjs → index-8kLrRxQi.cjs} +1 -1
- package/dist/{index-2cLYbH8L.js → index-B7BGAOvy.js} +1 -1
- package/dist/{index-CXF4fGBx.cjs → index-B7Bn9-XL.cjs} +1 -1
- package/dist/{index-BjVhxFhd.js → index-B986vOOF.js} +4 -4
- package/dist/{index-HWbROorb.js → index-BD6swq7a.js} +1 -1
- package/dist/{index-Ccqg6q19.cjs → index-BNdGY7Vu.cjs} +1 -1
- package/dist/{index-BmPlus3L.cjs → index-BRPuiD1r.cjs} +1 -1
- package/dist/{index-O6tv0Wzx.js → index-BVUxJfPw.js} +9 -9
- package/dist/{index-mMYvuatu.js → index-BX8LEwbU.js} +13 -13
- package/dist/{index-CYttSa5h.js → index-BrJb_hfO.js} +1 -1
- package/dist/{index-CldRoanF.js → index-CCgEiFqh.js} +1 -1
- package/dist/{index-CZZ8Ifs9.js → index-CEiVTWOX.js} +1 -1
- package/dist/{index-C09fhtZ7.js → index-CI0y2Ngq.js} +1 -1
- package/dist/{index-BSzis22W.cjs → index-CUT9aZAK.cjs} +1 -1
- package/dist/{index-DQeVX7pl.js → index-CYd6nNAm.js} +3 -3
- package/dist/{index-OaeHF7Y4.cjs → index-CcbaZdha.cjs} +1 -1
- package/dist/{index-DPmCVTf0.cjs → index-CiNWEK5r.cjs} +1 -1
- package/dist/{index-CEcgrss3.cjs → index-CjYhPM4D.cjs} +1 -1
- package/dist/{index-CuwDFx38.cjs → index-CzBNplaZ.cjs} +1 -1
- package/dist/{index-BC4zbL4W.cjs → index-D2Y6bGDu.cjs} +1 -1
- package/dist/{index-DdKUuRez.js → index-DCAhH2Q_.js} +1 -1
- package/dist/{index-BFqQiTF3.cjs → index-DI7LzfXh.cjs} +1 -1
- package/dist/{index-Dhu1H8ka.js → index-DOKe-Rq5.js} +1 -1
- package/dist/{index-DkCH5VtE.js → index-DYAJM0UF.js} +2454 -2455
- package/dist/{index-CqvnJnTM.cjs → index-DaadY5Fj.cjs} +1 -1
- package/dist/{index-U0xNmCVP.cjs → index-DfO9Plpb.cjs} +1 -1
- package/dist/{index-C-_cejgk.js → index-Dqc-pVgE.js} +3 -3
- package/dist/{index-BeF439qb.js → index-Dsc6mjjc.js} +5 -5
- package/dist/{index-CvwIVk4C.js → index-DvZZF0gp.js} +2 -2
- package/dist/{index-C0hS-bj5.js → index-DyBXHAZg.js} +1 -1
- package/dist/{index-BJ4dYIP9.js → index-JMCMzR9f.js} +1 -1
- package/dist/{index-DM30Ja8n.cjs → index-J_XQ7DtD.cjs} +1 -1
- package/dist/{index-CMro3YG1.cjs → index-VUIR6NzF.cjs} +1 -1
- package/dist/{index-BFkiAoiG.cjs → index-_6YAsYAJ.cjs} +1 -1
- package/dist/{index-Bmjp4oN2.cjs → index-j9IeTOVQ.cjs} +1 -1
- package/dist/{index-BeqcmxG1.js → index-kktJA0O9.js} +4 -4
- package/dist/{index-BAu0NK04.cjs → index-r2DVVP5e.cjs} +1 -1
- package/dist/{index-CyiMl_77.js → index-ypkucSOj.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cghhtxxz.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js} +18580 -18578
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BvJutNeG.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-NuCat8Ra.cjs} +348 -348
- package/dist/{index.vue_vue_type_style_index_1_lang-BIBuo_6N.cjs → index.vue_vue_type_style_index_1_lang-CXfxO2DQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-M5fbenhC.js → index.vue_vue_type_style_index_1_lang-CzG4Ixbn.js} +3 -3
- package/dist/{main-pPT0wg-M.cjs → main-5bn6xArO.cjs} +1 -1
- package/dist/{main-CZBz_zjr.js → main-D-uZYVrH.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +8 -8
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-hIc2ofR5.cjs → threeModel-Bi6pMoHQ.cjs} +1 -1
- package/dist/{threeModel-BObCDF1v.js → threeModel-fISlfCWr.js} +4 -4
- package/dist/{threePreview-Dm8s6ZzZ.cjs → threePreview-CzgI_Ga-.cjs} +1 -1
- package/dist/{threePreview-STh6e4ji.js → threePreview-DyaKRBMS.js} +3 -3
- package/dist/{threeSceneView-BrPJwJe5.js → threeSceneView-BAagRxe4.js} +8 -8
- package/dist/{threeSceneView-DsimUKrC.cjs → threeSceneView-Dw7yTQ4z.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-C5cYg_nz.cjs → threeSceneViewForCPMPIP-5Yxk0S_K.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BjnGQodx.js → threeSceneViewForCPMPIP-DaMzez72.js} +7 -7
- package/dist/{threeTrackPathView-CJsgvwfM.cjs → threeTrackPathView-BvqhHDfT.cjs} +1 -1
- package/dist/{threeTrackPathView-BQYAP4DB.js → threeTrackPathView-CjMTJc-a.js} +3 -3
- package/dist/{threeViewerHost-Sk5pSWMo.js → threeViewerHost-DhS7aiRq.js} +2 -2
- package/dist/{threeViewerHost-B9_P3rIV.cjs → threeViewerHost-kvZbrmx4.cjs} +1 -1
- package/dist/{urdfTree-B1eVnyil.js → urdfTree-B4OAVLm0.js} +1 -1
- package/dist/{urdfTree-DoHqwX6e.cjs → urdfTree-CRJ7jWql.cjs} +1 -1
- package/dist/{workpieceTreePanel-CZA2q-tk.js → workpieceTreePanel-Bf1BS9dL.js} +4 -4
- package/dist/{workpieceTreePanel-DKNEmjW7.cjs → workpieceTreePanel-CB2lRrXt.cjs} +1 -1
- package/package.json +1 -1
|
@@ -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-NuCat8Ra.cjs");const n=require("./index-DRTxe12U.cjs"),b=require("./index-C5pQXH0_.cjs"),i=require("./index-r2DVVP5e.cjs"),y=n.useModelComp(),{itemData:g}=n.storeToRefs(y),u=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},c=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=>{n.submitTableAsyncByVerify(e.singleContent,e.buttonName,u.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=async e=>{const a=await n.handleSubmitAsync(b.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),r=a==null?void 0:a.map(t=>{var l;return{id:t.id,tableData:(l=t==null?void 0:t.value)==null?void 0:l.tableData}});return r==null?void 0:r.map(t=>{var l;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(l=t==null?void 0:t.tableData)==null||l.forEach((p,d)=>{s[`a${d}`]=p}),s}else return{...t.tableData,id:t.id}})},S={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:c.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(c.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:c,queryFormData:D,structureId:u,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),r=n.useMenuState(),{activeMenuPath:t}=n.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await n.getActivePageStructureId(t.value)}),(l,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,18 +1,18 @@
|
|
|
1
|
-
import { a as _l, u as Cl, f as Sl, g as El, s as Dl } from "./index-
|
|
1
|
+
import { a as _l, u as Cl, f as Sl, g as El, s as Dl } from "./index-Dsc6mjjc.js";
|
|
2
2
|
import { defineComponent as pn, createElementBlock as He, openBlock as ve, Fragment as Nt, renderList as Ht, createElementVNode as Y, toDisplayString as st, computed as Ut, ref as Q, watch as xt, onUnmounted as Tl, resolveComponent as Rt, createBlock as Et, createCommentVNode as un, withCtx as Ae, createVNode as be, nextTick as Ln, createTextVNode as Pt, resolveDynamicComponent as Pn, onMounted as Yn, unref as Bt, reactive as En, renderSlot as Sa, createSlots as Il, mergeProps as er, normalizeStyle as Gn, withModifiers as Pa, defineAsyncComponent as Al, defineProps as Ol, getCurrentInstance as zl, inject as ui, shallowRef as Bl, toRef as Pl, onBeforeMount as tr, watchEffect as Ml, onBeforeUnmount as nr, normalizeClass as ci, getCurrentScope as $l, onScopeDispose as Rl, provide as di, toRefs as fi, withDirectives as Ll, vShow as Fl } from "vue";
|
|
3
3
|
import { s as Zt, p as Xt, b as ko, a as Ia, u as ja, c as P, E as zn, h as jl, i as Nl, j as Ul } from "./index-COQpDVsv.js";
|
|
4
|
-
import { c as rn, a as Go, d as ar, E as or, e as ir, f as Kl, b as rr, i as lo } from "./index-
|
|
4
|
+
import { c as rn, a as Go, d as ar, E as or, e as ir, f as Kl, b as rr, i as lo } from "./index-DYAJM0UF.js";
|
|
5
5
|
import { i as Wl, h as Za, r as Hl, j as Vl, k as ql, E as cn, a as Po, l as pi, e as La, g as qn, d as Fa, b as Xo, u as Ga, f as lr, m as Gl } from "./index-B8HqIYd5.js";
|
|
6
|
-
import { u as sr, b as Yo, F as Xl, r as Mo, I as Yl, g as an, S as Jl, t as Jo, w as $o, x as hn, y as $a, z as Fn, A as Ca, B as So, C as Zl, o as Ql, D as Eo, E as es, G as hi, H as ts, J as so, c as vi, q as ns, K as Zo, L as ur, M as as } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
7
|
-
import { s as dn } from "./index-
|
|
8
|
-
import { a as os, T as is } from "./threeViewerHost-
|
|
9
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
+
import { u as sr, b as Yo, F as Xl, r as Mo, I as Yl, g as an, S as Jl, t as Jo, w as $o, x as hn, y as $a, z as Fn, A as Ca, B as So, C as Zl, o as Ql, D as Eo, E as es, G as hi, H as ts, J as so, c as vi, q as ns, K as Zo, L as ur, M as as } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js";
|
|
7
|
+
import { s as dn } from "./index-ypkucSOj.js";
|
|
8
|
+
import { a as os, T as is } from "./threeViewerHost-DhS7aiRq.js";
|
|
9
|
+
import "./index.vue_vue_type_style_index_1_lang-CzG4Ixbn.js";
|
|
10
10
|
import { _ as Yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
import { i as gi } from "./isString-FfOeP713.js";
|
|
12
12
|
import { _ as mi } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
13
|
-
import { a as rs, s as ls } from "./index-
|
|
13
|
+
import { a as rs, s as ls } from "./index-Dqc-pVgE.js";
|
|
14
14
|
import cr from "./index-rlStojTL.js";
|
|
15
|
-
import { s as ss } from "./index-
|
|
15
|
+
import { s as ss } from "./index-DCAhH2Q_.js";
|
|
16
16
|
import { S as us } from "./index-BHtNKL1L.js";
|
|
17
17
|
import { useRouter as cs } from "vue-router";
|
|
18
18
|
import { a as ds, e as fs, f as ps, g as hs, h as vs } from "./index-CAPx0_D4.js";
|
|
@@ -6715,7 +6715,7 @@ function Ef() {
|
|
|
6715
6715
|
}(vo)), vo.exports;
|
|
6716
6716
|
}
|
|
6717
6717
|
Ef();
|
|
6718
|
-
const Ro = Al(() => import("./index-
|
|
6718
|
+
const Ro = Al(() => import("./index-DYAJM0UF.js").then((a) => a.k));
|
|
6719
6719
|
Ro.install = (a) => {
|
|
6720
6720
|
a.component("ssMenu", Ro);
|
|
6721
6721
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as ze, defineProps as st, ref as L, computed as ee, watch as YA, onMounted as on, resolveComponent as TA, createBlock as xA, openBlock as z, withCtx as M, createElementVNode as H, toDisplayString as UA, createElementBlock as q, Fragment as ue, renderList as Ee, createCommentVNode as CA, normalizeStyle as Fe, createVNode as O, unref as a, resolveDynamicComponent as Ye, provide as fn, resolveDirective as ct, withDirectives as je, vShow as Re, createTextVNode as pe, renderSlot as We, normalizeClass as Ke, onUnmounted as St, createSlots as Jt } from "vue";
|
|
2
|
-
import { m as Sn, a as Jn, b as Ln, c as Lt } from "./array-
|
|
3
|
-
import mt from "./index-
|
|
4
|
-
import { _ as vt, s as rt, a as Ge, b as He, c as Rt, d as Kt, r as te, o as Te, e as Ze, f as ut, h as Hn, i as gt, j as pn, k as dt, l as Mt, t as Dt, m as ln, n as yn, p as Xn, q as an, u as In, v as sn, w as cn, x as vn, y as rn, z as un, A as En, D as Wt, B as Nt, C as Ut, E as lt, F as ft, G as oe, H as Tt, I as Zt, J as Yt } from "./index-
|
|
2
|
+
import { m as Sn, a as Jn, b as Ln, c as Lt } from "./array-aVLi45HQ.js";
|
|
3
|
+
import mt from "./index-kktJA0O9.js";
|
|
4
|
+
import { _ as vt, s as rt, a as Ge, b as He, c as Rt, d as Kt, r as te, o as Te, e as Ze, f as ut, h as Hn, i as gt, j as pn, k as dt, l as Mt, t as Dt, m as ln, n as yn, p as Xn, q as an, u as In, v as sn, w as cn, x as vn, y as rn, z as un, A as En, D as Wt, B as Nt, C as Ut, E as lt, F as ft, G as oe, H as Tt, I as Zt, J as Yt } from "./index-BVUxJfPw.js";
|
|
5
5
|
import { u as be, a as Ne, p as qA, s as MA, b as qe, c as GA, g as it, e as Gt, l as Ft, f as Vt } from "./index-COQpDVsv.js";
|
|
6
6
|
import { useRouter as ot } from "vue-router";
|
|
7
7
|
import { a as Pt, d as Ct, e as It, f as Et, g as Bt, h as zt, t as qt, c as _t, b as $t } from "./index-CAPx0_D4.js";
|
|
8
8
|
import { u as mn, E as Oe, b as Qt, g as Be, c as Al, a as Je, d as el } from "./index-B8HqIYd5.js";
|
|
9
|
-
import { g as Bn, s as nl, _ as bn } from "./index-
|
|
10
|
-
import { u as Qn, b as Rn, d as gn, g as Me, c as yt, e as dn, o as Xt, f as tl, l as ll, h as fl, i as ge, j as al, k as Ot, m as sl, n as cl, s as wn, p as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
11
|
-
import "./index-
|
|
9
|
+
import { g as Bn, s as nl, _ as bn } from "./index-DYAJM0UF.js";
|
|
10
|
+
import { u as Qn, b as Rn, d as gn, g as Me, c as yt, e as dn, o as Xt, f as tl, l as ll, h as fl, i as ge, j as al, k as Ot, m as sl, n as cl, s as wn, p as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js";
|
|
11
|
+
import "./index-BrJb_hfO.js";
|
|
12
12
|
import "./index-DFBXEIIr.js";
|
|
13
13
|
import { c as jt } from "./menuIndex-DYaogp2R.js";
|
|
14
14
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
import { C as rl } from "./index-
|
|
15
|
+
import { C as rl } from "./index-CI0y2Ngq.js";
|
|
16
16
|
import { S as le } from "./index-BHtNKL1L.js";
|
|
17
|
-
import ul from "./threeModel-
|
|
17
|
+
import ul from "./threeModel-fISlfCWr.js";
|
|
18
18
|
import { _ as De } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
19
|
-
import { s as zn } from "./index-
|
|
20
|
-
import { T as kn, u as gl, a as dl } from "./threeViewerHost-
|
|
21
|
-
import { s as xn } from "./index-
|
|
22
|
-
import { u as Ht } from "./index-
|
|
19
|
+
import { s as zn } from "./index-ypkucSOj.js";
|
|
20
|
+
import { T as kn, u as gl, a as dl } from "./threeViewerHost-DhS7aiRq.js";
|
|
21
|
+
import { s as xn } from "./index-Dqc-pVgE.js";
|
|
22
|
+
import { u as Ht } from "./index-Dsc6mjjc.js";
|
|
23
23
|
import { T as at } from "./svgIcon-4u4PW7Is.js";
|
|
24
24
|
import { m as il, v as ol } from "./index-DIWralYr.js";
|
|
25
|
-
import { f as Pl, a as Cl } from "./animationData-
|
|
25
|
+
import { f as Pl, a as Cl } from "./animationData-CUCZQOwn.js";
|
|
26
26
|
be();
|
|
27
27
|
const Il = be(), pt = async (P, j) => {
|
|
28
28
|
var s, c, I, l;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
2
|
import { c as J, s as be, u as he, a as Ce, p as U, k as Ie } from "./index-COQpDVsv.js";
|
|
3
|
-
import { u as ke } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { u as ke } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js";
|
|
4
4
|
import { g as $, E as S, f as ae, u as oe, n as Te, d as Me } from "./index-B8HqIYd5.js";
|
|
5
5
|
import { a as Se } from "./menuIndex-DYaogp2R.js";
|
|
6
6
|
const F = Ce(U), ne = ke(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = j(() => {
|
|
@@ -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-Va8AOLWi.js";
|
|
3
|
-
import { s as _ } from "./index-
|
|
3
|
+
import { s as _ } from "./index-Dsc6mjjc.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,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-Dsc6mjjc.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-Va8AOLWi.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as H, nextTick as N, Fragment as q, withDirectives as z, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import { aA as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { aA as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js";
|
|
3
3
|
import { a9 as X, av as G, D, H as c, G as R, a0 as g } from "./index-B8HqIYd5.js";
|
|
4
4
|
import { P as J } from "./index-COQpDVsv.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-BJPBBWWH.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-BJPBBWWH.cjs"),_=require("./index-3VHVULya.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-NuCat8Ra.cjs");const h=require("./index-28o8Qzv1.cjs"),f=require("./index-DRTxe12U.cjs");require("./index-C5pQXH0_.cjs");const 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,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-Ddoq7kRQ.js";
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
3
|
+
import { s as w, a as L } from "./index-Dqc-pVgE.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { f as E } from "./index-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js";
|
|
6
|
+
import { f as E } from "./index-DYAJM0UF.js";
|
|
7
7
|
import { b as N, s as U } from "./index-COQpDVsv.js";
|
|
8
8
|
import "./index-B8HqIYd5.js";
|
|
9
9
|
import { _ as V } 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-DRTxe12U.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DRTxe12U.cjs"),_=require("./index-r2DVVP5e.cjs"),r=require("./index-DHdrBDP4.cjs"),C=require("./index-C5pQXH0_.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=u.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await C.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(_.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"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-DaadY5Fj.cjs"),_=require("./index-r2DVVP5e.cjs"),m=require("./index-_6YAsYAJ.cjs"),h=require("./index-28o8Qzv1.cjs"),l=require("./index-DRTxe12U.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"menu-module"},k={class:"table-wrap","element-loading-text":"加载中..."},v={class:"module-dialog-default"},x=e.defineComponent({__name:"index",setup(b){const t=e.reactive({...p.State}),a=e.ref(null),c=l.useMenuState(l.pinia),{configMenu:n}=l.storeToRefs(c);return e.onMounted(()=>{var i;t.formatFormData(n.value),e.nextTick(()=>{var o,r;(r=a.value)==null||r.setCurrentKey((o=n.value)==null?void 0:o.path),c.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((i=n.value)==null?void 0:i.path)}),(i,o)=>{const r=e.resolveComponent("el-tree"),s=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),d=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(s,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(r,{ref_key:"treeRef",ref:a,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(s,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[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",v,[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(d,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(d,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),w=C._export_sfc(x,[["__scopeId","data-v-74868a06"]]);exports.default=w;
|
|
@@ -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-VUIR6NzF.cjs"),r=require("./index-DRTxe12U.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-NuCat8Ra.cjs"),a=require("./index-C5pQXH0_.cjs"),k=require("./index-DRTxe12U.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O="ElUpload";class B 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 B(i,l.status,o.method,r)}function R(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const T=r=>{typeof XMLHttpRequest>"u"&&a.throwError(O,"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(R(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))k.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},U=["text","picture","picture-card"];let D=1;const L=()=>Date.now()+D++,F=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:U,default:"text"},httpRequest:{type:a.definePropType(Function),default:T},disabled:Boolean,limit:Number});a.buildProps({...F,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)}});const j={style:{"text-align":"left"}},q={class:"cropper-warp"},A={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 I.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(),x=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},E=s=>{p.value.clearFiles();const n=s[0];n.uid=L(),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"),P=e.resolveComponent("el-upload"),V=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(V,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=S=>t.isShowDialog=S),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(P,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":x,"on-exceed":E},{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",q,[e.createElementVNode("div",A,[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"])])}}}),b=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(b,{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)}}}),N=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));exports.Avatar=N;exports.CropperDialog=b;exports.index=Z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-r2DVVP5e.cjs"),n=require("./index-DRTxe12U.cjs"),u={class:"routerPage-wrapper"},s=t.defineComponent({__name:"index",setup(i){const a=n.useMenuState(),{activeMenuPath:o}=n.storeToRefs(a),c=n.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{c.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(o.value)}),(d,l)=>(t.openBlock(),t.createElementBlock("div",u,[t.createVNode(r.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=s;
|
|
@@ -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 { N as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { N as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BUcTpnS3.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";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-r2DVVP5e.cjs"),n=require("./index-BWCv7zxy.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,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-DCAhH2Q_.js";
|
|
3
3
|
import { c as s } from "./index-COQpDVsv.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|