ss-component-new 1.1.845 → 1.1.847
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-DWjzMsPK.cjs → animationData-BgX6Er-1.cjs} +1 -1
- package/dist/{animationData-BxAr-6-p.js → animationData-YsYeEiH7.js} +1 -1
- package/dist/{index-eY0tnP0h.js → index-1B3C6V_V.js} +2 -2
- package/dist/{index-D3L1lkjO.cjs → index-3jZeUI-Q.cjs} +1 -1
- package/dist/{index-CUURJnA-.js → index-43HNCrUG.js} +1 -1
- package/dist/{index-DRlhPwM_.js → index-8XGEhrPp.js} +1 -1
- package/dist/{index-B93vFaT1.js → index-8k7e7cPp.js} +4 -4
- package/dist/{index-DUPyPwa7.js → index-9i9LK1_n.js} +1 -1
- package/dist/{index-Bm-o6SV_.cjs → index-B8RxeFEf.cjs} +1 -1
- package/dist/{index-Sgu0R6hG.js → index-BNJtKJKO.js} +2 -2
- package/dist/{index-D8Cga5tO.cjs → index-BOCgN1Bo.cjs} +1 -1
- package/dist/{index-Ddh_E8N7.cjs → index-BQeTJdx5.cjs} +1 -1
- package/dist/{index-Cr-GViCR.cjs → index-BcsmFLLI.cjs} +1 -1
- package/dist/{index-D68WM1vu.cjs → index-Bh8_qhtH.cjs} +1 -1
- package/dist/{index-CaKbpwo4.js → index-BkyMn0Tu.js} +1 -1
- package/dist/{index-BIh2aMIE.js → index-Blv_lIHF.js} +9 -9
- package/dist/{index-DDgbCNhH.js → index-BojRVpm2.js} +1 -1
- package/dist/{index-AFiiCqtk.js → index-BsH8VEx4.js} +2 -2
- package/dist/{index-CbMRSdv1.cjs → index-Bx7NxBSd.cjs} +1 -1
- package/dist/{index-BaW8DoPG.js → index-Byx3khxX.js} +3 -3
- package/dist/{index-Q3jirmJA.cjs → index-BzHMfIYU.cjs} +1 -1
- package/dist/{index-CubTL02m.js → index-BzqYLTSj.js} +1 -1
- package/dist/{index-DCnlWxzs.js → index-C8UB0H49.js} +171 -168
- package/dist/{index-BsTNHpkR.cjs → index-CDQKGNy0.cjs} +1 -1
- package/dist/{index-4LeNiTH5.js → index-CIhzwUQG.js} +3074 -3074
- package/dist/{index-CJ-f6BX8.cjs → index-CIr0f-gC.cjs} +1 -1
- package/dist/{index-Fcc5PcBS.cjs → index-CKKo4H2b.cjs} +1 -1
- package/dist/{index-BeERZJ-k.js → index-CR9ZjsjN.js} +2 -2
- package/dist/{index-FKno3BfD.js → index-CUKXM_t3.js} +2 -2
- package/dist/{index-C24r6agH.cjs → index-CaOwMTaz.cjs} +37 -37
- package/dist/{index-D-ioNLNt.cjs → index-CfjnKRS9.cjs} +1 -1
- package/dist/{index-C3HiYW1Z.js → index-CfljY_UD.js} +1 -1
- package/dist/{index-CFkE2PjB.js → index-CmdYJJ25.js} +1 -1
- package/dist/{index-DyIorPg1.js → index-CqyjYhSl.js} +2 -2
- package/dist/{index-CY24AmyC.js → index-CrZurmGO.js} +3 -3
- package/dist/{index-Bs3l4ix5.cjs → index-Crf0U5FN.cjs} +1 -1
- package/dist/{index-DDc7fzfG.cjs → index-CxaB30SI.cjs} +1 -1
- package/dist/{index-BlPDiJyE.cjs → index-D9q0qrYK.cjs} +1 -1
- package/dist/{index-ZNivRkqq.js → index-DXsBEVlq.js} +1 -1
- package/dist/{index-DfkzO0Ad.cjs → index-DYd-mHP4.cjs} +1 -1
- package/dist/{index-D93XRQY8.cjs → index-DfhfwVvG.cjs} +1 -1
- package/dist/{index-CiRhwS_j.cjs → index-DgVx2L_y.cjs} +1 -1
- package/dist/{index-DNSDRA6J.cjs → index-DrzEQ6tR.cjs} +1 -1
- package/dist/{index-D1twM50f.js → index-DucUmIMk.js} +4 -4
- package/dist/{index-CPE5Fkq5.js → index-DwMi58IW.js} +1 -1
- package/dist/{index-DsC2m7Zw.cjs → index-DwXI0Daa.cjs} +1 -1
- package/dist/{index-D_-5vHQf.js → index-DzOjc1-d.js} +2 -2
- package/dist/{index-GmJ-KegJ.js → index-EpsBf9Lv.js} +3 -3
- package/dist/{index-BDlYY2Ar.js → index-FZTTbK-C.js} +3 -3
- package/dist/{index-DpedsNEk.cjs → index-HbSIQeBZ.cjs} +1 -1
- package/dist/{index-BWQaNr2u.js → index-JU2VpK3o.js} +4 -4
- package/dist/index-QtKPtKor.js +6518 -0
- package/dist/{index-k6-3zSmI.cjs → index-XSvF4Ync.cjs} +1 -1
- package/dist/{index-aBD21AlO.cjs → index-cxfnfooa.cjs} +1 -1
- package/dist/{index-CSVx3YMj.cjs → index-gjhaKQ1T.cjs} +1 -1
- package/dist/index-lE3FvWZc.cjs +1 -0
- package/dist/{index-ClPJPnaM.cjs → index-pnvUiqb1.cjs} +1 -1
- package/dist/{index-DY9qZBSn.cjs → index-qNFWQxvV.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CaH61CFG.cjs → index.vue_vue_type_script_setup_true_lang-Bda1MsnE.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-C5EwdwR8.js → index.vue_vue_type_script_setup_true_lang-DfhGDoPE.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DqgJJry7.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B385SP_p.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CwI4Xdqc.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAZKwqe9.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_3e6df338_lang-C7Pk3ghA.js → index.vue_vue_type_style_index_0_scoped_3e6df338_lang-BGtK2eS5.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_3e6df338_lang-CtlpXrLP.cjs → index.vue_vue_type_style_index_0_scoped_3e6df338_lang-CLuXAtYb.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang--NwKd2Ea.js → index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-BWGPleNY.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-D0rISzmz.cjs → index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-CYyEA2gS.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_1_lang-83PZGLk-.cjs +32 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-C_sR8MxI.js → index.vue_vue_type_style_index_1_lang-BrHOHvXf.js} +1971 -1923
- package/dist/{main-CupN_3-k.js → main-DGrgF0Uw.js} +3 -3
- package/dist/{main-DOsvYHuh.cjs → main-hL4uwLPN.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-CQGowVjM.js → threeModel-D-MFZGTn.js} +1 -1
- package/dist/{threeModel-Biqq9KTU.cjs → threeModel-Oi2Hoyl5.cjs} +1 -1
- package/dist/{threeSceneView-DSOJrCM9.cjs → threeSceneView-5pux2VCG.cjs} +1 -1
- package/dist/{threeSceneView-HFs4SI9O.js → threeSceneView-BTWaH-oM.js} +5 -5
- package/dist/{threeViewerHost-DmzwCkt2.cjs → threeViewerHost-DMzu3318.cjs} +1 -1
- package/dist/{threeViewerHost-c-A3gx-O.js → threeViewerHost-Yebh0TIZ.js} +2 -2
- package/package.json +1 -1
- package/dist/index-DhZIkI-p.cjs +0 -1
- package/dist/index-DpinjL5G.js +0 -6515
- package/dist/index.vue_vue_type_style_index_1_lang-BiYQqh7R.cjs +0 -32
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const l=require("./index.vue_vue_type_style_index_1_lang-83PZGLk-.cjs"),K=require("./index-DGKTZoR7.cjs"),T=async()=>{const m="弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工位姿生成`,f,"");let _=["夹持长度"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持长度;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D},$=async()=>{const m="双弯管仿真加工分析";let D={};const f=sessionStorage.getItem("systemKey"),s=await l.getItemData(`${m}/管件解析`,f,"");let L=["管长","外径"],r={};s==null||s.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{L.includes(a==null?void 0:a.key)&&(r[a.key]=a.value)}))}))});const d=r.管长,k=r.外径;console.log("管长",d,"外径",k,r);const R=d,x=k/2,p=await l.getItemData(`${m}/加工位姿生成`,f,"");let _=["夹持长度"],h={};p==null||p.forEach(e=>{var t;(e==null?void 0:e.comp)==="Form"&&((t=e==null?void 0:e.compData)==null||t.forEach(n=>{var c;(n==null?void 0:n.key)==="formContent"&&((c=n==null?void 0:n.contents)==null||c.forEach(a=>{_.includes(a==null?void 0:a.key)&&(h[a.key]=a.value)}))}))});const E=h.夹持长度;console.log("夹持长度",E,h);const w=Number(E),y={},u=await l.getItemData(`${m}/仿真动画生成`,f,"");u==null||u.forEach(e=>{var t,n,c,a,F,C;if((e==null?void 0:e.comp)==="Table"){let I=[],g=(c=(n=(t=e==null?void 0:e.compData)==null?void 0:t.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:n.contents)==null?void 0:c.map(o=>o==null?void 0:o.label),b=(C=(F=(a=e==null?void 0:e.compData)==null?void 0:a.find(o=>(o==null?void 0:o.key)==="tableContents"))==null?void 0:F.contents)==null?void 0:C.map(o=>(o=o==null?void 0:o.filter(i=>!(i!=null&&i.id)),o));b==null||b.forEach(o=>{I.push(l.getValueToObjectValue(o,g==null?void 0:g.filter(i=>i!=="操作")))}),y[e.name]=I,y[e.name+"Content"]=e}});const A=K.cloneDeep(y);return D={initialPipeLength:R,pipeRadius:x,clampLength:w,animationData:A},D};exports.fetchDoubleRobotAnimationData=$;exports.fetchSingleRobotAnimationData=T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as b, createVNode as m } from "vue";
|
|
2
|
-
import { s as d } from "./index-
|
|
3
|
-
import { g as f, c as _ } from "./index-
|
|
2
|
+
import { s as d } from "./index-CIhzwUQG.js";
|
|
3
|
+
import { g as f, c as _ } from "./index-CfljY_UD.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
6
6
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-CYyEA2gS.cjs"),e=require("vue"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C=["title"],f={key:0,class:"menu-operate-icon"},u={class:"menu-config-wrap"},k=["onClick"],h={class:"module-dialog-content"};function v(o,l,B,V,N,M){const i=e.resolveComponent("svg-icon"),d=e.resolveComponent("el-popover"),c=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var s,a;return[e.createVNode(i,{name:t.icon??((t==null?void 0:t.level)<=2?"default":""),class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((s=t==null?void 0:t.config)==null?void 0:s.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,C),t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(d,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,k))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const y=_._export_sfc(p._sfc_main,[["render",v],["__scopeId","data-v-86d2b6b8"]]);exports.default=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, watch as b } from "vue";
|
|
2
2
|
import { g as y, s as d } from "./index-DWHN8dvC.js";
|
|
3
|
-
import { aA as g, ay as D, a as m } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { aA as g, ay as D, a as m } from "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
4
4
|
const f = m(), { itemData: i } = d(f), c = n(0), h = n([
|
|
5
5
|
{
|
|
6
6
|
label: "机构名称",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as l, watch as y } from "vue";
|
|
2
2
|
import { g as b, s as d } from "./index-DWHN8dvC.js";
|
|
3
|
-
import { aA as g, ay as m, a as D } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { aA as g, ay as m, a as D } from "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
4
4
|
const f = D(), { itemData: h } = d(f), c = l(0), k = l([
|
|
5
5
|
{
|
|
6
6
|
label: "机构名称",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as r, onMounted as n, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B385SP_p.js";
|
|
4
4
|
import { s as i } from "./index-DWHN8dvC.js";
|
|
5
|
-
import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as l } from "./index-
|
|
7
|
-
import { S as d } from "./index-
|
|
5
|
+
import { u as p, az as u } from "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
6
|
+
import { s as l } from "./index-CIhzwUQG.js";
|
|
7
|
+
import { S as d } from "./index-43HNCrUG.js";
|
|
8
8
|
const _ = { class: "role-wrapper" }, k = /* @__PURE__ */ o({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(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-DwMi58IW.js";
|
|
3
3
|
import { c as s } from "./index-DWHN8dvC.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("vue"),u=require("./index-DGKTZoR7.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const n=require("vue"),u=require("./index-DGKTZoR7.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-83PZGLk-.cjs"),d=r.useModelComp(),{itemData:g}=u.storeToRefs(d),y=n.ref(0),D=n.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},s=n.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:[]}]),i=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,y.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await r.handleSubmitAsync(u.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let c={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((p,b)=>{c[`a${b}`]=p}),c}else return{...t.tableData,id:t.id}})},C={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};n.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(s.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const _=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:i,handleQueryChange:f,onButtonClick:h,onDoubleClick:m,pageData:s,queryFormData:D,structureId:y,tempPostPageData:C},Symbol.toStringTag,{value:"Module"}));exports.State=_;
|
|
@@ -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
|
-
import { S as m } from "./index-
|
|
3
|
-
import { s as _ } from "./index-
|
|
2
|
+
import { S as m } from "./index-CfljY_UD.js";
|
|
3
|
+
import { s as _ } from "./index-CIhzwUQG.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 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-Bda1MsnE.cjs"),k=require("./threeViewerHost-DMzu3318.cjs"),C=require("./index-DGKTZoR7.cjs"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V=require("./index-D9q0qrYK.cjs"),S=require("./index-BpPyaNFa.cjs"),A={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:{}}},emits:["submitImage","deleteImage"],setup(s,{emit:y}){const u=s,i=y,m=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),h=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{h.value=m.value+"/"+o},{immediate:!0});const w=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});_.value=f}catch(o){throw new Error(o)}},B=async o=>{var f,g,t,n,c;try{const r=await k.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,i("submitImage",d.value))}catch(r){C.ElMessage.error(r)}},b=async()=>{try{if(!h.value)return}catch(o){C.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",A,[e.createVNode(I._sfc_main,{avatarUrl:h.value,avatarBlob:_.value,size:s.size,onClickAvatar:w,onSubmitImage:B,onDeleteImage:b},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=s.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=s.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||"未知"),1)]}),_:1},8,["avatarUrl","avatarBlob","size"]),s.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",N,e.toDisplayString(((g=s.userInfo)==null?void 0:g.account)||((t=s.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),U=x._export_sfc(E,[["__scopeId","data-v-0bab4582"]]),T=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(s,{emit:y}){const u=s,i=e.ref({}),m=e.ref([]),d=y,h=t=>{i.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},_=()=>{i.value.dialogShow=!1,d("beforeDestroy")},w=e.computed(()=>"http://222.92.178.198:62001"),B=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})},b=async t=>{var n,c,r;try{const l=await k.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,i.value.dialogShow=!1;const n=new FormData,c=B(t);n.append("file",c,"image.png"),b(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),b(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var c,r,l,v;o.value="",(c=i.value)!=null&&c.dialogShow&&(i.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]}),i.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(V.Signature,{signPadInfo:i.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,p;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=i.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:w.value+"/"+((p=s.userInfo)==null?void 0:p.signature),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(S.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(S.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:z=>h(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(S.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=x._export_sfc(T,[["__scopeId","data-v-c57c424e"]]);exports.ssAvatar=U;exports.ssSignature=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-CfjnKRS9.cjs"),c=require("./index-BOCgN1Bo.cjs"),l=require("./index-D9q0qrYK.cjs"),d=require("./index-DGKTZoR7.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={class:"personal-wrapper"},b={class:"personal-box left"},m={class:"base-avatar"},v={class:"center-avatar"},f={class:"base-info"},p={class:"base-signature"},k={class:"personal-box right"},C=e.defineComponent({__name:"index",setup(S){const t=e.reactive({...a.State}),u=d.useLoginState(),{loginUserInfo:n}=d.storeToRefs(u);return e.onMounted(()=>{var s;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((s=n==null?void 0:n.value)==null?void 0:s.id),a.tabKey.value++}),(s,o)=>{const r=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("div",b,[e.createElementVNode("div",m,[e.createElementVNode("div",v,[e.withDirectives(e.createVNode(c.ssAvatar,{disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=i=>t.submitImageAsync("avatarUrl",i))},null,8,["disabled","userInfo"]),[[r,t.avatarLoading]])])]),e.createElementVNode("div",f,[e.createVNode(l.ssForm,{formDisabled:!0,rowContents:t.rowContents,isEnableWrap:!1,isButtonRow:!0,isEdit:!1},null,8,["rowContents"])]),e.createElementVNode("div",p,[e.withDirectives(e.createVNode(c.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=i=>t.submitImageAsync("signature",i))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[r,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[(e.openBlock(),e.createBlock(l.ssTab,{key:e.unref(a.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[r,t.loading]])])}}}),B=g._export_sfc(C,[["__scopeId","data-v-4dacc119"]]);exports.default=B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-BzHMfIYU.cjs"),r=require("./index-DGKTZoR7.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-CaOwMTaz.cjs"),n=require("./index-DYd-mHP4.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c"}]},{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(f){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"])]))}}),_=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=_;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang
|
|
1
|
+
import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-BWGPleNY.js";
|
|
2
2
|
import { resolveComponent as a, createElementBlock as s, openBlock as l, Fragment as f, createVNode as n, withCtx as i, createElementVNode as r, createCommentVNode as D, normalizeStyle as b, toDisplayString as C, renderList as h, createTextVNode as u, createBlock as B, resolveDynamicComponent as w } from "vue";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const V = ["title"], $ = {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { watch as u, onMounted as g, onUnmounted as C, resolveComponent as S, createElementBlock as v, openBlock as B, createVNode as I } from "vue";
|
|
2
|
-
import "./index-
|
|
2
|
+
import "./index-QtKPtKor.js";
|
|
3
3
|
import { u as K } from "./index-DWHN8dvC.js";
|
|
4
4
|
import "./array-BnZwZW4j.js";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_3e6df338_lang-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-BWGPleNY.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_3e6df338_lang-BGtK2eS5.js";
|
|
8
8
|
import "./index-BHtNKL1L.js";
|
|
9
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B385SP_p.js";
|
|
10
10
|
import "./STLLoader-DofhZbOw.js";
|
|
11
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
11
|
+
import "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
12
|
+
import "./index-CIhzwUQG.js";
|
|
13
|
+
import "./index-DXsBEVlq.js";
|
|
14
14
|
import "vue-router";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./index-FZTTbK-C.js";
|
|
16
|
+
import "./index-BzqYLTSj.js";
|
|
17
17
|
const j = {
|
|
18
18
|
__name: "index",
|
|
19
19
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { u as d, aB as p, az as l } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { s as m } from "./index-CIhzwUQG.js";
|
|
3
|
+
import { u as d, aB as p, az as l } from "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
4
4
|
import { s as g, u as h } from "./index-DWHN8dvC.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./index-DGKTZoR7.cjs"),M=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const a=require("./index-DGKTZoR7.cjs"),M=require("./index.vue_vue_type_style_index_1_lang-83PZGLk-.cjs"),E=require("vue"),h=M.useMenuState(a.pinia),p=a.useLoginState(a.pinia),x=E.ref(!1),D=E.ref(!1),q=async()=>{const _=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),I=a.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([_,I]).then(s=>{var r,u,n,o,i,l,c,y,g,d,S,f,m,v;const t=s==null?void 0:s[0],e=s==null?void 0:s[1];if(t.data.code===200){const K=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;h.setRawMenus(K??[]),x.value=((y=t==null?void 0:t.data)==null?void 0:y.result)&&((d=(g=t==null?void 0:t.data)==null?void 0:g.result)==null?void 0:d.length)>0}else a.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(p.setStructureData(e.data.result),p.setIsStructureExist(!0),D.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((v=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:v.length)>0):a.ElMessage.error("获取模型结构响应失败")}),{menuExist:x.value,structureExist:D.value}};exports.verifyStructureDataToStore=q;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as n, reactive as o, onMounted as r, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
|
-
import { s as u } from "./index-
|
|
3
|
-
import { S as i } from "./index-
|
|
4
|
-
import { u as p, az as l } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { s as u } from "./index-CIhzwUQG.js";
|
|
3
|
+
import { S as i } from "./index-8XGEhrPp.js";
|
|
4
|
+
import { u as p, az as l } from "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
5
5
|
import { s as d } from "./index-DWHN8dvC.js";
|
|
6
6
|
const x = /* @__PURE__ */ n({
|
|
7
7
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BAZKwqe9.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as S, E as v, u as P, p as K } from "./index-DWHN8dvC.js";
|
|
2
|
-
import { u as k } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
+
import { u as k } from "./index.vue_vue_type_style_index_1_lang-BrHOHvXf.js";
|
|
3
3
|
import { ref as h } from "vue";
|
|
4
4
|
const A = k(K), E = P(K), x = h(!1), D = h(!1), j = async () => {
|
|
5
5
|
const I = S({
|