ss-component-new 1.1.121 → 1.1.124
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-0K26SSg4.cjs +7 -0
- package/dist/{array-GKiq_tn9.js → array-BxjTOqMI.js} +8 -8
- package/dist/{cloneDeep-vZFEDRrU.js → cloneDeep-BY7jbyTA.js} +1 -1
- package/dist/{cloneDeep-tQf7WEs8.cjs → cloneDeep-TacB4EZO.cjs} +1 -1
- package/dist/index-B350Jd1Q.cjs +1 -0
- package/dist/{index-0UA233-u.js → index-B5RsyhWe.js} +5 -5
- package/dist/{index-VcwAdA78.js → index-BKjdsboN.js} +17 -17
- package/dist/{index-DXryG-nG.js → index-BNWaoj6Z.js} +45 -45
- package/dist/{index-Du-CR9HQ.cjs → index-BRbFWayD.cjs} +1 -1
- package/dist/index-BWmd705R.js +2769 -0
- package/dist/{request-BeuBq-N8.js → index-BcFYdS3F.js} +273 -242
- package/dist/index-BpwVKq24.js +333 -0
- package/dist/index-C-aZvFRW.cjs +1 -0
- package/dist/index-C6RYDjmq.cjs +6 -0
- package/dist/index-CDx9lK-r.js +327 -0
- package/dist/{index-q-zIPTnT.js → index-CNVW_6cz.js} +1 -1
- package/dist/index-CxGJFuX5.cjs +1 -0
- package/dist/{index-BXwd1P4x.js → index-D01NwDB8.js} +11 -10
- package/dist/{index-q0VupmyF.js → index-DJjfdv-n.js} +20 -19
- package/dist/index-DMXwpYH6.cjs +1 -0
- package/dist/index-DR-Tl8gC.cjs +1 -0
- package/dist/{index-Det__boR.cjs → index-DS-uNvzB.cjs} +1 -1
- package/dist/{index-BdcBWc99.cjs → index-DZ5z3tU0.cjs} +1 -1
- package/dist/{index-DJjZ5Toi.cjs → index-DcJlzFm_.cjs} +1 -1
- package/dist/index-De3a9oEY.cjs +1 -0
- package/dist/{index-D14rmyEv.cjs → index-DehKbitZ.cjs} +1 -1
- package/dist/{index-B6iYjA8R.cjs → index-DlaRK5AT.cjs} +1 -1
- package/dist/{index-h8YlWO3M.cjs → index-DlkIx2Ch.cjs} +1 -1
- package/dist/{index-CrN82Jcz.js → index-DwhBlmrq.js} +6 -6
- package/dist/{index-CYO_2UDB.js → index-H6qiNlh1.js} +1 -1
- package/dist/index-JeDCqfyX.cjs +6 -0
- package/dist/{index-Bhm8MhJf.js → index-NiXp6EjT.js} +1 -1
- package/dist/{index-CE7jgmab.js → index-ReulmnrK.js} +9 -9
- package/dist/{index-pF_8OJOJ.js → index-g1lOxgn5.js} +1 -1
- package/dist/{index-EV28Lju3.cjs → index-gGDczXNR.cjs} +1 -1
- package/dist/{index-1YFwWhIC.cjs → index-iJAEvjVl.cjs} +1 -1
- package/dist/index-q4qf3gNt.js +627 -0
- package/dist/{index-DzARWpFJ.js → index-xmI6kE3E.js} +4 -4
- package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-D7-HhkPl.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-DlcscNze.js +238 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Cik8OFj7.js +179 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DH217tni.cjs +1 -0
- package/dist/login-6xi181Q5.cjs +1 -0
- package/dist/{login-CChMyF5j.js → login-A-LN2ivr.js} +10 -42
- package/dist/{main-DYXrqtiX.cjs → main-CfDsaDSE.cjs} +1 -1
- package/dist/{main-ChxgD0Un.js → main-DGayymHA.js} +6 -6
- package/dist/{menu-CS1eT20u.cjs → menu-BiId5weS.cjs} +5 -5
- package/dist/{menu-wU4DAZfH.js → menu-Dk3VihkR.js} +703 -654
- package/dist/{modelComp-d1h-HYNv.js → modelComp-BmaHE37I.js} +1 -1
- package/dist/{modelComp-pHwtS2H5.cjs → modelComp-ChjHbjpK.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/array-CXhFwwqo.cjs +0 -7
- package/dist/index-BpKjooqU.cjs +0 -6
- package/dist/index-CFrbpfv0.cjs +0 -1
- package/dist/index-CJ1zMvM-.cjs +0 -1
- package/dist/index-CM3HIKOQ.js +0 -328
- package/dist/index-CSFiZEGP.js +0 -405
- package/dist/index-CXDfgoDy.js +0 -2876
- package/dist/index-CqCD6Ycw.cjs +0 -1
- package/dist/index-DfmdUHnV.js +0 -445
- package/dist/index-Dm1zenUu.cjs +0 -1
- package/dist/index-iOl5iPFq.cjs +0 -1
- package/dist/index-y0RxrCA_.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-90CEE-zx.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_77dec451_lang-CvWM7pc-.js +0 -226
- package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CVZbqzna.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Cem7_S_Q.js +0 -226
- package/dist/login-BVmf8RMZ.cjs +0 -1
- package/dist/request-C1So2YgV.cjs +0 -6
|
@@ -5943,12 +5943,12 @@ const z9 = z4(F, "$notify"), M9 = [
|
|
|
5943
5943
|
{
|
|
5944
5944
|
path: "/login",
|
|
5945
5945
|
name: "Login",
|
|
5946
|
-
component: async () => import("./index-
|
|
5946
|
+
component: async () => import("./index-DJjfdv-n.js")
|
|
5947
5947
|
},
|
|
5948
5948
|
{
|
|
5949
5949
|
path: "/",
|
|
5950
5950
|
name: "Model",
|
|
5951
|
-
component: async () => import("./index-
|
|
5951
|
+
component: async () => import("./index-CDx9lK-r.js"),
|
|
5952
5952
|
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
5953
5953
|
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
5954
5954
|
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
@@ -5956,17 +5956,17 @@ const z9 = z4(F, "$notify"), M9 = [
|
|
|
5956
5956
|
{
|
|
5957
5957
|
path: "user",
|
|
5958
5958
|
name: "User",
|
|
5959
|
-
component: async () => import("./index-
|
|
5959
|
+
component: async () => import("./index-BKjdsboN.js")
|
|
5960
5960
|
},
|
|
5961
5961
|
{
|
|
5962
5962
|
path: "role",
|
|
5963
5963
|
name: "Role",
|
|
5964
|
-
component: async () => import("./index-
|
|
5964
|
+
component: async () => import("./index-BNWaoj6Z.js")
|
|
5965
5965
|
},
|
|
5966
5966
|
{
|
|
5967
5967
|
path: "dept",
|
|
5968
5968
|
name: "Dept",
|
|
5969
|
-
component: async () => import("./index-
|
|
5969
|
+
component: async () => import("./index-ReulmnrK.js")
|
|
5970
5970
|
},
|
|
5971
5971
|
{
|
|
5972
5972
|
path: "priority",
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { defineComponent as P, reactive as k, onMounted as N, createElementBlock as S, openBlock as x, createVNode as D } from "vue";
|
|
2
|
-
import { s as B } from "./index-
|
|
3
|
-
import { s as I } from "./index-
|
|
4
|
-
import { S as A } from "./index-
|
|
5
|
-
import { u as M, s as l } from "./menu-
|
|
6
|
-
import { u as O } from "./modelComp-
|
|
2
|
+
import { s as B } from "./index-BWmd705R.js";
|
|
3
|
+
import { s as I } from "./index-q4qf3gNt.js";
|
|
4
|
+
import { S as A } from "./index-xmI6kE3E.js";
|
|
5
|
+
import { u as M, s as l } from "./menu-Dk3VihkR.js";
|
|
6
|
+
import { u as O } from "./modelComp-BmaHE37I.js";
|
|
7
7
|
import { useRoute as w } from "vue-router";
|
|
8
|
-
import { u as E } from "./login-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { c as F } from "./cloneDeep-
|
|
8
|
+
import { u as E } from "./login-A-LN2ivr.js";
|
|
9
|
+
import "./index-g1lOxgn5.js";
|
|
10
|
+
import { c as F } from "./cloneDeep-BY7jbyTA.js";
|
|
11
11
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const T = { class: "role-wrapper" }, q = /* @__PURE__ */ P({
|
|
13
13
|
__name: "index",
|
|
14
14
|
setup(G) {
|
|
15
|
-
const h = M(), { activeMenuPath: m } = l(h),
|
|
15
|
+
const h = M(), { activeMenuPath: m } = l(h), c = O(), { itemData: _ } = l(c), C = E(), { superAdminInfo: p } = l(C), v = w(), e = k({ ...A });
|
|
16
16
|
return N(() => {
|
|
17
17
|
const u = F(_.value), i = {
|
|
18
18
|
comp: "Group",
|
|
19
19
|
name: v.path,
|
|
20
|
-
|
|
20
|
+
compData: e.pageData
|
|
21
21
|
};
|
|
22
|
-
if (
|
|
22
|
+
if (c.setItemData([...u, i]), m.value) {
|
|
23
23
|
e.getPageDataAsync(m.value).then((t) => {
|
|
24
24
|
var r;
|
|
25
25
|
e.pageData = (r = e.pageData) == null ? void 0 : r.map((a) => a.key === "tableContents" ? {
|
|
26
26
|
...a,
|
|
27
|
-
contents: t == null ? void 0 : t.filter((s) => s.userName !==
|
|
28
|
-
} : a), console.log(9090, t,
|
|
27
|
+
contents: t == null ? void 0 : t.filter((s) => s.userName !== p.value.userName)
|
|
28
|
+
} : a), console.log(9090, t, p.value);
|
|
29
29
|
});
|
|
30
30
|
const b = e.getPageDataAsync("/role"), y = e.getPageDataAsync("/dept");
|
|
31
31
|
Promise.all([b, y]).then((t) => {
|
|
32
|
-
var s,
|
|
32
|
+
var s, f, g;
|
|
33
33
|
console.log(888, t);
|
|
34
34
|
const r = (s = t == null ? void 0 : t[0]) == null ? void 0 : s.map((o) => ({
|
|
35
35
|
label: o.roleName,
|
|
36
36
|
value: o.roleName
|
|
37
|
-
})), a = (
|
|
37
|
+
})), a = (f = t == null ? void 0 : t[1]) == null ? void 0 : f.map((o) => ({
|
|
38
38
|
label: o.deptName,
|
|
39
39
|
value: o.deptName
|
|
40
40
|
}));
|
|
41
|
-
e.pageData = (
|
|
41
|
+
e.pageData = (g = e.pageData) == null ? void 0 : g.map((o) => {
|
|
42
42
|
var d;
|
|
43
43
|
return o.key === "header" ? {
|
|
44
44
|
...o,
|
|
@@ -69,7 +69,7 @@ const T = { class: "role-wrapper" }, q = /* @__PURE__ */ P({
|
|
|
69
69
|
}, null, 8, ["itemData", "onChange", "onOnButtonClick"])
|
|
70
70
|
]));
|
|
71
71
|
}
|
|
72
|
-
}), Y = /* @__PURE__ */ R(q, [["__scopeId", "data-v-
|
|
72
|
+
}), Y = /* @__PURE__ */ R(q, [["__scopeId", "data-v-857e7eb5"]]);
|
|
73
73
|
export {
|
|
74
74
|
Y as default
|
|
75
75
|
};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { s as
|
|
3
|
-
import { s as
|
|
4
|
-
import { S as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { useRoute as
|
|
8
|
-
import { c as y } from "./cloneDeep-
|
|
9
|
-
import { _ as
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as R, reactive as T, onMounted as M, watch as N, nextTick as A, resolveComponent as r, createElementBlock as k, openBlock as m, Fragment as D, createElementVNode as i, createVNode as n, withCtx as a, toDisplayString as p, renderList as E, createBlock as F, createTextVNode as g } from "vue";
|
|
2
|
+
import { s as I } from "./index-BWmd705R.js";
|
|
3
|
+
import { s as P } from "./index-q4qf3gNt.js";
|
|
4
|
+
import { S as b } from "./index-BpwVKq24.js";
|
|
5
|
+
import { u as U, s as x } from "./menu-Dk3VihkR.js";
|
|
6
|
+
import { u as O } from "./modelComp-BmaHE37I.js";
|
|
7
|
+
import { useRoute as q } from "vue-router";
|
|
8
|
+
import { c as y } from "./cloneDeep-BY7jbyTA.js";
|
|
9
|
+
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const L = { class: "role-wrapper" }, Q = { class: "role-dialog-header" }, W = { class: "node-text" }, j = { class: "dialog-footer" }, H = /* @__PURE__ */ R({
|
|
11
11
|
__name: "index",
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
return
|
|
12
|
+
setup(J) {
|
|
13
|
+
const v = U(), { menus: w, activeMenuPath: _ } = x(v), e = T({ ...b }), { treeRef: B } = b, C = O(), { itemData: V } = x(C), z = q();
|
|
14
|
+
return M(() => {
|
|
15
15
|
console.log(1234, e.structureButtons);
|
|
16
|
-
const
|
|
16
|
+
const s = y(V.value), t = {
|
|
17
17
|
comp: "Group",
|
|
18
|
-
name:
|
|
19
|
-
|
|
18
|
+
name: z.path,
|
|
19
|
+
compData: e.pageData
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
C.setItemData([...s, t]), _.value && e.getPageDataAsync(_.value).then((d) => {
|
|
22
22
|
var c;
|
|
23
|
-
e.pageData = (c = e.pageData) == null ? void 0 : c.map((
|
|
24
|
-
...
|
|
23
|
+
e.pageData = (c = e.pageData) == null ? void 0 : c.map((l) => l.key === "tableContents" ? {
|
|
24
|
+
...l,
|
|
25
25
|
contents: d
|
|
26
|
-
} :
|
|
26
|
+
} : l);
|
|
27
27
|
});
|
|
28
|
-
}),
|
|
29
|
-
|
|
30
|
-
const t = y(
|
|
31
|
-
|
|
28
|
+
}), N(() => w.value, (s) => {
|
|
29
|
+
A(() => {
|
|
30
|
+
const t = y(s);
|
|
31
|
+
e.menuData = e.addButtonsToTree(t, e.structureButtons), console.log("menus123", t);
|
|
32
32
|
});
|
|
33
33
|
}, {
|
|
34
34
|
immediate: !0,
|
|
35
35
|
deep: !0
|
|
36
|
-
}), (
|
|
37
|
-
const d =
|
|
38
|
-
return m(), D
|
|
39
|
-
|
|
40
|
-
n(
|
|
36
|
+
}), (s, t) => {
|
|
37
|
+
const d = r("el-checkbox"), c = r("el-checkbox-group"), l = r("el-tree"), f = r("el-button"), S = r("el-dialog");
|
|
38
|
+
return m(), k(D, null, [
|
|
39
|
+
i("div", L, [
|
|
40
|
+
n(I, {
|
|
41
41
|
class: "role-header",
|
|
42
42
|
rowContents: e.queryFormData,
|
|
43
43
|
isEnableWrap: !0,
|
|
44
44
|
isEdit: !0,
|
|
45
45
|
onChange: e.handleQueryChange
|
|
46
46
|
}, null, 8, ["rowContents", "onChange"]),
|
|
47
|
-
n(
|
|
47
|
+
n(P, {
|
|
48
48
|
class: "role-body",
|
|
49
49
|
itemData: e.pageDataFiltered,
|
|
50
50
|
changedContent: e.changedRow,
|
|
@@ -53,7 +53,7 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
|
|
|
53
53
|
onOnButtonClick: e.clickRowButton
|
|
54
54
|
}, null, 8, ["itemData", "changedContent", "onChange", "onContentChange", "onOnButtonClick"])
|
|
55
55
|
]),
|
|
56
|
-
n(
|
|
56
|
+
n(S, {
|
|
57
57
|
modelValue: e.authorizeDialog.show,
|
|
58
58
|
"onUpdate:modelValue": t[0] || (t[0] = (h) => e.authorizeDialog.show = h),
|
|
59
59
|
width: e.authorizeDialog.width,
|
|
@@ -62,11 +62,11 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
|
|
|
62
62
|
class: "role-dialog"
|
|
63
63
|
}, {
|
|
64
64
|
header: a(() => [
|
|
65
|
-
|
|
65
|
+
i("div", Q, p(e.authorizeDialog.title), 1)
|
|
66
66
|
]),
|
|
67
67
|
footer: a(() => [
|
|
68
|
-
|
|
69
|
-
n(
|
|
68
|
+
i("div", j, [
|
|
69
|
+
n(f, {
|
|
70
70
|
onClick: e.closeAuthorizeDialog
|
|
71
71
|
}, {
|
|
72
72
|
default: a(() => t[1] || (t[1] = [
|
|
@@ -75,7 +75,7 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
|
|
|
75
75
|
_: 1,
|
|
76
76
|
__: [1]
|
|
77
77
|
}, 8, ["onClick"]),
|
|
78
|
-
n(
|
|
78
|
+
n(f, {
|
|
79
79
|
type: "primary",
|
|
80
80
|
onClick: e.clickSubmitAuthority
|
|
81
81
|
}, {
|
|
@@ -88,10 +88,10 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
|
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
90
90
|
default: a(() => [
|
|
91
|
-
n(
|
|
91
|
+
n(l, {
|
|
92
92
|
class: "role-tree",
|
|
93
93
|
ref_key: "treeRef",
|
|
94
|
-
ref:
|
|
94
|
+
ref: B,
|
|
95
95
|
data: e.menuData,
|
|
96
96
|
"show-checkbox": "",
|
|
97
97
|
"expand-on-click-node": !1,
|
|
@@ -104,16 +104,16 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
|
|
|
104
104
|
onCheckChange: e.handleNodeCheckChange,
|
|
105
105
|
style: { height: "500px", "overflow-y": "auto" }
|
|
106
106
|
}, {
|
|
107
|
-
default: a(({ node: h, data:
|
|
108
|
-
|
|
107
|
+
default: a(({ node: h, data: u }) => [
|
|
108
|
+
i("span", W, p(h.label), 1),
|
|
109
109
|
n(c, {
|
|
110
|
-
modelValue:
|
|
111
|
-
"onUpdate:modelValue": (o) =>
|
|
112
|
-
onChange: (o) => e.handleNodeBtnChange(o,
|
|
110
|
+
modelValue: u.checkedButtons,
|
|
111
|
+
"onUpdate:modelValue": (o) => u.checkedButtons = o,
|
|
112
|
+
onChange: (o) => e.handleNodeBtnChange(o, u),
|
|
113
113
|
class: "node-buttons"
|
|
114
114
|
}, {
|
|
115
115
|
default: a(() => [
|
|
116
|
-
(m(!0), D
|
|
116
|
+
(m(!0), k(D, null, E(u.renderButtons, (o) => (m(), F(d, {
|
|
117
117
|
key: o.title,
|
|
118
118
|
label: o.title,
|
|
119
119
|
value: o.path
|
|
@@ -135,7 +135,7 @@ const Q = { class: "role-wrapper" }, W = { class: "role-dialog-header" }, j = {
|
|
|
135
135
|
], 64);
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
}),
|
|
138
|
+
}), ne = /* @__PURE__ */ G(H, [["__scopeId", "data-v-a7127b6e"]]);
|
|
139
139
|
export {
|
|
140
|
-
|
|
140
|
+
ne as default
|
|
141
141
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Ab=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ji=require("./cloneDeep-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Ab=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ji=require("./cloneDeep-TacB4EZO.cjs");/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|