ss-component-new 1.1.898 → 1.1.900
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-DMDZPXvv.cjs → animationData-Co0oldc3.cjs} +1 -1
- package/dist/{animationData-DYCgHrYF.js → animationData-DoDwzUvQ.js} +2 -2
- package/dist/{index-DePZqpX5.cjs → index-1fkqqnoq.cjs} +1 -1
- package/dist/{index-CfV3XCyh.js → index-94nT_IRY.js} +1 -1
- package/dist/{index-D1lrfexg.js → index-9vZMBe7R.js} +16 -16
- package/dist/{index-CMDW7tYm.cjs → index-Akprz3ih.cjs} +1 -1
- package/dist/{index-Cm5QQ2Fj.js → index-B3AQG5Rs.js} +3 -3
- package/dist/{index-Dyygod2G.cjs → index-B4bUeUl-.cjs} +1 -1
- package/dist/{index-ZTkOdi74.cjs → index-B4tfJtNB.cjs} +1 -1
- package/dist/{index-CLR0iebP.cjs → index-B6vAIBDt.cjs} +1 -1
- package/dist/{index-i-DchVTl.cjs → index-BAO3b4aq.cjs} +1 -1
- package/dist/{index-CYWH-Gp9.js → index-BJzHp-IC.js} +2 -2
- package/dist/{index-QD6WfZ4I.js → index-BK0E0_ha.js} +1 -1
- package/dist/{index-DBPb4C-z.js → index-BLBtZ9XH.js} +3 -3
- package/dist/{index-DjeDd2An.cjs → index-BSjztfPf.cjs} +1 -1
- package/dist/{index-BXJ8e_q_.cjs → index-BedVRoCi.cjs} +1 -1
- package/dist/{index-Dpo_wf9Z.cjs → index-Bn9z2Tsx.cjs} +1 -1
- package/dist/{index-CM0tjZAX.cjs → index-BqVYZoad.cjs} +1 -1
- package/dist/{index-E-ZNV5Oi.js → index-Bu4eT2cp.js} +4 -4
- package/dist/{index-noS-01A4.js → index-BwJp0lby.js} +1 -1
- package/dist/{index-BzI10J3t.js → index-Bzqt23Oy.js} +1 -1
- package/dist/{index-hbnGNisg.cjs → index-C0byCa39.cjs} +1 -1
- package/dist/index-C6Qt0xaM.js +6964 -0
- package/dist/{index-CfkuxwZe.cjs → index-C7h_L12t.cjs} +1 -1
- package/dist/{index-BdGjK0Np.cjs → index-CD3DX8MJ.cjs} +1 -1
- package/dist/{index-PLiig3sg.js → index-CFOyNSeQ.js} +1 -1
- package/dist/{index-Dppy0_m4.cjs → index-CI1GalLd.cjs} +1 -1
- package/dist/{index-DENa-xPL.js → index-CJBoMqJG.js} +2 -2
- package/dist/{index-g1HD5K4J.js → index-CKrc7heA.js} +4 -4
- package/dist/{index-W3hKnVmm.cjs → index-CQNplsWQ.cjs} +1 -1
- package/dist/{index-D8UoJUXf.js → index-CSxV7PVm.js} +1 -1
- package/dist/{index-DIgPgiTZ.js → index-CUABeQ0X.js} +2 -2
- package/dist/{index-C8E-IhBb.js → index-CWcPGJXl.js} +5 -5
- package/dist/{index-DGq9tDSB.cjs → index-CXdxzWUC.cjs} +1 -1
- package/dist/{index-D3hOhztB.js → index-CcP7Gq17.js} +2 -2
- package/dist/index-Cf_mV572.cjs +1 -0
- package/dist/{index-uZh6dlrA.cjs → index-CgLNOJwq.cjs} +1 -1
- package/dist/{index-BFEG1UD8.cjs → index-CiiZhO8e.cjs} +1 -1
- package/dist/{index-DhaHML8_.js → index-Cl0804Ds.js} +4 -4
- package/dist/{index-i6CD5jtT.js → index-CoLRrIBX.js} +1 -1
- package/dist/{index-CoynWyjE.cjs → index-D-Tg3Gue.cjs} +1 -1
- package/dist/{index-CHMMibPv.cjs → index-D2jDFRb3.cjs} +1 -1
- package/dist/{index-CtWP58Ft.js → index-D8ivA5qG.js} +6 -6
- package/dist/{index-CX7kl_NX.js → index-D8qhaPPF.js} +1 -1
- package/dist/{index-ByoX0irR.cjs → index-DAn4u761.cjs} +1 -1
- package/dist/{index-CmaPbX8-.cjs → index-DELRNcy7.cjs} +1 -1
- package/dist/{index-BGBHekzC.cjs → index-DaSJuadh.cjs} +1 -1
- package/dist/{index-BKC9wOVp.cjs → index-Dd4uNtuP.cjs} +1 -1
- package/dist/{index-CtbsC0BG.js → index-DrjcthyV.js} +1 -1
- package/dist/{index-Bh1kqf2p.js → index-DvXq9aq4.js} +2 -2
- package/dist/{index-t9S_yV-j.js → index-I8_a_4tU.js} +3 -3
- package/dist/{index-CdcE9AWu.js → index-XqEQXTZy.js} +1 -1
- package/dist/{index-BjVJX2VG.js → index-bWSAdPqo.js} +2 -2
- package/dist/{index-C-vRYcfD.js → index-kRaH0NE6.js} +2 -2
- package/dist/{index-DFn1lMvu.js → index-nxt1KCYX.js} +9 -9
- package/dist/{index-BRF1x6rF.cjs → index-qphZgJ53.cjs} +1 -1
- package/dist/{index-BuyXWJfY.cjs → index-rCueCbVl.cjs} +1 -1
- package/dist/{index-CSeVQTRv.cjs → index-u2wREhCs.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-LN5AslJ5.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLJmTH6B.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXZVEb4L.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DUdOjc3t.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-bJzKAyA7.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-BUDIKdvS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-Dehdsnht.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-zXxt7iqw.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B9WYu997.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-C3qC-vyP.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Ct-6PiOM.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CrG4wkjQ.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-4kquXRWU.cjs → index.vue_vue_type_style_index_1_lang-Bd6wiqHA.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-StvjiRk4.cjs → index.vue_vue_type_style_index_1_lang-CILqDnlR.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_1_lang-BfrqvqTp.js → index.vue_vue_type_style_index_1_lang-DqeajEHt.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-B6sQAgQL.js → index.vue_vue_type_style_index_1_lang-M6SabDCS.js} +909 -910
- package/dist/{main-8MlLVKtS.js → main-B1zDa3pw.js} +3 -3
- package/dist/{main-BV2GJPzq.cjs → main-CxUnZ1x5.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/{threeLatheView-Cpxb4ZEk.js → threeLatheView-D414fWOO.js} +4 -4
- package/dist/{threeLatheView-DXPYmM-p.cjs → threeLatheView-D9Lj4SAg.cjs} +1 -1
- package/dist/{threeModel-YOOMyj52.js → threeModel-BTEj8DNe.js} +2 -2
- package/dist/{threeModel-CiGC8DRw.cjs → threeModel-Dd2KGp6o.cjs} +1 -1
- package/dist/{threeSceneView-BDfcN_Ja.js → threeSceneView-0lut9-w2.js} +5 -5
- package/dist/{threeSceneView-3FlRftuO.cjs → threeSceneView-B8shIROm.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BmwhLiSc.cjs → threeSceneViewForCPMPIP-91va6U-F.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-C3gquXkw.js → threeSceneViewForCPMPIP-OD0YM--Q.js} +1 -1
- package/dist/{threeViewerHost-DJ_x5c__.cjs → threeViewerHost-DC7Zx5Dl.cjs} +1 -1
- package/dist/{threeViewerHost-CAC1sXBr.js → threeViewerHost-KUK3FQ4Y.js} +2 -2
- package/package.json +1 -1
- package/dist/index-Bj59Es5d.cjs +0 -1
- package/dist/index-CZIcD1-K.js +0 -6890
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-CILqDnlR.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-DC7Zx5Dl.cjs"),U=require("./index-BLXMF7Kg.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await _.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=T.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=T.utils.sheet_to_json(F);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let A=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{A.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度;console.log("夹持长度",k,g);const $=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let x=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{x.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=x,w[e.name+"Content"]=e}});const I=U.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:$,animationData:I},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let A=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{A.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置;console.log("夹持长度",k,g);const $=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let x=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{x.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=x,w[e.name+"Content"]=e}});const I=U.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:$,animationData:I},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-M6SabDCS.js";
|
|
2
2
|
import { r as K, u as S } from "./xlsx-ByPOQ6N_.js";
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
3
|
+
import { d as I } from "./threeViewerHost-KUK3FQ4Y.js";
|
|
4
4
|
import { c as P } from "./index-D4kvz4W4.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|
|
@@ -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-DLJmTH6B.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 { 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-CSxV7PVm.js";
|
|
3
3
|
import { c as s } from "./index-D4kvz4W4.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { resolveComponent as ge, createBlock as ue, openBlock as d, withCtx as B, createElementVNode as c, toDisplayString as $, ref as Q, onMounted as Rt, watch as ye, createElementBlock as U, Fragment as Ee, renderList as Me, createCommentVNode as Z, normalizeStyle as At, defineComponent as bt, resolveDynamicComponent as Ut, unref as h, computed as Je, provide as xt, onUnmounted as Jt, resolveDirective as Wt, createVNode as u, withDirectives as Ge, createTextVNode as Se, renderSlot as gt, vShow as It, normalizeClass as vt } from "vue";
|
|
2
|
-
import { m as Dt, a as jt, b as Mt } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as Dt, a as jt, b as Mt } from "./index-B3AQG5Rs.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CrG4wkjQ.js";
|
|
4
4
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Lt, e as Ot, s as Ht } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-
|
|
5
|
+
import { _ as Lt, e as Ot, s as Ht } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-zXxt7iqw.js";
|
|
6
6
|
import { c as Ye, i as Vt, p as Ie, s as Be, u as Pt, b as ze, E as je, g as _e, d as kt, e as qt, f as Xt } from "./index-D4kvz4W4.js";
|
|
7
|
-
import { i as ve, j as Zt, a as mt, u as Ct, k as Kt, l as zt, m as Yt } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import { i as ve, j as Zt, a as mt, u as Ct, k as Kt, l as zt, m as Yt } from "./index.vue_vue_type_style_index_1_lang-M6SabDCS.js";
|
|
8
8
|
import { S as De } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Tt, s as xe, o as Et, b as St, c as _t, d as $t, e as ea, f as ta, h as aa, i as na, j as oa, k as sa, l as la, m as ia } from "./index-
|
|
9
|
+
import { a as Tt, s as xe, o as Et, b as St, c as _t, d as $t, e as ea, f as ta, h as aa, i as na, j as oa, k as sa, l as la, m as ia } from "./index-C6Qt0xaM.js";
|
|
10
10
|
import { a as ra } from "./array-BBqAgqMA.js";
|
|
11
|
-
import { u as Ft, a as ca } from "./index-
|
|
12
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
11
|
+
import { u as Ft, a as ca } from "./index-D8ivA5qG.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DUdOjc3t.js";
|
|
13
13
|
import "./STLLoader-CXf8uOlr.js";
|
|
14
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
15
|
-
import "./index-
|
|
14
|
+
import "./index.vue_vue_type_style_index_1_lang-DqeajEHt.js";
|
|
15
|
+
import "./index-BwJp0lby.js";
|
|
16
16
|
import { useRouter as ua } from "vue-router";
|
|
17
|
-
import da from "./index-
|
|
18
|
-
import Aa from "./threeModel-
|
|
17
|
+
import da from "./index-Bzqt23Oy.js";
|
|
18
|
+
import Aa from "./threeModel-BTEj8DNe.js";
|
|
19
19
|
import { _ as We } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as yt, _ as $e } from "./index-
|
|
21
|
-
import { d as Qt, t as ga } from "./threeViewerHost-
|
|
22
|
-
import { s as rt } from "./index-
|
|
20
|
+
import { s as yt, _ as $e } from "./index-CKrc7heA.js";
|
|
21
|
+
import { d as Qt, t as ga } from "./threeViewerHost-KUK3FQ4Y.js";
|
|
22
|
+
import { s as rt } from "./index-I8_a_4tU.js";
|
|
23
23
|
import { c as ya, b as ma } from "./index-CLCVb66q.js";
|
|
24
|
-
import { v as Ca } from "./index-
|
|
25
|
-
import { f as ha, a as pa } from "./animationData-
|
|
24
|
+
import { v as Ca } from "./index-DrjcthyV.js";
|
|
25
|
+
import { f as ha, a as pa } from "./animationData-DoDwzUvQ.js";
|
|
26
26
|
const fa = { class: "menu-title" };
|
|
27
27
|
function wa(I, V, e, v, D, W) {
|
|
28
28
|
const l = ge("ssMenu");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLJmTH6B.cjs");const n=require("./index.vue_vue_type_style_index_1_lang-CILqDnlR.cjs"),o=require("./index-BLXMF7Kg.cjs"),u=require("./index-CQNplsWQ.cjs"),c=require("./index-B6vAIBDt.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=o.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(_,l)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { resolveComponent as J, createElementBlock as k, openBlock as h, Fragment as K, renderList as Q, unref as te, createElementVNode as m, createVNode as w, toDisplayString as x, ref as I, watch as W, withCtx as H, createBlock as X, resolveDynamicComponent as Y, createCommentVNode as S, normalizeStyle as ne, withModifiers as E } from "vue";
|
|
2
|
-
import { n as oe, g as Z } from "./index-
|
|
2
|
+
import { n as oe, g as Z } from "./index-C6Qt0xaM.js";
|
|
3
3
|
import { p as O, s as R, c as d, E as se } from "./index-D4kvz4W4.js";
|
|
4
|
-
import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-
|
|
4
|
+
import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-M6SabDCS.js";
|
|
5
5
|
import "./array-BBqAgqMA.js";
|
|
6
6
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import le from "./index-DiRBJiMW.js";
|
|
8
|
-
import { a as ce, b as ie } from "./index-
|
|
8
|
+
import { a as ce, b as ie } from "./index-CKrc7heA.js";
|
|
9
9
|
const re = { class: "type-select" }, ue = ["onClick"], pe = { class: "list-icon" }, de = {
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(F) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./index-BLXMF7Kg.cjs"),M=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const a=require("./index-BLXMF7Kg.cjs"),M=require("./index.vue_vue_type_style_index_1_lang-CILqDnlR.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 +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-1fkqqnoq.cjs"),r=require("./index-BLXMF7Kg.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),u=require("./index-BLXMF7Kg.cjs"),s=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const o=require("vue"),u=require("./index-BLXMF7Kg.cjs"),s=require("./index.vue_vue_type_style_index_1_lang-CILqDnlR.cjs"),d=s.useModelComp(),{itemData:g}=u.storeToRefs(d),b=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=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:[]}]),f=e=>{s.submitTableAsyncByVerify(e.singleContent,e.buttonName,b.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},_=async e=>{const t=await s.handleSubmitAsync(u.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var l;return{id:a.id,tableData:(l=a==null?void 0:a.value)==null?void 0:l.tableData}});return n==null?void 0:n.map(a=>{var l;if(Array.isArray(a==null?void 0:a.tableData)){let c={id:a.id};return(l=a==null?void 0:a.tableData)==null||l.forEach((p,y)=>{c[`a${y}`]=p}),c}else return{...a.tableData,id:a.id}})},k={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};o.watch(()=>g.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(r.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const m=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:f,handleQueryChange:i,onButtonClick:C,onDoubleClick:h,pageData:r,queryFormData:D,structureId:b,tempDeptPageData:k},Symbol.toStringTag,{value:"Module"}));exports.State=m;
|