ss-component-new 1.3.13 → 1.3.15
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/{array-Bg-M1dRR.js → array-CHiuRTvF.js} +2 -2
- package/dist/{array-DSgiHp_j.cjs → array-DOVmKfZT.cjs} +1 -1
- package/dist/{index-Dw4-rPvA.js → index-13ewbMmH.js} +4 -4
- package/dist/{index-DNmw0pc6.js → index-3yUTqOoZ.js} +7 -7
- package/dist/{index-bwtexcx2.cjs → index-B02EJ4MR.cjs} +1 -1
- package/dist/{index-Bb1M3ASi.cjs → index-B1rKeEij.cjs} +1 -1
- package/dist/{index-DhEfvV0x.js → index-BBHNVhY_.js} +2 -2
- package/dist/{index-D7054IS6.cjs → index-BMnbI4HO.cjs} +1 -1
- package/dist/{index-h_-N0ZtQ.js → index-BTjmlXg9.js} +1 -1
- package/dist/{index-gzS894Xb.cjs → index-B_YnYD5D.cjs} +1 -1
- package/dist/{index-CJJzXv2E.cjs → index-BbpH-BcI.cjs} +1 -1
- package/dist/{index-CBJCu7IU.cjs → index-Bo_qYT5q.cjs} +1 -1
- package/dist/{index-Ez8Heyym.js → index-BrpC5hQc.js} +5 -10
- package/dist/{index-BfpxkTBr.cjs → index-Brxn_4gh.cjs} +1 -1
- package/dist/{index-DaoKeyl8.cjs → index-CCPPHlwr.cjs} +1 -1
- package/dist/{index-Cwt7s25B.cjs → index-CF_x1qf1.cjs} +1 -1
- package/dist/{index-N6U5R7pz.cjs → index-CKnb7oL8.cjs} +1 -1
- package/dist/{index-DVNEBZvu.js → index-CawLLixl.js} +1 -1
- package/dist/{index-i0GbQYT8.js → index-Cdls6dwX.js} +1 -1
- package/dist/{index-CtiuIHrN.cjs → index-CnUhxEQ8.cjs} +1 -1
- package/dist/{index-BTVKWZt_.js → index-D4Tsy2TI.js} +1 -1
- package/dist/{index-C9SfnCpQ.js → index-DDubbIDT.js} +1 -1
- package/dist/{index-BcipoSQA.js → index-DEscdBb5.js} +1 -1
- package/dist/{index-DIo9kT8l.cjs → index-DO1oG_Jb.cjs} +1 -1
- package/dist/{index-AgxmhjXT.js → index-DOZRa5Fz.js} +1 -1
- package/dist/{index-Bo9X-gZk.cjs → index-DWiUP549.cjs} +1 -1
- package/dist/{index-dQFlJRrM.js → index-DcTKXcuF.js} +1 -1
- package/dist/{index-DbnDlzwg.cjs → index-Dy26yEM6.cjs} +1 -1
- package/dist/{index-B-SYbelE.js → index-dNkisYXy.js} +1 -1
- package/dist/{index-Bi76KPTH.js → index-kdARxBqY.js} +2 -2
- package/dist/{index-BPwYtuzg.cjs → index-osGPFkax.cjs} +1 -1
- package/dist/{index-DHZOXdHe.js → index-xTFTHl76.js} +2 -2
- package/dist/{main-DQ4rxh2x.js → main-D5ItCvgs.js} +2 -2
- package/dist/{main-CwhQ7pet.cjs → main-DCV5IcoT.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +4 -4
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-DnKfIIgn.cjs → threeModel-BZLvXD2S.cjs} +1 -1
- package/dist/{threeModel-B28hvnHw.js → threeModel-C3rbFZky.js} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
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
2
|
import { S as I, t as x } from "./index-Ddoq7kRQ.js";
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
3
|
+
import { s as w, a as L } from "./index-CawLLixl.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
5
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
|
|
6
|
-
import { f as E } from "./index-
|
|
6
|
+
import { f as E } from "./index-BrpC5hQc.js";
|
|
7
7
|
import { b as N, s as U } from "./index-COQpDVsv.js";
|
|
8
8
|
import "./index-B8HqIYd5.js";
|
|
9
9
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-BJPBBWWH.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-BJPBBWWH.cjs"),_=require("./index-Bo_qYT5q.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZMwIbmlN.cjs");const h=require("./index-CCPPHlwr.cjs"),f=require("./index-DRTxe12U.cjs");require("./index-C5pQXH0_.cjs");const y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={class:"personal-wrapper"},x={class:"personal-box left"},N={class:"base-avatar"},S={class:"center-avatar"},D={class:"base-info"},E={class:"base-signature"},k={class:"personal-box right"},B=e.defineComponent({__name:"index",setup(T){const t=e.reactive({...l.State}),b=f.useLoginState(),{loginUserInfo:n}=f.storeToRefs(b);return e.onMounted(()=>{var s;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((s=n==null?void 0:n.value)==null?void 0:s.id),l.tabKey.value++}),(s,o)=>{var c,d,u,g,p,m,v;const r=e.resolveComponent("svg-icon"),i=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",x,[e.createElementVNode("div",N,[e.createElementVNode("div",S,[e.withDirectives(e.createVNode(_.ssAvatar,{size:100,disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=a=>t.submitImageAsync("avatarUrl",a))},null,8,["disabled","userInfo"]),[[i,t.avatarLoading]])])]),e.createElementVNode("div",D,[e.createElementVNode("div",null,[e.createVNode(r,{name:"userAccount",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((c=e.unref(n))==null?void 0:c.account)||(((d=e.unref(n))==null?void 0:d.姓名)??"未知")),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"role",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((u=e.unref(n))==null?void 0:u.layer)==="superAdmin"?"超级管理员":((g=e.unref(n))==null?void 0:g.角色名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"dept",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((p=e.unref(n))==null?void 0:p.部门名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(r,{name:"status",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((m=e.unref(n))==null?void 0:m.layer)==="superAdmin"?"启用":((v=e.unref(n))==null?void 0:v.状态)??"未知"),1)])]),e.createElementVNode("div",E,[e.withDirectives(e.createVNode(_.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=a=>t.submitImageAsync("signature",a))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[i,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[(e.openBlock(),e.createBlock(h.ssTab,{key:e.unref(l.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[i,t.loading]])])}}}),C=y._export_sfc(B,[["__scopeId","data-v-3bdf3f4b"]]);exports.default=C;
|
|
@@ -5,7 +5,7 @@ import { ref as j, watch as _l, nextTick as oa, resolveComponent as Fe, createBl
|
|
|
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
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
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-
|
|
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-BrpC5hQc.js";
|
|
9
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
11
|
import { s as $a } from "./index-DBh5Z73C.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BWCv7zxy.cjs"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-BWCv7zxy.cjs"),r=require("./index-CKnb7oL8.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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DRTxe12U.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DRTxe12U.cjs"),_=require("./index-CKnb7oL8.cjs"),r=require("./index-DHdrBDP4.cjs"),C=require("./index-C5pQXH0_.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=u.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await C.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(_.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1 +1 @@
|
|
|
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-
|
|
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-CCPPHlwr.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;
|
|
@@ -1259,14 +1259,9 @@ const $f = {
|
|
|
1259
1259
|
};
|
|
1260
1260
|
}
|
|
1261
1261
|
}, qf = async (n) => {
|
|
1262
|
-
var
|
|
1263
|
-
let e = (
|
|
1264
|
-
t = t == null ? void 0 : t.filter((
|
|
1265
|
-
let o = (c = (h = (a = t == null ? void 0 : t[0]) == null ? void 0 : a.compData) == null ? void 0 : h.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : c.contents;
|
|
1266
|
-
return o == null ? void 0 : o.map((d) => ({
|
|
1267
|
-
label: d == null ? void 0 : d[s == null ? void 0 : s[0]],
|
|
1268
|
-
value: d == null ? void 0 : d[s == null ? void 0 : s[0]]
|
|
1269
|
-
}));
|
|
1262
|
+
var s;
|
|
1263
|
+
let e = (s = n == null ? void 0 : n.menus) == null ? void 0 : s.join("/"), t = await fr(e, !1), i = n == null ? void 0 : n.groups;
|
|
1264
|
+
n == null || n.words, t = t == null ? void 0 : t.filter((o) => (o == null ? void 0 : o.name) === (i == null ? void 0 : i[(i == null ? void 0 : i.length) - 1]));
|
|
1270
1265
|
}, Yf = ["onClick"], Kf = {
|
|
1271
1266
|
__name: "index",
|
|
1272
1267
|
props: {
|
|
@@ -1378,7 +1373,7 @@ const $f = {
|
|
|
1378
1373
|
}));
|
|
1379
1374
|
} else if (((N2 = (E2 = t.optionUrl) == null ? void 0 : E2.menus) == null ? void 0 : N2.length) > 0) {
|
|
1380
1375
|
let T2 = await qf(t.optionUrl);
|
|
1381
|
-
r.value = [...r.value, ...T2], s.value = (g = (S2 = r.value) == null ? void 0 : S2[0]) == null ? void 0 : g.value;
|
|
1376
|
+
r.value = [...r.value, ...T2 ?? []], s.value = (g = (S2 = r.value) == null ? void 0 : S2[0]) == null ? void 0 : g.value;
|
|
1382
1377
|
}
|
|
1383
1378
|
i("click");
|
|
1384
1379
|
};
|
|
@@ -1427,7 +1422,7 @@ const $f = {
|
|
|
1427
1422
|
}, 8, ["class", "modelValue", "multiple", "multiple-limit", "clearable", "placeholder", "onBlur"]));
|
|
1428
1423
|
};
|
|
1429
1424
|
}
|
|
1430
|
-
}, h3 = /* @__PURE__ */ B2(Kf, [["__scopeId", "data-v-
|
|
1425
|
+
}, h3 = /* @__PURE__ */ B2(Kf, [["__scopeId", "data-v-80b48ab5"]]), Xf = {
|
|
1431
1426
|
key: 0,
|
|
1432
1427
|
class: "form-operator-wrap"
|
|
1433
1428
|
}, Qf = { class: "form-content-view" }, Jf = {
|
|
@@ -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-CKnb7oL8.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;
|