zsysview 0.0.33 → 0.0.36

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.
Files changed (25) hide show
  1. package/dist/{backup-DQdKrJO4.js → backup-CzH2TVgw.js} +4 -4
  2. package/dist/{breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js → breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js} +1 -1
  3. package/dist/{change_password-BzInFtql.js → change_password-CGTsPVRW.js} +4 -4
  4. package/dist/default_avatar.png +0 -0
  5. package/dist/{department-BoO7nCBo.js → department-QRdHgu4z.js} +5 -5
  6. package/dist/{desktop-CmmGdzlM.js → desktop-C_q7VUj9.js} +1 -1
  7. package/dist/{http_api_v1-DiDJPhUb.js → http_api_v1-D1Pu4P-8.js} +1 -16
  8. package/dist/{index-Cz5HRyMQ.js → index-B1Hskmci.js} +70 -25
  9. package/dist/{log-DJ828XBW.js → log-ByJQPRKr.js} +4 -4
  10. package/dist/{login-a_df4G1c.js → login-GunVpm8V.js} +16 -16
  11. package/dist/{main-Ch20XSe9.js → main-Xzv2gkG-.js} +13 -15
  12. package/dist/{message-DddMzbN_.js → message-2gz6_WO4.js} +1 -1
  13. package/dist/{position-CuBw2NRy.js → position-2aCnMhUk.js} +6 -6
  14. package/dist/{role-57H8JS8y.js → role-BL8NWYb0.js} +6 -6
  15. package/dist/{self-DXpu_EV-.js → self-CyVqGJto.js} +2 -2
  16. package/dist/systemsetting-BdHsAnqL.js +158 -0
  17. package/dist/{user-C1FtP_9V.js → user-CpVX3F-F.js} +6 -6
  18. package/dist/{zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js → zsys_delbutton.vue_vue_type_script_setup_true_lang-CFvu9b2e.js} +2 -2
  19. package/dist/{zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js → zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js} +3 -3
  20. package/dist/zsysview.css +1 -1
  21. package/dist/zsysview.es.js +4 -2
  22. package/docs//345/205/250/345/261/200/345/217/230/351/207/217.md +11 -0
  23. package/package.json +2 -2
  24. package/dist/sys-BZgBUI3k.js +0 -30
  25. /package/dist/{vite.svg → vite1.svg} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
2
- import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
4
- import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
5
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
4
+ import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js";
5
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
6
6
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = { key: 0 }, _hoisted_3 = { key: 0 }, _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "backup",
8
8
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, onMounted, resolveComponent, createBlock, openBlock, unref, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
2
- import { i as useRouter, q as arrow_right_default } from "./index-Cz5HRyMQ.js";
2
+ import { j as useRouter, t as arrow_right_default } from "./index-B1Hskmci.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "breadcrumb",
5
5
  setup(__props) {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
2
- import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
4
- import { i as useRouter } from "./index-Cz5HRyMQ.js";
5
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
4
+ import { j as useRouter } from "./index-B1Hskmci.js";
5
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
6
6
  import { h } from "./index.es-DrN1BLo5.js";
7
7
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "change_password",
Binary file
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, onMounted, onUnmounted, createElementBlock, Fragment, unref } from "vue";
2
- import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
4
- import { m as useMagicKeys, w as whenever, n as refresh_default } from "./index-Cz5HRyMQ.js";
5
- import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
4
+ import { n as useMagicKeys, w as whenever, p as refresh_default } from "./index-B1Hskmci.js";
5
+ import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CFvu9b2e.js";
6
6
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
7
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
7
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
8
8
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "department_edit_dialog",
10
10
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc } from "./index-Cz5HRyMQ.js";
1
+ import { _ as _export_sfc } from "./index-B1Hskmci.js";
2
2
  const _sfc_main = {};
