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.
@@ -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-DzL6spbn.js";
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 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
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
- { Label: "类别:", Select: 0, QuickConditions: [
76
- { label: "全部", column: null },
77
- { label: "登录日志", column: "log_type", condition: "=", value: 1 },
78
- { label: "操作日志", column: "log_type", condition: "=", value: 2 }
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(() => (item) => formatDateTime(new Date(item)));
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(Fragment, null, [
96
+ return openBlock(), createElementBlock("div", _hoisted_1, [
88
97
  createVNode(_sfc_main$2),
89
- createElementVNode("div", _hoisted_1, [
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
- class: "demo-tabs",
94
- onTabClick: handleClick
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
- ], 64);
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-DzL6spbn.js";
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-DzL6spbn.js";
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, Fragment, 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-DzL6spbn.js";
3
- const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
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(() => (item) => formatDateTime(new Date(item)));
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(Fragment, null, [
18
+ return openBlock(), createElementBlock("div", _hoisted_1, [
14
19
  createVNode(_sfc_main$1),
15
- createElementVNode("div", _hoisted_1, [
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
- ], 64);
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-DzL6spbn.js";
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 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
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(_component_el_tabs, {
218
- modelValue: activeName.value,
219
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => activeName.value = $event),
220
- onTabClick: handleClick
221
- }, {
222
- default: withCtx(() => [
223
- createVNode(_component_el_tab_pane, {
224
- label: "全部职务",
225
- name: "first"
226
- }, {
227
- default: withCtx(() => [
228
- createVNode(_sfc_main$3, {
229
- config: listconfig,
230
- module: "position"
231
- }, {
232
- headermain: withCtx(() => [
233
- createVNode(_component_el_button, {
234
- class: "main_btn",
235
- type: "primary",
236
- onClick: _cache[0] || (_cache[0] = ($event) => {
237
- view.edit_id = 0n, view.edit_dialog_show = !0;
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
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
241
- createTextVNode("新建职务", -1)
242
- ])]),
243
- _: 1
244
- })
245
- ]),
246
- content: withCtx(() => [
247
- createVNode(_component_el_table_column, {
248
- prop: "position_title",
249
- label: "职务名称",
250
- width: "140"
251
- }),
252
- createVNode(_component_el_table_column, {
253
- prop: "position_notes",
254
- label: "备注",
255
- "min-width": "180"
256
- }),
257
- createVNode(_component_el_table_column, {
258
- label: "操作",
259
- width: "100"
260
- }, {
261
- default: withCtx(({ row }) => [
262
- createVNode(_component_el_space, null, {
263
- default: withCtx(() => [
264
- createVNode(_component_el_link, {
265
- type: "primary",
266
- onClick: ($event) => {
267
- view.edit_id = BigInt(row.position_id), view.edit_dialog_show = !0;
268
- }
269
- }, {
270
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
271
- createTextVNode("修改", -1)
272
- ])]),
273
- _: 1
274
- }, 8, ["onClick"]),
275
- createVNode(_sfc_main$4, {
276
- id: BigInt(row.position_id),
277
- api_url: unref(HttpApiV1).url_position_del
278
- }, null, 8, ["id", "api_url"])
279
- ]),
280
- _: 2
281
- }, 1024)
282
- ]),
283
- _: 1
284
- })
285
- ]),
286
- _: 1
287
- }, 8, ["config"])
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-DzL6spbn.js";
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 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
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(_component_el_tabs, {
281
- modelValue: activeName.value,
282
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeName.value = $event),
283
- class: "demo-tabs",
284
- onTabClick: handleClick
285
- }, {
286
- default: withCtx(() => [
287
- createVNode(_component_el_tab_pane, {
288
- label: "角色列表",
289
- name: "first"
290
- }, {
291
- default: withCtx(() => [
292
- createVNode(_sfc_main$3, {
293
- config: listconfig,
294
- module: "role"
295
- }, {
296
- headermain: withCtx(() => [
297
- createVNode(_component_el_button, {
298
- class: "main_btn",
299
- type: "primary",
300
- onClick: newdata
301
- }, {
302
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
303
- createTextVNode("新建角色", -1)
304
- ])]),
305
- _: 1
306
- })
307
- ]),
308
- content: withCtx(() => [
309
- createVNode(_component_el_table_column, {
310
- prop: "role_name",
311
- label: "角色名称",
312
- width: "180"
313
- }),
314
- createVNode(_component_el_table_column, {
315
- prop: "event_state",
316
- label: "状态",
317
- width: "80"
318
- }, {
319
- default: withCtx(({ row }) => [
320
- row.role_enable == 0 ? (openBlock(), createBlock(_component_el_tag, {
321
- key: 0,
322
- type: "info",
323
- "disable-transitions": !0,
324
- size: "small"
325
- }, {
326
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
327
- createTextVNode("禁用", -1)
328
- ])]),
329
- _: 1
330
- })) : createCommentVNode("", !0),
331
- row.role_enable == 1 ? (openBlock(), createBlock(_component_el_tag, {
332
- key: 1,
333
- type: "success",
334
- "disable-transitions": !0,
335
- size: "small"
336
- }, {
337
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
338
- createTextVNode("启用", -1)
339
- ])]),
340
- _: 1
341
- })) : createCommentVNode("", !0)
342
- ]),
343
- _: 1
344
- }),
345
- createVNode(_component_el_table_column, {
346
- prop: "role_notes",
347
- label: "备注",
348
- "min-width": "180"
349
- }),
350
- createVNode(_component_el_table_column, {
351
- label: "操作",
352
- width: "130"
353
- }, {
354
- default: withCtx(({ row }) => [
355
- createVNode(_component_el_space, null, {
356
- default: withCtx(() => [
357
- createVNode(_component_el_link, {
358
- type: "primary",
359
- onClick: ($event) => {
360
- view.edit_id = BigInt(row.role_id), view.edit_dialog_show = !0;
361
- }
362
- }, {
363
- default: withCtx(() => [..._cache[5] || (_cache[5] = [
364
- createTextVNode("查看和编辑", -1)
365
- ])]),
366
- _: 1
367
- }, 8, ["onClick"]),
368
- createVNode(_sfc_main$4, {
369
- id: BigInt(row.role_id),
370
- api_url: unref(HttpApiV1).url_sysrole_del
371
- }, null, 8, ["id", "api_url"])
372
- ]),
373
- _: 2
374
- }, 1024)
375
- ]),
376
- _: 1
377
- })
378
- ]),
379
- _: 1
380
- }, 8, ["config"])
381
- ]),
382
- _: 1
383
- })
384
- ]),
385
- _: 1
386
- }, 8, ["modelValue"])
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-DzL6spbn.js";
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-DzL6spbn.js";
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) {