ss-component-new 1.2.331 → 1.2.333
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-wwr1B193.cjs → MTLLoader-C9zwOo5R.cjs} +1 -1
- package/dist/{MTLLoader-Cp2efv7h.js → MTLLoader-DEhuJ8cA.js} +1 -1
- package/dist/{OrbitControls-Dk0u7TVO.cjs → OrbitControls-CrWBKSTk.cjs} +1 -1
- package/dist/{OrbitControls-RSLz2S0b.js → OrbitControls-hKxTuAne.js} +1 -1
- package/dist/{URDFLoader-CkO4RJLO.cjs → URDFLoader-BHqq00po.cjs} +1 -1
- package/dist/{URDFLoader-BpUMfsF6.js → URDFLoader-BU46gp7K.js} +2 -2
- package/dist/{animationData-C7ciTI7m.js → animationData-BbL90xGU.js} +2 -2
- package/dist/{animationData-BoxVqycf.cjs → animationData-BpQQZnbj.cjs} +1 -1
- package/dist/array-CbS69fPx.cjs +1 -0
- package/dist/{array-CVIR-i--.js → array-g-BzIhKE.js} +12 -12
- package/dist/{iconfont-C2QDZzSl.js → iconfont-gpkjnIRx.js} +2 -2
- package/dist/{iconfont-TZ8GIkZM.cjs → iconfont-m2r8ESph.cjs} +1 -1
- package/dist/{index-Bp1PEp0W.js → index-1ax1erqY.js} +5 -5
- package/dist/{index-DfZf-0j4.js → index-4cqyGWUU.js} +2 -2
- package/dist/{index-BFxYIpIU.js → index-95RC0SB0.js} +8 -9
- package/dist/{index-Bog5kQji.js → index-B0lFT37d.js} +1 -1
- package/dist/{index-081NeEuV.cjs → index-B4XQbv4q.cjs} +1 -1
- package/dist/index-BDGC3yIw.cjs +42 -0
- package/dist/index-BGP7aEbi.cjs +1 -0
- package/dist/{index-CiO2uT4E.cjs → index-BHaaYQfC.cjs} +12 -12
- package/dist/{index-CkO99t26.cjs → index-BQTrub6X.cjs} +1 -1
- package/dist/{index-BGmdJ8Zg.js → index-BS0-LNeC.js} +7 -7
- package/dist/{index-Bos1deWK.cjs → index-BV6P_J2D.cjs} +1 -1
- package/dist/{index-DPeOjfU1.cjs → index-BWIBX9Sl.cjs} +1 -1
- package/dist/index-BfeqiijR.cjs +1 -0
- package/dist/{index-CzKMGoa-.js → index-Bh66WJwb.js} +15 -15
- package/dist/{index-DRvE5S23.js → index-BqjG1Y2Y.js} +16 -17
- package/dist/{index-BWBPdata.cjs → index-C6K5EORF.cjs} +1 -1
- package/dist/index-C9a63MeW.cjs +13 -0
- package/dist/index-CEhfRVcG.cjs +1 -0
- package/dist/index-CErvylUA.cjs +1 -0
- package/dist/{index-DkIWU9Bu.js → index-CGefc7Ak.js} +769 -766
- package/dist/{index-uN57qZre.cjs → index-CHxsrbXy.cjs} +1 -1
- package/dist/{index-B2GT4T1e.cjs → index-CIybeMPI.cjs} +1 -1
- package/dist/index-CKgsrRZt.js +10442 -0
- package/dist/{index-i5Ue_JoA.cjs → index-CKwnphQR.cjs} +1 -1
- package/dist/{index-C2_KHquo.js → index-CM-E1W8F.js} +7 -7
- package/dist/{index-DEF6SrBV.js → index-CUNUX64A.js} +4 -4
- package/dist/{index-BGB8AN7S.js → index-CXx07mqc.js} +38 -38
- package/dist/{index-X2bwtZbV.js → index-CbJ39TR9.js} +14 -14
- package/dist/index-Cbp2cz1D.cjs +1 -0
- package/dist/index-CdqgG6z_.cjs +1 -0
- package/dist/{index-B_SWTmBD.cjs → index-Cexe1_nR.cjs} +1 -1
- package/dist/{index-DdBe7pKL.cjs → index-Cgt2DO86.cjs} +1 -1
- package/dist/{index-DHf9fOS7.js → index-Ch1TDVys.js} +18 -18
- package/dist/{index-DkEJVaAX.js → index-ChKY9Q_c.js} +8 -8
- package/dist/index-Cp8dl8Y4.cjs +1 -0
- package/dist/{index-CkUnZ2se.cjs → index-CzrqxMQq.cjs} +1 -1
- package/dist/{index-DSt_Eqwk.js → index-D-v_mH2L.js} +326 -326
- package/dist/{index-D3oj5RSK.js → index-D7Ejivyg.js} +12 -12
- package/dist/{index-DU4iimmS.cjs → index-D7p_01Bm.cjs} +1 -1
- package/dist/{index-u30t7l7e.js → index-DAw-JFPy.js} +4 -4
- package/dist/{index-DVf8au0C.cjs → index-DJMikZ6m.cjs} +1 -1
- package/dist/{index-Dw0CPCgX.js → index-DJv0U7ep.js} +8 -8
- package/dist/index-DL-scY6_.js +8211 -0
- package/dist/index-DRjfXii0.cjs +1 -0
- package/dist/{index-Z8iuWbfd.js → index-DhBrMxH5.js} +2 -2
- package/dist/index-DjOAHJHD.cjs +11 -0
- package/dist/{index-CY36YclZ.js → index-DkGjjjvX.js} +51 -51
- package/dist/{index-TdIk51gx.js → index-Du5EVvZy.js} +1 -1
- package/dist/{index-BqAHAwh3.js → index-FTgRHaEc.js} +2 -2
- package/dist/{index-CF2oTbnv.js → index-HoGtZJB5.js} +2 -2
- package/dist/{index-CRhbl-Xs.cjs → index-L3o91yA1.cjs} +1 -1
- package/dist/{index-H-RrS-FV.js → index-N7UyY0Cn.js} +8 -9
- package/dist/{index-BAnu2IcW.js → index-OmrdMljT.js} +36 -37
- package/dist/{index-DKKKZSMe.cjs → index-V1en5J1m.cjs} +1 -1
- package/dist/index-cGDJIpua.cjs +11 -0
- package/dist/{index-CDseWBxW.js → index-ihdYLrfi.js} +13 -13
- package/dist/{index-Bg3lrziJ.js → index-mhd92owW.js} +1 -1
- package/dist/index-xkAnmSfa.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BDXu7acs.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BYcd0jgi.cjs} +147 -147
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUjt37hI.js} +14 -14
- package/dist/index.vue_vue_type_style_index_1_lang-D3aPbrch.cjs +3 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-BzNe13gn.js → index.vue_vue_type_style_index_1_lang-D4T1pSpg.js} +8 -8
- package/dist/{isString-DDsphIfV.cjs → isString-BM0aTbV9.cjs} +1 -1
- package/dist/{isString-D0BsYbM3.js → isString-DkWdJm3P.js} +1 -1
- package/dist/main-BAe55yT4.cjs +11 -0
- package/dist/{main-BEgGvauC.js → main-DLYiVNbO.js} +9 -10
- package/dist/{menuIndex-BLcswWB-.js → menuIndex-4B2w4mPA.js} +1 -1
- package/dist/{menuIndex-bwSbtzjl.cjs → menuIndex-CJYZx11j.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CsoaXy4U.cjs → threeModel-5zOGJMgA.cjs} +1 -1
- package/dist/{threeModel-o-U3qE_Y.js → threeModel-CGM-saVm.js} +6 -6
- package/dist/{threePreview-B9pRhKDM.js → threePreview-BRK8_lKV.js} +7 -6
- package/dist/threePreview-BkKC0IgX.cjs +1 -0
- package/dist/{threeSceneView-DRPX8OYV.js → threeSceneView-5V5smS73.js} +53 -53
- package/dist/{threeSceneView-DN8Xyzfv.cjs → threeSceneView-BCQKeoTk.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BCTxqfOq.cjs → threeSceneViewForCPMPIP-DVqwxUS8.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-B_SeEcU9.js → threeSceneViewForCPMPIP-DqG9ZYEL.js} +15 -15
- package/dist/threeTrackPathView-BrBEbTGo.cjs +1 -0
- package/dist/{threeTrackPathView-C-bjSsJM.js → threeTrackPathView-CBKRfkly.js} +8 -7
- package/dist/{threeViewerHost-irhPdb16.js → threeViewerHost-CTAXJC99.js} +10 -11
- package/dist/threeViewerHost-QHAFlASe.cjs +1 -0
- package/dist/{urdfTree-5g-HLyvW.js → urdfTree-DAM1Wv4K.js} +1 -1
- package/dist/{urdfTree-S5yUGyZL.cjs → urdfTree-DNQtn8Y5.cjs} +1 -1
- package/dist/{workpieceTreePanel-BaLWAZDy.js → workpieceTreePanel-B8WM9_Wb.js} +4 -4
- package/dist/{workpieceTreePanel-hlLH8y_h.cjs → workpieceTreePanel-DKMsi2D-.cjs} +1 -1
- package/package.json +1 -1
- package/dist/array-Bi-wunyk.cjs +0 -1
- package/dist/index-BEqVDCR5.cjs +0 -1
- package/dist/index-BVMFNtUY.cjs +0 -11
- package/dist/index-BV_kcZph.js +0 -12765
- package/dist/index-Bc85VROV.cjs +0 -32
- package/dist/index-BhpB-M-v.cjs +0 -13
- package/dist/index-BxQs7JCB.cjs +0 -1
- package/dist/index-CQ5cuVUq.cjs +0 -1
- package/dist/index-CjrO5PEa.cjs +0 -1
- package/dist/index-CoaLtkUJ.cjs +0 -1
- package/dist/index-Df5Gg8qa.cjs +0 -1
- package/dist/index-DmDnw4T-.cjs +0 -1
- package/dist/index-UbLqf_y6.cjs +0 -1
- package/dist/index-cx0rUqLg.js +0 -5929
- package/dist/index-k04UdLA7.cjs +0 -1
- package/dist/index-pSTYzLRc.cjs +0 -21
- package/dist/index.vue_vue_type_style_index_1_lang-OiQttjIF.cjs +0 -3
- package/dist/main-BDV5VAB6.cjs +0 -11
- package/dist/threePreview-CGRM7OHr.cjs +0 -1
- package/dist/threeTrackPathView-Dkc-x5Po.cjs +0 -1
- package/dist/threeViewerHost-e0FA2tJj.cjs +0 -1
|
@@ -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-L3o91yA1.cjs"),r=require("./index-BDGC3yIw.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,16 +1,16 @@
|
|
|
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
|
-
import { S as I, t as x } from "./index-
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
2
|
+
import { S as I, t as x } from "./index-CbJ39TR9.js";
|
|
3
|
+
import { s as w, a as L } from "./index-DAw-JFPy.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-
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUjt37hI.js";
|
|
6
|
+
import { f as E } from "./index-D-v_mH2L.js";
|
|
7
|
+
import { b as N, s as U } from "./index-CKgsrRZt.js";
|
|
8
|
+
import "./index-DL-scY6_.js";
|
|
9
9
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(G) {
|
|
13
|
-
const e = k({ ...I }), S =
|
|
13
|
+
const e = k({ ...I }), S = N(), { loginUserInfo: s } = U(S);
|
|
14
14
|
return D(() => {
|
|
15
15
|
var l;
|
|
16
16
|
e.getUserTableHeadersAsync(), e.refreshLoginUserInfoAsync((l = s == null ? void 0 : s.value) == null ? void 0 : l.id), x.value++;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref as
|
|
1
|
+
import { f as t, n as y, u as f } from "./index-DL-scY6_.js";
|
|
2
|
+
import { ref as o } from "vue";
|
|
3
3
|
const m = (e) => {
|
|
4
4
|
const a = {};
|
|
5
5
|
for (let s in e)
|
|
@@ -24,7 +24,7 @@ const m = (e) => {
|
|
|
24
24
|
for (let s in e)
|
|
25
25
|
s !== "id" && (a[s] = e[s]);
|
|
26
26
|
const i = a == null ? void 0 : a.主菜单名称;
|
|
27
|
-
|
|
27
|
+
f({
|
|
28
28
|
id: e == null ? void 0 : e.id,
|
|
29
29
|
key: {
|
|
30
30
|
type: "mainEquip",
|
|
@@ -36,7 +36,7 @@ const m = (e) => {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
o([]);
|
|
40
40
|
export {
|
|
41
41
|
m as a,
|
|
42
42
|
r as d,
|
|
@@ -2,16 +2,16 @@ var pi = Object.defineProperty;
|
|
|
2
2
|
var fi = (C, D, k) => D in C ? pi(C, D, { enumerable: !0, configurable: !0, writable: !0, value: k }) : C[D] = k;
|
|
3
3
|
var ta = (C, D, k) => fi(C, typeof D != "symbol" ? D + "" : D, k);
|
|
4
4
|
import { ref as R, watch as Cl, nextTick as ya, resolveComponent as Me, createBlock as ze, openBlock as L, withCtx as K, createElementVNode as F, renderSlot as us, defineComponent as Fr, computed as da, onMounted as Ir, onUnmounted as xs, createElementBlock as se, withModifiers as Vl, createCommentVNode as Re, toDisplayString as Ye, createVNode as J, createTextVNode as Qe, Fragment as zl, renderList as sa, normalizeClass as ba, onBeforeUnmount as vn, normalizeStyle as Cr, unref as ua, reactive as rr, inject as vi, provide as hi, createSlots as yi, resolveDynamicComponent as gi } from "vue";
|
|
5
|
-
import { E as Xe,
|
|
6
|
-
import { aa as Ci, d as Xa, m as or, ab as Ai, ac as Ar, ad as Oi, g as pn, c as xi, b as Ti, ae as za, k as Ni, u as wi, af as fs, ag as $i, ah as Ui, ai as Di, F as un, aj as vs, l as Ei, C as hs, z as Li, ak as Pi, al as Ri, am as ji, S as Mi, an as Bi } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { E as Xe, ak as ds, a1 as cs, g as Ya, u as Ts, f as bi, al as mi, am as on, an as ki, d as _i, a as qa, b as tn, e as ps, ao as Si } from "./index-DL-scY6_.js";
|
|
6
|
+
import { aa as Ci, d as Xa, m as or, ab as Ai, ac as Ar, ad as Oi, g as pn, c as xi, b as Ti, ae as za, k as Ni, u as wi, af as fs, ag as $i, ah as Ui, ai as Di, F as un, aj as vs, l as Ei, C as hs, z as Li, ak as Pi, al as Ri, am as ji, S as Mi, an as Bi } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUjt37hI.js";
|
|
7
|
+
import { c as ye, e as Ns, p as Ga, s as nr, u as Fi, a as Ii, b as zi, E as ys } from "./index-CKgsrRZt.js";
|
|
8
|
+
import { h as Ki, c as ir, _ as gs, j as Wi, d as Hi, E as bs, e as ms, u as ks } from "./index-D-v_mH2L.js";
|
|
9
|
+
import { c as Ji, l as qi } from "./index.vue_vue_type_style_index_1_lang-D4T1pSpg.js";
|
|
9
10
|
import { _ as Ka } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { s as Fa } from "./index-
|
|
11
|
-
import { a as
|
|
12
|
-
import
|
|
13
|
-
import "./
|
|
14
|
-
import { i as _s } from "./isString-D0BsYbM3.js";
|
|
11
|
+
import { s as Fa } from "./index-B0lFT37d.js";
|
|
12
|
+
import { a as Gi, T as Xi } from "./threeViewerHost-CTAXJC99.js";
|
|
13
|
+
import "./index-CbJ39TR9.js";
|
|
14
|
+
import { i as _s } from "./isString-DkWdJm3P.js";
|
|
15
15
|
const dn = (C) => C.match(/\((.*)\)/)[1], Ss = {
|
|
16
16
|
__name: "index",
|
|
17
17
|
props: {
|
|
@@ -598,7 +598,7 @@ const Qi = {
|
|
|
598
598
|
default: K(() => [
|
|
599
599
|
F("div", ht, [
|
|
600
600
|
I.fileType === "pdf" ? (L(), se("div", yt, [
|
|
601
|
-
ce.value ? (L(), ze(
|
|
601
|
+
ce.value ? (L(), ze(Ki, {
|
|
602
602
|
key: 1,
|
|
603
603
|
fileName: Be.value,
|
|
604
604
|
blobUrl: ce.value
|
|
@@ -1322,7 +1322,7 @@ const Qi = {
|
|
|
1322
1322
|
}),
|
|
1323
1323
|
_: 2
|
|
1324
1324
|
}, 1032, ["disabled"])) : Re("", !0),
|
|
1325
|
-
(j == null ? void 0 : j.type) === "popover" ? (L(), ze(
|
|
1325
|
+
(j == null ? void 0 : j.type) === "popover" ? (L(), ze(gs, { key: 1 }, {
|
|
1326
1326
|
dropTitle: K(() => {
|
|
1327
1327
|
var ve;
|
|
1328
1328
|
return [
|
|
@@ -1475,7 +1475,7 @@ const Qi = {
|
|
|
1475
1475
|
}),
|
|
1476
1476
|
_: 2
|
|
1477
1477
|
}, 1024)) : Re("", !0),
|
|
1478
|
-
(j == null ? void 0 : j.type) === "popover" ? (L(), ze(
|
|
1478
|
+
(j == null ? void 0 : j.type) === "popover" ? (L(), ze(gs, { key: 1 }, {
|
|
1479
1479
|
dropTitle: K(() => [
|
|
1480
1480
|
(j == null ? void 0 : j.type) === "popover" ? (L(), ze(X, {
|
|
1481
1481
|
key: 0,
|
|
@@ -1536,7 +1536,7 @@ const Qi = {
|
|
|
1536
1536
|
]));
|
|
1537
1537
|
};
|
|
1538
1538
|
}
|
|
1539
|
-
}, ku = /* @__PURE__ */ Ka(mu, [["__scopeId", "data-v-9d73f66c"]]), _u =
|
|
1539
|
+
}, ku = /* @__PURE__ */ Ka(mu, [["__scopeId", "data-v-9d73f66c"]]), _u = Ns("formToTableComp", {
|
|
1540
1540
|
state: () => ({
|
|
1541
1541
|
selectArray: [],
|
|
1542
1542
|
selectString: ""
|
|
@@ -2065,7 +2065,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2065
2065
|
}, 8, ["visible"]);
|
|
2066
2066
|
};
|
|
2067
2067
|
}
|
|
2068
|
-
}), zu = /* @__PURE__ */ Ka(Iu, [["__scopeId", "data-v-cfe79109"]]), Ku =
|
|
2068
|
+
}), zu = /* @__PURE__ */ Ka(Iu, [["__scopeId", "data-v-cfe79109"]]), Ku = Ns("formComp", {
|
|
2069
2069
|
state: () => ({
|
|
2070
2070
|
objUrl: [],
|
|
2071
2071
|
blobUrls: []
|
|
@@ -2177,7 +2177,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2177
2177
|
columns: D
|
|
2178
2178
|
}
|
|
2179
2179
|
});
|
|
2180
|
-
}, Qu = async (C, D) => !C || !D ? void 0 : await
|
|
2180
|
+
}, Qu = async (C, D) => !C || !D ? void 0 : await Ts({
|
|
2181
2181
|
id: C,
|
|
2182
2182
|
value: {
|
|
2183
2183
|
columns: D
|
|
@@ -2316,7 +2316,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2316
2316
|
emits: ["getSliceContLength", "clickMainKey", "change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick", "routeUrl"],
|
|
2317
2317
|
setup(C, { emit: D }) {
|
|
2318
2318
|
var Xn;
|
|
2319
|
-
const k = R([]), A = Ku(
|
|
2319
|
+
const k = R([]), A = Ku(Ga), b = R(null), $ = R(/* @__PURE__ */ new Set()), Q = R(/* @__PURE__ */ new Map()), i = C, ce = R((i == null ? void 0 : i.allowSelect) ?? !0), Be = R(((Xn = i == null ? void 0 : i.config) == null ? void 0 : Xn.showIndex) ?? !0), je = R(), Fe = R(!0), Ke = R(!1), Te = {
|
|
2320
2320
|
sortable: "switch",
|
|
2321
2321
|
filterable: "switch",
|
|
2322
2322
|
showSummary: "switch",
|
|
@@ -2363,7 +2363,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2363
2363
|
}
|
|
2364
2364
|
]
|
|
2365
2365
|
}
|
|
2366
|
-
]), Ne = Ti(
|
|
2366
|
+
]), Ne = Ti(Ga);
|
|
2367
2367
|
let De = "$R";
|
|
2368
2368
|
const { originalPath: qe } = nr(Ne), _e = qe.value, V = da(() => {
|
|
2369
2369
|
var l;
|
|
@@ -2386,7 +2386,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2386
2386
|
pageSize: 10,
|
|
2387
2387
|
total: 0,
|
|
2388
2388
|
pageSizes: [5, 10, 20, 50, 100]
|
|
2389
|
-
}), he = D, X = R([]), Y = R([]), ul = R([]), Kl = rr({ prop: "", order: null }), Jl = R([]), j = R(!1), Tl = R(!1), nl = R(null), { isUseBackdrop: ve, initTrackFileType: Ue, getFileExtension: hl, setData: ge, getFileInfo: me, getFilesInfo: we } =
|
|
2389
|
+
}), he = D, X = R([]), Y = R([]), ul = R([]), Kl = rr({ prop: "", order: null }), Jl = R([]), j = R(!1), Tl = R(!1), nl = R(null), { isUseBackdrop: ve, initTrackFileType: Ue, getFileExtension: hl, setData: ge, getFileInfo: me, getFilesInfo: we } = Gi(), dl = R([]), $l = R(!1), oa = R(), cl = Fi(), { importLoading: $a, activeMenuPath: Ze, contentLoading: ol, linkMenuInfo: tr } = nr(cl), yn = Ni(Ga), bl = Ii(Ga), { extraContents: yl, cacheUpdatingData: ur, tableViewContents: dr, tableLoading: Hd, pageMapState: Qa, lockingPage: zr } = nr(bl), re = R([]), ga = R([]), ea = R(/* @__PURE__ */ new Map());
|
|
2390
2390
|
R(!1);
|
|
2391
2391
|
const Ca = R("");
|
|
2392
2392
|
R();
|
|
@@ -2464,7 +2464,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2464
2464
|
}
|
|
2465
2465
|
}, js = (e) => {
|
|
2466
2466
|
const l = Er(e), r = (l == null ? void 0 : l.formType) || (l == null ? void 0 : l.columnType) || "Input";
|
|
2467
|
-
return
|
|
2467
|
+
return ms(r) || ms("Input");
|
|
2468
2468
|
}, _n = R([]), Sn = R(null), La = R([]), Wa = R(null), pr = R(""), Ha = R(!1), fr = R([]), Gr = R(""), Lr = R(!1), Pr = R([]), Va = R([]), Pa = R([]), Xr = R(null), Cn = R([]), An = R("");
|
|
2469
2469
|
da(() => {
|
|
2470
2470
|
var e;
|
|
@@ -2566,7 +2566,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2566
2566
|
});
|
|
2567
2567
|
}
|
|
2568
2568
|
Xe.success("已提交候选处理结果"), On();
|
|
2569
|
-
}, vr =
|
|
2569
|
+
}, vr = Ji(), zs = da(() => vr.getConfig()), ka = R(), la = R(), Ks = _u(Ga), er = R(), Yr = R(0), Ws = wi(Ga), { selectIndex: Hs, selectMenu: hr, selectTitle: Jd } = nr(Ws), { selectString: Ja } = nr(Ks), Js = zi(Ga), { loginUserInfo: lr } = nr(Js), qs = R(720), Gl = R(!1), Rr = R(!1), Ta = R([]), _a = R(), yr = R(!0), xn = R(!0), jr = R([]), Gs = vi("contentRef");
|
|
2570
2570
|
hi("contentRef", Gs), Cl(() => {
|
|
2571
2571
|
var e;
|
|
2572
2572
|
return (e = re.value) == null ? void 0 : e.length;
|
|
@@ -2645,7 +2645,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2645
2645
|
}, Qs = async (e) => {
|
|
2646
2646
|
var l, r, a, n, o;
|
|
2647
2647
|
if ((l = e == null ? void 0 : e.toString()) != null && l.includes(".txt") || (r = e == null ? void 0 : e.toString()) != null && r.includes(".cpt") || (a = e == null ? void 0 : e.toString()) != null && a.includes(".cyd")) {
|
|
2648
|
-
const u = await
|
|
2648
|
+
const u = await qa.get(e, {
|
|
2649
2649
|
responseType: "blob",
|
|
2650
2650
|
// 必须设置
|
|
2651
2651
|
headers: {
|
|
@@ -2788,7 +2788,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2788
2788
|
} : le;
|
|
2789
2789
|
})
|
|
2790
2790
|
};
|
|
2791
|
-
const ue = await
|
|
2791
|
+
const ue = await Ts({
|
|
2792
2792
|
id: i == null ? void 0 : i.index,
|
|
2793
2793
|
value: {
|
|
2794
2794
|
pageData: W
|
|
@@ -2979,7 +2979,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
2979
2979
|
}], $l.value = !0;
|
|
2980
2980
|
}
|
|
2981
2981
|
} else {
|
|
2982
|
-
const S = await
|
|
2982
|
+
const S = await qa.get(l, {
|
|
2983
2983
|
responseType: "blob",
|
|
2984
2984
|
headers: {
|
|
2985
2985
|
"Content-Type": "application/json"
|
|
@@ -3031,7 +3031,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3031
3031
|
}, mo = async (e) => {
|
|
3032
3032
|
let l = null, r = null;
|
|
3033
3033
|
if (e != null && e.id) {
|
|
3034
|
-
const n =
|
|
3034
|
+
const n = bs.service({
|
|
3035
3035
|
lock: !0,
|
|
3036
3036
|
text: "Loading",
|
|
3037
3037
|
background: "rgba(0, 0, 0, 0.7)"
|
|
@@ -3043,11 +3043,11 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3043
3043
|
n.close();
|
|
3044
3044
|
}
|
|
3045
3045
|
} else if (e != null && e.downloadUrl) {
|
|
3046
|
-
const n = await Vr(), o =
|
|
3046
|
+
const n = await Vr(), o = bs.service({
|
|
3047
3047
|
lock: !0,
|
|
3048
3048
|
text: "Loading",
|
|
3049
3049
|
background: "rgba(0, 0, 0, 0.7)"
|
|
3050
|
-
}), u = await
|
|
3050
|
+
}), u = await qa.post(e == null ? void 0 : e.url, null, {
|
|
3051
3051
|
responseType: "blob",
|
|
3052
3052
|
// 必须设置
|
|
3053
3053
|
headers: {
|
|
@@ -3086,7 +3086,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3086
3086
|
const o = await Xa(e);
|
|
3087
3087
|
l = URL.createObjectURL(o.data), r = $n(e);
|
|
3088
3088
|
} else if (e != null && e.downloadUrl) {
|
|
3089
|
-
const o = await Vr(), u = await
|
|
3089
|
+
const o = await Vr(), u = await qa.post(e == null ? void 0 : e.url, null, {
|
|
3090
3090
|
responseType: "blob",
|
|
3091
3091
|
// 必须设置
|
|
3092
3092
|
headers: {
|
|
@@ -3238,7 +3238,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3238
3238
|
return d === "formContent" || d === "tableContents";
|
|
3239
3239
|
});
|
|
3240
3240
|
return o == null ? void 0 : o.contents;
|
|
3241
|
-
}, Vr = async () => `Bearer ${Si.get("access-token")}`, $o = async (e, { token: l, inputData: r } = {}) => await
|
|
3241
|
+
}, Vr = async () => `Bearer ${Si.get("access-token")}`, $o = async (e, { token: l, inputData: r } = {}) => await qa.post(e, r, {
|
|
3242
3242
|
headers: {
|
|
3243
3243
|
Authorization: l
|
|
3244
3244
|
}
|
|
@@ -3343,7 +3343,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3343
3343
|
const q = new FormData(), Ce = (z = Do(le)) == null ? void 0 : z.map(async (ae) => {
|
|
3344
3344
|
var fe, Pe;
|
|
3345
3345
|
if (!Array.isArray(ae) && (ae != null && ae.includes("http"))) {
|
|
3346
|
-
let de = await
|
|
3346
|
+
let de = await qa.get(ae, { responseType: "blob" }), Oe = (Pe = ae == null ? void 0 : ae.split("/")) == null ? void 0 : Pe[((fe = ae == null ? void 0 : ae.split("/")) == null ? void 0 : fe.length) - 1];
|
|
3347
3347
|
q.append("files", de.data, Oe);
|
|
3348
3348
|
} else
|
|
3349
3349
|
P.push(ae);
|
|
@@ -3392,7 +3392,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3392
3392
|
try {
|
|
3393
3393
|
const u = new FormData();
|
|
3394
3394
|
u.append("file", e, o.name);
|
|
3395
|
-
const s = await
|
|
3395
|
+
const s = await ks(u);
|
|
3396
3396
|
o.uploadResult = ((l = s == null ? void 0 : s.data) == null ? void 0 : l.result) || {
|
|
3397
3397
|
name: o.name,
|
|
3398
3398
|
url: "",
|
|
@@ -3463,7 +3463,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3463
3463
|
try {
|
|
3464
3464
|
const o = new FormData();
|
|
3465
3465
|
o.append("file", e.raw, e.name);
|
|
3466
|
-
const u = await
|
|
3466
|
+
const u = await ks(o);
|
|
3467
3467
|
e.uploadResult = ((l = u == null ? void 0 : u.data) == null ? void 0 : l.result) || {
|
|
3468
3468
|
name: e.name,
|
|
3469
3469
|
url: "",
|
|
@@ -3808,7 +3808,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3808
3808
|
}, ln = async (e, l, r) => {
|
|
3809
3809
|
var a, n, o, u, s, d, f, x, O, T, B, W, ue, le, N, ne, M;
|
|
3810
3810
|
if (Ca.value = "", Tr.value = !0, Or.value = !0, he("onButtonClick", e, l), I.value = [], e === "删除")
|
|
3811
|
-
|
|
3811
|
+
ys.confirm("是否确认删除", "温馨提示", {
|
|
3812
3812
|
confirmButtonText: "确认",
|
|
3813
3813
|
cancelButtonText: "取消",
|
|
3814
3814
|
type: "warning"
|
|
@@ -3826,7 +3826,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3826
3826
|
else if (e === "批量删除") {
|
|
3827
3827
|
if (((a = Ta.value) == null ? void 0 : a.length) === 0)
|
|
3828
3828
|
return Xe.warning("请先勾选操作的数据");
|
|
3829
|
-
|
|
3829
|
+
ys.confirm("是否确认删除", "温馨提示", {
|
|
3830
3830
|
confirmButtonText: "确认",
|
|
3831
3831
|
cancelButtonText: "取消",
|
|
3832
3832
|
type: "warning"
|
|
@@ -3900,7 +3900,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3900
3900
|
else if (((ne = r == null ? void 0 : r.extra) == null ? void 0 : ne.type) === "methodButton") {
|
|
3901
3901
|
let S = l;
|
|
3902
3902
|
l === "" && (S = ye(re.value));
|
|
3903
|
-
let t = await
|
|
3903
|
+
let t = await qi(S, X == null ? void 0 : X.value, e, i == null ? void 0 : i.index);
|
|
3904
3904
|
r != null && r.index ? re.value = (M = re.value) == null ? void 0 : M.map((p, h) => (h === (r == null ? void 0 : r.index) && (p = t == null ? void 0 : t[0]), p)) : re.value = t;
|
|
3905
3905
|
}
|
|
3906
3906
|
}, Yo = async (e, l) => {
|
|
@@ -3960,7 +3960,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
3960
3960
|
value: {
|
|
3961
3961
|
pageData: z
|
|
3962
3962
|
}
|
|
3963
|
-
}, ie = await
|
|
3963
|
+
}, ie = await qa.post(c.api, $e, {
|
|
3964
3964
|
headers: {
|
|
3965
3965
|
"Content-Type": "application/json"
|
|
3966
3966
|
}
|
|
@@ -4998,7 +4998,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
4998
4998
|
var N, ne, M, S;
|
|
4999
4999
|
const r = Me("svg-icon"), a = Me("el-popover"), n = Me("el-switch"), o = Me("el-checkbox"), u = Me("el-radio"), s = Me("el-radio-group"), d = Me("el-checkbox-group"), f = Me("el-button"), x = Me("LookComponent"), O = Me("el-icon"), T = Me("el-progress"), B = Me("el-alert"), W = Me("el-table-column"), ue = Me("el-table"), le = Me("el-upload");
|
|
5000
5000
|
return L(), se("div", Zu, [
|
|
5001
|
-
xn.value ? (L(), ze(
|
|
5001
|
+
xn.value ? (L(), ze(Wi, {
|
|
5002
5002
|
id: "excel-table",
|
|
5003
5003
|
pageObj: ee,
|
|
5004
5004
|
showIndex: Be.value,
|
|
@@ -5418,7 +5418,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
5418
5418
|
]),
|
|
5419
5419
|
_: 1
|
|
5420
5420
|
}, 8, ["title", "visible", "width"]),
|
|
5421
|
-
$l.value ? (L(), ze(
|
|
5421
|
+
$l.value ? (L(), ze(Hi, {
|
|
5422
5422
|
key: 2,
|
|
5423
5423
|
fileDataList: oa.value,
|
|
5424
5424
|
onDestroy: xo
|
|
@@ -5432,7 +5432,7 @@ const Du = { style: { display: "flex", gap: "16px", height: "100%" } }, Eu = {
|
|
|
5432
5432
|
"footer-class": "three-dialog-footer"
|
|
5433
5433
|
}, {
|
|
5434
5434
|
default: K(() => [
|
|
5435
|
-
J(
|
|
5435
|
+
J(Xi, {
|
|
5436
5436
|
files: cr.value,
|
|
5437
5437
|
threeData: nl.value
|
|
5438
5438
|
}, null, 8, ["files", "threeData"])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as f, computed as
|
|
2
|
-
import {
|
|
3
|
-
import { b as
|
|
4
|
-
const
|
|
1
|
+
import { ref as f, computed as S, reactive as P } from "vue";
|
|
2
|
+
import { aw as $, ax as B, as as H, g as L, u as j, E as T } from "./index-DL-scY6_.js";
|
|
3
|
+
import { s as M, b as x, L as J, u as z, p as R, c as G, d as Q, M as X } from "./index-CKgsrRZt.js";
|
|
4
|
+
const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMenuPath: g } = M(Y), Z = f(0), _ = S(() => {
|
|
5
5
|
var s, a, t, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -71,14 +71,14 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
71
71
|
type: "buttonUpload",
|
|
72
72
|
disabled: !1
|
|
73
73
|
}
|
|
74
|
-
]), U = f(!1), I = f(!1), N = f(!1), k =
|
|
74
|
+
]), U = f(!1), I = f(!1), N = f(!1), k = S(() => {
|
|
75
75
|
var r, l, n;
|
|
76
76
|
const s = sessionStorage.getItem("authority"), a = JSON.parse(s || ""), t = (r = g.value) != null && r.startsWith("/") ? (l = g.value) == null ? void 0 : l.substring(1) : g.value;
|
|
77
77
|
return Array.isArray(a) ? (N.value = !(a != null && a.includes(`${t}/上传头像`)), (n = C.value) == null ? void 0 : n.map((e) => ({
|
|
78
78
|
...e,
|
|
79
79
|
disabled: !(a != null && a.includes(`${t}/签名`))
|
|
80
80
|
}))) : typeof a == "string" && (a == null ? void 0 : a.toUpperCase()) === "SUPERADMIN" ? C.value : [];
|
|
81
|
-
}), ae =
|
|
81
|
+
}), ae = S(() => [
|
|
82
82
|
{
|
|
83
83
|
key: "signConfig",
|
|
84
84
|
contents: m
|
|
@@ -93,7 +93,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
93
93
|
m.dialogShow = !1;
|
|
94
94
|
}, F = async (s) => {
|
|
95
95
|
var t, r, l, n, e, u, p, d, v;
|
|
96
|
-
const a = await
|
|
96
|
+
const a = await L({
|
|
97
97
|
id: s
|
|
98
98
|
// key: {
|
|
99
99
|
// systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -108,20 +108,20 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
108
108
|
id: (u = (e = a.data.result) == null ? void 0 : e[0]) == null ? void 0 : u.id,
|
|
109
109
|
layer: (v = (d = (p = a.data.result) == null ? void 0 : p[0]) == null ? void 0 : d.key) == null ? void 0 : v.layer
|
|
110
110
|
};
|
|
111
|
-
|
|
111
|
+
A.setLoginUserInfo(y);
|
|
112
112
|
}
|
|
113
113
|
}, V = async (s, a) => {
|
|
114
114
|
var r, l, n;
|
|
115
115
|
const t = G(s);
|
|
116
116
|
t == null || delete t.id;
|
|
117
117
|
try {
|
|
118
|
-
const e = await
|
|
118
|
+
const e = await j({
|
|
119
119
|
id: (r = o.value) == null ? void 0 : r.id,
|
|
120
120
|
value: {
|
|
121
121
|
tableData: t
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
((l = e == null ? void 0 : e.data) == null ? void 0 : l.code) === 200 && (K(), T.success("修改成功"), await F((n = o.value) == null ? void 0 : n.id), await
|
|
124
|
+
((l = e == null ? void 0 : e.data) == null ? void 0 : l.code) === 200 && (K(), T.success("修改成功"), await F((n = o.value) == null ? void 0 : n.id), await A.setLogRecordAsync({
|
|
125
125
|
type: a,
|
|
126
126
|
data: s
|
|
127
127
|
}, g.value));
|
|
@@ -155,7 +155,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
155
155
|
a !== ((r = q.value) == null ? void 0 : r.newtPass) ? t(new Error("两次输入的密码不一致")) : t();
|
|
156
156
|
}, oe = async () => {
|
|
157
157
|
var a, t, r, l, n, e, u, p, d, v;
|
|
158
|
-
const s = await
|
|
158
|
+
const s = await L({
|
|
159
159
|
key: {
|
|
160
160
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
161
161
|
type: "structure",
|
|
@@ -164,7 +164,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
if (((a = s == null ? void 0 : s.data) == null ? void 0 : a.code) === 200 && s.data.result && ((t = s.data.result) == null ? void 0 : t.length) > 0) {
|
|
167
|
-
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p =
|
|
167
|
+
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p = _.value) == null ? void 0 : p.map((i) => i == null ? void 0 : i.prop);
|
|
168
168
|
b.baseCols = y && ((d = y.contents) == null ? void 0 : d.map((i) => ({
|
|
169
169
|
...i,
|
|
170
170
|
isFormColHidden: (w == null ? void 0 : w.includes(i == null ? void 0 : i.prop)) || (i == null ? void 0 : i.label) === "操作"
|
|
@@ -200,7 +200,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
200
200
|
...o.value,
|
|
201
201
|
status: ((r = o.value) == null ? void 0 : r.status) ?? "启用",
|
|
202
202
|
// 目前是超管密码明文传输,非超管用户密码加密传输
|
|
203
|
-
password: ((n = (l = o.value) == null ? void 0 : l.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN" ? s == null ? void 0 : s.confirmNewPass :
|
|
203
|
+
password: ((n = (l = o.value) == null ? void 0 : l.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN" ? s == null ? void 0 : s.confirmNewPass : J(s == null ? void 0 : s.confirmNewPass, (e = c.value) == null ? void 0 : e.publicKey)
|
|
204
204
|
}), a === "保存基本信息" && (t = {
|
|
205
205
|
...o.value,
|
|
206
206
|
...s,
|
|
@@ -310,7 +310,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = R(S), Y = x(L), { activeMe
|
|
|
310
310
|
itemData: ae,
|
|
311
311
|
loading: D,
|
|
312
312
|
refreshLoginUserInfoAsync: F,
|
|
313
|
-
rowContents:
|
|
313
|
+
rowContents: _,
|
|
314
314
|
signPadInfo: m,
|
|
315
315
|
signTypes: k,
|
|
316
316
|
signatureLoading: I,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-DJMikZ6m.cjs"),_=require("./index-C9a63MeW.cjs"),m=require("./index-D7p_01Bm.cjs"),h=require("./index-BHaaYQfC.cjs"),l=require("./index-BDGC3yIw.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-BDGC3yIw.cjs"),_=require("./index-C9a63MeW.cjs"),r=require("./index-V1en5J1m.cjs"),C=require("./index-DjOAHJHD.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 t=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-B4XQbv4q.cjs"),r=require("./index-C9a63MeW.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("vue"),
|
|
1
|
+
"use strict";const f=require("vue"),y=require("./index-DjOAHJHD.cjs"),g=require("./index-BDGC3yIw.cjs"),D=g.useLoginState(g.pinia),{loginUserInfo:u,cryptoInfo:w}=g.storeToRefs(D),V=g.useMenuState(g.pinia),{activeMenuPath:b}=g.storeToRefs(V),P=f.ref(0),R=f.computed(()=>{var s,a,t,r,n,l,e,o,p,d,v;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((p=u.value)==null?void 0:p.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((d=u.value)==null?void 0:d.layer)==="superAdmin"?"启用":((v=u.value)==null?void 0:v.状态)??"未知"}]}),W=()=>{},U=f.ref(!1),h=f.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=f.ref([{label:"签字版",icon:y.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:y.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:y.upload_filled_default,type:"buttonUpload",disabled:!1}]),I=f.ref(!1),T=f.ref(!1),M=f.ref(!1),_=f.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value;return Array.isArray(a)?(M.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),$=f.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:_.value}]),O=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,p,d,v;const a=await y.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const c={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(v=(d=(p=a.data.result)==null?void 0:p[0])==null?void 0:d.key)==null?void 0:v.layer};D.setLoginUserInfo(c)}},q=async(s,a)=>{var r,n,l;const t=g.cloneDeep(s);t==null||delete t.id;try{const e=await y.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),y.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},b.value))}catch{y.ElMessage.error("修改响应失败")}finally{U.value=!1,I.value=!1,T.value=!1}},B=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};I.value=s==="avatarUrl",T.value=s==="signature",await q(r,"图片修改")},m=f.reactive({baseCols:[],otherCols:[]}),K=f.ref([]),k=f.ref(),H=(s,a,t)=>{var l,e,o,p,d,v;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?g.decryptData((p=u.value)==null?void 0:p.password,(d=w==null?void 0:w.value)==null?void 0:d.privateKey):g.resetPassword:r=(v=u.value)==null?void 0:v.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},j=(s,a,t)=>{a?t():t(new Error("请输入密码"))},x=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,p,d,v;const s=await y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const c=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(p=R.value)==null?void 0:p.map(i=>i==null?void 0:i.prop);m.baseCols=c&&((d=c.contents)==null?void 0:d.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(v=c.contents)==null?void 0:v.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:H},{...A,label:"新密码",prop:"newtPass",validator:j},{...A,label:"确认密码",prop:"confirmNewPass",validator:x}];m.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:g.encryptData(s==null?void 0:s.confirmNewPass,(e=w.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},E=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=m.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=E())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=m.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=m.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(p,d,v)=>o.validator(p,d,v),trigger:"blur"}],e),{}),buttonValue:(l=E())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:I,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:O,clickTabButton:G,getUserTableHeadersAsync:J,itemData:$,loading:U,refreshLoginUserInfoAsync:N,rowContents:R,signPadInfo:h,signTypes:_,signatureLoading:T,submitImageAsync:B,tabKey:P,tabsContents:K,tempSignTypes:S,uploadDisabled:M},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=P;
|