zsysview 0.1.10 → 0.1.13
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/{backup-JYciwQ4I.js → backup-BiLoey95.js} +1 -1
- package/dist/{building-JfhGEuI2.js → building-BcGLhNOi.js} +1 -1
- package/dist/{change_password-BCpfLtZQ.js → change_password-DfYWwVoK.js} +1 -1
- package/dist/{department-BraC02i1.js → department-D7EwhbOO.js} +1 -1
- package/dist/{help-Au_xwj_V.js → help-BnAsSKLq.js} +1 -1
- package/dist/{index-DzL6spbn.js → index-D5KAIOPC.js} +547 -394
- package/dist/{log-DPlyCY4H.js → log-CbQ47aGY.js} +24 -14
- package/dist/{login-DNMzryyr.js → login-BSH9Xd4k.js} +1 -1
- package/dist/{main-BM8Fvt32.js → main-Bbc5hIiY.js} +1 -1
- package/dist/{notification-BCkAPoyl.js → notification-C_9n_N5v.js} +16 -9
- package/dist/{position-2LqfB_Zh.js → position-DFskDcl3.js} +86 -79
- package/dist/{role-CNrpDxip.js → role-CfsfhmKi.js} +117 -110
- package/dist/{self-CUu1aORS.js → self-8xQnyP7j.js} +1 -1
- package/dist/{systemsetting-BsHvQQfQ.js → systemsetting-BK-7trEN.js} +1 -1
- package/dist/{user-CXVihXkC.js → user-cO9fyb0O.js} +183 -159
- package/dist/{version-0-kWtYgH.js → version-CnryUp9o.js} +1 -1
- package/dist/zsysview.css +1 -1
- package/dist/zsysview.es.d.ts +31 -3
- package/dist/zsysview.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-
|
|
2
|
+
import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-D5KAIOPC.js";
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "log_setting",
|
|
5
5
|
setup(__props, { expose: __expose }) {
|
|
@@ -63,7 +63,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
63
63
|
], 64);
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
}), _hoisted_1 = {
|
|
66
|
+
}), _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
|
|
67
|
+
class: "flex_fill",
|
|
68
|
+
style: { padding: "0px 20px" }
|
|
69
|
+
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
67
70
|
__name: "log",
|
|
68
71
|
setup(__props, { expose: __expose }) {
|
|
69
72
|
const activeName = ref("first"), handleClick = (tab, event) => {
|
|
@@ -72,31 +75,38 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
72
75
|
ApiUrl: HttpApiV1.url_syslog_list,
|
|
73
76
|
KeywordTip: "操作人、日志内容",
|
|
74
77
|
QuickConditionsGroups: [
|
|
75
|
-
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
{
|
|
79
|
+
Label: "类别:",
|
|
80
|
+
Select: 0,
|
|
81
|
+
QuickConditions: [
|
|
82
|
+
{ label: "全部", column: null },
|
|
83
|
+
{ label: "登录日志", column: "log_type", condition: "=", value: 1 },
|
|
84
|
+
{ label: "操作日志", column: "log_type", condition: "=", value: 2 }
|
|
85
|
+
]
|
|
86
|
+
}
|
|
80
87
|
]
|
|
81
|
-
}), dataformat = computed(
|
|
88
|
+
}), dataformat = computed(
|
|
89
|
+
() => (item) => formatDateTime(new Date(item))
|
|
90
|
+
);
|
|
82
91
|
return __expose({
|
|
83
92
|
activeName,
|
|
84
93
|
handleClick
|
|
85
94
|
}), (_ctx, _cache) => {
|
|
86
95
|
const _component_el_table_column = resolveComponent("el-table-column"), _component_el_tab_pane = resolveComponent("el-tab-pane"), _component_el_tabs = resolveComponent("el-tabs");
|
|
87
|
-
return openBlock(), createElementBlock(
|
|
96
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
88
97
|
createVNode(_sfc_main$2),
|
|
89
|
-
createElementVNode("div",
|
|
98
|
+
createElementVNode("div", _hoisted_2, [
|
|
90
99
|
createVNode(_component_el_tabs, {
|
|
91
100
|
modelValue: activeName.value,
|
|
92
101
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeName.value = $event),
|
|
93
|
-
|
|
94
|
-
|
|
102
|
+
onTabClick: handleClick,
|
|
103
|
+
style: { height: "100%" }
|
|
95
104
|
}, {
|
|
96
105
|
default: withCtx(() => [
|
|
97
106
|
createVNode(_component_el_tab_pane, {
|
|
98
107
|
label: "日志查询",
|
|
99
|
-
name: "first"
|
|
108
|
+
name: "first",
|
|
109
|
+
style: { height: "100%" }
|
|
100
110
|
}, {
|
|
101
111
|
default: withCtx(() => [
|
|
102
112
|
createVNode(_sfc_main$3, { config: listconfig }, {
|
|
@@ -150,7 +160,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
150
160
|
_: 1
|
|
151
161
|
}, 8, ["modelValue"])
|
|
152
162
|
])
|
|
153
|
-
]
|
|
163
|
+
]);
|
|
154
164
|
};
|
|
155
165
|
}
|
|
156
166
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
|
|
2
|
-
import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-D5KAIOPC.js";
|
|
3
3
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
class: "bg",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, inject, reactive, onMounted, ref, unref, createTextVNode, watch } from "vue";
|
|
2
|
-
import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-
|
|
2
|
+
import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-D5KAIOPC.js";
|
|
3
3
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "userMenuItem",
|
|
5
5
|
props: {
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
-
import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock,
|
|
2
|
-
import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-
|
|
3
|
-
const _hoisted_1 = {
|
|
1
|
+
import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-D5KAIOPC.js";
|
|
3
|
+
const _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
|
|
4
|
+
class: "flex_fill",
|
|
5
|
+
style: { padding: "0px 20px" }
|
|
6
|
+
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
7
|
__name: "notification",
|
|
5
8
|
setup(__props) {
|
|
6
9
|
const activeName = ref("first"), handleClick = (tab, event) => {
|
|
7
10
|
console.log(tab, event);
|
|
8
11
|
}, listconfig = reactive({
|
|
9
12
|
ApiUrl: HttpApiV1.url_notification_list
|
|
10
|
-
}), dataformat = computed(
|
|
13
|
+
}), dataformat = computed(
|
|
14
|
+
() => (item) => formatDateTime(new Date(item))
|
|
15
|
+
);
|
|
11
16
|
return (_ctx, _cache) => {
|
|
12
17
|
const _component_el_table_column = resolveComponent("el-table-column"), _component_el_link = resolveComponent("el-link"), _component_el_tab_pane = resolveComponent("el-tab-pane"), _component_el_tabs = resolveComponent("el-tabs");
|
|
13
|
-
return openBlock(), createElementBlock(
|
|
18
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
14
19
|
createVNode(_sfc_main$1),
|
|
15
|
-
createElementVNode("div",
|
|
20
|
+
createElementVNode("div", _hoisted_2, [
|
|
16
21
|
createVNode(_component_el_tabs, {
|
|
17
22
|
modelValue: activeName.value,
|
|
18
23
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeName.value = $event),
|
|
19
|
-
onTabClick: handleClick
|
|
24
|
+
onTabClick: handleClick,
|
|
25
|
+
style: { height: "100%" }
|
|
20
26
|
}, {
|
|
21
27
|
default: withCtx(() => [
|
|
22
28
|
createVNode(_component_el_tab_pane, {
|
|
23
29
|
label: "全部消息",
|
|
24
|
-
name: "first"
|
|
30
|
+
name: "first",
|
|
31
|
+
style: { height: "100%" }
|
|
25
32
|
}, {
|
|
26
33
|
default: withCtx(() => [
|
|
27
34
|
createVNode(_sfc_main$2, { config: listconfig }, {
|
|
@@ -70,7 +77,7 @@ const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__
|
|
|
70
77
|
_: 1
|
|
71
78
|
}, 8, ["modelValue"])
|
|
72
79
|
])
|
|
73
|
-
]
|
|
80
|
+
]);
|
|
74
81
|
};
|
|
75
82
|
}
|
|
76
83
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-
|
|
2
|
+
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-D5KAIOPC.js";
|
|
3
3
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "position_edit_dialog",
|
|
5
5
|
props: {
|
|
@@ -197,7 +197,10 @@ const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } },
|
|
|
197
197
|
}, 8, ["modelValue"]);
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
|
-
}), _hoisted_1 = {
|
|
200
|
+
}), _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
|
|
201
|
+
class: "flex_fill",
|
|
202
|
+
style: { padding: "0px 20px" }
|
|
203
|
+
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
201
204
|
__name: "position",
|
|
202
205
|
setup(__props) {
|
|
203
206
|
const activeName = ref("first"), handleClick = (tab, event) => {
|
|
@@ -212,85 +215,89 @@ const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } },
|
|
|
212
215
|
return (_ctx, _cache) => {
|
|
213
216
|
const _component_el_button = resolveComponent("el-button"), _component_el_table_column = resolveComponent("el-table-column"), _component_el_link = resolveComponent("el-link"), _component_el_space = resolveComponent("el-space"), _component_el_tab_pane = resolveComponent("el-tab-pane"), _component_el_tabs = resolveComponent("el-tabs");
|
|
214
217
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
215
|
-
createVNode(_sfc_main$2),
|
|
216
218
|
createElementVNode("div", _hoisted_1, [
|
|
217
|
-
createVNode(
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
219
|
+
createVNode(_sfc_main$2),
|
|
220
|
+
createElementVNode("div", _hoisted_2, [
|
|
221
|
+
createVNode(_component_el_tabs, {
|
|
222
|
+
modelValue: activeName.value,
|
|
223
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => activeName.value = $event),
|
|
224
|
+
onTabClick: handleClick,
|
|
225
|
+
style: { height: "100%" }
|
|
226
|
+
}, {
|
|
227
|
+
default: withCtx(() => [
|
|
228
|
+
createVNode(_component_el_tab_pane, {
|
|
229
|
+
label: "全部职务",
|
|
230
|
+
name: "first",
|
|
231
|
+
style: { height: "100%" }
|
|
232
|
+
}, {
|
|
233
|
+
default: withCtx(() => [
|
|
234
|
+
createVNode(_sfc_main$3, {
|
|
235
|
+
config: listconfig,
|
|
236
|
+
module: "position"
|
|
237
|
+
}, {
|
|
238
|
+
headermain: withCtx(() => [
|
|
239
|
+
createVNode(_component_el_button, {
|
|
240
|
+
class: "main_btn",
|
|
241
|
+
type: "primary",
|
|
242
|
+
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
243
|
+
view.edit_id = 0n, view.edit_dialog_show = !0;
|
|
244
|
+
})
|
|
245
|
+
}, {
|
|
246
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
247
|
+
createTextVNode("新建职务", -1)
|
|
248
|
+
])]),
|
|
249
|
+
_: 1
|
|
238
250
|
})
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
])
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
_: 1
|
|
290
|
-
})
|
|
291
|
-
]),
|
|
292
|
-
_: 1
|
|
293
|
-
}, 8, ["modelValue"])
|
|
251
|
+
]),
|
|
252
|
+
content: withCtx(() => [
|
|
253
|
+
createVNode(_component_el_table_column, {
|
|
254
|
+
prop: "position_title",
|
|
255
|
+
label: "职务名称",
|
|
256
|
+
width: "140"
|
|
257
|
+
}),
|
|
258
|
+
createVNode(_component_el_table_column, {
|
|
259
|
+
prop: "position_notes",
|
|
260
|
+
label: "备注",
|
|
261
|
+
"min-width": "180"
|
|
262
|
+
}),
|
|
263
|
+
createVNode(_component_el_table_column, {
|
|
264
|
+
label: "操作",
|
|
265
|
+
width: "100"
|
|
266
|
+
}, {
|
|
267
|
+
default: withCtx(({ row }) => [
|
|
268
|
+
createVNode(_component_el_space, null, {
|
|
269
|
+
default: withCtx(() => [
|
|
270
|
+
createVNode(_component_el_link, {
|
|
271
|
+
type: "primary",
|
|
272
|
+
onClick: ($event) => {
|
|
273
|
+
view.edit_id = BigInt(row.position_id), view.edit_dialog_show = !0;
|
|
274
|
+
}
|
|
275
|
+
}, {
|
|
276
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
277
|
+
createTextVNode("修改", -1)
|
|
278
|
+
])]),
|
|
279
|
+
_: 1
|
|
280
|
+
}, 8, ["onClick"]),
|
|
281
|
+
createVNode(_sfc_main$4, {
|
|
282
|
+
id: BigInt(row.position_id),
|
|
283
|
+
api_url: unref(HttpApiV1).url_position_del
|
|
284
|
+
}, null, 8, ["id", "api_url"])
|
|
285
|
+
]),
|
|
286
|
+
_: 2
|
|
287
|
+
}, 1024)
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
})
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
}, 8, ["config"])
|
|
294
|
+
]),
|
|
295
|
+
_: 1
|
|
296
|
+
})
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
}, 8, ["modelValue"])
|
|
300
|
+
])
|
|
294
301
|
]),
|
|
295
302
|
createVNode(_sfc_main$1, {
|
|
296
303
|
id: view.edit_id,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-
|
|
2
|
+
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-D5KAIOPC.js";
|
|
3
3
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "role_edit_dialog",
|
|
5
5
|
props: {
|
|
@@ -257,7 +257,10 @@ const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } },
|
|
|
257
257
|
}, 8, ["modelValue"]);
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
|
-
}), role_edit_dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-469f35a1"]]), _hoisted_1 = {
|
|
260
|
+
}), role_edit_dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-469f35a1"]]), _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
|
|
261
|
+
class: "flex_fill",
|
|
262
|
+
style: { padding: "0px 20px" }
|
|
263
|
+
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
261
264
|
__name: "role",
|
|
262
265
|
setup(__props) {
|
|
263
266
|
const activeName = ref("first"), handleClick = (tab, event) => {
|
|
@@ -275,115 +278,119 @@ const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } },
|
|
|
275
278
|
return (_ctx, _cache) => {
|
|
276
279
|
const _component_el_button = resolveComponent("el-button"), _component_el_table_column = resolveComponent("el-table-column"), _component_el_tag = resolveComponent("el-tag"), _component_el_link = resolveComponent("el-link"), _component_el_space = resolveComponent("el-space"), _component_el_tab_pane = resolveComponent("el-tab-pane"), _component_el_tabs = resolveComponent("el-tabs");
|
|
277
280
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
278
|
-
createVNode(_sfc_main$2),
|
|
279
281
|
createElementVNode("div", _hoisted_1, [
|
|
280
|
-
createVNode(
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
"
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
282
|
+
createVNode(_sfc_main$2),
|
|
283
|
+
createElementVNode("div", _hoisted_2, [
|
|
284
|
+
createVNode(_component_el_tabs, {
|
|
285
|
+
modelValue: activeName.value,
|
|
286
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeName.value = $event),
|
|
287
|
+
class: "demo-tabs",
|
|
288
|
+
onTabClick: handleClick,
|
|
289
|
+
style: { height: "100%" }
|
|
290
|
+
}, {
|
|
291
|
+
default: withCtx(() => [
|
|
292
|
+
createVNode(_component_el_tab_pane, {
|
|
293
|
+
label: "角色列表",
|
|
294
|
+
name: "first",
|
|
295
|
+
style: { height: "100%" }
|
|
296
|
+
}, {
|
|
297
|
+
default: withCtx(() => [
|
|
298
|
+
createVNode(_sfc_main$3, {
|
|
299
|
+
config: listconfig,
|
|
300
|
+
module: "role"
|
|
301
|
+
}, {
|
|
302
|
+
headermain: withCtx(() => [
|
|
303
|
+
createVNode(_component_el_button, {
|
|
304
|
+
class: "main_btn",
|
|
305
|
+
type: "primary",
|
|
306
|
+
onClick: newdata
|
|
307
|
+
}, {
|
|
308
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
309
|
+
createTextVNode("新建角色", -1)
|
|
310
|
+
])]),
|
|
311
|
+
_: 1
|
|
312
|
+
})
|
|
313
|
+
]),
|
|
314
|
+
content: withCtx(() => [
|
|
315
|
+
createVNode(_component_el_table_column, {
|
|
316
|
+
prop: "role_name",
|
|
317
|
+
label: "角色名称",
|
|
318
|
+
width: "180"
|
|
319
|
+
}),
|
|
320
|
+
createVNode(_component_el_table_column, {
|
|
321
|
+
prop: "event_state",
|
|
322
|
+
label: "状态",
|
|
323
|
+
width: "80"
|
|
324
|
+
}, {
|
|
325
|
+
default: withCtx(({ row }) => [
|
|
326
|
+
row.role_enable == 0 ? (openBlock(), createBlock(_component_el_tag, {
|
|
327
|
+
key: 0,
|
|
328
|
+
type: "info",
|
|
329
|
+
"disable-transitions": !0,
|
|
330
|
+
size: "small"
|
|
331
|
+
}, {
|
|
332
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
333
|
+
createTextVNode("禁用", -1)
|
|
334
|
+
])]),
|
|
335
|
+
_: 1
|
|
336
|
+
})) : createCommentVNode("", !0),
|
|
337
|
+
row.role_enable == 1 ? (openBlock(), createBlock(_component_el_tag, {
|
|
338
|
+
key: 1,
|
|
339
|
+
type: "success",
|
|
340
|
+
"disable-transitions": !0,
|
|
341
|
+
size: "small"
|
|
342
|
+
}, {
|
|
343
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
344
|
+
createTextVNode("启用", -1)
|
|
345
|
+
])]),
|
|
346
|
+
_: 1
|
|
347
|
+
})) : createCommentVNode("", !0)
|
|
348
|
+
]),
|
|
349
|
+
_: 1
|
|
350
|
+
}),
|
|
351
|
+
createVNode(_component_el_table_column, {
|
|
352
|
+
prop: "role_notes",
|
|
353
|
+
label: "备注",
|
|
354
|
+
"min-width": "180"
|
|
355
|
+
}),
|
|
356
|
+
createVNode(_component_el_table_column, {
|
|
357
|
+
label: "操作",
|
|
358
|
+
width: "130"
|
|
359
|
+
}, {
|
|
360
|
+
default: withCtx(({ row }) => [
|
|
361
|
+
createVNode(_component_el_space, null, {
|
|
362
|
+
default: withCtx(() => [
|
|
363
|
+
createVNode(_component_el_link, {
|
|
364
|
+
type: "primary",
|
|
365
|
+
onClick: ($event) => {
|
|
366
|
+
view.edit_id = BigInt(row.role_id), view.edit_dialog_show = !0;
|
|
367
|
+
}
|
|
368
|
+
}, {
|
|
369
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
370
|
+
createTextVNode("查看和编辑", -1)
|
|
371
|
+
])]),
|
|
372
|
+
_: 1
|
|
373
|
+
}, 8, ["onClick"]),
|
|
374
|
+
createVNode(_sfc_main$4, {
|
|
375
|
+
id: BigInt(row.role_id),
|
|
376
|
+
api_url: unref(HttpApiV1).url_sysrole_del
|
|
377
|
+
}, null, 8, ["id", "api_url"])
|
|
378
|
+
]),
|
|
379
|
+
_: 2
|
|
380
|
+
}, 1024)
|
|
381
|
+
]),
|
|
382
|
+
_: 1
|
|
383
|
+
})
|
|
384
|
+
]),
|
|
385
|
+
_: 1
|
|
386
|
+
}, 8, ["config"])
|
|
387
|
+
]),
|
|
388
|
+
_: 1
|
|
389
|
+
})
|
|
390
|
+
]),
|
|
391
|
+
_: 1
|
|
392
|
+
}, 8, ["modelValue"])
|
|
393
|
+
])
|
|
387
394
|
]),
|
|
388
395
|
createVNode(role_edit_dialog, {
|
|
389
396
|
id: view.edit_id,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { H as HttpApiV1, i as _sfc_main$1 } from "./index-
|
|
2
|
+
import { H as HttpApiV1, i as _sfc_main$1 } from "./index-D5KAIOPC.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "self",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-
|
|
2
|
+
import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-D5KAIOPC.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "systemsetting",
|
|
5
5
|
setup(__props) {
|