@since2006/pages 2026.1.0 → 2026.1.2
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/es/src/app/attachment/AttachmentEdit.vue.js +65 -93
- package/dist/es/src/app/module/ModuleAdd.vue.js +2 -2
- package/dist/es/src/app/module/ModuleAdd.vue2.js +50 -46
- package/dist/es/src/app/module/ModuleDetail.vue.js +30 -29
- package/dist/es/src/app/module/ModuleEdit.vue.js +2 -2
- package/dist/es/src/app/module/ModuleEdit.vue2.js +49 -45
- package/dist/es/src/app/module/ModuleIndex.vue.js +2 -2
- package/dist/es/src/app/module/ModuleIndex.vue2.js +76 -73
- package/dist/es/src/app/module/icon/AppIcon.vue.js +35 -0
- package/dist/es/src/app/system/StatusIndex.vue.js +1 -1
- package/dist/es/src/app/system/StatusIndex.vue2.js +33 -33
- package/dist/es/style.css +1 -1
- package/dist/lib/src/app/attachment/AttachmentEdit.vue.js +1 -1
- package/dist/lib/src/app/attachment/AttachmentIndex.vue.js +1 -1
- package/dist/lib/src/app/dict/DictIndex.vue2.js +1 -1
- package/dist/lib/src/app/dict/DictPanel.vue2.js +1 -1
- package/dist/lib/src/app/log/components/AuditLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/ErrorLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/LoginLogDetail.vue2.js +1 -1
- package/dist/lib/src/app/log/components/LoginLogList.vue2.js +1 -1
- package/dist/lib/src/app/log/components/OperationLogList.vue2.js +1 -1
- package/dist/lib/src/app/module/ModuleAdd.vue.js +1 -1
- package/dist/lib/src/app/module/ModuleAdd.vue2.js +1 -1
- package/dist/lib/src/app/module/ModuleDetail.vue.js +1 -1
- package/dist/lib/src/app/module/ModuleEdit.vue.js +1 -1
- package/dist/lib/src/app/module/ModuleEdit.vue2.js +1 -1
- package/dist/lib/src/app/module/ModuleIndex.vue.js +1 -1
- package/dist/lib/src/app/module/ModuleIndex.vue2.js +1 -1
- package/dist/lib/src/app/module/icon/AppIcon.vue.js +1 -0
- package/dist/lib/src/app/schedule/ScheduleIndex.vue.js +1 -1
- package/dist/lib/src/app/schedule/ScheduleLogList.vue.js +1 -1
- package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
- package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
- package/dist/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getAvailableExtensions as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as K, ref as m, reactive as P, resolveComponent as d, openBlock as B, createBlock as E, withCtx as s, createVNode as t, toRaw as R } from "vue";
|
|
2
|
+
import { getAvailableExtensions as k, getConfig as O, createConfig as j, updateConfig as A } from "./api.js";
|
|
3
|
+
const G = /* @__PURE__ */ K({
|
|
4
4
|
__name: "AttachmentEdit",
|
|
5
5
|
emits: ["success", "cancel"],
|
|
6
|
-
setup(
|
|
7
|
-
let
|
|
8
|
-
const r =
|
|
9
|
-
|
|
10
|
-
r.value = !0,
|
|
11
|
-
const e =
|
|
6
|
+
setup(F, { expose: h, emit: y }) {
|
|
7
|
+
let u;
|
|
8
|
+
const r = m(!1);
|
|
9
|
+
h({ preCreate: () => {
|
|
10
|
+
r.value = !0, u = "add", p.value = "新建上传配置", g(), k().then((n) => {
|
|
11
|
+
const e = n.data;
|
|
12
12
|
v.value = b(e);
|
|
13
13
|
});
|
|
14
|
-
}, preUpdate: (
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
v.value = b(
|
|
18
|
-
}),
|
|
19
|
-
const
|
|
20
|
-
|
|
14
|
+
}, preUpdate: (n) => {
|
|
15
|
+
u = "edit", r.value = !0, p.value = "编辑上传配置", g(), k().then((e) => {
|
|
16
|
+
const l = e.data;
|
|
17
|
+
v.value = b(l);
|
|
18
|
+
}), O(n).then((e) => {
|
|
19
|
+
const l = e.data;
|
|
20
|
+
l.extensions = l.extensions.split(","), Object.assign(a, l);
|
|
21
21
|
});
|
|
22
22
|
} });
|
|
23
|
-
const
|
|
23
|
+
const c = y, p = m(""), x = m(), _ = {
|
|
24
24
|
id: null,
|
|
25
25
|
name: null,
|
|
26
26
|
keyword: null,
|
|
@@ -28,7 +28,7 @@ const I = /* @__PURE__ */ B({
|
|
|
28
28
|
extensions: null,
|
|
29
29
|
maxSize: null,
|
|
30
30
|
isExternal: 0
|
|
31
|
-
},
|
|
31
|
+
}, a = P({ ..._ }), C = {
|
|
32
32
|
name: [{ required: !0, message: "请填写模块描述名称" }],
|
|
33
33
|
keyword: [{ required: !0, message: "请填写附件标识Key" }],
|
|
34
34
|
storePath: [{ required: !0, message: "请填写存放路径" }],
|
|
@@ -36,139 +36,111 @@ const I = /* @__PURE__ */ B({
|
|
|
36
36
|
maxSize: [{ required: !0, message: "请填写最大值 (数字类型)" }],
|
|
37
37
|
isExternal: [{ required: !0, message: "请选择存储方式" }]
|
|
38
38
|
}, g = () => {
|
|
39
|
-
Object.assign(
|
|
40
|
-
}, f =
|
|
39
|
+
Object.assign(a, _);
|
|
40
|
+
}, f = m(!1), v = m([]), b = (n) => n.map((e) => ({
|
|
41
41
|
value: e.ext,
|
|
42
42
|
label: e.name
|
|
43
|
-
})),
|
|
43
|
+
})), w = () => {
|
|
44
44
|
x.value.validateFields().then(() => {
|
|
45
45
|
f.value = !0;
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
e.code === 200 && (r.value = !1,
|
|
49
|
-
}) :
|
|
50
|
-
e.code === 200 && (r.value = !1,
|
|
46
|
+
const n = { ...R(a) };
|
|
47
|
+
u === "add" ? j(n).then((e) => {
|
|
48
|
+
e.code === 200 && (r.value = !1, c("success", u));
|
|
49
|
+
}) : A(n).then((e) => {
|
|
50
|
+
e.code === 200 && (r.value = !1, c("success", u));
|
|
51
51
|
});
|
|
52
52
|
}).finally(() => {
|
|
53
53
|
f.value = !1;
|
|
54
54
|
});
|
|
55
|
-
},
|
|
56
|
-
r.value = !1,
|
|
55
|
+
}, S = () => {
|
|
56
|
+
r.value = !1, c("cancel");
|
|
57
57
|
};
|
|
58
|
-
return (
|
|
59
|
-
const
|
|
60
|
-
return
|
|
61
|
-
title:
|
|
58
|
+
return (n, e) => {
|
|
59
|
+
const l = d("a-input"), i = d("a-form-item"), U = d("a-checkbox-group"), q = d("a-form"), z = d("a-modal");
|
|
60
|
+
return B(), E(z, {
|
|
61
|
+
title: p.value,
|
|
62
62
|
width: 800,
|
|
63
63
|
open: r.value,
|
|
64
64
|
"mask-closable": !1,
|
|
65
65
|
"destroy-on-close": "",
|
|
66
66
|
"confirm-loading": f.value,
|
|
67
|
-
onOk:
|
|
68
|
-
onCancel:
|
|
67
|
+
onOk: w,
|
|
68
|
+
onCancel: S
|
|
69
69
|
}, {
|
|
70
|
-
default:
|
|
71
|
-
|
|
70
|
+
default: s(() => [
|
|
71
|
+
t(q, {
|
|
72
72
|
ref_key: "formRef",
|
|
73
73
|
ref: x,
|
|
74
|
-
model:
|
|
75
|
-
rules:
|
|
74
|
+
model: a,
|
|
75
|
+
rules: C,
|
|
76
76
|
"label-col": { span: 5 },
|
|
77
77
|
"wrapper-col": { span: 12 }
|
|
78
78
|
}, {
|
|
79
|
-
default:
|
|
80
|
-
|
|
79
|
+
default: s(() => [
|
|
80
|
+
t(i, {
|
|
81
81
|
label: "模块描述名称",
|
|
82
82
|
name: "name"
|
|
83
83
|
}, {
|
|
84
|
-
default:
|
|
85
|
-
|
|
86
|
-
value:
|
|
87
|
-
"onUpdate:value": e[0] || (e[0] = (
|
|
84
|
+
default: s(() => [
|
|
85
|
+
t(l, {
|
|
86
|
+
value: a.name,
|
|
87
|
+
"onUpdate:value": e[0] || (e[0] = (o) => a.name = o),
|
|
88
88
|
placeholder: "模块描述名称"
|
|
89
89
|
}, null, 8, ["value"])
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
92
|
}),
|
|
93
|
-
|
|
93
|
+
t(i, {
|
|
94
94
|
label: "附件标识Key",
|
|
95
95
|
name: "keyword"
|
|
96
96
|
}, {
|
|
97
|
-
default:
|
|
98
|
-
|
|
99
|
-
value:
|
|
100
|
-
"onUpdate:value": e[1] || (e[1] = (
|
|
97
|
+
default: s(() => [
|
|
98
|
+
t(l, {
|
|
99
|
+
value: a.keyword,
|
|
100
|
+
"onUpdate:value": e[1] || (e[1] = (o) => a.keyword = o),
|
|
101
101
|
placeholder: "附件标识Key"
|
|
102
102
|
}, null, 8, ["value"])
|
|
103
103
|
]),
|
|
104
104
|
_: 1
|
|
105
105
|
}),
|
|
106
|
-
|
|
106
|
+
t(i, {
|
|
107
107
|
label: "存储路径",
|
|
108
108
|
name: "storePath"
|
|
109
109
|
}, {
|
|
110
|
-
default:
|
|
111
|
-
|
|
112
|
-
value:
|
|
113
|
-
"onUpdate:value": e[2] || (e[2] = (
|
|
110
|
+
default: s(() => [
|
|
111
|
+
t(l, {
|
|
112
|
+
value: a.storePath,
|
|
113
|
+
"onUpdate:value": e[2] || (e[2] = (o) => a.storePath = o),
|
|
114
114
|
placeholder: "存储路径"
|
|
115
115
|
}, null, 8, ["value"])
|
|
116
116
|
]),
|
|
117
117
|
_: 1
|
|
118
118
|
}),
|
|
119
|
-
|
|
119
|
+
t(i, {
|
|
120
120
|
label: "允许格式",
|
|
121
121
|
name: "extension"
|
|
122
122
|
}, {
|
|
123
|
-
default:
|
|
124
|
-
|
|
125
|
-
value:
|
|
126
|
-
"onUpdate:value": e[3] || (e[3] = (
|
|
123
|
+
default: s(() => [
|
|
124
|
+
t(U, {
|
|
125
|
+
value: a.extensions,
|
|
126
|
+
"onUpdate:value": e[3] || (e[3] = (o) => a.extensions = o),
|
|
127
127
|
options: v.value
|
|
128
128
|
}, null, 8, ["value", "options"])
|
|
129
129
|
]),
|
|
130
130
|
_: 1
|
|
131
131
|
}),
|
|
132
|
-
|
|
132
|
+
t(i, {
|
|
133
133
|
label: "最大值 (KB)",
|
|
134
134
|
name: "maxSize"
|
|
135
135
|
}, {
|
|
136
|
-
default:
|
|
137
|
-
|
|
138
|
-
value:
|
|
139
|
-
"onUpdate:value": e[4] || (e[4] = (
|
|
136
|
+
default: s(() => [
|
|
137
|
+
t(l, {
|
|
138
|
+
value: a.maxSize,
|
|
139
|
+
"onUpdate:value": e[4] || (e[4] = (o) => a.maxSize = o),
|
|
140
140
|
placeholder: "最大值 (KB)"
|
|
141
141
|
}, null, 8, ["value"])
|
|
142
142
|
]),
|
|
143
143
|
_: 1
|
|
144
|
-
}),
|
|
145
|
-
a(i, {
|
|
146
|
-
label: "存储方式",
|
|
147
|
-
name: "isExternal"
|
|
148
|
-
}, {
|
|
149
|
-
default: n(() => [
|
|
150
|
-
a(z, {
|
|
151
|
-
value: t.isExternal,
|
|
152
|
-
"onUpdate:value": e[5] || (e[5] = (l) => t.isExternal = l)
|
|
153
|
-
}, {
|
|
154
|
-
default: n(() => [
|
|
155
|
-
a(k, { value: 0 }, {
|
|
156
|
-
default: n(() => e[6] || (e[6] = [
|
|
157
|
-
y("本地存储")
|
|
158
|
-
])),
|
|
159
|
-
_: 1
|
|
160
|
-
}),
|
|
161
|
-
a(k, { value: 1 }, {
|
|
162
|
-
default: n(() => e[7] || (e[7] = [
|
|
163
|
-
y("云存储")
|
|
164
|
-
])),
|
|
165
|
-
_: 1
|
|
166
|
-
})
|
|
167
|
-
]),
|
|
168
|
-
_: 1
|
|
169
|
-
}, 8, ["value"])
|
|
170
|
-
]),
|
|
171
|
-
_: 1
|
|
172
144
|
})
|
|
173
145
|
]),
|
|
174
146
|
_: 1
|
|
@@ -180,5 +152,5 @@ const I = /* @__PURE__ */ B({
|
|
|
180
152
|
}
|
|
181
153
|
});
|
|
182
154
|
export {
|
|
183
|
-
|
|
155
|
+
G as default
|
|
184
156
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModuleAdd.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f8a348f6"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { message as
|
|
4
|
-
import { SearchOutlined as
|
|
5
|
-
import { getModules as
|
|
6
|
-
import { PermPanel as
|
|
7
|
-
|
|
1
|
+
import { defineComponent as j, ref as d, reactive as z, watch as G, resolveComponent as u, openBlock as H, createBlock as J, withCtx as o, createVNode as t, unref as q, createTextVNode as C } from "vue";
|
|
2
|
+
import K from "./icon/IconSelectorModal.vue.js";
|
|
3
|
+
import { message as Q } from "ant-design-vue";
|
|
4
|
+
import { SearchOutlined as W } from "@ant-design/icons-vue";
|
|
5
|
+
import { getModules as X, getDocs as Y, createModule as Z } from "./api.js";
|
|
6
|
+
import { PermPanel as ee } from "@since2006/components";
|
|
7
|
+
import te from "./icon/AppIcon.vue.js";
|
|
8
|
+
const de = /* @__PURE__ */ j({
|
|
8
9
|
__name: "ModuleAdd",
|
|
9
10
|
props: {
|
|
10
11
|
open: {
|
|
@@ -17,7 +18,7 @@ const se = /* @__PURE__ */ G({
|
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
emits: ["update:open", "success", "cancel"],
|
|
20
|
-
setup(_, { emit:
|
|
21
|
+
setup(_, { emit: N }) {
|
|
21
22
|
const m = _, b = d(), p = d([]), f = d(!1), g = d([]), I = d([]), i = d({
|
|
22
23
|
icon: !1
|
|
23
24
|
}), w = {
|
|
@@ -33,31 +34,31 @@ const se = /* @__PURE__ */ G({
|
|
|
33
34
|
status: 0,
|
|
34
35
|
target: !1,
|
|
35
36
|
permissionSummary: ""
|
|
36
|
-
}, a =
|
|
37
|
+
}, a = z({ ...w }), h = {
|
|
37
38
|
name: [{ required: !0, message: "请填写模块名称" }],
|
|
38
39
|
seqNo: [{ required: !0, type: "number", message: "请填写数字类型顺序号" }],
|
|
39
40
|
status: [{ required: !0, message: "请选择是否显示" }]
|
|
40
|
-
}, v =
|
|
41
|
-
|
|
41
|
+
}, v = N;
|
|
42
|
+
G(
|
|
42
43
|
() => m.open,
|
|
43
44
|
(n) => {
|
|
44
|
-
n && (
|
|
45
|
+
n && (x(), D());
|
|
45
46
|
}
|
|
46
47
|
);
|
|
47
|
-
const
|
|
48
|
+
const x = () => {
|
|
48
49
|
Object.assign(a, w), p.value = [];
|
|
49
|
-
},
|
|
50
|
-
|
|
50
|
+
}, y = (n, e) => e.componentOptions.children[0].text.toLowerCase().indexOf(n.toLowerCase()) >= 0, D = () => {
|
|
51
|
+
X().then((n) => {
|
|
51
52
|
const e = [];
|
|
52
53
|
k(e, n.data, []), g.value = e, m.parentId && (a.parentId = m.parentId);
|
|
53
|
-
}),
|
|
54
|
-
I.value =
|
|
54
|
+
}), Y().then((n) => {
|
|
55
|
+
I.value = B(n.data);
|
|
55
56
|
});
|
|
56
|
-
},
|
|
57
|
+
}, L = () => {
|
|
57
58
|
i.value.icon = !0;
|
|
58
|
-
},
|
|
59
|
+
}, O = (n) => {
|
|
59
60
|
i.value.icon = !1, a.icon = n;
|
|
60
|
-
},
|
|
61
|
+
}, V = () => {
|
|
61
62
|
b.value.validateFields().then(() => {
|
|
62
63
|
f.value = !0;
|
|
63
64
|
const n = {
|
|
@@ -66,13 +67,13 @@ const se = /* @__PURE__ */ G({
|
|
|
66
67
|
permIds: p.value,
|
|
67
68
|
seqNo: parseInt(a.seqNo)
|
|
68
69
|
};
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
Z(n).then((e) => {
|
|
71
|
+
Q.success("添加模块成功"), v("update:open", !1), v("success", e.data.parentId);
|
|
71
72
|
});
|
|
72
73
|
}).finally((n) => {
|
|
73
74
|
f.value = !1;
|
|
74
75
|
});
|
|
75
|
-
},
|
|
76
|
+
}, A = () => {
|
|
76
77
|
v("update:open", !1);
|
|
77
78
|
}, k = (n, e, c) => {
|
|
78
79
|
e && e.forEach((r) => {
|
|
@@ -81,35 +82,35 @@ const se = /* @__PURE__ */ G({
|
|
|
81
82
|
k(s.children, r.children, c), n.push(s);
|
|
82
83
|
}
|
|
83
84
|
});
|
|
84
|
-
},
|
|
85
|
+
}, B = (n) => n.map((e) => ({
|
|
85
86
|
value: e.id,
|
|
86
87
|
label: e.name
|
|
87
88
|
}));
|
|
88
89
|
return (n, e) => {
|
|
89
|
-
const c = u("a-tree-select"), r = u("a-form-item"), s = u("a-input"),
|
|
90
|
-
return
|
|
90
|
+
const c = u("a-tree-select"), r = u("a-form-item"), s = u("a-input"), F = u("a-select"), M = u("a-input-number"), S = u("a-radio"), R = u("a-radio-group"), T = u("a-switch"), U = u("a-col"), E = u("a-row"), P = u("a-form"), $ = u("a-modal");
|
|
91
|
+
return H(), J($, {
|
|
91
92
|
title: "添加系统模块",
|
|
92
93
|
width: 800,
|
|
93
94
|
visible: _.open,
|
|
94
95
|
"mask-closable": !1,
|
|
95
96
|
"confirm-loading": f.value,
|
|
96
97
|
"destroy-on-close": "",
|
|
97
|
-
onOk:
|
|
98
|
-
onCancel:
|
|
98
|
+
onOk: V,
|
|
99
|
+
onCancel: A
|
|
99
100
|
}, {
|
|
100
101
|
default: o(() => [
|
|
101
|
-
t(
|
|
102
|
+
t(P, {
|
|
102
103
|
ref_key: "formRef",
|
|
103
104
|
ref: b,
|
|
104
105
|
model: a,
|
|
105
|
-
rules:
|
|
106
|
+
rules: h,
|
|
106
107
|
"label-col": { span: 5 },
|
|
107
108
|
"wrapper-col": { span: 15 }
|
|
108
109
|
}, {
|
|
109
110
|
default: o(() => [
|
|
110
|
-
t(
|
|
111
|
+
t(E, null, {
|
|
111
112
|
default: o(() => [
|
|
112
|
-
t(
|
|
113
|
+
t(U, { span: 15 }, {
|
|
113
114
|
default: o(() => [
|
|
114
115
|
t(r, { label: "上级模块" }, {
|
|
115
116
|
default: o(() => [
|
|
@@ -138,12 +139,12 @@ const se = /* @__PURE__ */ G({
|
|
|
138
139
|
}),
|
|
139
140
|
t(r, { label: "文档类别" }, {
|
|
140
141
|
default: o(() => [
|
|
141
|
-
t(
|
|
142
|
+
t(F, {
|
|
142
143
|
value: a.cateId,
|
|
143
144
|
"onUpdate:value": e[2] || (e[2] = (l) => a.cateId = l),
|
|
144
145
|
"show-search": "",
|
|
145
146
|
"option-filter-prop": "children",
|
|
146
|
-
"filter-option":
|
|
147
|
+
"filter-option": y,
|
|
147
148
|
options: I.value,
|
|
148
149
|
allowClear: ""
|
|
149
150
|
}, null, 8, ["value", "options"])
|
|
@@ -158,10 +159,13 @@ const se = /* @__PURE__ */ G({
|
|
|
158
159
|
placeholder: "点击右侧按钮选择图标"
|
|
159
160
|
}, {
|
|
160
161
|
prefix: o(() => [
|
|
161
|
-
(
|
|
162
|
+
t(te, {
|
|
163
|
+
icon: a.icon,
|
|
164
|
+
style: { color: "#108b16" }
|
|
165
|
+
}, null, 8, ["icon"])
|
|
162
166
|
]),
|
|
163
167
|
addonAfter: o(() => [
|
|
164
|
-
t(
|
|
168
|
+
t(q(W), { onClick: L })
|
|
165
169
|
]),
|
|
166
170
|
_: 1
|
|
167
171
|
}, 8, ["value"])
|
|
@@ -173,7 +177,7 @@ const se = /* @__PURE__ */ G({
|
|
|
173
177
|
name: "seqNo"
|
|
174
178
|
}, {
|
|
175
179
|
default: o(() => [
|
|
176
|
-
t(
|
|
180
|
+
t(M, {
|
|
177
181
|
value: a.seqNo,
|
|
178
182
|
"onUpdate:value": e[4] || (e[4] = (l) => a.seqNo = l),
|
|
179
183
|
placeholder: "顺序号"
|
|
@@ -206,20 +210,20 @@ const se = /* @__PURE__ */ G({
|
|
|
206
210
|
name: "status"
|
|
207
211
|
}, {
|
|
208
212
|
default: o(() => [
|
|
209
|
-
t(
|
|
213
|
+
t(R, {
|
|
210
214
|
value: a.status,
|
|
211
215
|
"onUpdate:value": e[7] || (e[7] = (l) => a.status = l)
|
|
212
216
|
}, {
|
|
213
217
|
default: o(() => [
|
|
214
218
|
t(S, { value: 1 }, {
|
|
215
219
|
default: o(() => e[12] || (e[12] = [
|
|
216
|
-
|
|
220
|
+
C("显示")
|
|
217
221
|
])),
|
|
218
222
|
_: 1
|
|
219
223
|
}),
|
|
220
224
|
t(S, { value: 0 }, {
|
|
221
225
|
default: o(() => e[13] || (e[13] = [
|
|
222
|
-
|
|
226
|
+
C("隐藏")
|
|
223
227
|
])),
|
|
224
228
|
_: 1
|
|
225
229
|
})
|
|
@@ -231,7 +235,7 @@ const se = /* @__PURE__ */ G({
|
|
|
231
235
|
}),
|
|
232
236
|
t(r, { label: "打开方式" }, {
|
|
233
237
|
default: o(() => [
|
|
234
|
-
t(
|
|
238
|
+
t(T, {
|
|
235
239
|
checked: a.target,
|
|
236
240
|
"onUpdate:checked": e[8] || (e[8] = (l) => a.target = l),
|
|
237
241
|
"checked-children": "新开窗口",
|
|
@@ -253,9 +257,9 @@ const se = /* @__PURE__ */ G({
|
|
|
253
257
|
]),
|
|
254
258
|
_: 1
|
|
255
259
|
}),
|
|
256
|
-
t(
|
|
260
|
+
t(U, { span: 9 }, {
|
|
257
261
|
default: o(() => [
|
|
258
|
-
t(
|
|
262
|
+
t(q(ee), {
|
|
259
263
|
modelValue: p.value,
|
|
260
264
|
"onUpdate:modelValue": e[10] || (e[10] = (l) => p.value = l)
|
|
261
265
|
}, null, 8, ["modelValue"])
|
|
@@ -268,9 +272,9 @@ const se = /* @__PURE__ */ G({
|
|
|
268
272
|
]),
|
|
269
273
|
_: 1
|
|
270
274
|
}, 8, ["model"]),
|
|
271
|
-
t(
|
|
275
|
+
t(K, {
|
|
272
276
|
visible: i.value.icon,
|
|
273
|
-
onSuccess:
|
|
277
|
+
onSuccess: O,
|
|
274
278
|
onCancel: e[11] || (e[11] = (l) => i.value.icon = !1)
|
|
275
279
|
}, null, 8, ["visible"])
|
|
276
280
|
]),
|
|
@@ -280,5 +284,5 @@ const se = /* @__PURE__ */ G({
|
|
|
280
284
|
}
|
|
281
285
|
});
|
|
282
286
|
export {
|
|
283
|
-
|
|
287
|
+
de as default
|
|
284
288
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as c, resolveComponent as p, openBlock as r, createBlock as u, withCtx as e, createVNode as l, createTextVNode as a, toDisplayString as d, createElementVNode as g, createElementBlock as f, Fragment as _, createCommentVNode as y } from "vue";
|
|
2
|
+
import k from "./icon/AppIcon.vue.js";
|
|
3
|
+
const N = { style: { color: "#a6a6a6", "margin-left": "4px" } }, S = /* @__PURE__ */ c({
|
|
3
4
|
__name: "ModuleDetail",
|
|
4
5
|
props: {
|
|
5
6
|
module: {}
|
|
6
7
|
},
|
|
7
|
-
setup(
|
|
8
|
+
setup(C) {
|
|
8
9
|
return (o, n) => {
|
|
9
|
-
const t = p("a-descriptions-item"),
|
|
10
|
-
return
|
|
10
|
+
const t = p("a-descriptions-item"), s = p("a-typography-paragraph"), m = p("a-tag"), b = p("a-descriptions");
|
|
11
|
+
return r(), u(b, {
|
|
11
12
|
bordered: "",
|
|
12
13
|
column: 1,
|
|
13
14
|
labelStyle: { width: "140px", textAlign: "center" }
|
|
@@ -15,36 +16,36 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
15
16
|
default: e(() => [
|
|
16
17
|
l(t, { label: "模块名称" }, {
|
|
17
18
|
default: e(() => [
|
|
18
|
-
a(
|
|
19
|
+
a(d(o.module.name), 1)
|
|
19
20
|
]),
|
|
20
21
|
_: 1
|
|
21
22
|
}),
|
|
22
23
|
l(t, { label: "文档类别" }, {
|
|
23
24
|
default: e(() => {
|
|
24
|
-
var
|
|
25
|
+
var i;
|
|
25
26
|
return [
|
|
26
|
-
a(
|
|
27
|
+
a(d((i = o.module.cate) == null ? void 0 : i.name), 1)
|
|
27
28
|
];
|
|
28
29
|
}),
|
|
29
30
|
_: 1
|
|
30
31
|
}),
|
|
31
32
|
l(t, { label: "模块图标" }, {
|
|
32
33
|
default: e(() => [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
34
|
+
l(k, {
|
|
35
|
+
icon: o.module.icon,
|
|
36
|
+
size: "16px"
|
|
37
|
+
}, null, 8, ["icon"]),
|
|
38
|
+
g("span", N, d(o.module.icon), 1)
|
|
38
39
|
]),
|
|
39
40
|
_: 1
|
|
40
41
|
}),
|
|
41
42
|
l(t, { label: "访问路径" }, {
|
|
42
43
|
default: e(() => [
|
|
43
|
-
l(
|
|
44
|
+
l(s, {
|
|
44
45
|
copyable: !!o.module.path
|
|
45
46
|
}, {
|
|
46
47
|
default: e(() => [
|
|
47
|
-
a(
|
|
48
|
+
a(d(o.module.path), 1)
|
|
48
49
|
]),
|
|
49
50
|
_: 1
|
|
50
51
|
}, 8, ["copyable"])
|
|
@@ -53,11 +54,11 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
53
54
|
}),
|
|
54
55
|
l(t, { label: "模板文件" }, {
|
|
55
56
|
default: e(() => [
|
|
56
|
-
l(
|
|
57
|
+
l(s, {
|
|
57
58
|
copyable: !!o.module.component
|
|
58
59
|
}, {
|
|
59
60
|
default: e(() => [
|
|
60
|
-
a(
|
|
61
|
+
a(d(o.module.component), 1)
|
|
61
62
|
]),
|
|
62
63
|
_: 1
|
|
63
64
|
}, 8, ["copyable"])
|
|
@@ -66,8 +67,8 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
66
67
|
}),
|
|
67
68
|
l(t, { label: "打开方式" }, {
|
|
68
69
|
default: e(() => [
|
|
69
|
-
o.module.openTarget != null ? (
|
|
70
|
-
o.module.openTarget === 1 ? (
|
|
70
|
+
o.module.openTarget != null ? (r(), f(_, { key: 0 }, [
|
|
71
|
+
o.module.openTarget === 1 ? (r(), u(m, {
|
|
71
72
|
key: 0,
|
|
72
73
|
color: "red"
|
|
73
74
|
}, {
|
|
@@ -75,26 +76,26 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
75
76
|
a("新开窗口")
|
|
76
77
|
])),
|
|
77
78
|
_: 1
|
|
78
|
-
})) : (
|
|
79
|
+
})) : (r(), u(m, { key: 1 }, {
|
|
79
80
|
default: e(() => n[1] || (n[1] = [
|
|
80
81
|
a("默认")
|
|
81
82
|
])),
|
|
82
83
|
_: 1
|
|
83
84
|
}))
|
|
84
|
-
], 64)) :
|
|
85
|
+
], 64)) : y("", !0)
|
|
85
86
|
]),
|
|
86
87
|
_: 1
|
|
87
88
|
}),
|
|
88
89
|
l(t, { label: "排序" }, {
|
|
89
90
|
default: e(() => [
|
|
90
|
-
a(
|
|
91
|
+
a(d(o.module.seqNo), 1)
|
|
91
92
|
]),
|
|
92
93
|
_: 1
|
|
93
94
|
}),
|
|
94
95
|
l(t, { label: "是否显示" }, {
|
|
95
96
|
default: e(() => [
|
|
96
|
-
o.module.status != null ? (
|
|
97
|
-
o.module.status === 1 ? (
|
|
97
|
+
o.module.status != null ? (r(), f(_, { key: 0 }, [
|
|
98
|
+
o.module.status === 1 ? (r(), u(m, {
|
|
98
99
|
key: 0,
|
|
99
100
|
color: "green"
|
|
100
101
|
}, {
|
|
@@ -102,7 +103,7 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
102
103
|
a("显示")
|
|
103
104
|
])),
|
|
104
105
|
_: 1
|
|
105
|
-
})) : (
|
|
106
|
+
})) : (r(), u(m, {
|
|
106
107
|
key: 1,
|
|
107
108
|
color: "red"
|
|
108
109
|
}, {
|
|
@@ -111,19 +112,19 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
111
112
|
])),
|
|
112
113
|
_: 1
|
|
113
114
|
}))
|
|
114
|
-
], 64)) :
|
|
115
|
+
], 64)) : y("", !0)
|
|
115
116
|
]),
|
|
116
117
|
_: 1
|
|
117
118
|
}),
|
|
118
119
|
l(t, { label: "访问权限" }, {
|
|
119
120
|
default: e(() => [
|
|
120
|
-
a(
|
|
121
|
+
a(d(o.module.permsSummary), 1)
|
|
121
122
|
]),
|
|
122
123
|
_: 1
|
|
123
124
|
}),
|
|
124
125
|
l(t, { label: "描述" }, {
|
|
125
126
|
default: e(() => [
|
|
126
|
-
a(
|
|
127
|
+
a(d(o.module.remark), 1)
|
|
127
128
|
]),
|
|
128
129
|
_: 1
|
|
129
130
|
})
|
|
@@ -134,5 +135,5 @@ const C = { style: { color: "#a6a6a6", "margin-left": "4px" } }, B = /* @__PURE_
|
|
|
134
135
|
}
|
|
135
136
|
});
|
|
136
137
|
export {
|
|
137
|
-
|
|
138
|
+
S as default
|
|
138
139
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModuleEdit.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-50a6d9f1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|