ss-component-new 1.1.183 → 1.1.185
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-yS93GpFh.cjs → array-Bo3p2itu.cjs} +1 -1
- package/dist/{array-CKFeRuXx.js → array-CTMBVA4w.js} +9 -9
- package/dist/{cloneDeep-ptqcNoLQ.js → cloneDeep-BmTK4FEu.js} +1 -1
- package/dist/{cloneDeep-wWT7F5V9.cjs → cloneDeep-gdyyfw9f.cjs} +1 -1
- package/dist/{formToTable-D8p_7BL5.cjs → formToTable-9jLakigk.cjs} +1 -1
- package/dist/{formToTable-kzbUTMeG.js → formToTable-oMNwkiWt.js} +1 -1
- package/dist/{index-ZFCchT5E.js → index--V7oWPMc.js} +6 -6
- package/dist/{index-DZbaNTdt.js → index-6rLImJnk.js} +7 -7
- package/dist/{index-Zqbph7id.cjs → index-B4VSd4FO.cjs} +1 -1
- package/dist/{index-CRRxsIoM.js → index-B51X7O6x.js} +1 -1
- package/dist/{index-32zMKTCS.js → index-B6If5wRP.js} +1 -1
- package/dist/{index-BcmfEVff.js → index-BEl2M4PP.js} +1 -1
- package/dist/{index-DZVCmcCJ.cjs → index-BHmQ-EAF.cjs} +1 -1
- package/dist/{index-_xD-UozG.js → index-BIL2-5d5.js} +5 -5
- package/dist/{index-Cvw7aXmX.js → index-BLCmE0gH.js} +1 -1
- package/dist/{index-CMLwNzie.cjs → index-BRY3GVIU.cjs} +1 -1
- package/dist/{index-DjHji-RQ.cjs → index-BW3rUIA3.cjs} +1 -1
- package/dist/{index-sTBMcpga.js → index-BXtYUiLa.js} +4 -4
- package/dist/{index-DxVrxHU9.cjs → index-BvmHLZq4.cjs} +1 -1
- package/dist/{index-BuHfHCU0.js → index-BxKY0INk.js} +83 -80
- package/dist/{index-CYFbyJP1.cjs → index-CWUIx9UX.cjs} +1 -1
- package/dist/{index-Cj9MeB6d.js → index-CiBIzvxQ.js} +6 -6
- package/dist/{index-Bl-0RurV.js → index-Cii3X2D7.js} +7 -7
- package/dist/{index-BHNpXM7v.cjs → index-CsgtAFqn.cjs} +1 -1
- package/dist/{index-CxuWwQFp.js → index-CtsdHUOE.js} +4 -4
- package/dist/{index-Bi5QL47F.cjs → index-D-r3mc6h.cjs} +1 -1
- package/dist/{index-xbVcs94X.cjs → index-D1ICyLb8.cjs} +1 -1
- package/dist/{index-CMlB-TxD.js → index-D9kdeth5.js} +7 -7
- package/dist/{index-ubJq0geI.cjs → index-DNtWZXYf.cjs} +1 -1
- package/dist/{index-DSFOuo8T.cjs → index-DZ4OPEoP.cjs} +1 -1
- package/dist/{index-BTqzaKZG.cjs → index-Dat5KfVY.cjs} +15 -15
- package/dist/{index-fYUwhoC0.js → index-DfbsqJIq.js} +7 -7
- package/dist/{index-CWXiZ_39.cjs → index-DqaJEmiB.cjs} +1 -1
- package/dist/index-Dtd6S7I9.cjs +1 -0
- package/dist/{index-DXF8TgyC.cjs → index-DuwbY0QO.cjs} +1 -1
- package/dist/{index-Ce8y7b6N.cjs → index-DyEqiHy2.cjs} +1 -1
- package/dist/{index-DtcZSXc9.js → index-DzMB2hvj.js} +1 -1
- package/dist/{index-uUIiw9fx.cjs → index-GqsIl7hf.cjs} +1 -1
- package/dist/{index-5gIyT35D.cjs → index-VmqxQPRp.cjs} +1 -1
- package/dist/{index-vDxkLZCX.cjs → index-bC8ZQAKp.cjs} +1 -1
- package/dist/{index-Dm2-njPX.js → index-evEttDGY.js} +1 -1
- package/dist/{index-B1RwU1Yy.js → index-gKxSxGyb.js} +7 -7
- package/dist/{index-CiwAmPI1.cjs → index-hrnwsq1g.cjs} +1 -1
- package/dist/{index-B2reOYdD.js → index-iL5QqqHE.js} +6 -6
- package/dist/{index-Cv5UrSOt.js → index-orWfMHps.js} +6 -6
- package/dist/{index-pgg0WYJD.js → index-t9jjDy7J.js} +480 -480
- package/dist/{index.vue_vue_type_script_setup_true_lang-B94GQi7O.cjs → index.vue_vue_type_script_setup_true_lang-B3tRQPw2.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CAm1lczB.js → index.vue_vue_type_script_setup_true_lang-Ov8SuBXY.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-DypM_Bv9.js → index.vue_vue_type_style_index_0_scoped_baf99455_lang-B8gUfst7.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-FcIBePX9.cjs → index.vue_vue_type_style_index_0_scoped_baf99455_lang-CsH63ZiQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Fr0sgpOo.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BMtvW6OD.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DnCr2hHT.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DeM2yeKn.cjs} +1 -1
- package/dist/{login-BZA9GhM1.js → login-BPlaS8oU.js} +3 -3
- package/dist/{login-bbTyKyTk.cjs → login-DSnvzDcT.cjs} +1 -1
- package/dist/{main-b_H3WxtI.cjs → main-DFONrwPN.cjs} +1 -1
- package/dist/{main-DQaIGKLX.js → main-DNhq7sqn.js} +6 -6
- package/dist/{menu-WPQ8JcMg.js → menu-CmjIVfwC.js} +1 -1
- package/dist/{menu-IE9q9ekO.cjs → menu-Dgk7naNE.cjs} +1 -1
- package/dist/modelComp-De5bf7vK.js +26 -0
- package/dist/modelComp-DgySA7lh.cjs +1 -0
- package/dist/{request-r_sL_ASa.cjs → request-BCuBMd6Z.cjs} +1 -1
- package/dist/{request-MJiCtaDl.js → request-BaXl3oQ9.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/index-xA6oBKw1.cjs +0 -1
- package/dist/modelComp-B54FcUDU.cjs +0 -1
- package/dist/modelComp-L3gGUSiO.js +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as Sp, onMounted as Iw, watch as cL, onUnmounted as pL, createElementBlock as Lw, openBlock as Ew, createVNode as dL } from "vue";
|
|
2
2
|
import { _ as Pw } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as qi } from "./cloneDeep-
|
|
3
|
+
import { c as qi } from "./cloneDeep-BmTK4FEu.js";
|
|
4
4
|
/*! *****************************************************************************
|
|
5
5
|
Copyright (c) Microsoft Corporation.
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as g, defineComponent as y, reactive as f, onMounted as D, createElementBlock as h, openBlock as C, createVNode as d } from "vue";
|
|
2
|
-
import { a as _ } from "./index-
|
|
3
|
-
import { s as v } from "./index-
|
|
4
|
-
import { g as k } from "./index-
|
|
5
|
-
import { s as w, h as S } from "./index-
|
|
2
|
+
import { a as _ } from "./index-BIL2-5d5.js";
|
|
3
|
+
import { s as v } from "./index-t9jjDy7J.js";
|
|
4
|
+
import { g as k } from "./index-BLCmE0gH.js";
|
|
5
|
+
import { s as w, h as S } from "./index-iL5QqqHE.js";
|
|
6
6
|
import { useRoute as I } from "vue-router";
|
|
7
|
-
import { u as x } from "./modelComp-
|
|
8
|
-
import { s as b, u as A } from "./menu-
|
|
9
|
-
import { c as B } from "./cloneDeep-
|
|
7
|
+
import { u as x } from "./modelComp-De5bf7vK.js";
|
|
8
|
+
import { s as b, u as A } from "./menu-CmjIVfwC.js";
|
|
9
|
+
import { c as B } from "./cloneDeep-BmTK4FEu.js";
|
|
10
10
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const M = g([
|
|
12
12
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),D=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),D=require("./index-DyEqiHy2.cjs"),h=require("./index-Dat5KfVY.cjs"),m=require("./index-BW3rUIA3.cjs"),g=require("./index-BRY3GVIU.cjs"),f=require("vue-router"),C=require("./modelComp-DgySA7lh.cjs"),u=require("./menu-Dgk7naNE.cjs"),v=require("./cloneDeep-gdyyfw9f.cjs"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=n.ref([{label:"机构名称",value:"",name:"deptName"}]),q=a=>{console.log("handleQueryChange",a)},S=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"tableIndex",contents:[]},{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"}]),x=a=>{console.log("handleItemDataChange",a),g.submitTableAsyncByVerify(a.singleContent,a.buttonName)},w=a=>{console.log("onDoubleClick",a)},I=(a,t)=>{console.log("onButtonClick",a,t)},T=async a=>{const t=await g.handleSubmitAsync(m.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:a}},"查询"),l=t==null?void 0:t.map(e=>{var o;return{id:e.id,rowData:(o=e==null?void 0:e.value)==null?void 0:o.rowData}});return l==null?void 0:l.map(e=>{var o;if(Array.isArray(e==null?void 0:e.rowData)){let r={id:e.id};return(o=e==null?void 0:e.rowData)==null||o.forEach((p,s)=>{r[`a${s}`]=p}),r}else return{...e.rowData,id:e.id}})},A=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:T,handleItemDataChange:x,handleQueryChange:q,onButtonClick:I,onDoubleClick:w,pageData:S,queryFormData:k},Symbol.toStringTag,{value:"Module"})),B={class:"role-wrapper"},M=n.defineComponent({__name:"index",setup(a){const t=n.reactive({...A}),l=f.useRoute(),e=C.useModelComp(),{itemData:o}=u.storeToRefs(e),r=u.useMenuState(),{menus:p,activeMenuPath:s}=u.storeToRefs(r);return n.onMounted(()=>{const d=v.cloneDeep(o.value),i={comp:"Group",name:l.path,compData:t.pageData};e.setItemData([...d,i]),s.value&&t.getPageDataAsync(s.value).then(y=>{var b;t.pageData=(b=t.pageData)==null?void 0:b.map(c=>c.key==="tableContents"?{...c,contents:y}:c)})}),(d,i)=>(n.openBlock(),n.createElementBlock("div",B,[n.createVNode(D.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),n.createVNode(h.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),P=_._export_sfc(M,[["__scopeId","data-v-b5fc82ed"]]);exports.default=P;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as y, getCurrentInstance as et, inject as pe, unref as c, ref as A, onMounted as le, watch as G, toRef as je, onUnmounted as no, shallowRef as Ke, nextTick as D, defineComponent as Q, useAttrs as oo, useSlots as yn, createElementBlock as F, openBlock as E, normalizeStyle as qe, normalizeClass as w, createCommentVNode as I, Fragment as Ue, createElementVNode as P, renderSlot as W, createBlock as M, withCtx as R, resolveDynamicComponent as Y, mergeProps as ht, withModifiers as Ie, createVNode as ae, toDisplayString as Z, onBeforeUnmount as Re, provide as En, Text as ao, reactive as It, h as so, watchEffect as ro, isRef as io, onScopeDispose as lo, resolveComponent as Te, Transition as uo, withDirectives as it, withKeys as Pe, createTextVNode as lt, vShow as ut, markRaw as gt, toRefs as co, isVNode as Sn, render as wn } from "vue";
|
|
2
|
-
import { g as Cn, c as fo, u as vo, d as po } from "./index-
|
|
3
|
-
import { E as Me, s as Tn, u as ho } from "./menu-
|
|
4
|
-
import { a as go } from "./index-
|
|
2
|
+
import { g as Cn, c as fo, u as vo, d as po } from "./index-BLCmE0gH.js";
|
|
3
|
+
import { E as Me, s as Tn, u as ho } from "./menu-CmjIVfwC.js";
|
|
4
|
+
import { a as go } from "./index-CtsdHUOE.js";
|
|
5
5
|
import { d as kn, i as mo, e as Ut } from "./crypto-BRyGpjGR.js";
|
|
6
|
-
import { u as bo } from "./login-
|
|
7
|
-
import { S as Yt, i as In, c as Mt, t as Mn, d as Wt, f as yo, g as ie, h as Gt, j as tt, k as fe, m as Ee, n as Xe, o as An, p as ve, q as Eo, s as So, v as wo, w as Co, x as ke, y as xe, z as Be, _ as Le, A as he, V as To, B as ko, C as Io, D as Mo, F as se, N as Ye, G as Ao, H as Je, I as xn, J as At, K as xo, L as mt, O as Bo, P as jt, Q as No, R as qt, T as Ro, U as Lo, W as Oo, X as Fo, Y as Po, Z as Ho, $ as Xt, a0 as Jt, a1 as $o } from "./index-
|
|
6
|
+
import { u as bo } from "./login-BPlaS8oU.js";
|
|
7
|
+
import { S as Yt, i as In, c as Mt, t as Mn, d as Wt, f as yo, g as ie, h as Gt, j as tt, k as fe, m as Ee, n as Xe, o as An, p as ve, q as Eo, s as So, v as wo, w as Co, x as ke, y as xe, z as Be, _ as Le, A as he, V as To, B as ko, C as Io, D as Mo, F as se, N as Ye, G as Ao, H as Je, I as xn, J as At, K as xo, L as mt, O as Bo, P as jt, Q as No, R as qt, T as Ro, U as Lo, W as Oo, X as Fo, Y as Po, Z as Ho, $ as Xt, a0 as Jt, a1 as $o } from "./index-D9kdeth5.js";
|
|
8
8
|
import { m as zo } from "./typescript-BpuhIBuJ.js";
|
|
9
|
-
import { d as Zt, e as Bn, f as _o, h as Do, j as Nn, k as Vo, c as Ko } from "./cloneDeep-
|
|
9
|
+
import { d as Zt, e as Bn, f as _o, h as Do, j as Nn, k as Vo, c as Ko } from "./cloneDeep-BmTK4FEu.js";
|
|
10
10
|
import { i as Rn } from "./isNil-CjWwlQS3.js";
|
|
11
11
|
function Uo(e) {
|
|
12
12
|
return e;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as v, reactive as y, onMounted as P, createElementBlock as k, openBlock as S, createVNode as u } from "vue";
|
|
2
|
-
import { a as w } from "./index-
|
|
3
|
-
import { s as x } from "./index-
|
|
4
|
-
import { S as B, g as M } from "./index-
|
|
5
|
-
import { u as N, s as i } from "./menu-
|
|
6
|
-
import { u as I } from "./modelComp-
|
|
2
|
+
import { a as w } from "./index-BIL2-5d5.js";
|
|
3
|
+
import { s as x } from "./index-t9jjDy7J.js";
|
|
4
|
+
import { S as B, g as M } from "./index-iL5QqqHE.js";
|
|
5
|
+
import { u as N, s as i } from "./menu-CmjIVfwC.js";
|
|
6
|
+
import { u as I } from "./modelComp-De5bf7vK.js";
|
|
7
7
|
import { useRoute as O } from "vue-router";
|
|
8
|
-
import { c as R } from "./cloneDeep-
|
|
8
|
+
import { c as R } from "./cloneDeep-BmTK4FEu.js";
|
|
9
9
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const E = { class: "role-wrapper" }, T = /* @__PURE__ */ v({
|
|
11
11
|
__name: "index",
|