ss-component-new 1.3.21 → 1.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MTLLoader-YtHulNzU.cjs → MTLLoader-C_XCtjSi.cjs} +1 -1
- package/dist/{MTLLoader-CBRDqlja.js → MTLLoader-YR-bfx1D.js} +24 -24
- package/dist/{OrbitControls-CKR1ruPg.js → OrbitControls-BGsXD_A7.js} +1 -1
- package/dist/{OrbitControls-Bwzpfq8_.cjs → OrbitControls-CktvE4iE.cjs} +1 -1
- package/dist/{URDFLoader-DIvTWPgk.cjs → URDFLoader-10oVp_KW.cjs} +1 -1
- package/dist/{URDFLoader-D-0fnLWu.js → URDFLoader-m1gMdnSQ.js} +189 -189
- package/dist/{animationData-BBVNOO1d.js → animationData-CpK8d_Vm.js} +19 -19
- package/dist/{animationData-krmt7b15.cjs → animationData-Cr2ra7rm.cjs} +1 -1
- package/dist/{array-AvrqnNoJ.js → array-BmfCVZvi.js} +46 -46
- package/dist/{array-CMW4ey7w.cjs → array-COho2hZW.cjs} +1 -1
- package/dist/{iconfont-CSj9Ypb0.js → iconfont-0yJB130V.js} +29 -29
- package/dist/{iconfont-CUPzGSlt.cjs → iconfont-DsF7kuG5.cjs} +1 -1
- package/dist/{index-VF71yUkZ.js → index-5YbplPvi.js} +2 -2
- package/dist/{index-I09e-7nF.js → index-76YbJdM8.js} +2 -2
- package/dist/{index-BWb8IVmh.js → index-98Ogvz1v.js} +7 -7
- package/dist/{index-B7VKjUP4.cjs → index-B4LIBl-a.cjs} +1 -1
- package/dist/{index-NB4ig2Zg.js → index-B52TVCSg.js} +8 -8
- package/dist/{index-B1Zztqcr.cjs → index-BEBJWYp0.cjs} +1 -1
- package/dist/{index-Dx5UzB8t.js → index-BHjvJiFA.js} +5 -5
- package/dist/{index-BLxE_tkf.cjs → index-BJPBBWWH.cjs} +1 -1
- package/dist/{index-DEF8zy07.js → index-BLcFvu4u.js} +3 -3
- package/dist/{index-BPstNH4r.cjs → index-BPlHuTxE.cjs} +4 -4
- package/dist/index-BPu9kWR3.js +11883 -0
- package/dist/{index-snyYrfwK.cjs → index-BRJ1_Tfi.cjs} +1 -1
- package/dist/{index-vCTVD7cV.cjs → index-BWCv7zxy.cjs} +1 -1
- package/dist/{index-DWfxnemZ.js → index-BXUByyre.js} +2 -2
- package/dist/{index-DUt_5IeJ.js → index-Bnp6YMyE.js} +1461 -1455
- package/dist/{index-CGrJyKvT.cjs → index-BxMPyw-Y.cjs} +1 -1
- package/dist/{index-DWm4nu2G.cjs → index-CBqGrYej.cjs} +1 -1
- package/dist/{index-Dm67w52u.cjs → index-CC9drriV.cjs} +1 -1
- package/dist/{index-sMsCzNtW.js → index-COQpDVsv.js} +1570 -1535
- package/dist/{index-C4Ohl9vT.js → index-CRbfwrdV.js} +41 -41
- package/dist/{index-CuvQZsbE.cjs → index-CVXrjDFh.cjs} +1 -1
- package/dist/{index-CEzEaG0d.js → index-CXiOVgoz.js} +1 -1
- package/dist/{index-BzGHYxs2.cjs → index-CbBY3TG6.cjs} +1 -1
- package/dist/{index-DuGfBNM6.cjs → index-CgFSiyRX.cjs} +1 -1
- package/dist/{index-Cu-8pzHm.js → index-Chxt6xBv.js} +5 -5
- package/dist/{index-CIrXKpNl.cjs → index-Cjqg29ul.cjs} +1 -1
- package/dist/index-CpbBe_mV.cjs +1 -0
- package/dist/index-CuAHwR97.cjs +1 -0
- package/dist/{index-DHrb-D39.js → index-D-kqGA71.js} +7 -7
- package/dist/{index-euZWOilV.cjs → index-D3ixok8t.cjs} +1 -1
- package/dist/{index-D39AtL48.js → index-D8HD14bz.js} +1 -1
- package/dist/{index-DABBYx7H.js → index-DBh5Z73C.js} +1 -1
- package/dist/index-DIWralYr.js +67 -0
- package/dist/{index-C8fMwErX.cjs → index-DRTxe12U.cjs} +13 -13
- package/dist/{index-BFKUrR1o.cjs → index-DS-YTop9.cjs} +1 -1
- package/dist/{index-Cw4Pm2PQ.cjs → index-DU9e5EhS.cjs} +1 -1
- package/dist/{index-DN2waPoj.cjs → index-D_Yhv_HV.cjs} +1 -1
- package/dist/{index-d6tZBTSp.cjs → index-DaIE9uY1.cjs} +1 -1
- package/dist/{index-BT6DSXQW.js → index-Ddoq7kRQ.js} +9 -9
- package/dist/{index-CZKslfuq.js → index-Du1HuKYs.js} +2 -2
- package/dist/{index-Cxl9cpua.js → index-HgbCIoqo.js} +2 -2
- package/dist/index-MK7NdOmS.cjs +1 -0
- package/dist/{index-C7WQ1ky5.js → index-NaWMtdUV.js} +2 -2
- package/dist/{index-DTttfGgm.js → index-OX4hSXv6.js} +7 -7
- package/dist/{index-DXiGkaWi.cjs → index-TMUwtzAm.cjs} +1 -1
- package/dist/{index-DGRL8SEt.js → index-Va8AOLWi.js} +1 -1
- package/dist/{index-Bjsm8c8q.cjs → index-c4SVf22I.cjs} +1 -1
- package/dist/{index-CppJQDiT.js → index-gfdgTjvQ.js} +3 -3
- package/dist/{index-CEq2QX9L.js → index-nr6V1FzX.js} +7 -7
- package/dist/{index-ovqPs7X7.cjs → index-oMihgN5x.cjs} +1 -1
- package/dist/{index-DTuVgYze.cjs → index-r6HP72OA.cjs} +1 -1
- package/dist/{index-CBtxzh-u.js → index-tVVurbFz.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-n7J00Lcz.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js} +29074 -28413
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-b_9vxv2X.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZMwIbmlN.cjs} +392 -382
- package/dist/{index.vue_vue_type_style_index_1_lang-DDedRKQj.cjs → index.vue_vue_type_style_index_1_lang--4T7j9qz.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-q8rMzh6x.js → index.vue_vue_type_style_index_1_lang-CNh42_ZH.js} +75 -75
- package/dist/{main-CmrBxQsF.cjs → main-BH4e9Of0.cjs} +1 -1
- package/dist/{main-ZLB6NnLd.js → main-DU0KTY9Z.js} +4 -4
- package/dist/{menuIndex-8RF_0N_y.cjs → menuIndex-D52EAwtb.cjs} +1 -1
- package/dist/{menuIndex-BwWrdu20.js → menuIndex-DYaogp2R.js} +1 -1
- package/dist/ss-component.cjs +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-DpvPVwlN.js → threeModel-AsOY6mTs.js} +45 -45
- package/dist/{threeModel-D5UnPmV3.cjs → threeModel-rcCyHi_m.cjs} +1 -1
- package/dist/{threePreview-XQG7sQy9.js → threePreview-CkKl3frr.js} +125 -125
- package/dist/{threePreview-CBFQtSls.cjs → threePreview-DOD9HOZn.cjs} +1 -1
- package/dist/{threeSceneView-D97Sc8hd.cjs → threeSceneView-DZvOLWv6.cjs} +1 -1
- package/dist/{threeSceneView-CdZFIImJ.js → threeSceneView-DlL9pZlj.js} +38 -38
- package/dist/{threeSceneViewForCPMPIP-4Cjv1ZS4.cjs → threeSceneViewForCPMPIP-CZvKvfDx.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DH__ogKh.js → threeSceneViewForCPMPIP-DB0Eczbs.js} +8 -8
- package/dist/{threeTrackPathView-s17KavQX.cjs → threeTrackPathView-DgyAEYfV.cjs} +1 -1
- package/dist/{threeTrackPathView-BFQXaw-a.js → threeTrackPathView-Eb1bvUXJ.js} +78 -78
- package/dist/{threeViewerHost-C39tiQj-.cjs → threeViewerHost-BMU1tg9c.cjs} +1 -1
- package/dist/{threeViewerHost-BgPjA_94.js → threeViewerHost-Bdzv9iPb.js} +11 -11
- package/dist/{urdfTree-HdeBG5se.cjs → urdfTree-CoK2r17Y.cjs} +1 -1
- package/dist/{urdfTree-DM6uTeXj.js → urdfTree-hLtm0aFY.js} +10 -10
- package/dist/{workpieceTreePanel-C5qUdbmi.js → workpieceTreePanel-Ne_ACq86.js} +63 -63
- package/dist/{workpieceTreePanel-BKOHDm85.cjs → workpieceTreePanel-mWvCQyyw.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BteE57Nz.js +0 -103
- package/dist/index-C8FzkPpO.cjs +0 -1
- package/dist/index-CmctAnWR.cjs +0 -11
- package/dist/index-CsbDyIb2.cjs +0 -1
- package/dist/index-DdXtt1dh.js +0 -12544
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as H, nextTick as N, Fragment as q, withDirectives as z, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aA as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
|
|
3
3
|
import { a9 as X, av as G, D, H as c, G as R, a0 as g } from "./index-B8HqIYd5.js";
|
|
4
|
-
import {
|
|
4
|
+
import { P as J } from "./index-COQpDVsv.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const K = "ElUpload";
|
|
7
7
|
class Q extends Error {
|
|
@@ -3,14 +3,14 @@ var Xo = (C, E, m) => E in C ? Yo(C, E, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var aa = (C, E, m) => Xo(C, typeof E != "symbol" ? E + "" : E, m);
|
|
4
4
|
import { ref as j, watch as _l, nextTick as oa, resolveComponent as Fe, createBlock as He, openBlock as P, withCtx as W, createElementVNode as I, renderSlot as qn, defineComponent as jr, computed as ra, onMounted as Br, onUnmounted as us, createElementBlock as oe, withModifiers as Jl, createCommentVNode as je, toDisplayString as Ze, createVNode as G, createTextVNode as ll, Fragment as Rl, renderList as Zl, normalizeClass as ca, onBeforeUnmount as tn, normalizeStyle as mr, unref as da, reactive as qa, inject as Qo, provide as Zo, createSlots as Vo, resolveDynamicComponent as ei } from "vue";
|
|
5
5
|
import { E as Qe, ak as Gn, a1 as Yn, g as Fa, u as ds, f as li, al as ai, am as en, an as ri, d as ni, a as Ba, b as ln, e as Xn, ao as si } from "./index-B8HqIYd5.js";
|
|
6
|
-
import {
|
|
7
|
-
import { c as he,
|
|
8
|
-
import { h as Ti, c as Qa, _ as es, j as Ni, d as wi, E as ls, e as as, u as rs } from "./index-
|
|
9
|
-
import { c as $i, l as Ui } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
+
import { ae as oi, d as Ma, w as Xa, af as ii, ag as kr, ah as ti, g as sn, c as ui, b as di, ai as Da, t as ci, u as pi, aj as fi, ak as vi, al as hi, am as yi, F as an, an as Qn, l as gi, ao as Zn, G as bi, ap as mi, aq as ki, ar as _i, S as Si, as as Ci } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
|
|
7
|
+
import { c as he, h as cs, p as Ra, s as Ga, u as Ai, a as Oi, b as xi, E as Vn } from "./index-COQpDVsv.js";
|
|
8
|
+
import { h as Ti, c as Qa, _ as es, j as Ni, d as wi, E as ls, e as as, u as rs } from "./index-Bnp6YMyE.js";
|
|
9
|
+
import { c as $i, l as Ui } from "./index.vue_vue_type_style_index_1_lang-CNh42_ZH.js";
|
|
10
10
|
import { _ as Ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { s as $a } from "./index-
|
|
12
|
-
import { a as Di, T as Ei } from "./threeViewerHost-
|
|
13
|
-
import "./index-
|
|
11
|
+
import { s as $a } from "./index-DBh5Z73C.js";
|
|
12
|
+
import { a as Di, T as Ei } from "./threeViewerHost-Bdzv9iPb.js";
|
|
13
|
+
import "./index-Ddoq7kRQ.js";
|
|
14
14
|
import { i as ns } from "./isString-FfOeP713.js";
|
|
15
15
|
const rn = (C) => C.match(/\((.*)\)/)[1], ss = {
|
|
16
16
|
__name: "index",
|
|
@@ -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-CBqGrYej.cjs"),n=require("./index-BWCv7zxy.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 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-DS-YTop9.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZMwIbmlN.cjs"),x=require("./index-C5pQXH0_.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-BPlHuTxE.cjs"),k=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V={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:b}){const s=i,u=b,h=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),p=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=s.userInfo)==null?void 0:o.头像},o=>{p.value=o?h.value+"/"+o:""},{immediate:!0});const w=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"]});_.value=f}catch(o){throw new Error(o)}},S=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&&(p.value=h.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){x.ElMessage.error(r)}},y=async()=>{try{if(!p.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I.Avatar,{avatarUrl:p.value??"",avatarBlob:_.value,size:i.size,onClickAvatar:w,onSubmitImage:S,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",V,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=C._export_sfc(E,[["__scopeId","data-v-e466982c"]]),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:b}){const s=i,u=e.ref({}),h=e.ref([]),d=b,p=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},_=()=>{u.value.dialogShow=!1,d("beforeDestroy")},w=e.computed(()=>"http://222.92.178.198:62001"),S=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){x.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=S(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,h.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:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;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:w.value+"/"+((m=i.userInfo)==null?void 0:m.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.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(k.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:$=>p(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=C._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -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 { c as J, s as be, u as he, a as Ce, p as U,
|
|
3
|
-
import { u as ke } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, p as U, k as Ie } from "./index-COQpDVsv.js";
|
|
3
|
+
import { u as ke } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
|
|
4
4
|
import { g as $, E as S, f as ae, u as oe, n as Te, d as Me } from "./index-B8HqIYd5.js";
|
|
5
|
-
import { a as Se } from "./menuIndex-
|
|
5
|
+
import { a as Se } from "./menuIndex-DYaogp2R.js";
|
|
6
6
|
const F = Ce(U), ne = ke(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = j(() => {
|
|
7
7
|
var e, t;
|
|
8
8
|
return [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as V, openBlock as x, createElementVNode as g, renderSlot as N, defineComponent as O, ref as $, resolveComponent as S, createVNode as v, withCtx as f, unref as A, reactive as q, watch as D, onBeforeUnmount as G, onMounted as J, toDisplayString as I, createTextVNode as K } from "vue";
|
|
2
2
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { b as j, p as H, d as Q,
|
|
4
|
-
import { s as z, E as U, a as
|
|
5
|
-
import { useRouter as
|
|
6
|
-
import {
|
|
3
|
+
import { b as j, p as H, d as Q, l as X, s as Y } from "./index-COQpDVsv.js";
|
|
4
|
+
import { s as z, E as U, a as Z } from "./index-B8HqIYd5.js";
|
|
5
|
+
import { useRouter as ee } from "vue-router";
|
|
6
|
+
import { v as te } from "./index-DIWralYr.js";
|
|
7
7
|
const ae = {}, oe = { class: "left-wrap" }, ne = { class: "left-bg" };
|
|
8
8
|
function se(h, _) {
|
|
9
9
|
return x(), V("div", oe, [
|
|
@@ -320,7 +320,7 @@ function we() {
|
|
|
320
320
|
}
|
|
321
321
|
const W = j(H), Le = async (h) => {
|
|
322
322
|
var s, w, i, o, c, n, r, m, b, L, y, F, a;
|
|
323
|
-
let _ = Object.values(h), e = await
|
|
323
|
+
let _ = Object.values(h), e = await X({
|
|
324
324
|
userName: (s = _ == null ? void 0 : _[0]) == null ? void 0 : s.trim(),
|
|
325
325
|
password: (w = _ == null ? void 0 : _[1]) == null ? void 0 : w.trim()
|
|
326
326
|
});
|
|
@@ -332,7 +332,7 @@ const W = j(H), Le = async (h) => {
|
|
|
332
332
|
},
|
|
333
333
|
emits: ["change"],
|
|
334
334
|
setup(h, { emit: _ }) {
|
|
335
|
-
const e =
|
|
335
|
+
const e = ee(), s = j(H), { systemKey: w, systemInfo: i, loginUserInfo: o } = Y(s), c = $({
|
|
336
336
|
// sysCTitle: 'INSOFWORKS',
|
|
337
337
|
sysCTitle: "",
|
|
338
338
|
sysETitle: "",
|
|
@@ -370,7 +370,7 @@ const W = j(H), Le = async (h) => {
|
|
|
370
370
|
}, F = async () => {
|
|
371
371
|
var t, u, p;
|
|
372
372
|
try {
|
|
373
|
-
const l = await
|
|
373
|
+
const l = await Z.post("http://139.196.154.85:20024/api/sysAuth/login", {
|
|
374
374
|
account: "superadmin",
|
|
375
375
|
password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
|
|
376
376
|
codeId: 0,
|
|
@@ -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-
|
|
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-ZMwIbmlN.cjs");const n=require("./index-DRTxe12U.cjs"),b=require("./index-C5pQXH0_.cjs"),i=require("./index-CBqGrYej.cjs"),y=n.useModelComp(),{itemData:g}=n.storeToRefs(y),u=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},c=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=>{n.submitTableAsyncByVerify(e.singleContent,e.buttonName,u.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=async e=>{const a=await n.handleSubmitAsync(b.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),r=a==null?void 0:a.map(t=>{var l;return{id:t.id,tableData:(l=t==null?void 0:t.value)==null?void 0:l.tableData}});return r==null?void 0:r.map(t=>{var l;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(l=t==null?void 0:t.tableData)==null||l.forEach((p,d)=>{s[`a${d}`]=p}),s}else return{...t.tableData,id:t.id}})},S={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:c.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(c.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:c,queryFormData:D,structureId:u,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),r=n.useMenuState(),{activeMenuPath:t}=n.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await n.getActivePageStructureId(t.value)}),(l,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 e=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-CBqGrYej.cjs"),d=require("./index-DRTxe12U.cjs"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B={class:"routerPage-wrapper"},w={class:"role-dialog-header"},N=["title"],b={title:"更多"},D={class:"dialog-footer"},y=e.defineComponent({__name:"index",setup(M){const g=d.useMenuState(),{menus:_,activeMenuPath:C}=d.storeToRefs(g),o=e.reactive({...d.State$1}),{treeRef:k}=d.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(C.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,h;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(h=t==null?void 0:t.path)==null?void 0:h.substring(1):t.path}});return e.watch(()=>_.value,i=>{e.nextTick(()=>{const t=d.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),h=e.resolveComponent("svg-icon"),x=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",B,[e.createVNode(v.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",w,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:k,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,N),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(x,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",b,[e.withDirectives(e.createVNode(h,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),S=V._export_sfc(y,[["__scopeId","data-v-78a46dd8"]]);exports.default=S;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as s, watch as d, defineComponent as m, reactive as y, onMounted as i, createElementBlock as g, openBlock as D, createVNode as f } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import {
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
|
|
4
|
+
import { m as h, k as C, a as _, s as c, u as k, n as S } from "./index-COQpDVsv.js";
|
|
5
5
|
import { g as v } from "./index-B8HqIYd5.js";
|
|
6
|
-
import { s as T } from "./index-
|
|
6
|
+
import { s as T } from "./index-OX4hSXv6.js";
|
|
7
7
|
const A = _(), { itemData: B } = c(A), u = s(0), I = s([
|
|
8
8
|
{
|
|
9
9
|
label: "机构名称",
|