ss-component-new 1.3.13 → 1.3.14
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-C_XCtjSi.cjs → MTLLoader-B3diP_CH.cjs} +1 -1
- package/dist/{MTLLoader-YR-bfx1D.js → MTLLoader-D0AtmWHn.js} +37 -37
- package/dist/{OrbitControls-CktvE4iE.cjs → OrbitControls-BEMjDphC.cjs} +1 -1
- package/dist/{OrbitControls-BGsXD_A7.js → OrbitControls-C2bjXeWs.js} +1 -1
- package/dist/{URDFLoader-10oVp_KW.cjs → URDFLoader-GlKgq4QK.cjs} +1 -1
- package/dist/{URDFLoader-m1gMdnSQ.js → URDFLoader-qmyg9fYK.js} +189 -189
- package/dist/{animationData-CpK8d_Vm.js → animationData-Bi3_TyWE.js} +26 -26
- package/dist/{animationData-Cr2ra7rm.cjs → animationData-IwjfXQMn.cjs} +1 -1
- package/dist/{array-DSgiHp_j.cjs → array-DUQ3K_U3.cjs} +1 -1
- package/dist/{array-Bg-M1dRR.js → array-UVmZuEFZ.js} +46 -46
- package/dist/{iconfont-DsF7kuG5.cjs → iconfont-CAsy8t6b.cjs} +1 -1
- package/dist/{iconfont-0yJB130V.js → iconfont-DSIYZm9L.js} +29 -29
- package/dist/{index-i0GbQYT8.js → index-34N9MmAJ.js} +3 -3
- package/dist/{index-D8HD14bz.js → index-B2ktP1tY.js} +1 -1
- package/dist/{index-Ez8Heyym.js → index-B8Plk6_G.js} +915 -924
- package/dist/{index-BJPBBWWH.cjs → index-BLxE_tkf.cjs} +1 -1
- package/dist/{index-gfdgTjvQ.js → index-BNjvOnNL.js} +3 -3
- package/dist/{index-Ddoq7kRQ.js → index-BT6DSXQW.js} +9 -9
- package/dist/{index-CVXrjDFh.cjs → index-BWaSs-dx.cjs} +1 -1
- package/dist/{index-DIo9kT8l.cjs → index-BYJp0q3a.cjs} +1 -1
- package/dist/{index-DaoKeyl8.cjs → index-BaZ8Dz9C.cjs} +12 -12
- package/dist/{index-DHZOXdHe.js → index-BbZzjjV4.js} +7 -7
- package/dist/{index-BXUByyre.js → index-BfJ9-vQE.js} +2 -2
- package/dist/{index-DNmw0pc6.js → index-BoPqoH3C.js} +41 -41
- package/dist/index-BteE57Nz.js +103 -0
- package/dist/{index-dQFlJRrM.js → index-C-1cJ11C.js} +7 -7
- package/dist/{index-h_-N0ZtQ.js → index-C00SsoBw.js} +7 -7
- package/dist/{index-BcipoSQA.js → index-C5Q1KlY_.js} +2 -2
- package/dist/{index-Cwt7s25B.cjs → index-C7G7qNVy.cjs} +1 -1
- package/dist/index-C8FzkPpO.cjs +1 -0
- package/dist/{index-DRTxe12U.cjs → index-C8fMwErX.cjs} +13 -13
- package/dist/{index-N6U5R7pz.cjs → index-CD3-vCG-.cjs} +1 -1
- package/dist/{index-nr6V1FzX.js → index-CEq2QX9L.js} +7 -7
- package/dist/{index-CXiOVgoz.js → index-CEzEaG0d.js} +1 -1
- package/dist/{index-AgxmhjXT.js → index-CFZzQ_84.js} +8 -8
- package/dist/{index-Cjqg29ul.cjs → index-CIrXKpNl.cjs} +1 -1
- package/dist/{index-CBJCu7IU.cjs → index-Cd1xYGsa.cjs} +1 -1
- package/dist/{index-D_Yhv_HV.cjs → index-CdV2vSOK.cjs} +1 -1
- package/dist/index-CnuuKF1t.js +12544 -0
- package/dist/{index-C9SfnCpQ.js → index-CvqHcSC4.js} +2 -2
- package/dist/{index-DU9e5EhS.cjs → index-Cw4Pm2PQ.cjs} +1 -1
- package/dist/{index-bwtexcx2.cjs → index-D1X1OeUR.cjs} +1 -1
- package/dist/{index-gzS894Xb.cjs → index-DGIfO1LO.cjs} +1 -1
- package/dist/{index-Va8AOLWi.js → index-DGRL8SEt.js} +1 -1
- package/dist/{index-D3ixok8t.cjs → index-DJjHIf5F.cjs} +1 -1
- package/dist/{index-Bi76KPTH.js → index-DLF_1ATs.js} +5 -5
- package/dist/{index-DaIE9uY1.cjs → index-DMHNlcTB.cjs} +1 -1
- package/dist/{index-BfpxkTBr.cjs → index-DnMehixw.cjs} +1 -1
- package/dist/index-DowlDm_R.cjs +11 -0
- package/dist/{index-BTVKWZt_.js → index-DppPsJwa.js} +2 -2
- package/dist/{index-BPwYtuzg.cjs → index-Dy5qQAC3.cjs} +1 -1
- package/dist/{index-DS-YTop9.cjs → index-Jytyg12u.cjs} +1 -1
- package/dist/{index-CJJzXv2E.cjs → index-L_qyO2xf.cjs} +1 -1
- package/dist/{index-DhEfvV0x.js → index-US_KTUv7.js} +5 -5
- package/dist/{index-CtiuIHrN.cjs → index-bmTqenMO.cjs} +1 -1
- package/dist/{index-D7054IS6.cjs → index-dSga-Sqb.cjs} +1 -1
- package/dist/{index-NaWMtdUV.js → index-fuCgJzzm.js} +2 -2
- package/dist/{index-DVNEBZvu.js → index-fuVLvPhz.js} +3 -3
- package/dist/index-hh3Ozhvs.cjs +1 -0
- package/dist/{index-DBh5Z73C.js → index-i7Q6x7Zz.js} +1 -1
- package/dist/{index-B-SYbelE.js → index-jDCU1Wp9.js} +2 -2
- package/dist/{index-COQpDVsv.js → index-sMsCzNtW.js} +1535 -1570
- package/dist/{index-BWCv7zxy.cjs → index-vCTVD7cV.cjs} +1 -1
- package/dist/{index-Bo9X-gZk.cjs → index-wIeZl5t7.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BRc8dG0E.js} +31601 -32166
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZMwIbmlN.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CbFQ2oZH.cjs} +394 -404
- package/dist/{index.vue_vue_type_style_index_1_lang-CNh42_ZH.js → index.vue_vue_type_style_index_1_lang-Cqe1NPUQ.js} +78 -78
- package/dist/{index.vue_vue_type_style_index_1_lang--4T7j9qz.cjs → index.vue_vue_type_style_index_1_lang-D5dZrna1.cjs} +1 -1
- package/dist/{main-CwhQ7pet.cjs → main-DMEkPrPQ.cjs} +1 -1
- package/dist/{main-DQ4rxh2x.js → main-JQX3whvo.js} +4 -4
- package/dist/{menuIndex-D52EAwtb.cjs → menuIndex-8RF_0N_y.cjs} +1 -1
- package/dist/{menuIndex-DYaogp2R.js → menuIndex-BwWrdu20.js} +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-B28hvnHw.js → threeModel-BYeWWze5.js} +45 -45
- package/dist/{threeModel-DnKfIIgn.cjs → threeModel-cUS9-ww3.cjs} +1 -1
- package/dist/{threePreview-DOD9HOZn.cjs → threePreview-BtspqluS.cjs} +1 -1
- package/dist/{threePreview-CkKl3frr.js → threePreview-CZI4Z6PT.js} +103 -103
- package/dist/{threeSceneView-DZvOLWv6.cjs → threeSceneView-B5L-Drf9.cjs} +1 -1
- package/dist/{threeSceneView-DlL9pZlj.js → threeSceneView-Cr_KXNx5.js} +38 -38
- package/dist/{threeSceneViewForCPMPIP-DB0Eczbs.js → threeSceneViewForCPMPIP-BuuDHRI4.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-CZvKvfDx.cjs → threeSceneViewForCPMPIP-Dp8auXh3.cjs} +1 -1
- package/dist/{threeTrackPathView-DgyAEYfV.cjs → threeTrackPathView-78ve4cJ3.cjs} +1 -1
- package/dist/{threeTrackPathView-Eb1bvUXJ.js → threeTrackPathView-DWMtEQZW.js} +66 -66
- package/dist/{threeViewerHost-BMU1tg9c.cjs → threeViewerHost-Mm-Ez-7E.cjs} +1 -1
- package/dist/{threeViewerHost-Bdzv9iPb.js → threeViewerHost-Yx0xoLgc.js} +20 -20
- package/dist/{urdfTree-hLtm0aFY.js → urdfTree-DMMvqDhp.js} +10 -10
- package/dist/{urdfTree-CoK2r17Y.cjs → urdfTree-npoVarfp.cjs} +1 -1
- package/dist/{workpieceTreePanel-mWvCQyyw.cjs → workpieceTreePanel-B2ICcFLW.cjs} +1 -1
- package/dist/{workpieceTreePanel-Ne_ACq86.js → workpieceTreePanel-C6ceilqa.js} +56 -56
- package/package.json +1 -1
- package/dist/index-Bb1M3ASi.cjs +0 -1
- package/dist/index-CpbBe_mV.cjs +0 -1
- package/dist/index-DIWralYr.js +0 -67
- package/dist/index-DbnDlzwg.cjs +0 -1
- package/dist/index-Dw4-rPvA.js +0 -11883
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("vue"),y=require("./index-C5pQXH0_.cjs"),g=require("./index-
|
|
1
|
+
"use strict";const f=require("vue"),y=require("./index-C5pQXH0_.cjs"),g=require("./index-C8fMwErX.cjs"),D=g.useLoginState(g.pinia),{loginUserInfo:u,cryptoInfo:w}=g.storeToRefs(D),V=g.useMenuState(g.pinia),{activeMenuPath:b}=g.storeToRefs(V),P=f.ref(0),R=f.computed(()=>{var s,a,t,r,n,l,e,o,p,d,v;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((p=u.value)==null?void 0:p.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((d=u.value)==null?void 0:d.layer)==="superAdmin"?"启用":((v=u.value)==null?void 0:v.状态)??"未知"}]}),W=()=>{},U=f.ref(!1),h=f.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=f.ref([{label:"签字版",icon:y.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:y.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:y.upload_filled_default,type:"buttonUpload",disabled:!1}]),I=f.ref(!1),T=f.ref(!1),M=f.ref(!1),_=f.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value;return Array.isArray(a)?(M.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),$=f.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:_.value}]),O=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,p,d,v;const a=await y.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const c={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(v=(d=(p=a.data.result)==null?void 0:p[0])==null?void 0:d.key)==null?void 0:v.layer};D.setLoginUserInfo(c)}},q=async(s,a)=>{var r,n,l;const t=g.cloneDeep(s);t==null||delete t.id;try{const e=await y.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),y.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},b.value))}catch{y.ElMessage.error("修改响应失败")}finally{U.value=!1,I.value=!1,T.value=!1}},B=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};I.value=s==="avatarUrl",T.value=s==="signature",await q(r,"图片修改")},m=f.reactive({baseCols:[],otherCols:[]}),K=f.ref([]),k=f.ref(),H=(s,a,t)=>{var l,e,o,p,d,v;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?g.decryptData((p=u.value)==null?void 0:p.password,(d=w==null?void 0:w.value)==null?void 0:d.privateKey):g.resetPassword:r=(v=u.value)==null?void 0:v.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},j=(s,a,t)=>{a?t():t(new Error("请输入密码"))},x=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,p,d,v;const s=await y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const c=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(p=R.value)==null?void 0:p.map(i=>i==null?void 0:i.prop);m.baseCols=c&&((d=c.contents)==null?void 0:d.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(v=c.contents)==null?void 0:v.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:H},{...A,label:"新密码",prop:"newtPass",validator:j},{...A,label:"确认密码",prop:"confirmNewPass",validator:x}];m.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:g.encryptData(s==null?void 0:s.confirmNewPass,(e=w.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},E=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=m.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=E())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=m.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=m.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(p,d,v)=>o.validator(p,d,v),trigger:"blur"}],e),{}),buttonValue:(l=E())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:I,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:O,clickTabButton:G,getUserTableHeadersAsync:J,itemData:$,loading:U,refreshLoginUserInfoAsync:N,rowContents:R,signPadInfo:h,signTypes:_,signatureLoading:T,submitImageAsync:B,tabKey:P,tabsContents:K,tempSignTypes:S,uploadDisabled:M},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=P;
|
|
@@ -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, h as Ie } from "./index-sMsCzNtW.js";
|
|
3
|
+
import { u as ke } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BRc8dG0E.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-BwWrdu20.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,7 +1,7 @@
|
|
|
1
1
|
import { ref as f, computed as S, reactive as P } from "vue";
|
|
2
|
-
import { ax as $, ay as B, au as H, g as
|
|
3
|
-
import { s as
|
|
4
|
-
const A = x(
|
|
2
|
+
import { ax as $, ay as B, au as H, g as L, u as j, E as T } from "./index-B8HqIYd5.js";
|
|
3
|
+
import { s as M, b as x, L as J, u as z, p as R, c as G, d as Q, M as X } from "./index-sMsCzNtW.js";
|
|
4
|
+
const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMenuPath: g } = M(Y), Z = f(0), _ = S(() => {
|
|
5
5
|
var s, a, t, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -93,7 +93,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
93
93
|
m.dialogShow = !1;
|
|
94
94
|
}, F = async (s) => {
|
|
95
95
|
var t, r, l, n, e, u, p, d, v;
|
|
96
|
-
const a = await
|
|
96
|
+
const a = await L({
|
|
97
97
|
id: s
|
|
98
98
|
// key: {
|
|
99
99
|
// systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -112,7 +112,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
112
112
|
}
|
|
113
113
|
}, V = async (s, a) => {
|
|
114
114
|
var r, l, n;
|
|
115
|
-
const t =
|
|
115
|
+
const t = G(s);
|
|
116
116
|
t == null || delete t.id;
|
|
117
117
|
try {
|
|
118
118
|
const e = await j({
|
|
@@ -147,7 +147,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
147
147
|
var n, e, u, p, d, v;
|
|
148
148
|
let r;
|
|
149
149
|
const l = a;
|
|
150
|
-
((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ?
|
|
150
|
+
((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ? Q((p = o.value) == null ? void 0 : p.password, (d = c == null ? void 0 : c.value) == null ? void 0 : d.privateKey) : X : r = (v = o.value) == null ? void 0 : v.password, r === l ? t() : t(new Error("输入的密码与原密码不匹配,请重新输入"));
|
|
151
151
|
}, le = (s, a, t) => {
|
|
152
152
|
a ? t() : t(new Error("请输入密码"));
|
|
153
153
|
}, ne = (s, a, t) => {
|
|
@@ -155,7 +155,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
155
155
|
a !== ((r = q.value) == null ? void 0 : r.newtPass) ? t(new Error("两次输入的密码不一致")) : t();
|
|
156
156
|
}, oe = async () => {
|
|
157
157
|
var a, t, r, l, n, e, u, p, d, v;
|
|
158
|
-
const s = await
|
|
158
|
+
const s = await L({
|
|
159
159
|
key: {
|
|
160
160
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
161
161
|
type: "structure",
|
|
@@ -164,7 +164,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
if (((a = s == null ? void 0 : s.data) == null ? void 0 : a.code) === 200 && s.data.result && ((t = s.data.result) == null ? void 0 : t.length) > 0) {
|
|
167
|
-
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p =
|
|
167
|
+
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p = _.value) == null ? void 0 : p.map((i) => i == null ? void 0 : i.prop);
|
|
168
168
|
b.baseCols = y && ((d = y.contents) == null ? void 0 : d.map((i) => ({
|
|
169
169
|
...i,
|
|
170
170
|
isFormColHidden: (w == null ? void 0 : w.includes(i == null ? void 0 : i.prop)) || (i == null ? void 0 : i.label) === "操作"
|
|
@@ -310,7 +310,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
310
310
|
itemData: ae,
|
|
311
311
|
loading: D,
|
|
312
312
|
refreshLoginUserInfoAsync: F,
|
|
313
|
-
rowContents:
|
|
313
|
+
rowContents: _,
|
|
314
314
|
signPadInfo: m,
|
|
315
315
|
signTypes: k,
|
|
316
316
|
signatureLoading: I,
|
|
@@ -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-CbFQ2oZH.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 +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-CbFQ2oZH.cjs");const n=require("./index-C8fMwErX.cjs"),b=require("./index-C5pQXH0_.cjs"),i=require("./index-CD3-vCG-.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;
|