ss-component-new 1.2.37 → 1.2.38
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-gxq5Kvds.js → MTLLoader-B4lJr_ku.js} +1 -1
- package/dist/{MTLLoader-Dihj5ymj.cjs → MTLLoader-CkNQ5SUP.cjs} +1 -1
- package/dist/{OrbitControls-Ba8QWDQU.cjs → OrbitControls-CpTJa--7.cjs} +1 -1
- package/dist/{OrbitControls-BonUITsH.js → OrbitControls-CwAfnF56.js} +1 -1
- package/dist/{animationData-AAFCWE58.cjs → animationData-CF6-_eBc.cjs} +1 -1
- package/dist/{animationData-DOlVDTlo.js → animationData-ETdtTXwF.js} +4 -4
- package/dist/{array-D7EDjc7l.js → array-BUiCaQsR.js} +35 -35
- package/dist/{array-Bvce3EAi.cjs → array-CbzJvO5y.cjs} +1 -1
- package/dist/{dataUtil-B98txAs6.cjs → dataUtil-DFkONpps.cjs} +1 -1
- package/dist/{dataUtil-VNsK7cTO.js → dataUtil-oabcbdyY.js} +2 -2
- package/dist/{fileUtil-BeIaOSMH.cjs → fileUtil-BezA0XEu.cjs} +1 -1
- package/dist/{fileUtil-D7S_1Tde.js → fileUtil-xUu_aleM.js} +1 -1
- package/dist/{iconfont-wtkqkYlV.cjs → iconfont-Bc_5-mGm.cjs} +1 -1
- package/dist/{iconfont-Dnc_kFzN.js → iconfont-Cj5twyUW.js} +2 -2
- package/dist/{index-B8bUR1Ri.cjs → index-7jCqww1w.cjs} +1 -1
- package/dist/{index-BCLRJLSj.js → index-B35gkDgD.js} +1 -1
- package/dist/{index-Cv9MOPos.cjs → index-B3_Z46NG.cjs} +1 -1
- package/dist/{index-BbzUzdxF.cjs → index-B5KCSN4c.cjs} +1 -1
- package/dist/{index-DWR446SX.js → index-BA_mOmgl.js} +40 -40
- package/dist/{index-ClnJ1K8q.cjs → index-BHkXSoxP.cjs} +1 -1
- package/dist/{index-XPbPRVHs.cjs → index-BOfa3R-1.cjs} +1 -1
- package/dist/{index-dz7-iyTs.js → index-BWDmAGYH.js} +8 -8
- package/dist/{index-DBpviAty.cjs → index-BahsZur-.cjs} +1 -1
- package/dist/{index-DfdAKUNR.cjs → index-Bha2dAuG.cjs} +1 -1
- package/dist/{index-BwoXi1LQ.js → index-BjLowWoy.js} +2 -2
- package/dist/{index-BeawnQ97.js → index-BnNI_rxz.js} +3 -3
- package/dist/{index-D2FUUF0p.js → index-BopRIRaa.js} +3300 -3311
- package/dist/{index-BrvAeT7w.js → index-Bp59pdeu.js} +10 -10
- package/dist/{index-CCAXN_VF.cjs → index-BsQpRUkg.cjs} +1 -1
- package/dist/{index-CeJI9fRM.cjs → index-Bsj_M3tu.cjs} +1 -1
- package/dist/{index-dg2e5vzL.js → index-BwL33eO2.js} +2 -2
- package/dist/{index-B-xelo5W.js → index-C-4KKbC7.js} +3 -3
- package/dist/{index-Z3NUprRN.cjs → index-C8YYklCT.cjs} +1 -1
- package/dist/{index-K4IHDJhC.js → index-CTIVfb14.js} +3 -3
- package/dist/{index-ChfpFIIo.js → index-CUeHiWp_.js} +52 -52
- package/dist/{index-DATWIRSp.cjs → index-CV-9wRXp.cjs} +1 -1
- package/dist/{index-nvemkzcE.js → index-CWQAImyg.js} +2 -2
- package/dist/{index-diSrIKAW.js → index-CX9ZToOe.js} +303 -303
- package/dist/{index-BiNILQi8.js → index-C_FC7JhD.js} +6 -6
- package/dist/{index-DdWJf1s4.js → index-CcKVjgvm.js} +2 -2
- package/dist/{index-BJoRCnr3.cjs → index-CfKLvZ17.cjs} +1 -1
- package/dist/{index-DeakNivq.cjs → index-Ci05kJVO.cjs} +1 -1
- package/dist/{index-DKnofcM3.cjs → index-CizvuDrT.cjs} +1 -1
- package/dist/{index-B3sDwg_c.js → index-CkTqgfCV.js} +1 -1
- package/dist/{index-BU5DWXf0.cjs → index-CnW0XyMI.cjs} +1 -1
- package/dist/{index-DXY5_0gS.cjs → index-CnasZ7DR.cjs} +1 -1
- package/dist/{index-d2eZUUOL.js → index-CowSp0mU.js} +4 -4
- package/dist/{index-A2nYF-1f.cjs → index-Cs1m0QHY.cjs} +1 -1
- package/dist/{index-DHUPGceO.js → index-CvI-Xndo.js} +1 -1
- package/dist/{index-BiPzhKBB.cjs → index-CvrlW6Kj.cjs} +1 -1
- package/dist/{index-DcSxvtLy.cjs → index-D4X5ZbsB.cjs} +1 -1
- package/dist/{index-CExeGHij.js → index-DBDeHECn.js} +5111 -5410
- package/dist/index-DEBf-IBT.cjs +21 -0
- package/dist/{index-De7WEvrP.js → index-DHOgfCKk.js} +6 -6
- package/dist/{index-BPzUmT8-.js → index-DK1sT-Gv.js} +12 -12
- package/dist/{index-BLTsYYci.js → index-DKQfWQa7.js} +1 -1
- package/dist/{index-XWSpT0ba.js → index-DalL4U6b.js} +8 -8
- package/dist/{index-Ct6AnOh0.cjs → index-DbW_sD5N.cjs} +1 -1
- package/dist/{index-CagsR3TK.cjs → index-Dp6ZBesB.cjs} +1 -1
- package/dist/{index-Idro_h24.cjs → index-DynEv7dZ.cjs} +1 -1
- package/dist/{index-a9MrfjsX.cjs → index-ExjSK4s1.cjs} +1 -1
- package/dist/{index-Cjn-Nipt.js → index-GOk9tc6o.js} +2 -2
- package/dist/{index-B8HWTwDz.cjs → index-LcSS6r-3.cjs} +1 -1
- package/dist/{index-DBiP81co.cjs → index-RfA-XD5A.cjs} +1 -1
- package/dist/{index-BMaVaPUc.js → index-bFFymrtu.js} +2 -2
- package/dist/{index-D62RCkPJ.js → index-bhZxftEb.js} +6 -6
- package/dist/{index-CqzA5JZV.js → index-d6sIj10Q.js} +68 -68
- package/dist/{index-osFjwxXn.cjs → index-h5XWazmL.cjs} +1 -1
- package/dist/{index-CBpSEFvE.js → index-ixEWAWI8.js} +4 -4
- package/dist/{index-rGGHn9oX.js → index-peUgec1X.js} +1267 -1268
- package/dist/{index-CQNvplpY.cjs → index-vDXPLbzt.cjs} +13 -13
- package/dist/{index-DpzDQdE3.cjs → index-w9_VhKWc.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B8Lpp-LG.js +38138 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-yBjOSB4T.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CTRnGkVw.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js} +1644 -1649
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DupRlL-E.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNsyaAD5.cjs} +124 -124
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang--woCJ_em.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DTRpzofW.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-COe_Ck32.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DaxZVXAO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-jt5oqPmv.js → index.vue_vue_type_style_index_1_lang-BX_Iweoa.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-CKpfQuiD.cjs → index.vue_vue_type_style_index_1_lang-BgqA98cE.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_1_lang-CWCaf0OP.js +8415 -0
- package/dist/index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs +32 -0
- package/dist/{isString--eJE54G5.cjs → isString-D6Z6SOrb.cjs} +1 -1
- package/dist/{isString-By6KKNvg.js → isString-DBnuELeA.js} +1 -1
- package/dist/{main-Brifss3R.cjs → main-BnGiV5RB.cjs} +1 -1
- package/dist/{main-DENbrJLK.js → main-DHZFoZje.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-DxxkXyt5.cjs → threeModel-BHsadPD8.cjs} +1 -1
- package/dist/{threeModel-CpklGUZ5.js → threeModel-BkNMl4gC.js} +5 -5
- package/dist/{threePreview-BsPiIokT.js → threePreview-BhHpGgi8.js} +4 -4
- package/dist/{threePreview-Sh0ABsnX.cjs → threePreview-q2XmhoL-.cjs} +1 -1
- package/dist/{threeSceneView-Dm3k49Mh.js → threeSceneView-CDFoPU6x.js} +87 -87
- package/dist/{threeSceneView-DfiXbOBr.cjs → threeSceneView-D_2JHUdz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-Czp3KJaA.js → threeSceneViewForCPMPIP-BBelwG21.js} +57 -57
- package/dist/{threeSceneViewForCPMPIP-XTc0zag-.cjs → threeSceneViewForCPMPIP-DSIkOvjL.cjs} +1 -1
- package/dist/{threeTrackPathView-Dmp5NZVO.cjs → threeTrackPathView-CClVyd1p.cjs} +1 -1
- package/dist/{threeTrackPathView-DaEDYBsf.js → threeTrackPathView-CeCre9ru.js} +6 -6
- package/dist/{threeViewerHost-C07FM01K.cjs → threeViewerHost-B2ROtL1I.cjs} +1 -1
- package/dist/{threeViewerHost-tA5hwts8.js → threeViewerHost-DLd9bynL.js} +14 -14
- package/dist/{urdfTree-CNAusPWp.cjs → urdfTree-B2NsYdY-.cjs} +1 -1
- package/dist/{urdfTree-C5eDsIZV.js → urdfTree-vu4m_HnH.js} +1 -1
- package/dist/{workpieceTreePanel-BE_ayLjw.js → workpieceTreePanel-CXVtdZfX.js} +5 -5
- package/dist/{workpieceTreePanel-DMnR0vK-.cjs → workpieceTreePanel-Dif_gJAG.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-C8qRkCgn.cjs +0 -21
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BV1JZ-3O.js +0 -38949
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DNHgx7h4.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_1_lang-6KO-EDQa.js +0 -8293
- package/dist/index.vue_vue_type_style_index_1_lang-Cb4_k0AS.cjs +0 -32
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as s, watch as d, defineComponent as
|
|
1
|
+
import { ref as s, watch as d, defineComponent as y, reactive as m, 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 {
|
|
5
|
-
import { g as v, s as c } from "./index-
|
|
6
|
-
import { s as
|
|
7
|
-
const
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
4
|
+
import { az as h, ay as C, a as _, u as k, aA as S } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
5
|
+
import { g as v, s as c } from "./index-DBDeHECn.js";
|
|
6
|
+
import { s as A } from "./index-CX9ZToOe.js";
|
|
7
|
+
const T = _(), { itemData: B } = c(T), u = s(0), I = s([
|
|
8
8
|
{
|
|
9
9
|
label: "机构名称",
|
|
10
10
|
value: "",
|
|
@@ -158,14 +158,14 @@ const O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
158
158
|
queryFormData: I,
|
|
159
159
|
structureId: u,
|
|
160
160
|
tempDeptPageData: j
|
|
161
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
161
|
+
}, Symbol.toStringTag, { value: "Module" })), z = { class: "role-wrapper" }, G = /* @__PURE__ */ y({
|
|
162
162
|
__name: "index",
|
|
163
163
|
setup(e) {
|
|
164
|
-
const t =
|
|
164
|
+
const t = m({ ...O }), l = k(), { activeMenuPath: a } = c(l);
|
|
165
165
|
return i(async () => {
|
|
166
166
|
t.structureId = await S(a.value);
|
|
167
|
-
}), (o, n) => (D(), g("div",
|
|
168
|
-
f(
|
|
167
|
+
}), (o, n) => (D(), g("div", z, [
|
|
168
|
+
f(A, {
|
|
169
169
|
itemData: t.pageData,
|
|
170
170
|
onChange: t.handleItemDataChange
|
|
171
171
|
}, null, 8, ["itemData", "onChange"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-LcSS6r-3.cjs"),r=require("./index-DEBf-IBT.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const M=require("vue"),n=require("./index-
|
|
1
|
+
"use strict";const M=require("vue"),n=require("./index-DEBf-IBT.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.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
1
|
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
|
-
import { S as m } from "./index-
|
|
3
|
-
import { s as _ } from "./index-
|
|
2
|
+
import { S as m } from "./index-GOk9tc6o.js";
|
|
3
|
+
import { s as _ } from "./index-CX9ZToOe.js";
|
|
4
4
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
6
|
__name: "index",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as J, openBlock as W, createElementVNode as m, renderSlot as $, defineComponent as Y, ref as E, resolveComponent as B, createVNode as k, withCtx as y, reactive as se, watch as ae, onMounted as fe, toDisplayString as V, unref as X, createTextVNode as j } from "vue";
|
|
2
2
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { a as ne, u as oe, p as ce, E as K, s as ye, b as pe, g as q } from "./index-
|
|
4
|
-
import { d as re, r as ge, g as ve, c as me, b as be, e as he, f as _e, h as we } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { a as ne, u as oe, p as ce, E as K, s as ye, b as pe, g as q } from "./index-DBDeHECn.js";
|
|
4
|
+
import { d as re, r as ge, g as ve, c as me, b as be, e as he, f as _e, h as we } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
5
5
|
import { useRouter as Ae } from "vue-router";
|
|
6
|
-
import { v as Ce } from "./index-
|
|
6
|
+
import { v as Ce } from "./index-CcKVjgvm.js";
|
|
7
7
|
const ke = {}, Ie = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
8
8
|
function Te(T, M) {
|
|
9
9
|
return W(), J("div", Ie, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./index-DEBf-IBT.cjs"),f=require("vue-router"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g={class:"tenant-wrap"},C={class:"tenant-content"},k=e.defineComponent({__name:"index",setup(V){const n=e.reactive({tenantKey:""}),i=e.reactive({tenantKey:[{required:!0,message:"请选择模型",trigger:"blur"}]}),p=e.ref(null),_=e.ref([]),v=f.useRouter(),y=async()=>{var l,o;try{const r=await d.getInsofDataApi({key:{layer:"superAdmin"}});if(r.data.code===200){const s=(o=(l=r==null?void 0:r.data)==null?void 0:l.result)==null?void 0:o.flatMap(t=>t==null?void 0:t.key),u=s==null?void 0:s.map(t=>({value:t==null?void 0:t.systemKey,label:`【${t==null?void 0:t.systemKey}】`+((t==null?void 0:t.name)??"未知")}));_.value=[...u].sort((t,c)=>t.value.localeCompare(c.value))}else d.ElMessage.error("获取模型数据响应失败")}catch{d.ElMessage.error("获取模型数据失败")}};e.onMounted(()=>{y()});const m=l=>{l==null||l.validate(o=>{o&&(console.log("submitForm",n),sessionStorage.setItem("tenantKey",n==null?void 0:n.tenantKey),v.push("/login"))})};return(l,o)=>{const r=e.resolveComponent("el-option"),s=e.resolveComponent("el-select"),u=e.resolveComponent("el-form-item"),t=e.resolveComponent("el-form"),c=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",C,[o[3]||(o[3]=e.createElementVNode("div",{class:"tenant-title"},"租户信息",-1)),e.createVNode(t,{model:n,rules:i,ref_key:"formRef",ref:p},{default:e.withCtx(()=>[e.createVNode(u,{label:"",prop:"tenantKey"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.tenantKey,"onUpdate:modelValue":o[0]||(o[0]=a=>n.tenantKey=a),placeholder:"请选择(可搜索查询)",filterable:"",clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,a=>(e.openBlock(),e.createBlock(r,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"]),e.createVNode(c,{type:"primary",onClick:o[1]||(o[1]=a=>m(p.value))},{default:e.withCtx(()=>o[2]||(o[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]})])])}}}),x=b._export_sfc(k,[["__scopeId","data-v-5d82b8dd"]]);exports.default=x;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { u as d,
|
|
4
|
-
import { s as g, u as h } from "./index-
|
|
2
|
+
import { s as m } from "./index-CX9ZToOe.js";
|
|
3
|
+
import { u as d, aB as p, aA as l } from "./index.vue_vue_type_style_index_1_lang-CWCaf0OP.js";
|
|
4
|
+
import { s as g, u as h } from "./index-DBDeHECn.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(f) {
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
2
|
-
import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
-
import {
|
|
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 N, nextTick as q, Fragment as z, withDirectives as H, renderSlot as $, vShow as M } from "vue";
|
|
2
|
+
import { aY as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CinJxfAX.js";
|
|
3
|
+
import { I as X, a4 as J, Z as W, B as D, C as c, av as B, W as g } from "./index-DBDeHECn.js";
|
|
4
4
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Y = "ElUpload";
|
|
6
|
-
class
|
|
7
|
-
constructor(r,
|
|
8
|
-
super(r), this.name = "UploadAjaxError", this.status =
|
|
6
|
+
class Z extends Error {
|
|
7
|
+
constructor(r, a, n, p) {
|
|
8
|
+
super(r), this.name = "UploadAjaxError", this.status = a, this.method = n, this.url = p;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function R(t, r, a) {
|
|
12
12
|
let n;
|
|
13
|
-
return
|
|
13
|
+
return a.response ? n = `${a.response.error || a.response}` : a.responseText ? n = `${a.responseText}` : n = `fail to ${r.method} ${t} ${a.status}`, new Z(n, a.status, r.method, t);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function G(t) {
|
|
16
16
|
const r = t.responseText || t.response;
|
|
17
17
|
if (!r)
|
|
18
18
|
return r;
|
|
@@ -22,9 +22,9 @@ function Q(t) {
|
|
|
22
22
|
return r;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const K = (t) => {
|
|
26
26
|
typeof XMLHttpRequest > "u" && X(Y, "XMLHttpRequest is undefined");
|
|
27
|
-
const r = new XMLHttpRequest(),
|
|
27
|
+
const r = new XMLHttpRequest(), a = t.action;
|
|
28
28
|
r.upload && r.upload.addEventListener("progress", (e) => {
|
|
29
29
|
const i = e;
|
|
30
30
|
i.percent = e.total > 0 ? e.loaded / e.total * 100 : 0, t.onProgress(i);
|
|
@@ -32,22 +32,22 @@ const W = (t) => {
|
|
|
32
32
|
const n = new FormData();
|
|
33
33
|
if (t.data)
|
|
34
34
|
for (const [e, i] of Object.entries(t.data))
|
|
35
|
-
|
|
35
|
+
J(i) && i.length ? n.append(e, ...i) : n.append(e, i);
|
|
36
36
|
n.append(t.filename, t.file, t.file.name), r.addEventListener("error", () => {
|
|
37
|
-
t.onError(
|
|
37
|
+
t.onError(R(a, t, r));
|
|
38
38
|
}), r.addEventListener("load", () => {
|
|
39
39
|
if (r.status < 200 || r.status >= 300)
|
|
40
|
-
return t.onError(
|
|
41
|
-
t.onSuccess(
|
|
42
|
-
}), r.open(t.method,
|
|
40
|
+
return t.onError(R(a, t, r));
|
|
41
|
+
t.onSuccess(G(r));
|
|
42
|
+
}), r.open(t.method, a, !0), t.withCredentials && "withCredentials" in r && (r.withCredentials = !0);
|
|
43
43
|
const p = t.headers || {};
|
|
44
44
|
if (p instanceof Headers)
|
|
45
45
|
p.forEach((e, i) => r.setRequestHeader(i, e));
|
|
46
46
|
else
|
|
47
47
|
for (const [e, i] of Object.entries(p))
|
|
48
|
-
|
|
48
|
+
W(i) || r.setRequestHeader(e, String(i));
|
|
49
49
|
return r.send(n), r;
|
|
50
|
-
},
|
|
50
|
+
}, Q = ["text", "picture", "picture-card"];
|
|
51
51
|
let ee = 1;
|
|
52
52
|
const te = () => Date.now() + ee++, re = D({
|
|
53
53
|
action: {
|
|
@@ -63,7 +63,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
63
63
|
},
|
|
64
64
|
data: {
|
|
65
65
|
type: c([Object, Function, Promise]),
|
|
66
|
-
default: () =>
|
|
66
|
+
default: () => B({})
|
|
67
67
|
},
|
|
68
68
|
multiple: Boolean,
|
|
69
69
|
name: {
|
|
@@ -82,7 +82,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
82
82
|
},
|
|
83
83
|
fileList: {
|
|
84
84
|
type: c(Array),
|
|
85
|
-
default: () =>
|
|
85
|
+
default: () => B([])
|
|
86
86
|
},
|
|
87
87
|
autoUpload: {
|
|
88
88
|
type: Boolean,
|
|
@@ -90,12 +90,12 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
90
90
|
},
|
|
91
91
|
listType: {
|
|
92
92
|
type: String,
|
|
93
|
-
values:
|
|
93
|
+
values: Q,
|
|
94
94
|
default: "text"
|
|
95
95
|
},
|
|
96
96
|
httpRequest: {
|
|
97
97
|
type: c(Function),
|
|
98
|
-
default:
|
|
98
|
+
default: K
|
|
99
99
|
},
|
|
100
100
|
disabled: Boolean,
|
|
101
101
|
limit: Number
|
|
@@ -139,7 +139,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
139
139
|
crossorigin: {
|
|
140
140
|
type: c(String)
|
|
141
141
|
}
|
|
142
|
-
}),
|
|
142
|
+
}), oe = { style: { "text-align": "left" } }, ae = { class: "cropper-warp" }, se = { class: "cropper-warp-left" }, ne = ["src"], le = { class: "cropper-warp-right" }, ie = { class: "cropper-warp-right-item" }, ce = { class: "cropper-warp-right-value" }, pe = ["src"], de = { class: "cropper-warp-right-item" }, ue = { class: "cropper-warp-right-value" }, fe = ["src"], ge = { class: "dialog-footer" }, me = /* @__PURE__ */ x({
|
|
143
143
|
__name: "index",
|
|
144
144
|
props: {
|
|
145
145
|
title: {
|
|
@@ -148,16 +148,16 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
emits: ["submitImage", "deleteImage"],
|
|
151
|
-
setup(t, { expose: r, emit:
|
|
152
|
-
const n =
|
|
151
|
+
setup(t, { expose: r, emit: a }) {
|
|
152
|
+
const n = a, p = I(), e = T({
|
|
153
153
|
isShowDialog: !1,
|
|
154
154
|
cropperImg: "",
|
|
155
155
|
cropperImgBase64: "",
|
|
156
156
|
cropper: null
|
|
157
157
|
}), i = async (s) => {
|
|
158
158
|
if (e.isShowDialog = !0, !s) return;
|
|
159
|
-
let
|
|
160
|
-
e.cropperImg =
|
|
159
|
+
let o = window.URL || window.webkitURL;
|
|
160
|
+
e.cropperImg = o.createObjectURL(s), q(() => {
|
|
161
161
|
k();
|
|
162
162
|
});
|
|
163
163
|
}, y = () => {
|
|
@@ -187,32 +187,32 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
}, S = async () => e != null && e.cropper ? new Promise((s) => {
|
|
190
|
-
var
|
|
191
|
-
(m = (
|
|
190
|
+
var o, m;
|
|
191
|
+
(m = (o = e == null ? void 0 : e.cropper) == null ? void 0 : o.getCroppedCanvas()) == null || m.toBlob((C) => {
|
|
192
192
|
s(C);
|
|
193
193
|
});
|
|
194
194
|
}) : (await fetch(e.cropperImg)).blob(), F = async (s) => {
|
|
195
195
|
var m;
|
|
196
|
-
let
|
|
197
|
-
e.cropperImg =
|
|
196
|
+
let o = window.URL || window.webkitURL;
|
|
197
|
+
e.cropperImg = o.createObjectURL(s.raw), (m = e.cropper) == null || m.replace(e.cropperImg);
|
|
198
198
|
}, P = (s) => {
|
|
199
199
|
p.value.clearFiles();
|
|
200
|
-
const
|
|
201
|
-
|
|
200
|
+
const o = s[0];
|
|
201
|
+
o.uid = te(), p.value.handleStart(o);
|
|
202
202
|
};
|
|
203
203
|
return r({
|
|
204
204
|
openDialog: i
|
|
205
|
-
}), (s,
|
|
205
|
+
}), (s, o) => {
|
|
206
206
|
const m = v("ele-Edit"), C = v("el-icon"), w = v("el-button"), O = v("el-upload"), j = v("el-dialog");
|
|
207
207
|
return U(), E("div", null, [
|
|
208
208
|
u(j, {
|
|
209
209
|
modelValue: e.isShowDialog,
|
|
210
|
-
"onUpdate:modelValue":
|
|
210
|
+
"onUpdate:modelValue": o[0] || (o[0] = (A) => e.isShowDialog = A),
|
|
211
211
|
width: "769px",
|
|
212
212
|
"before-close": _
|
|
213
213
|
}, {
|
|
214
214
|
header: d(() => [
|
|
215
|
-
l("div",
|
|
215
|
+
l("div", oe, [
|
|
216
216
|
u(C, {
|
|
217
217
|
size: "16",
|
|
218
218
|
style: { "margin-right": "3px", display: "inline", "vertical-align": "middle" }
|
|
@@ -222,7 +222,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
224
|
}),
|
|
225
|
-
l("span", null,
|
|
225
|
+
l("span", null, N(t.title), 1)
|
|
226
226
|
])
|
|
227
227
|
]),
|
|
228
228
|
footer: d(() => [
|
|
@@ -243,7 +243,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
243
243
|
type: "info",
|
|
244
244
|
icon: "ele-Picture"
|
|
245
245
|
}, {
|
|
246
|
-
default: d(() =>
|
|
246
|
+
default: d(() => o[4] || (o[4] = [
|
|
247
247
|
h("选择图片")
|
|
248
248
|
])),
|
|
249
249
|
_: 1,
|
|
@@ -257,7 +257,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
257
257
|
icon: "ele-Picture",
|
|
258
258
|
style: { "margin-left": "8px" }
|
|
259
259
|
}, {
|
|
260
|
-
default: d(() =>
|
|
260
|
+
default: d(() => o[5] || (o[5] = [
|
|
261
261
|
h("删除图片")
|
|
262
262
|
])),
|
|
263
263
|
_: 1,
|
|
@@ -271,7 +271,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
271
271
|
onClick: _,
|
|
272
272
|
id: "themeBorderButton"
|
|
273
273
|
}, {
|
|
274
|
-
default: d(() =>
|
|
274
|
+
default: d(() => o[6] || (o[6] = [
|
|
275
275
|
h("取 消")
|
|
276
276
|
])),
|
|
277
277
|
_: 1,
|
|
@@ -281,7 +281,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
281
281
|
onClick: b,
|
|
282
282
|
id: "themeButton"
|
|
283
283
|
}, {
|
|
284
|
-
default: d(() =>
|
|
284
|
+
default: d(() => o[7] || (o[7] = [
|
|
285
285
|
h("确 定")
|
|
286
286
|
])),
|
|
287
287
|
_: 1,
|
|
@@ -291,7 +291,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
291
291
|
])
|
|
292
292
|
]),
|
|
293
293
|
default: d(() => [
|
|
294
|
-
l("div",
|
|
294
|
+
l("div", ae, [
|
|
295
295
|
l("div", se, [
|
|
296
296
|
l("img", {
|
|
297
297
|
src: e.cropperImg,
|
|
@@ -299,7 +299,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
299
299
|
}, null, 8, ne)
|
|
300
300
|
]),
|
|
301
301
|
l("div", le, [
|
|
302
|
-
|
|
302
|
+
o[3] || (o[3] = l("div", { class: "cropper-warp-right-title" }, "预览", -1)),
|
|
303
303
|
l("div", ie, [
|
|
304
304
|
l("div", ce, [
|
|
305
305
|
l("img", {
|
|
@@ -307,7 +307,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
307
307
|
class: "cropper-warp-right-value-img"
|
|
308
308
|
}, null, 8, pe)
|
|
309
309
|
]),
|
|
310
|
-
|
|
310
|
+
o[1] || (o[1] = l("div", { class: "cropper-warp-right-label" }, "100 x 100", -1))
|
|
311
311
|
]),
|
|
312
312
|
l("div", de, [
|
|
313
313
|
l("div", ue, [
|
|
@@ -316,7 +316,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
316
316
|
class: "cropper-warp-right-value-img cropper-size"
|
|
317
317
|
}, null, 8, fe)
|
|
318
318
|
]),
|
|
319
|
-
|
|
319
|
+
o[2] || (o[2] = l("div", { class: "cropper-warp-right-label" }, "50 x 50", -1))
|
|
320
320
|
])
|
|
321
321
|
])
|
|
322
322
|
])
|
|
@@ -356,9 +356,9 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
356
356
|
},
|
|
357
357
|
emits: ["submitImage", "deleteImage", "clickAvatar"],
|
|
358
358
|
setup(t, { emit: r }) {
|
|
359
|
-
const
|
|
359
|
+
const a = t, n = I(), p = I(null), e = r, i = () => !0, y = async () => {
|
|
360
360
|
var f;
|
|
361
|
-
|
|
361
|
+
a != null && a.banClick || (e("clickAvatar", a.avatarUrl), (f = n.value) == null || f.openDialog(a.avatarBlob));
|
|
362
362
|
}, _ = async (f) => {
|
|
363
363
|
e("submitImage", f);
|
|
364
364
|
}, b = async () => {
|
|
@@ -366,7 +366,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
366
366
|
};
|
|
367
367
|
return (f, k) => {
|
|
368
368
|
const S = v("el-avatar");
|
|
369
|
-
return U(), E(
|
|
369
|
+
return U(), E(z, null, [
|
|
370
370
|
u(S, {
|
|
371
371
|
src: t.avatarUrl,
|
|
372
372
|
onClick: y,
|
|
@@ -379,11 +379,11 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
379
379
|
onError: i
|
|
380
380
|
}, {
|
|
381
381
|
default: d(() => [
|
|
382
|
-
|
|
382
|
+
$(f.$slots, "avatarDefault", {}, void 0, !0)
|
|
383
383
|
]),
|
|
384
384
|
_: 3
|
|
385
385
|
}, 8, ["src", "size"]),
|
|
386
|
-
|
|
386
|
+
H(u(ve, {
|
|
387
387
|
ref_key: "cropperDialogRef",
|
|
388
388
|
ref: n,
|
|
389
389
|
title: "更改头像",
|
|
@@ -391,7 +391,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
391
391
|
onSubmitImage: _,
|
|
392
392
|
onDeleteImage: b
|
|
393
393
|
}, null, 8, ["avatarUrl"]), [
|
|
394
|
-
[M, t.showCropper && (
|
|
394
|
+
[M, t.showCropper && (a == null ? void 0 : a.clickStop)]
|
|
395
395
|
])
|
|
396
396
|
], 64);
|
|
397
397
|
};
|
|
@@ -407,5 +407,5 @@ export {
|
|
|
407
407
|
te as g,
|
|
408
408
|
Ie as i,
|
|
409
409
|
_e as s,
|
|
410
|
-
|
|
410
|
+
Q as u
|
|
411
411
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),u=require("./index-CvrlW6Kj.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-Dhkn6DXN.cjs"),a=require("./index-DEBf-IBT.cjs"),s={class:"routerPage-wrapper"},i=t.defineComponent({__name:"index",setup(d){const o=n.useMenuState(),{activeMenuPath:c}=a.storeToRefs(o),r=a.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{r.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(c.value)}),(l,_)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(u.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
-
import { s as b } from "./index-
|
|
3
|
-
import { c as s } from "./index-
|
|
2
|
+
import { s as b } from "./index-CvI-Xndo.js";
|
|
3
|
+
import { c as s } from "./index-DBDeHECn.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
6
6
|
var r, d, p, m;
|