3
3
  function _sfc_render(_ctx, _cache) {
4
4
  return " 欢迎使用 ";
@@ -1,4 +1,4 @@
1
- import { x as getDefaultExportFromCjs, k as useTokenStore } from "./index-Cz5HRyMQ.js";
1
+ import { y as getDefaultExportFromCjs, m as useTokenStore, H as HttpApiReturnData } from "./index-B1Hskmci.js";
2
2
  function bind(fn, thisArg) {
3
3
  return function() {
4
4
  return fn.apply(thisArg, arguments);
@@ -2631,21 +2631,6 @@ let http_axios = axios.create({
2631
2631
  });
2632
2632
  http_axios.interceptors.request.use((config) => (console.log(store.token.value), config.headers.authorization = "Bearer " + store.token.value, config));
2633
2633
  http_axios.interceptors.response.use((res) => (res.data.error_code == 100 && store.saveToken("none"), typeof res.headers.authorization < "u" && store.saveToken(res.headers.authorization), res), (err) => Promise.reject(err));
2634
- class HttpApiReturnData {
2635
- error_code;
2636
- message;
2637
- data;
2638
- constructor() {
2639
- this.error_code = 1, this.message = "未知错误", this.data = {};
2640
- }
2641
- get IsSuccess() {
2642
- return this.error_code == 0;
2643
- }
2644
- static fromObject(obj) {
2645
- const instance = new HttpApiReturnData();
2646
- return Object.assign(instance, obj), instance;
2647
- }
2648
- }
2649
2634
  const hostUrl = `${window.location.protocol}//${window.location.host}/`;
2650
2635
  class HttpApiV1 {
2651
2636
  //系统基础接口
@@ -7572,7 +7572,21 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
7572
7572
  })
7573
7573
  ]));
7574
7574
  }
