ss-component-new 1.2.58 → 1.2.60
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/{animationData-DXxIbbhu.js → animationData-BebPFu1o.js} +7 -7
- package/dist/{animationData-BvbVRbif.cjs → animationData-DZnytjR7.cjs} +1 -1
- package/dist/icons/svg/CopyAddMenu.svg +1 -0
- package/dist/icons/svg/DeleteMenu.svg +1 -0
- package/dist/icons/svg/FixedMenu.svg +1 -0
- package/dist/{index-CtOG7ufE.cjs → index-3F5KjCbv.cjs} +1 -1
- package/dist/{index-CsU8G-8V.cjs → index-4M7aervZ.cjs} +1 -1
- package/dist/{index-sv-oqY1g.cjs → index-BDOF1BPC.cjs} +1 -1
- package/dist/{index-BcADtYL_.js → index-BLXYg9Gs.js} +2 -2
- package/dist/{index-pD3mwSRZ.js → index-BawiQHQM.js} +3 -3
- package/dist/{index-D8k10QH_.js → index-BcGarjC7.js} +1 -1
- package/dist/{index-BXRDRRqm.js → index-BdoWr55z.js} +16 -16
- package/dist/{index-C7eim2Xg.cjs → index-BkJkmkcq.cjs} +1 -1
- package/dist/{index-DWESzuJH.cjs → index-BoVvgAUF.cjs} +1 -1
- package/dist/{index-Dve8XFio.js → index-BqPYebkC.js} +1 -1
- package/dist/index-CF9id9ro.cjs +15 -0
- package/dist/{index-Pm2z90cQ.js → index-CK_bms-m.js} +235 -237
- package/dist/{index-B3T0aV75.cjs → index-CRvxI1hr.cjs} +1 -1
- package/dist/index-Ch_Cm24f.cjs +1 -0
- package/dist/index-Ck3lmJpc.cjs +1 -0
- package/dist/{index-KnJwTfD5.js → index-ClCw6ykP.js} +1 -1
- package/dist/{index-CEJoC_mt.js → index-DG0upY6_.js} +1 -1
- package/dist/{index-BSgn6VaJ.cjs → index-DLiM284R.cjs} +1 -1
- package/dist/{index-Cjgc0qQd.cjs → index-DNnfnoYc.cjs} +1 -1
- package/dist/index-DXiQ5JKb.js +2880 -0
- package/dist/{index-DbPFZ6G4.cjs → index-DZ3LdxA8.cjs} +1 -1
- package/dist/{index-DXywEf2T.cjs → index-DgW_swZz.cjs} +1 -1
- package/dist/{index-DB5ICC1g.cjs → index-DjQZE_pv.cjs} +1 -1
- package/dist/{index-yz8fJAS-.js → index-DmLuog-V.js} +2 -2
- package/dist/{index-Dat4pckj.js → index-Do_4Y2BA.js} +1996 -1998
- package/dist/{index-DY90HBmP.js → index-Dq9ppmM1.js} +2 -2
- package/dist/{index-BOBVwZcw.js → index-DuXxVHLY.js} +1 -1
- package/dist/{index-B1F3pBHx.js → index-Duh5yc_7.js} +5 -5
- package/dist/{index-B7c_flyM.js → index-DunWx7gk.js} +1 -1
- package/dist/{index-BIEZ8mBy.js → index-GbPoL1UR.js} +1 -1
- package/dist/{index-BVeRp1up.cjs → index-MHgc1J83.cjs} +1 -1
- package/dist/{index-DtEv5cbN.cjs → index-RhIBaFyU.cjs} +1 -1
- package/dist/index-aTpWvup6.cjs +1 -0
- package/dist/{index-C9MblG1N.js → index-ajVsMnUs.js} +2078 -2078
- package/dist/{index-18z_azzw.cjs → index-fv_bHYEK.cjs} +1 -1
- package/dist/{index-DeL0abfu.js → index-vPR31-Zk.js} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DF-onWE-.cjs +37 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CrO-VRs5.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DVp62_ZP.js} +10026 -10039
- package/dist/index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-B60JZATD.js +195 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-zIOhigw2.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-QRiq2Csx.cjs → index.vue_vue_type_style_index_1_lang-B5nfyDvl.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-C7vEUq87.js → index.vue_vue_type_style_index_1_lang-CChX6Zmx.js} +1 -1
- package/dist/{main-sfZgV50A.js → main-CIXVap1M.js} +2 -2
- package/dist/{main-D5jwz2N4.cjs → main-e1Q2-l7w.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-Dh84P1q7.cjs → threeModel-UBx8eTMe.cjs} +1 -1
- package/dist/{threeModel-CiQ0_MCL.js → threeModel-cKQrxO3d.js} +2 -2
- package/dist/{threeSceneView-CEqsDIjv.js → threeSceneView-BZenUkiZ.js} +4 -4
- package/dist/{threeSceneView-BrZQbVVN.cjs → threeSceneView-OEime_CV.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CxMMdhCY.cjs → threeSceneViewForCPMPIP-C044dPvs.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BJCIiMxc.js → threeSceneViewForCPMPIP-zeiEQd6_.js} +4 -4
- package/dist/{threeTrackPathView-DlLcECZA.js → threeTrackPathView-CHosxM5O.js} +1 -1
- package/dist/{threeTrackPathView-CfMF19Ax.cjs → threeTrackPathView-DdZ_W87m.cjs} +1 -1
- package/dist/{threeViewerHost-h5fqgQMu.cjs → threeViewerHost-Ba-SeQ6m.cjs} +36 -36
- package/dist/{threeViewerHost-ygbJY0Ej.js → threeViewerHost-Co0U6v_d.js} +2125 -2089
- package/dist/{workpieceTreePanel-CL3OTVsc.cjs → workpieceTreePanel-BPsnvq9b.cjs} +1 -1
- package/dist/{workpieceTreePanel-BNyKCgvg.js → workpieceTreePanel-DimwJSXC.js} +2 -2
- package/package.json +1 -1
- package/public/icons/svg/CopyAddMenu.svg +1 -0
- package/public/icons/svg/DeleteMenu.svg +1 -0
- package/public/icons/svg/FixedMenu.svg +1 -0
- package/dist/index-955jRj-b.js +0 -2852
- package/dist/index-Ckq7fdf5.cjs +0 -1
- package/dist/index-Cs80OG0B.cjs +0 -1
- package/dist/index-DB1DRhDA.cjs +0 -15
- package/dist/index-w1Rrs0CH.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Cdoj3axt.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_0_scoped_92477073_lang-C3WYiC8W.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_92477073_lang-mjTfN6dq.js +0 -212
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as j, a as O } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BL1cikD3.js";
|
|
2
|
-
import {
|
|
2
|
+
import { l as K, m as N } from "./threeViewerHost-Co0U6v_d.js";
|
|
3
3
|
import "./index-DA4aTMB5.js";
|
|
4
4
|
import { c as x } from "./index-DsSA-OiE.js";
|
|
5
5
|
const f = async (n) => {
|
|
@@ -42,9 +42,9 @@ const f = async (n) => {
|
|
|
42
42
|
let n = {};
|
|
43
43
|
const c = await f(["弯管仿真加工分析", "模具筛选安装"]), s = L("输入(加工件)", c), a = T(s), r = a.管长 || 0, i = a.外径 || 0;
|
|
44
44
|
console.log("管长", r, "外径", i, a);
|
|
45
|
-
const g = r, C = i / 2, R = await f(["弯管仿真加工分析", "加工位姿生成"]),
|
|
45
|
+
const g = r, C = i / 2, R = await f(["弯管仿真加工分析", "加工位姿生成"]), E = L("输入", R), b = T(E), d = b.夹持长度 || 0;
|
|
46
46
|
console.log("夹持长度", d, b);
|
|
47
|
-
const
|
|
47
|
+
const k = Number(d), l = {}, m = await f(["弯管仿真加工分析", "仿真动画生成"]);
|
|
48
48
|
m == null || m.forEach((e) => {
|
|
49
49
|
var D, P, y, M, G, w;
|
|
50
50
|
if ((e == null ? void 0 : e.comp) === "Table") {
|
|
@@ -63,16 +63,16 @@ const f = async (n) => {
|
|
|
63
63
|
return n = {
|
|
64
64
|
initialPipeLength: g,
|
|
65
65
|
pipeRadius: C,
|
|
66
|
-
clampLength:
|
|
66
|
+
clampLength: k,
|
|
67
67
|
animationData: A
|
|
68
68
|
}, n;
|
|
69
69
|
}, U = async () => {
|
|
70
70
|
let n = {};
|
|
71
71
|
const c = await f(["双弯管仿真加工分析", "模具筛选安装"]), s = L("输入(加工件)", c), a = T(s), r = a.管长 || 0, i = a.外径 || 0;
|
|
72
72
|
console.log("管长", r, "外径", i, a);
|
|
73
|
-
const g = r, C = i / 2, R = await f(["双弯管仿真加工分析", "加工工艺生成"]),
|
|
73
|
+
const g = r, C = i / 2, R = await f(["双弯管仿真加工分析", "加工工艺生成"]), E = L("输入", R), b = T(E), d = b.夹持位置 || 0;
|
|
74
74
|
console.log("夹持长度", d, b);
|
|
75
|
-
const
|
|
75
|
+
const k = Number(d), l = {}, m = await f(["双弯管仿真加工分析", "仿真动画生成"]);
|
|
76
76
|
m == null || m.forEach((e) => {
|
|
77
77
|
var D, P, y, M, G, w;
|
|
78
78
|
if ((e == null ? void 0 : e.comp) === "Table") {
|
|
@@ -91,7 +91,7 @@ const f = async (n) => {
|
|
|
91
91
|
return n = {
|
|
92
92
|
initialPipeLength: g,
|
|
93
93
|
pipeRadius: C,
|
|
94
|
-
clampLength:
|
|
94
|
+
clampLength: k,
|
|
95
95
|
animationData: A
|
|
96
96
|
}, n;
|
|
97
97
|
}, X = async (n) => await K(n), Y = async (n) => await N(n), W = async (n) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CHavLvPk.cjs"),x=require("./threeViewerHost-
|
|
1
|
+
"use strict";const k=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CHavLvPk.cjs"),x=require("./threeViewerHost-Ba-SeQ6m.cjs");require("./index-B-zqezDR.cjs");const O=require("./index-C8qRkCgn.cjs"),g=async e=>{const o=e.join("/"),c=sessionStorage.getItem("systemKey");return await k.getItemData(o,c,"")},B={TABLE:"Table",FROM:"Form"},F=(e,o)=>o==null?void 0:o.find(s=>{const{name:a}=s;return a===e}),S=(e,o="")=>{if(!e||e.length===0)return[];const c=[];for(let s=0;s<e.length;s++){const a=e==null?void 0:e[s],i=a==null?void 0:a.children;if(!i||i.length===0){a._parent=o,c.push(a);continue}const r=S(i,a.name);c.push(...r)}return c},j=(e,o)=>!e||!e.length?[]:e.filter(s=>{const{comp:a}=s;return a===o}),L=e=>{var a;const o=e==null?void 0:e.compData,c=(a=o==null?void 0:o.find(i=>{const{key:r}=i;return r==="formContent"}))==null?void 0:a.contents,s={};return c==null||c.forEach(i=>{const{prop:r,value:f}=i;s[r]=f}),s},X=async()=>{let e={};const c=await g(["弯管仿真加工分析","模具筛选安装"]),s=F("输入(加工件)",c),a=L(s),i=a.管长||0,r=a.外径||0;console.log("管长",i,"外径",r,a);const f=i,C=r/2,_=await g(["弯管仿真加工分析","加工位姿生成"]),R=F("输入",_),d=L(R),D=d.夹持长度||0;console.log("夹持长度",D,d);const A=Number(D),l={},u=await g(["弯管仿真加工分析","仿真动画生成"]);u==null||u.forEach(n=>{var b,y,M,P,G,T;if((n==null?void 0:n.comp)==="Table"){let w=[],m=(M=(y=(b=n==null?void 0:n.compData)==null?void 0:b.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:y.contents)==null?void 0:M.map(t=>t==null?void 0:t.label),h=(T=(G=(P=n==null?void 0:n.compData)==null?void 0:P.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:G.contents)==null?void 0:T.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));h==null||h.forEach(t=>{w.push(k.getValueToObjectValue(t,m==null?void 0:m.filter(p=>p!=="操作")))}),l[n.name]=w,l[n.name+"Content"]=n}});const E=O.cloneDeep(l)||[];return e={initialPipeLength:f,pipeRadius:C,clampLength:A,animationData:E},e},Y=async()=>{let e={};const c=await g(["双弯管仿真加工分析","模具筛选安装"]),s=F("输入(加工件)",c),a=L(s),i=a.管长||0,r=a.外径||0;console.log("管长",i,"外径",r,a);const f=i,C=r/2,_=await g(["双弯管仿真加工分析","加工工艺生成"]),R=F("输入",_),d=L(R),D=d.夹持位置||0;console.log("夹持长度",D,d);const A=Number(D),l={},u=await g(["双弯管仿真加工分析","仿真动画生成"]);u==null||u.forEach(n=>{var b,y,M,P,G,T;if((n==null?void 0:n.comp)==="Table"){let w=[],m=(M=(y=(b=n==null?void 0:n.compData)==null?void 0:b.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:y.contents)==null?void 0:M.map(t=>t==null?void 0:t.label),h=(T=(G=(P=n==null?void 0:n.compData)==null?void 0:P.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:G.contents)==null?void 0:T.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));h==null||h.forEach(t=>{w.push(k.getValueToObjectValue(t,m==null?void 0:m.filter(p=>p!=="操作")))}),l[n.name]=w,l[n.name+"Content"]=n}});const E=O.cloneDeep(l)||[];return e={initialPipeLength:f,pipeRadius:C,clampLength:A,animationData:E},e},Z=async e=>await x.downloadFile(e),K=async e=>await x.readCsv(e),N=async e=>{const o=await Z(e);return await K(o)};exports.compType=B;exports.fetchDoubleRobotAnimationData=Y;exports.fetchSingleRobotAnimationData=X;exports.flattenGroups=S;exports.getFormData=L;exports.getMenuData=g;exports.getSpecifiedTypeGroups=j;exports.getTargetGroup=F;exports.initXYZBCList=N;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1763100249237" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3686" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M813.098667 638.464a42.666667 42.666667 0 0 0 42.666666-42.666667v-189.866666a21.333333 21.333333 0 0 1 21.333334-21.333334h42.666666a21.333333 21.333333 0 0 1 21.333334 21.333334v275.2a42.666667 42.666667 0 0 1-42.666667 42.666666H341.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V128a42.666667 42.666667 0 0 1 42.666666-42.666667h276.48a21.333333 21.333333 0 0 1 21.333334 21.333334v42.666666a21.333333 21.333333 0 0 1-21.333334 21.333334H426.666667a42.666667 42.666667 0 0 0-42.666667 42.666666v382.464a42.666667 42.666667 0 0 0 42.666667 42.666667h386.432z m-213.333334 213.333333a42.666667 42.666667 0 0 0 42.666667-42.666666v-85.12a42.666667 42.666667 0 1 1 85.333333 0v170.453333a42.666667 42.666667 0 0 1-42.666666 42.666667H128a42.666667 42.666667 0 0 1-42.666667-42.666667V341.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h170.581333a42.666667 42.666667 0 1 1 0 85.333333H213.333333a42.666667 42.666667 0 0 0-42.666666 42.666667v382.464a42.666667 42.666667 0 0 0 42.666666 42.666666h386.432zM724.053333 212.906667V106.666667a21.333333 21.333333 0 0 1 21.333334-21.333334h42.666666a21.333333 21.333333 0 0 1 21.333334 21.333334v106.24h107.52a21.333333 21.333333 0 0 1 21.333333 21.333333v42.666667a21.333333 21.333333 0 0 1-21.333333 21.333333h-107.52v107.690667a21.333333 21.333333 0 0 1-21.333334 21.333333h-42.666666a21.333333 21.333333 0 0 1-21.333334-21.333333V298.24H618.666667a21.333333 21.333333 0 0 1-21.333334-21.333333v-42.666667a21.333333 21.333333 0 0 1 21.333334-21.333333h105.386666z" p-id="3687"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1763100078816" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3537" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M384 256h256V213.333333a42.666667 42.666667 0 0 0-42.666667-42.666666h-170.666666a42.666667 42.666667 0 0 0-42.666667 42.666666v42.666667zM298.666667 256V128a42.666667 42.666667 0 0 1 42.666666-42.666667h341.333334a42.666667 42.666667 0 0 1 42.666666 42.666667v128h149.333334a21.333333 21.333333 0 0 1 21.333333 21.333333v42.666667a21.333333 21.333333 0 0 1-21.333333 21.333333h-725.333334a21.333333 21.333333 0 0 1-21.333333-21.333333v-42.666667a21.333333 21.333333 0 0 1 21.333333-21.333333H298.666667z m384 597.333333a42.666667 42.666667 0 0 0 42.666666-42.666666v-362.666667a21.333333 21.333333 0 0 1 21.333334-21.333333h42.666666a21.333333 21.333333 0 0 1 21.333334 21.333333V896a42.666667 42.666667 0 0 1-42.666667 42.666667H256a42.666667 42.666667 0 0 1-42.666667-42.666667V448a21.333333 21.333333 0 0 1 21.333334-21.333333h42.666666a21.333333 21.333333 0 0 1 21.333334 21.333333V810.666667a42.666667 42.666667 0 0 0 42.666666 42.666666h341.333334z m-106.666667-426.666666h42.666667a21.333333 21.333333 0 0 1 21.333333 21.333333v298.666667a21.333333 21.333333 0 0 1-21.333333 21.333333h-42.666667a21.333333 21.333333 0 0 1-21.333333-21.333333v-298.666667a21.333333 21.333333 0 0 1 21.333333-21.333333z m-170.666667 0h42.666667a21.333333 21.333333 0 0 1 21.333333 21.333333v298.666667a21.333333 21.333333 0 0 1-21.333333 21.333333h-42.666667a21.333333 21.333333 0 0 1-21.333333-21.333333v-298.666667a21.333333 21.333333 0 0 1 21.333333-21.333333z" p-id="3538"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1763099754662" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3388" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M213.333333 810.666667a42.666667 42.666667 0 0 0 42.666667 42.666666h512a42.666667 42.666667 0 0 0 42.666667-42.666666v-191.36a21.333333 21.333333 0 0 1 21.333333-21.333334h42.666667a21.333333 21.333333 0 0 1 21.333333 21.333334V896a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V128a42.666667 42.666667 0 0 1 42.666667-42.666667h682.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v108.16a21.333333 21.333333 0 0 1-21.333333 21.333333h-42.666667a21.333333 21.333333 0 0 1-21.333333-21.333333V213.333333a42.666667 42.666667 0 0 0-42.666667-42.666666H256a42.666667 42.666667 0 0 0-42.666667 42.666666v597.333334z m285.994667 0.426666l-101.674667-0.853333a12.8 12.8 0 0 1-12.672-12.714667L384 695.850667a12.8 12.8 0 0 1 3.754667-9.173334l288.853333-288.853333a12.8 12.8 0 0 1 18.090667 0l102.570666 102.613333a12.8 12.8 0 0 1 0 18.090667l-288.853333 288.853333a12.8 12.8 0 0 1-9.130667 3.754667z m328.192-340.864L724.906667 367.658667a12.8 12.8 0 0 1 0-18.090667l42.24-42.24a12.8 12.8 0 0 1 18.133333 0l102.570667 102.570667a12.8 12.8 0 0 1 0 18.133333l-42.24 42.24a12.8 12.8 0 0 1-18.090667 0z" p-id="3389"></path></svg>
|
|
@@ -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-Ch_Cm24f.cjs"),c=require("./index-C8qRkCgn.cjs"),l=require("./index-CX2C-kjD.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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-CF3dfQ01.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-CF3dfQ01.cjs"),_=require("./index-BDOF1BPC.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CHavLvPk.cjs");const h=require("./index-CF9id9ro.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-6A1xf0Gs.cjs"),B=require("./threeViewerHost-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-6A1xf0Gs.cjs"),B=require("./threeViewerHost-Ba-SeQ6m.cjs"),C=require("./index-C8qRkCgn.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-CF9id9ro.cjs"),_=require("./index-BpPyaNFa.cjs"),V={class:"avatar-model-wrap"},N={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:w}){const s=i,u=w,m=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),h=e.ref(""),b=e.ref();e.watch(()=>{var o;return(o=s.userInfo)==null?void 0:o.头像},o=>{h.value=m.value+"/"+o},{immediate:!0});const S=async()=>{if(!(s!=null&&s.disabled))try{const o=await B.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});b.value=f}catch(o){throw new Error(o)}},k=async o=>{var f,g,t,n,c;try{const r=await B.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(h.value=m.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,u("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},y=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(I.ssAvatar,{avatarUrl:h.value,avatarBlob:b.value,size:i.size,onClickAvatar:S,onSubmitImage:k,onDeleteImage:y,clickStop:s==null?void 0:s.clickStop},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=i.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=i.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),i.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=x._export_sfc(E,[["__scopeId","data-v-747bdfb7"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:w}){const s=i,u=e.ref({}),m=e.ref([]),d=w,h=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},b=()=>{u.value.dialogShow=!1,d("beforeDestroy")},S=e.computed(()=>"http://222.92.178.198:62001"),k=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await B.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){C.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=k(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>s==null?void 0:s.itemData,t=>{var c,r,l,v;o.value="",(c=u.value)!=null&&c.dialogShow&&(u.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),u.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,m.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:u.value,onBeforeDestroy:b,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=u.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:S.value+"/"+((p=i.userInfo)==null?void 0:p.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(_.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>{var p;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(p=a.label)!=null&&p.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(_.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(_.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -1,11 +1,11 @@
|
|
|
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-ajVsMnUs.js";
|
|
3
3
|
import { p as ie, s as le, c as R, E as ea } from "./index-DsSA-OiE.js";
|
|
4
4
|
import { a as me, u as qe, E as aa } from "./index-Ce_gZ72y.js";
|
|
5
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-mkPvdkqz.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-
|
|
8
|
+
import { a as da, b as pa } from "./index-Do_4Y2BA.js";
|
|
9
9
|
import { s as va } from "./index-CBHRkOa4.js";
|
|
10
10
|
const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
|
|
11
11
|
__name: "index",
|
|
@@ -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-
|
|
2
|
+
import { S as x } from "./index-ClCw6ykP.js";
|
|
3
|
+
import { s as B } from "./index-DXiQ5JKb.js";
|
|
4
4
|
import { s as F } from "./index-CBHRkOa4.js";
|
|
5
|
-
import { c as y } from "./index-
|
|
5
|
+
import { c as y } from "./index-Do_4Y2BA.js";
|
|
6
6
|
import { u as S } from "./index-Ce_gZ72y.js";
|
|
7
7
|
import { p as I, s as N } from "./index-DsSA-OiE.js";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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 i, createVNode as f } from "vue";
|
|
2
|
-
import { s as h } from "./index-
|
|
2
|
+
import { s as h } from "./index-DXiQ5JKb.js";
|
|
3
3
|
import { g as C, s as c } from "./index-DsSA-OiE.js";
|
|
4
4
|
import { ad as k, ac as _, a as S, u as A, ae as T } from "./index-Ce_gZ72y.js";
|
|
5
5
|
const B = S(), { itemData: I } = c(B), u = l(0), P = l([
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as b } from "./index.
|
|
2
|
-
import { s as K } from "./index.
|
|
3
|
-
import { resolveComponent as r, createElementBlock as s, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as i, createElementVNode as d, normalizeStyle as w, toDisplayString as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-B60JZATD.js";
|
|
2
|
+
import { s as K } from "./index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-B60JZATD.js";
|
|
3
|
+
import { resolveComponent as r, createElementBlock as s, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as i, createElementVNode as d, normalizeStyle as w, toDisplayString as _, renderList as c, createTextVNode as v, createBlock as B, resolveDynamicComponent as m } from "vue";
|
|
4
|
+
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const L = ["title"], V = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "menu-operate-icon"
|
|
8
8
|
}, $ = { class: "menu-config-wrap" }, N = ["onClick"], S = { class: "module-dialog-content" };
|
|
9
9
|
function E(t, a, F, O, R, T) {
|
|
10
10
|
var C;
|
|
11
|
-
const g = r("svg-icon"),
|
|
11
|
+
const g = r("svg-icon"), y = r("el-popover"), M = r("ss-menu"), f = r("el-button"), D = r("ss-dialog");
|
|
12
12
|
return n(), s(p, null, [
|
|
13
|
-
l(
|
|
13
|
+
l(M, {
|
|
14
14
|
class: "vertical-menu",
|
|
15
15
|
mode: t.mode,
|
|
16
16
|
menuList: t.renderMenuList,
|
|
@@ -26,12 +26,12 @@ function E(t, a, F, O, R, T) {
|
|
|
26
26
|
title: e.title,
|
|
27
27
|
class: "menu-title",
|
|
28
28
|
style: w({ marginRight: e != null && e.config && ((u = e == null ? void 0 : e.config) == null ? void 0 : u.length) > 0 ? "25px" : "1px" })
|
|
29
|
-
},
|
|
29
|
+
}, _(e.title ?? ""), 13, L),
|
|
30
30
|
e != null && e.config && ((h = e == null ? void 0 : e.config) == null ? void 0 : h.length) > 0 ? (n(), s("span", V, [
|
|
31
|
-
l(
|
|
31
|
+
l(y, {
|
|
32
32
|
title: "",
|
|
33
33
|
placement: "bottom-start",
|
|
34
|
-
trigger: "
|
|
34
|
+
trigger: "hover",
|
|
35
35
|
"popper-class": "menu-operate-popover"
|
|
36
36
|
}, {
|
|
37
37
|
reference: i(() => [
|
|
@@ -39,7 +39,7 @@ function E(t, a, F, O, R, T) {
|
|
|
39
39
|
]),
|
|
40
40
|
default: i(() => [
|
|
41
41
|
d("div", $, [
|
|
42
|
-
(n(!0), s(p, null,
|
|
42
|
+
(n(!0), s(p, null, c(e == null ? void 0 : e.config, (o) => (n(), s("div", {
|
|
43
43
|
class: "menu-config-item",
|
|
44
44
|
key: o.id,
|
|
45
45
|
onClick: (z) => t.clickMenuIcon(e, o)
|
|
@@ -48,7 +48,7 @@ function E(t, a, F, O, R, T) {
|
|
|
48
48
|
name: o == null ? void 0 : o.operateIcon,
|
|
49
49
|
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
50
50
|
}, null, 8, ["name"]),
|
|
51
|
-
d("span", null,
|
|
51
|
+
d("span", null, _(o == null ? void 0 : o.operateType), 1)
|
|
52
52
|
], 8, N))), 128))
|
|
53
53
|
])
|
|
54
54
|
]),
|
|
@@ -78,10 +78,10 @@ function E(t, a, F, O, R, T) {
|
|
|
78
78
|
}, {
|
|
79
79
|
default: i(() => [
|
|
80
80
|
d("div", S, [
|
|
81
|
-
(n(!0), s(p, null,
|
|
81
|
+
(n(!0), s(p, null, c(t.dialogRenderComps, (e) => (n(), s("div", {
|
|
82
82
|
key: e.id
|
|
83
83
|
}, [
|
|
84
|
-
(n(), B(
|
|
84
|
+
(n(), B(m(t.getComponents((e == null ? void 0 : e.comp) ?? "Input")), {
|
|
85
85
|
itemData: e == null ? void 0 : e.compData,
|
|
86
86
|
key: e == null ? void 0 : e.id,
|
|
87
87
|
content: (e == null ? void 0 : e.contents) ?? [],
|
|
@@ -98,7 +98,7 @@ function E(t, a, F, O, R, T) {
|
|
|
98
98
|
onClick: t.beforeDialogDestroy
|
|
99
99
|
}, {
|
|
100
100
|
default: i(() => a[1] || (a[1] = [
|
|
101
|
-
|
|
101
|
+
v("取消")
|
|
102
102
|
])),
|
|
103
103
|
_: 1,
|
|
104
104
|
__: [1]
|
|
@@ -108,7 +108,7 @@ function E(t, a, F, O, R, T) {
|
|
|
108
108
|
onClick: t.clickSubmitForm
|
|
109
109
|
}, {
|
|
110
110
|
default: i(() => a[2] || (a[2] = [
|
|
111
|
-
|
|
111
|
+
v(" 确认 ")
|
|
112
112
|
])),
|
|
113
113
|
_: 1,
|
|
114
114
|
__: [2]
|
|
@@ -119,7 +119,7 @@ function E(t, a, F, O, R, T) {
|
|
|
119
119
|
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
120
120
|
], 64);
|
|
121
121
|
}
|
|
122
|
-
const G = /* @__PURE__ */
|
|
122
|
+
const G = /* @__PURE__ */ I(b, [["render", E], ["__scopeId", "data-v-b00cbae2"]]);
|
|
123
123
|
export {
|
|
124
124
|
G as default,
|
|
125
125
|
K as setComponent
|
|
@@ -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-CHavLvPk.cjs");const c=require("./index-C8qRkCgn.cjs"),r=require("./index-CX2C-kjD.cjs"),i=require("./index-
|
|
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-CHavLvPk.cjs");const c=require("./index-C8qRkCgn.cjs"),r=require("./index-CX2C-kjD.cjs"),i=require("./index-Ch_Cm24f.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),m=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},S={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const k=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:m,handleQueryChange:f,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",v,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-DwblLa_P.cjs"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-DwblLa_P.cjs"),r=require("./index-Ch_Cm24f.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as g, toDisplayString as _, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
-
import { s as E } from "./index-
|
|
2
|
+
import { s as E } from "./index-DXiQ5JKb.js";
|
|
3
3
|
import { u as F, ag as x } from "./index-Ce_gZ72y.js";
|
|
4
4
|
import { s as O, c as H } from "./index-DsSA-OiE.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|