ss-component-new 1.1.875 → 1.1.877
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-CbdGSQ_1.js → animationData-BCQhHqoF.js} +1 -1
- package/dist/{animationData-Dmm59no9.cjs → animationData-S3A9h3HL.cjs} +1 -1
- package/dist/{index-C46pJjBa.cjs → index-8Cv2WRmX.cjs} +1 -1
- package/dist/{index-Dxw-yLzV.js → index-BC2Ukwoc.js} +16 -16
- package/dist/{index-IoFN93Kp.cjs → index-BD5ozzst.cjs} +1 -1
- package/dist/{index-DiUnZOK3.js → index-BEUSDTZR.js} +5 -5
- package/dist/{index-BWFyPy4f.cjs → index-BQudl-fn.cjs} +1 -1
- package/dist/{index-B3kI6Ao7.js → index-BRLhkybw.js} +5 -5
- package/dist/{index-DaTQNGI0.js → index-BU2mKI34.js} +19 -19
- package/dist/{index-B7Hzl1VZ.cjs → index-BU_d_Aeq.cjs} +2 -2
- package/dist/{index-DgqbN85a.js → index-BeLxrVmq.js} +3 -3
- package/dist/{index-BchDIang.cjs → index-BfR3uCKK.cjs} +1 -1
- package/dist/{index-Axiottyq.js → index-BgV8Q7uF.js} +1 -1
- package/dist/{index-Cqajls6S.cjs → index-BjTQpqGt.cjs} +1 -1
- package/dist/{index-uv3_Dc4K.cjs → index-Bjg7A1-G.cjs} +1 -1
- package/dist/{index-DmRF4MqE.js → index-BkYjvsUX.js} +9 -9
- package/dist/{index-B3xga1yO.js → index-BrOuNpWp.js} +12 -12
- package/dist/{index-BYlWxiKY.cjs → index-By87KFcE.cjs} +1 -1
- package/dist/{index-Bg-bxNW_.cjs → index-C-tOd33d.cjs} +1 -1
- package/dist/{index-51f06jGy.js → index-C5O8d1gQ.js} +2 -2
- package/dist/{index-Bd6TysRA.cjs → index-CAflXsBG.cjs} +1 -1
- package/dist/{index-_vLexk7u.js → index-CIBsBQQD.js} +3 -3
- package/dist/{index-CpSsX_45.js → index-COli1Wb6.js} +7 -7
- package/dist/{index-BT90IGy0.cjs → index-CS0cuQe0.cjs} +1 -1
- package/dist/{index-BwlYEx11.js → index-CV8CRHqM.js} +4 -4
- package/dist/{index-C3V46ZtN.cjs → index-CVBTn-Hq.cjs} +1 -1
- package/dist/{index-B-YaTGCn.js → index-CWlnlNe2.js} +2 -2
- package/dist/{index-gKpmNpFn.js → index-CYBMkYS6.js} +3 -3
- package/dist/{index-BSV-rBPB.cjs → index-CZn0rq2Y.cjs} +1 -1
- package/dist/{index-THBPo984.js → index-CdjFjMPM.js} +1 -1
- package/dist/{index-C7mT5hDI.js → index-CgoIFove.js} +1 -1
- package/dist/{index-B2P4oc29.cjs → index-CmBKQzTB.cjs} +1 -1
- package/dist/{index-DL99y8CY.cjs → index-D-_bTz3f.cjs} +1 -1
- package/dist/{index-BnEpC9cX.cjs → index-D-_vwUkJ.cjs} +1 -1
- package/dist/{index-DkMSroOo.js → index-D7g3Vilw.js} +2 -2
- package/dist/{index-DkaJ_tP1.cjs → index-D8a_IjP9.cjs} +34 -34
- package/dist/index-DAykf39m.js +6886 -0
- package/dist/{index-CIPD6hbb.js → index-DFF3bC4e.js} +2 -2
- package/dist/{index-vt4lF0t7.cjs → index-DJ265wK-.cjs} +1 -1
- package/dist/{index-DfUT7EgY.cjs → index-DOqrYIjA.cjs} +1 -1
- package/dist/{index-DyDN2I4q.js → index-DPRnaSA8.js} +1 -1
- package/dist/index-DRP1U8zm.cjs +1 -0
- package/dist/{index-By3ZdpqC.cjs → index-DWl8T54x.cjs} +1 -1
- package/dist/{index-BgnV6bd3.cjs → index-Db_PA1Vz.cjs} +1 -1
- package/dist/{index-Cd02E0ft.cjs → index-DekZrVNl.cjs} +1 -1
- package/dist/{index-Dp5Qmflr.cjs → index-Dsq4e050.cjs} +1 -1
- package/dist/{index-Wzi17DZ9.js → index-Dw2bfyU6.js} +1 -1
- package/dist/{index-7UOa0At2.js → index-Fjbjr7Se.js} +1 -1
- package/dist/{index-ZsGHuQGA.js → index-I8ymSpEW.js} +178 -178
- package/dist/{index-CIQMciUY.cjs → index-JlfvejQC.cjs} +1 -1
- package/dist/{index-DzN3TVyh.js → index-MZWSlbEe.js} +5 -5
- package/dist/{index-CxlhgaCp.cjs → index-NX5GfcWt.cjs} +1 -1
- package/dist/{index-Bn_BQejB.cjs → index-UysFeCMA.cjs} +1 -1
- package/dist/{index-DJvwI9uL.js → index-WxIb7tGg.js} +2 -2
- package/dist/{index-Chx0iGdb.js → index-aPRf81S3.js} +2131 -2095
- package/dist/{index-CrgyH3Za.js → index-eNyEQcPp.js} +5 -5
- package/dist/{index-BiE6DUfq.cjs → index-w1Kbw7E6.cjs} +1 -1
- package/dist/{index-DAI3wosW.js → index-wK3TJTM3.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DV-pEjk7.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-33PKgmrj.js} +15388 -15836
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CbEonSIc.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cjt8MqKY.cjs} +158 -158
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-C38z6uDO.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CQJvGME1.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-B59t-G2l.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-F5goSfQs.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DoLUUlS-.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BLj0zSrv.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DmavGTXb.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Cyl5I7CD.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-BV05pU4x.cjs → index.vue_vue_type_style_index_1_lang-DmQWG67q.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-C3jbte5F.js → index.vue_vue_type_style_index_1_lang-Dniw64gy.js} +2946 -2494
- package/dist/{index.vue_vue_type_style_index_1_lang-DYuvgQ4V.js → index.vue_vue_type_style_index_1_lang-DyI3cZDK.js} +2 -2
- package/dist/index.vue_vue_type_style_index_1_lang-hZATtNHG.cjs +32 -0
- package/dist/{main-IrfdebpO.js → main-cR2KeUN2.js} +3 -3
- package/dist/{main-D9MupI0l.cjs → main-nPCdlVrf.cjs} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- 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-BeIlGf1v.js → threeLatheView-BrXe51xW.js} +4 -4
- package/dist/{threeLatheView-DgQxyowZ.cjs → threeLatheView-CGJEgy6k.cjs} +1 -1
- package/dist/{threeModel-BkFQUtcf.js → threeModel-3CnPkaWz.js} +2 -2
- package/dist/{threeModel-DANIi2dQ.cjs → threeModel-Dv9hV4W3.cjs} +1 -1
- package/dist/{threeSceneView-DvFe-Uva.cjs → threeSceneView-B5HDd5lQ.cjs} +1 -1
- package/dist/{threeSceneView-Bnss4fiE.js → threeSceneView-CbVZEl1j.js} +5 -5
- package/dist/{threeViewerHost-CvLetNtx.js → threeViewerHost-B9QLWlIs.js} +2 -2
- package/dist/{threeViewerHost-DSA5EzS3.cjs → threeViewerHost-CM3XBgON.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-C_HKkLlQ.cjs +0 -1
- package/dist/index-D0ZI-N3Q.js +0 -6808
- package/dist/index.vue_vue_type_style_index_1_lang-B5sUJLWU.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-hZATtNHG.cjs"),K=require("./index-BLXMF7Kg.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 +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-D8a_IjP9.cjs"),n=require("./index-BQudl-fn.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { resolveComponent as ue, createBlock as re, openBlock as u, withCtx as h, createElementVNode as r, toDisplayString as Z, ref as S, onMounted as Et, watch as de, createElementBlock as Q, Fragment as Be, renderList as be, createCommentVNode as V, normalizeStyle as dt, defineComponent as St, resolveDynamicComponent as Qt, unref as m, computed as Te, provide as Gt, onUnmounted as Ft, resolveDirective as Nt, createVNode as c, withDirectives as Pe, createTextVNode as ve, renderSlot as At, vShow as Bt, normalizeClass as vt } from "vue";
|
|
2
|
-
import { m as Rt, a as bt, b as Ut } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as Rt, a as bt, b as Ut } from "./index-CYBMkYS6.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-Cyl5I7CD.js";
|
|
4
4
|
import { _ as Ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as xt, e as Jt, s as Lt } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-
|
|
5
|
+
import { _ as xt, e as Jt, s as Lt } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CQJvGME1.js";
|
|
6
6
|
import { c as Fe, p as he, s as me, u as Dt, b as Ze, E as Re, g as ze, d as It, e as Wt, f as Vt } from "./index-lDQWz-a5.js";
|
|
7
|
-
import { i as Ie, j as Ht, a as yt, u as pt, k as jt, l as Ot, m as Mt } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import { i as Ie, j as Ht, a as yt, u as pt, k as jt, l as Ot, m as Mt } from "./index.vue_vue_type_style_index_1_lang-Dniw64gy.js";
|
|
8
8
|
import { S as Qe } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Kt, s as Ye, o as qt, c as Xt, b as Zt, d as zt, e as _t, f as $t, h as ea, i as ta, j as aa, k as na, l as oa, m as la } from "./index-
|
|
9
|
+
import { a as Kt, s as Ye, o as qt, c as Xt, b as Zt, d as zt, e as _t, f as $t, h as ea, i as ta, j as aa, k as na, l as oa, m as la } from "./index-DAykf39m.js";
|
|
10
10
|
import { a as sa } from "./array-DmJs0wDw.js";
|
|
11
|
-
import { u as Pt, a as ia } from "./index-
|
|
12
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
11
|
+
import { u as Pt, a as ia } from "./index-aPRf81S3.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-33PKgmrj.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-DyI3cZDK.js";
|
|
15
|
+
import "./index-MZWSlbEe.js";
|
|
16
16
|
import { useRouter as ra } from "vue-router";
|
|
17
|
-
import ca from "./index-
|
|
18
|
-
import ua from "./threeModel-
|
|
17
|
+
import ca from "./index-Fjbjr7Se.js";
|
|
18
|
+
import ua from "./threeModel-3CnPkaWz.js";
|
|
19
19
|
import { _ as Ge } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as gt, _ as _e } from "./index-
|
|
21
|
-
import { d as kt, t as da } from "./threeViewerHost-
|
|
22
|
-
import { s as it } from "./index-
|
|
20
|
+
import { s as gt, _ as _e } from "./index-BrOuNpWp.js";
|
|
21
|
+
import { d as kt, t as da } from "./threeViewerHost-B9QLWlIs.js";
|
|
22
|
+
import { s as it } from "./index-CIBsBQQD.js";
|
|
23
23
|
import { c as Aa, b as ga } from "./index-CLCVb66q.js";
|
|
24
|
-
import { v as ya } from "./index-
|
|
25
|
-
import { f as pa, a as Ca } from "./animationData-
|
|
24
|
+
import { v as ya } from "./index-DPRnaSA8.js";
|
|
25
|
+
import { f as pa, a as Ca } from "./animationData-BCQhHqoF.js";
|
|
26
26
|
const ma = { class: "menu-title" };
|
|
27
27
|
function ha(L, z, o, K, D, W) {
|
|
28
28
|
const a = ue("ssMenu");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BQudl-fn.cjs"),r=require("./index-D8a_IjP9.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,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x } from "./index-
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
2
|
+
import { S as I, t as x } from "./index-MZWSlbEe.js";
|
|
3
|
+
import { s as w, a as L } from "./index-CIBsBQQD.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { h as E } from "./index-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-33PKgmrj.js";
|
|
6
|
+
import { h as E } from "./index-BrOuNpWp.js";
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-Dniw64gy.js";
|
|
7
8
|
import { u as N, s as U } from "./index-lDQWz-a5.js";
|
|
8
|
-
import "./index.vue_vue_type_style_index_1_lang-C3jbte5F.js";
|
|
9
9
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
11
11
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const M=require("vue"),n=require("./index-BLXMF7Kg.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const M=require("vue"),n=require("./index-BLXMF7Kg.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-hZATtNHG.cjs"),k=M.ref([]),q=M.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:k.value}]),A=(l,s,o)=>{l==="清空"&&T.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await n.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(n.ElMessage.success("清空日志成功"),o(!0)):(n.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{n.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},K=async(l="login")=>{var s,o,r;try{const e=await n.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(r=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:r.map(a=>{var t,u,c,d,y,p,g,f,v,b,_,S,h,x,B,D,w,E;return l==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(y=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:y.type}:{timeStamp:(p=a==null?void 0:a.value)==null?void 0:p.timeStamp,account:(g=a==null?void 0:a.value)==null?void 0:g.account,userName:(f=a==null?void 0:a.value)==null?void 0:f.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(_=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&_.startsWith("/")?(h=(S=a==null?void 0:a.value)==null?void 0:S.module)==null?void 0:h.substring(1):(x=a==null?void 0:a.value)==null?void 0:x.module:(D=(B=a==null?void 0:a.value)==null?void 0:B.module)==null?void 0:D.pageKey,id:a==null?void 0:a.id,type:(E=(w=a==null?void 0:a.value)==null?void 0:w.detail)==null?void 0:E.type}});n.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:A,getLogTableDataAsync:K,pageData:q,tableData:k},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=A;exports.getLogTableDataAsync=K;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as l, watch as
|
|
2
|
-
import { g as
|
|
3
|
-
import {
|
|
1
|
+
import { ref as l, watch as b } from "vue";
|
|
2
|
+
import { g as y, s as d } from "./index-lDQWz-a5.js";
|
|
3
|
+
import { aI as g, aG as m, a as D } from "./index.vue_vue_type_style_index_1_lang-Dniw64gy.js";
|
|
4
4
|
const f = D(), { itemData: h } = d(f), c = l(0), k = l([
|
|
5
5
|
{
|
|
6
6
|
label: "机构名称",
|
|
@@ -81,7 +81,7 @@ const f = D(), { itemData: h } = d(f), c = l(0), k = l([
|
|
|
81
81
|
}, S = (a, t) => {
|
|
82
82
|
console.log("onButtonClick", a, t);
|
|
83
83
|
}, T = async (a) => {
|
|
84
|
-
const t = await m(
|
|
84
|
+
const t = await m(y, {
|
|
85
85
|
key: {
|
|
86
86
|
type: "data",
|
|
87
87
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -123,7 +123,7 @@ const f = D(), { itemData: h } = d(f), c = l(0), k = l([
|
|
|
123
123
|
}
|
|
124
124
|
]
|
|
125
125
|
};
|
|
126
|
-
|
|
126
|
+
b(() => h.value, (a) => {
|
|
127
127
|
var t;
|
|
128
128
|
a && (a == null ? void 0 : a.length) > 0 && (s.value = (t = a == null ? void 0 : a[0]) == null ? void 0 : t.compData);
|
|
129
129
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { u as be, a as he,
|
|
3
|
-
import { c as q, s as Ie, g as
|
|
4
|
-
import { u as Se } from "./index-
|
|
5
|
-
const F = he(
|
|
2
|
+
import { u as be, a as he, aG as Ce } from "./index.vue_vue_type_style_index_1_lang-Dniw64gy.js";
|
|
3
|
+
import { c as q, s as Ie, g as G, bx as ke, E as S, p as J, e as ae, f as oe, bq as Te, d as Me } from "./index-lDQWz-a5.js";
|
|
4
|
+
import { u as Se } from "./index-aPRf81S3.js";
|
|
5
|
+
const F = he(J), ne = Se(J), C = be(J), { menus: ue, configMenu: R, activeMenuPath: U, cacheStructures: K } = Ie(C), $ = i(!1), se = j(() => {
|
|
6
6
|
var e, t;
|
|
7
7
|
return [
|
|
8
8
|
{
|
|
@@ -62,7 +62,7 @@ const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
62
62
|
}))) == null ? void 0 : t.filter((l) => l.title !== "系统管理" && l.title !== "平台管理")
|
|
63
63
|
}
|
|
64
64
|
];
|
|
65
|
-
}),
|
|
65
|
+
}), z = i([]), x = i([
|
|
66
66
|
{
|
|
67
67
|
// label: "新增",
|
|
68
68
|
label: "新建"
|
|
@@ -163,7 +163,7 @@ const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
key: "tableContents",
|
|
166
|
-
contents:
|
|
166
|
+
contents: z.value
|
|
167
167
|
}
|
|
168
168
|
]), L = i([]), I = i({}), De = i({}), O = i([
|
|
169
169
|
// {
|
|
@@ -296,7 +296,7 @@ const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
296
296
|
return (e = re(ue.value)) == null ? void 0 : e.filter((t) => t.title !== "系统管理" && t.title !== "平台管理");
|
|
297
297
|
}), fe = async (e) => {
|
|
298
298
|
var l, u, n, c;
|
|
299
|
-
const t = await
|
|
299
|
+
const t = await G({
|
|
300
300
|
key: {
|
|
301
301
|
type: "subStructure",
|
|
302
302
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -319,7 +319,7 @@ const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
319
319
|
}
|
|
320
320
|
}, Fe = async (e) => {
|
|
321
321
|
var t;
|
|
322
|
-
|
|
322
|
+
$.value = !0, b.value = {
|
|
323
323
|
...e,
|
|
324
324
|
rootNode: ke(pe.value, e.path)
|
|
325
325
|
}, C.setCacheStructures(null), (e == null ? void 0 : e.level) === 0 ? x.value.splice(0) : (x.value = [{ label: "新建" }], V.value = (t = e == null ? void 0 : e.path) == null ? void 0 : t.split("/")), await C.setConfigMenu(null), await fe(e == null ? void 0 : e.path), await H(e);
|
|
@@ -377,7 +377,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
377
377
|
const l = (y = (r = e == null ? void 0 : e.structureIds) == null ? void 0 : r.filter((a) => (a == null ? void 0 : a.key) === t)) == null ? void 0 : y.map((a) => a == null ? void 0 : a.id);
|
|
378
378
|
let u = l == null ? void 0 : l.map((a) => {
|
|
379
379
|
if (a)
|
|
380
|
-
return
|
|
380
|
+
return G({ id: a });
|
|
381
381
|
});
|
|
382
382
|
const n = await Promise.all(u), c = n == null ? void 0 : n.every((a) => {
|
|
383
383
|
var d;
|
|
@@ -413,21 +413,21 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
413
413
|
} : g.type === "update" && (u = R.value), await C.setConfigMenu(u), ne.setSelectTitle(l), F.setIsEdit("edit");
|
|
414
414
|
}, H = async (e) => {
|
|
415
415
|
var l, u, n, c, s, p;
|
|
416
|
-
const t = await
|
|
416
|
+
const t = await G({
|
|
417
417
|
key: {
|
|
418
418
|
type: "menuConfigData",
|
|
419
419
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
420
|
-
pageKey:
|
|
420
|
+
pageKey: U.value + "/" + (e == null ? void 0 : e.path),
|
|
421
421
|
tableId: ""
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
((l = t == null ? void 0 : t.data) == null ? void 0 : l.code) === 200 && (u = t.data) != null && u.result && (
|
|
424
|
+
((l = t == null ? void 0 : t.data) == null ? void 0 : l.code) === 200 && (u = t.data) != null && u.result && (z.value = ((c = (n = t.data) == null ? void 0 : n.result) == null ? void 0 : c.length) > 0 ? (p = (s = t.data) == null ? void 0 : s.result) == null ? void 0 : p.map((f) => {
|
|
425
425
|
var r;
|
|
426
426
|
return {
|
|
427
427
|
id: f == null ? void 0 : f.id,
|
|
428
428
|
...(r = f == null ? void 0 : f.value) == null ? void 0 : r.tableData
|
|
429
429
|
};
|
|
430
|
-
}) : []),
|
|
430
|
+
}) : []), $.value = !1;
|
|
431
431
|
}, E = async (e, t, l = "contentConfig") => {
|
|
432
432
|
var u, n, c, s, p, f;
|
|
433
433
|
try {
|
|
@@ -435,7 +435,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
435
435
|
t === "create" ? (r = {
|
|
436
436
|
key: {
|
|
437
437
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
438
|
-
pageKey:
|
|
438
|
+
pageKey: U.value + "/" + ((u = b.value) == null ? void 0 : u.path),
|
|
439
439
|
type: "structure",
|
|
440
440
|
rootNodePath: (c = (n = b.value) == null ? void 0 : n.rootNode) == null ? void 0 : c.path,
|
|
441
441
|
structureBelong: l,
|
|
@@ -540,7 +540,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
540
540
|
key: {
|
|
541
541
|
type: "menuConfigData",
|
|
542
542
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
543
|
-
pageKey:
|
|
543
|
+
pageKey: U.value + "/" + ((n = b.value) == null ? void 0 : n.path),
|
|
544
544
|
tableId: "",
|
|
545
545
|
rootNodePath: e == null ? void 0 : e.rootNodePath
|
|
546
546
|
},
|
|
@@ -561,7 +561,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
561
561
|
}, u = oe) : t === "delete" && (l = {
|
|
562
562
|
ids: [e.id, ...(c = e == null ? void 0 : e.structureIds) == null ? void 0 : c.map((s) => s.id)]
|
|
563
563
|
}, u = Me), Ce(u, l, t).then((s) => {
|
|
564
|
-
t === "create" &&
|
|
564
|
+
t === "create" && z.value.push({
|
|
565
565
|
...e,
|
|
566
566
|
id: s
|
|
567
567
|
}), t && s && S.success("响应成功"), H(b.value);
|
|
@@ -596,7 +596,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
596
596
|
]
|
|
597
597
|
}
|
|
598
598
|
]
|
|
599
|
-
},
|
|
599
|
+
}, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
600
600
|
__proto__: null,
|
|
601
601
|
beforeDialogDestroy: je,
|
|
602
602
|
buttonValue: Ne,
|
|
@@ -616,11 +616,11 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
616
616
|
operatingForm: Ae,
|
|
617
617
|
pageData: se,
|
|
618
618
|
renderFormData: L,
|
|
619
|
-
tableLoading:
|
|
619
|
+
tableLoading: $,
|
|
620
620
|
tempMenuPageData: qe,
|
|
621
621
|
treeData: pe
|
|
622
622
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
623
623
|
export {
|
|
624
|
-
|
|
624
|
+
ze as S,
|
|
625
625
|
qe as t
|
|
626
626
|
};
|