7575
- }), office_building_default = _sfc_main185, _sfc_main195 = /* @__PURE__ */ defineComponent({
7575
+ }), office_building_default = _sfc_main185, _sfc_main187 = /* @__PURE__ */ defineComponent({
7576
+ name: "Operation",
7577
+ __name: "operation",
7578
+ setup(__props) {
7579
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
7580
+ xmlns: "http://www.w3.org/2000/svg",
7581
+ viewBox: "0 0 1024 1024"
7582
+ }, [
7583
+ createElementVNode("path", {
7584
+ fill: "currentColor",
7585
+ d: "M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"
7586
+ })
7587
+ ]));
7588
+ }
7589
+ }), operation_default = _sfc_main187, _sfc_main195 = /* @__PURE__ */ defineComponent({
7576
7590
  name: "PictureFilled",
7577
7591
  __name: "picture-filled",
7578
7592
  setup(__props) {
@@ -49229,25 +49243,25 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
49229
49243
  {
49230
49244
  path: "/main",
49231
49245
  //"/main"
49232
- component: () => import("./main-Ch20XSe9.js"),
49246
+ component: () => import("./main-Xzv2gkG-.js"),
49233
49247
  meta: { requiresAuth: !0, title: "主界面" },
49234
49248
  children: [
49235
49249
  {
49236
49250
  path: "/desktop",
49237
49251
  meta: { title: "首页" },
49238
- component: () => import("./desktop-CmmGdzlM.js")
49252
+ component: () => import("./desktop-C_q7VUj9.js")
49239
49253
  },
49240
49254
  {
49241
49255
  path: "/self",
49242
49256
  //个人中心
49243
49257
  meta: { title: "个人中心" },
49244
- component: () => import("./self-DXpu_EV-.js")
49258
+ component: () => import("./self-CyVqGJto.js")
49245
49259
  },
49246
49260
  {
49247
49261
  path: "/password",
49248
49262
  //修改密码
49249
49263
  meta: { title: "修改密码" },
49250
- component: () => import("./change_password-BzInFtql.js")
49264
+ component: () => import("./change_password-CGTsPVRW.js")
49251
49265
  },
49252
49266
  {
49253
49267
  path: "/sys",
@@ -49258,37 +49272,37 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
49258
49272
  {
49259
49273
  path: "/user",
49260
49274
  meta: { title: "用户管理" },
49261
- component: () => import("./user-C1FtP_9V.js")
49275
+ component: () => import("./user-CpVX3F-F.js")
49262
49276
  },
49263
49277
  {
49264
49278
  path: "/department",
49265
49279
  meta: { title: "组织架构" },
49266
- component: () => import("./department-BoO7nCBo.js")
49280
+ component: () => import("./department-QRdHgu4z.js")
49267
49281
  },
49268
49282
  {
49269
49283
  path: "/position",
49270
49284
  meta: { title: "职务" },
49271
- component: () => import("./position-CuBw2NRy.js")
49285
+ component: () => import("./position-2aCnMhUk.js")
49272
49286
  },
49273
49287
  {
49274
49288
  path: "/role",
49275
49289
  meta: { title: "角色权限" },
49276
- component: () => import("./role-57H8JS8y.js")
49290
+ component: () => import("./role-BL8NWYb0.js")
49277
49291
  },
49278
49292
  {
49279
49293
  path: "/log",
49280
49294
  meta: { title: "日志" },
49281
- component: () => import("./log-DJ828XBW.js")
49295
+ component: () => import("./log-ByJQPRKr.js")
49282
49296
  },
49283
49297
  {
49284
49298
  path: "/backup",
49285
49299
  meta: { title: "备份" },
49286
- component: () => import("./backup-DQdKrJO4.js")
49300
+ component: () => import("./backup-CzH2TVgw.js")
49287
49301
  },
49288
49302
  {
49289
- path: "/sys",
49290
- meta: { title: "系统" },
49291
- component: () => import("./sys-BZgBUI3k.js")
49303
+ path: "/systemsetting",
49304
+ meta: { title: "高级设置" },
49305
+ component: () => import("./systemsetting-BdHsAnqL.js")
49292
49306
  }
49293
49307
  ]
49294
49308
  }
@@ -49297,7 +49311,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
49297
49311
  {
49298
49312
  path: "/login",
49299
49313
  name: "login",
49300
- component: () => import("./login-a_df4G1c.js")
49314
+ component: () => import("./login-GunVpm8V.js")
49301
49315
  }
49302
49316
  ], router = createRouter({
49303
49317
  history: createWebHistory(),
@@ -49310,14 +49324,43 @@ router.beforeEach((to, _2, next) => {
49310
49324
  } else
49311
49325
  next();
49312
49326
  });
49327
+ class HttpApiReturnData {
49328
+ error_code;
49329
+ message;
49330
+ data;
49331
+ constructor() {
49332
+ this.error_code = 1, this.message = "未知错误", this.data = {};
49333
+ }
49334
+ get IsSuccess() {
49335
+ return this.error_code == 0;
49336
+ }
49337
+ static fromObject(obj) {
49338
+ const instance = new HttpApiReturnData();
49339
+ return Object.assign(instance, obj), instance;
49340
+ }
49341
+ }
49342
+ async function GetPublish(app2) {
49343
+ const response = await fetch("/api/system_public");
49344
+ if (!response.ok)
49345
+ throw new Error(`加载配置失败: ${response.status}`);
49346
+ let res = await response.json(), re = HttpApiReturnData.fromObject(res);
49347
+ if (console.log(re), re.IsSuccess) {
49348
+ console.log(222);
49349
+ let data = res.data;
49350
+ app2.provide("appname", data.app_name);
49351
+ } else
49352
+ console.log(11111);
49353
+ }
49313
49354
  const zsysapp = createApp(app), pinia = createPinia();
49314
49355
  pinia.use(index_default);
49315
49356
  zsysapp.use(router);
49316
49357
  zsysapp.use(installer, { locale: zhCn });
49317
49358
  zsysapp.use(pinia);
49359
+ GetPublish(zsysapp);
49318
49360
  zsysapp.mount("#app");
49319
49361
  export {
49320
49362
  ElMessage as E,
49363
+ HttpApiReturnData as H,
49321
49364
  _export_sfc$1 as _,
49322
49365
  office_building_default as a,
49323
49366
  bell_default as b,
@@ -49325,22 +49368,24 @@ export {
49325
49368
  document_default as d,
49326
49369
  avatar_default as e,
49327
49370
  copy_document_default as f,
49328
- setting_default as g,
49371
+ operation_default as g,
49329
49372
  house_default as h,
49330
- useRouter as i,
49331
- arrow_down_default as j,
49332
- useTokenStore as k,
49373
+ setting_default as i,
49374
+ useRouter as j,
49375
+ arrow_down_default as k,
49333
49376
  location_default as l,
49334
- useMagicKeys as m,
49335
- refresh_default as n,
49377
+ useTokenStore as m,
49378
+ useMagicKeys as n,
49336
49379
  odometer_default as o,
49337
- search_default as p,
49338
- arrow_right_default as q,
49380
+ refresh_default as p,
49381
+ search_default as q,
49339
49382
  reading_default as r,
49340
49383
  set_up_default as s,
49341
- useRoute as t,
49384
+ arrow_right_default as t,
49342
49385
  user_default as u,
49343
49386
  video_camera_default as v,
49344
49387
  whenever as w,
49345
- getDefaultExportFromCjs as x
49388
+ useRoute as x,
49389
+ getDefaultExportFromCjs as y,
49390
+ zsysapp as z
49346
49391
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
2
- import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
5
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
5
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
6
6
  import { f as formatDateTime } from "./zsys_time-4KclnYJN.js";
7
7
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8
8
  __name: "log_setting",
@@ -1,9 +1,12 @@
1
- import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode } from "vue";
2
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
3
- import { i as useRouter, t as useRoute, _ as _export_sfc } from "./index-Cz5HRyMQ.js";
1
+ import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
2
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
3
+ import { j as useRouter, x as useRoute, _ as _export_sfc } from "./index-B1Hskmci.js";
4
4
  import { h } from "./index.es-DrN1BLo5.js";
5
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
6
- const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent({
5
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
6
+ const _hoisted_1 = { class: "bg" }, _hoisted_2 = {
7
+ class: "card-header",
8
+ style: {}
9
+ }, _sfc_main = /* @__PURE__ */ defineComponent({
7
10
  __name: "login",
8
11
  setup(__props) {
9
12
  const r = useRouter(), route = useRoute(), d = reactive({
@@ -34,18 +37,15 @@ const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent(
34
37
  shadow: "always",
35
38
  class: "align-center"
36
39
  }, {
37
- header: withCtx(() => [..._cache[2] || (_cache[2] = [
38
- createElementVNode("div", {
39
- class: "card-header",
40
- style: {}
41
- }, [
42
- createElementVNode("span", null, "岗位行为识别系统")
43
- ], -1)
44
- ])]),
40
+ header: withCtx(() => [
41
+ createElementVNode("div", _hoisted_2, [
42
+ createElementVNode("span", null, toDisplayString(inject("appname")), 1)
43
+ ])
44
+ ]),
45
45
  default: withCtx(() => [
46
46
  createVNode(_component_el_image, {
47
47
  style: { height: "100px" },
48
- src: "../assets/default_avatar.png"
48
+ src: "/default_avatar.png"
49
49
  }),
50
50
  createVNode(_component_el_form, {
51
51
  "label-width": "auto",
@@ -88,7 +88,7 @@ const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent(
88
88
  onClick: login2,
89
89
  style: { width: "100%" }
90
90
  }, {
91
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
91
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
92
92
  createTextVNode("登录", -1)
93
93
  ])]),
94
94
  _: 1
@@ -105,7 +105,7 @@ const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent(
105
105
  ]);
106
106
  };
107
107
  }
108
- }), login = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-472621d6"]]);
108
+ }), login = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8204aee0"]]);
109
109
  export {
110
110
  login as default
111
111
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent, resolveComponent, createBlock, createCommentVNode, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, reactive, onMounted, createTextVNode, unref, watch } from "vue";
2
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
3
- import { h as house_default, u as user_default, o as odometer_default, c as collection_default, s as set_up_default, v as video_camera_default, l as location_default, d as document_default, b as bell_default, a as office_building_default, e as avatar_default, r as reading_default, f as copy_document_default, g as setting_default, _ as _export_sfc, i as useRouter, j as arrow_down_default, k as useTokenStore } from "./index-Cz5HRyMQ.js";
4
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
1
+ import { defineComponent, resolveComponent, createBlock, createCommentVNode, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, reactive, onMounted, inject, createTextVNode, unref, watch } from "vue";
2
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
3
+ import { h as house_default, u as user_default, o as odometer_default, c as collection_default, s as set_up_default, v as video_camera_default, l as location_default, d as document_default, b as bell_default, a as office_building_default, e as avatar_default, r as reading_default, f as copy_document_default, g as operation_default, i as setting_default, _ as _export_sfc, j as useRouter, k as arrow_down_default, m as useTokenStore } from "./index-B1Hskmci.js";
4
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
5
5
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6
6
  __name: "userMenuItem",
7
7
  props: {
@@ -103,7 +103,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
103
103
  { name: "职务", icon: markRaw(avatar_default), url: "/position", show: !1 },
104
104
  { name: "角色权限", icon: markRaw(avatar_default), url: "/role", show: !1 },
105
105
  { name: "日志", icon: markRaw(reading_default), url: "/log", show: !1 },
106
- { name: "备份", icon: markRaw(copy_document_default), url: "/backup", show: !1 }
106
+ { name: "备份", icon: markRaw(copy_document_default), url: "/backup", show: !1 },
107
+ { name: "高级设置", icon: markRaw(operation_default), url: "/systemsetting", show: !1 }
107
108
  ]
108
109
  }
109
110
  ]
@@ -133,7 +134,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
133
134
  menuItem.show = show;
134
135
  }
135
136
  }, menuview = (ps) => {
136
- showIfHas("事件管理", "gwxw.event", ps), showIfHas("数据看板", "gwxw.event", ps), showIfHas("行为分析引擎", "gwxw.engine", ps), showIfHas("设备管理", "gwxw.equipment", ps), showIfHas("区域管理", "gwxw.area", ps), showIfHas("报表与统计", "gwxw.total", ps), showIfHas("报警与通知", "gwxw.notice", ps), showIfHas("系统管理", "zsys.user|zsys.department|zsys.position|zsys.role|zsys.log|zsys.backup", ps), showIfHas("用户管理", "zsys.user", ps), showIfHas("组织架构", "zsys.department", ps), showIfHas("职务", "zsys.position", ps), showIfHas("角色权限", "zsys.role", ps), showIfHas("日志", "zsys.log", ps), showIfHas("备份", "zsys.backup", ps);
137
+ showIfHas("事件管理", "gwxw.event", ps), showIfHas("数据看板", "gwxw.event", ps), showIfHas("行为分析引擎", "gwxw.engine", ps), showIfHas("设备管理", "gwxw.equipment", ps), showIfHas("区域管理", "gwxw.area", ps), showIfHas("报表与统计", "gwxw.total", ps), showIfHas("报警与通知", "gwxw.notice", ps), showIfHas("系统管理", "zsys.user|zsys.department|zsys.position|zsys.role|zsys.log|zsys.backup|zsys.systemsetting", ps), showIfHas("用户管理", "zsys.user", ps), showIfHas("组织架构", "zsys.department", ps), showIfHas("职务", "zsys.position", ps), showIfHas("角色权限", "zsys.role", ps), showIfHas("日志", "zsys.log", ps), showIfHas("备份", "zsys.backup", ps), showIfHas("高级设置", "zsys.systemsetting", ps);
137
138
  }, getUerPermission = async () => {
138
139
  try {
139
140
  let res = await HttpApiV1.Post(HttpApiV1.url_user_permission, {});
@@ -154,15 +155,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
154
155
  style: { position: "fixed", top: "60px", left: "0px", bottom: "0px" }
155
156
  }, {
156
157
  default: withCtx(() => [
157
- createVNode(_component_el_scrollbar, { style: { "background-color": "#252423" } }, {
158
+ createVNode(_component_el_scrollbar, { style: { "border-right": "1px solid #dcdfe6" } }, {
158
159
  default: withCtx(() => [
159
160
  createVNode(_component_el_menu, {
160
161
  "default-active": "2",
161
162
  router: "",
162
- style: { "margin-bottom": "20px" },
163
- "background-color": "#252423",
164
- "text-color": "#fff",
165
- "active-text-color": "#409EFF"
163
+ style: { "margin-bottom": "20px" }
166
164
  }, {
167
165
  default: withCtx(() => [
168
166
  (openBlock(!0), createElementBlock(Fragment, null, renderList(menus, (v) => (openBlock(), createBlock(_sfc_main$3, {
@@ -180,7 +178,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
180
178
  });
181
179
  };
182
180
  }
183
- }), Usermenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-33c36378"]]), _hoisted_1 = { style: { "padding-left": "20px", "padding-right": "20px" } }, _hoisted_2 = { style: { height: "60px", "margin-right": "10px", float: "left", display: "flex", "align-items": "center", "justify-content": "center" } }, _hoisted_3 = { class: "el-dropdown-link" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
181
+ }), Usermenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-c20ea8a2"]]), _hoisted_1 = { style: { "padding-left": "20px", "padding-right": "20px" } }, _hoisted_2 = { style: { height: "60px", "margin-right": "10px", float: "left", display: "flex", "align-items": "center", "justify-content": "center" } }, _hoisted_3 = { style: { float: "left", "line-height": "60px" } }, _hoisted_4 = { class: "el-dropdown-link" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
184
182
  __name: "userHeader",
185
183
  setup(__props) {
186
184
  const r = useRouter(), user = reactive({
@@ -208,7 +206,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
208
206
  src: "../../assets/default_logo_40.png"
209
207
  })
210
208
  ]),
211
- _cache[2] || (_cache[2] = createElementVNode("div", { style: { float: "left", "line-height": "60px" } }, "岗位行为识别系统", -1)),
209
+ createElementVNode("div", _hoisted_3, toDisplayString(inject("appname")), 1),
212
210
  createVNode(_component_el_dropdown, {
213
211
  trigger: "click",
214
212
  class: "user_operate"
@@ -233,7 +231,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
233
231
  })
234
232
  ]),
235
233
  default: withCtx(() => [
236
- createElementVNode("span", _hoisted_3, [
234
+ createElementVNode("span", _hoisted_4, [
237
235
  createTextVNode(toDisplayString(user.uname) + " ", 1),
238
236
  createVNode(_component_el_icon, { class: "el-icon--right" }, {
239
237
  default: withCtx(() => [
@@ -248,7 +246,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
248
246
  ]);
249
247
  };
250
248
  }
251
- }), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-11555c6e"]]), _sfc_main = /* @__PURE__ */ defineComponent({
249
+ }), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-8c1fb035"]]), _sfc_main = /* @__PURE__ */ defineComponent({
252
250
  __name: "main",
253
251
  setup(__props) {
254
252
  const store = useTokenStore(), r = useRouter();
@@ -1,4 +1,4 @@
1
- import { E as ElMessage } from "./index-Cz5HRyMQ.js";
1
+ import { E as ElMessage } from "./index-B1Hskmci.js";
2
2
  class ZSYSMessage {
3
3
  static show(msgType = "info", msg) {
4
4
  ElMessage({
@@ -1,11 +1,11 @@
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 { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
5
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
6
- import { m as useMagicKeys, w as whenever } from "./index-Cz5HRyMQ.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
5
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
6
+ import { n as useMagicKeys, w as whenever } from "./index-B1Hskmci.js";
7
7
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
8
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js";
8
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CFvu9b2e.js";
9
9
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "position_edit_dialog",
11
11
  props: {
@@ -1,10 +1,10 @@
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 { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
5
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js";
6
- import { Z as ZSYSMessage } from "./message-DddMzbN_.js";
7
- import { m as useMagicKeys, w as whenever, _ as _export_sfc } from "./index-Cz5HRyMQ.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
5
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CFvu9b2e.js";
6
+ import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
7
+ import { n as useMagicKeys, w as whenever, _ as _export_sfc } from "./index-B1Hskmci.js";
8
8
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
9
9
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "role_edit_dialog",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DiDJPhUb.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
4
4
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "self",
6
6
  setup(__props) {