zsysview 0.0.52 → 0.0.53

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-BxTAzQVt.js → backup-DtEJ639G.js} +4 -4
  2. package/dist/{breadcrumb.vue_vue_type_script_setup_true_lang-5UBfmoo2.js → breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js} +1 -1
  3. package/dist/{change_password-Bf4S43q6.js → change_password-CdBOOopX.js} +4 -4
  4. package/dist/{department-I8vGHYsT.js → department-DDrW37Ir.js} +5 -5
  5. package/dist/{desktop-Wnbav0aM.js → desktop-DkLynpQM.js} +1 -1
  6. package/dist/{http_api_v1-DHwVdcKj.js → http_api_v1-CXj30v0I.js} +1 -1
  7. package/dist/{index-D-0ot3cL.js → index-DR4maKL-.js} +18 -14
  8. package/dist/{log-BqNPjOC0.js → log-Jax6_L0J.js} +4 -4
  9. package/dist/{login-BRPVcEyz.js → login-CQe5QIsH.js} +3 -3
  10. package/dist/{main-DYAhM46f.js → main-DMlIMVaF.js} +3 -3
  11. package/dist/{message-CVoJib9k.js → message-BL9FGmlA.js} +1 -1
  12. package/dist/{notification-D_H2Nd3k.js → notification-kFr4pF8l.js} +3 -3
  13. package/dist/{position-DpP0qYpu.js → position-CipopRFg.js} +6 -6
  14. package/dist/{role-DN1TAInU.js → role-x0GHpYwJ.js} +6 -6
  15. package/dist/{self-DI1m7co3.js → self-CXetWXMg.js} +2 -2
  16. package/dist/{systemsetting-Br-d3tkN.js → systemsetting-2d4nL5l1.js} +3 -3
  17. package/dist/{user-BdazS5zP.js → user-C_OKkHoL.js} +6 -6
  18. package/dist/{zsys_delbutton.vue_vue_type_script_setup_true_lang-DC2sHf8I.js → zsys_delbutton.vue_vue_type_script_setup_true_lang-BlS8veyk.js} +2 -2
  19. package/dist/{zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js → zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js} +3 -3
  20. package/dist/zsysview.es.d.ts +6 -0
  21. package/dist/zsysview.es.js +3 -1
  22. package/docs/{ → 1}/345/205/250/345/261/200/345/217/230/351/207/217.md +0 -4
  23. package/docs/2/345/267/246/344/276/247/350/217/234/345/215/225.md +18 -0
  24. package/docs/3/350/267/257/347/224/261.md +7 -0
  25. package/package.json +1 -1
@@ -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-5UBfmoo2.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
4
- import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js";
5
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
4
+ import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js";
5
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.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 { e as useRouter, k as arrow_right_default } from "./index-D-0ot3cL.js";
2
+ import { e as useRouter, k as arrow_right_default } from "./index-DR4maKL-.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-5UBfmoo2.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
4
- import { e as useRouter } from "./index-D-0ot3cL.js";
5
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
4
+ import { e as useRouter } from "./index-DR4maKL-.js";
5
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.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",
@@ -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-5UBfmoo2.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
4
- import { h as useMagicKeys, w as whenever, i as refresh_default } from "./index-D-0ot3cL.js";
5
- import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DC2sHf8I.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
4
+ import { h as useMagicKeys, w as whenever, i as refresh_default } from "./index-DR4maKL-.js";
5
+ import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BlS8veyk.js";
6
6
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
7
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
7
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.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-D-0ot3cL.js";
1
+ import { _ as _export_sfc } from "./index-DR4maKL-.js";
2
2
  const _sfc_main = {};
3
3
  function _sfc_render(_ctx, _cache) {
4
4
  return " 欢迎使用 ";
@@ -1,4 +1,4 @@
1
- import { m as getDefaultExportFromCjs, g as useTokenStore, H as HttpApiReturnData } from "./index-D-0ot3cL.js";
1
+ import { m as getDefaultExportFromCjs, g as useTokenStore, H as HttpApiReturnData } from "./index-DR4maKL-.js";
2
2
  function bind(fn, thisArg) {
3
3
  return function() {
4
4
  return fn.apply(thisArg, arguments);
@@ -48816,13 +48816,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48816
48816
  {
48817
48817
  path: "/main",
48818
48818
  //"/main"
48819
- component: () => import("./main-DYAhM46f.js"),
48819
+ component: () => import("./main-DMlIMVaF.js"),
48820
48820
  meta: { requiresAuth: !0, title: "主界面" },
48821
48821
  children: [
48822
48822
  {
48823
48823
  path: "/desktop",
48824
48824
  meta: { title: "首页" },
48825
- component: () => import("./desktop-Wnbav0aM.js")
48825
+ component: () => import("./desktop-DkLynpQM.js")
48826
48826
  },
48827
48827
  {
48828
48828
  path: "/self",
@@ -48833,13 +48833,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48833
48833
  path: "/self",
48834
48834
  //个人中心
48835
48835
  meta: { title: "基本信息" },
48836
- component: () => import("./self-DI1m7co3.js")
48836
+ component: () => import("./self-CXetWXMg.js")
48837
48837
  },
48838
48838
  {
48839
48839
  path: "/notification",
48840
48840
  //个人中心
48841
48841
  meta: { title: "系统消息" },
48842
- component: () => import("./notification-D_H2Nd3k.js")
48842
+ component: () => import("./notification-kFr4pF8l.js")
48843
48843
  }
48844
48844
  ]
48845
48845
  },
@@ -48847,7 +48847,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48847
48847
  path: "/password",
48848
48848
  //修改密码
48849
48849
  meta: { title: "修改密码" },
48850
- component: () => import("./change_password-Bf4S43q6.js")
48850
+ component: () => import("./change_password-CdBOOopX.js")
48851
48851
  },
48852
48852
  {
48853
48853
  path: "/sys",
@@ -48858,37 +48858,37 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48858
48858
  {
48859
48859
  path: "/user",
48860
48860
  meta: { title: "用户管理" },
48861
- component: () => import("./user-BdazS5zP.js")
48861
+ component: () => import("./user-C_OKkHoL.js")
48862
48862
  },
48863
48863
  {
48864
48864
  path: "/department",
48865
48865
  meta: { title: "组织架构" },
48866
- component: () => import("./department-I8vGHYsT.js")
48866
+ component: () => import("./department-DDrW37Ir.js")
48867
48867
  },
48868
48868
  {
48869
48869
  path: "/position",
48870
48870
  meta: { title: "职务" },
48871
- component: () => import("./position-DpP0qYpu.js")
48871
+ component: () => import("./position-CipopRFg.js")
48872
48872
  },
48873
48873
  {
48874
48874
  path: "/role",
48875
48875
  meta: { title: "角色权限" },
48876
- component: () => import("./role-DN1TAInU.js")
48876
+ component: () => import("./role-x0GHpYwJ.js")
48877
48877
  },
48878
48878
  {
48879
48879
  path: "/log",
48880
48880
  meta: { title: "日志" },
48881
- component: () => import("./log-BqNPjOC0.js")
48881
+ component: () => import("./log-Jax6_L0J.js")
48882
48882
  },
48883
48883
  {
48884
48884
  path: "/backup",
48885
48885
  meta: { title: "备份" },
48886
- component: () => import("./backup-BxTAzQVt.js")
48886
+ component: () => import("./backup-DtEJ639G.js")
48887
48887
  },
48888
48888
  {
48889
48889
  path: "/systemsetting",
48890
48890
  meta: { title: "高级设置" },
48891
- component: () => import("./systemsetting-Br-d3tkN.js")
48891
+ component: () => import("./systemsetting-2d4nL5l1.js")
48892
48892
  }
48893
48893
  ]
48894
48894
  }
@@ -48897,12 +48897,14 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48897
48897
  {
48898
48898
  path: "/login",
48899
48899
  name: "login",
48900
- component: () => import("./login-BRPVcEyz.js")
48900
+ component: () => import("./login-CQe5QIsH.js")
48901
48901
  }
48902
48902
  ], router = createRouter({
48903
48903
  history: createWebHistory(),
48904
48904
  routes
48905
- });
48905
+ }), addFrameRouter = function(r) {
48906
+ router.addRoute("main", r);
48907
+ };
48906
48908
  router.beforeEach((to, _2, next) => {
48907
48909
  if (console.log("to", to.fullPath), to.matched.some((r) => r.meta?.requiresAuth)) {
48908
48910
  let store = useTokenStore();
@@ -48960,7 +48962,9 @@ export {
48960
48962
  arrow_right_default as k,
48961
48963
  useRoute as l,
48962
48964
  getDefaultExportFromCjs as m,
48965
+ router as n,
48963
48966
  office_building_default as o,
48967
+ addFrameRouter as p,
48964
48968
  reading_default as r,
48965
48969
  setting_default as s,
48966
48970
  user_default as u,
@@ -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-5UBfmoo2.js";
3
- import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
5
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
5
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
6
6
  import { a as formatDateTime } from "./zsys_time-BE4ImI0m.js";
7
7
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8
8
  __name: "log_setting",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
2
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
3
- import { e as useRouter, l as useRoute, _ as _export_sfc } from "./index-D-0ot3cL.js";
2
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
3
+ import { e as useRouter, l as useRoute, _ as _export_sfc } from "./index-DR4maKL-.js";
4
4
  import { h } from "./index.es-DrN1BLo5.js";
5
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
5
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
6
6
  const _hoisted_1 = {
7
7
  class: "bg",
8
8
  style: { "background-image": "url('/public/img/login_bg.jpg')" }
@@ -1,8 +1,8 @@
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 { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
3
- 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, _ as _export_sfc, e as useRouter, f as arrow_down_default, g as useTokenStore } from "./index-D-0ot3cL.js";
2
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
3
+ 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, _ as _export_sfc, e as useRouter, f as arrow_down_default, g as useTokenStore } from "./index-DR4maKL-.js";
4
4
  import { f as formatPreciseOralTime } from "./zsys_time-BE4ImI0m.js";
5
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
5
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
6
6
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7
7
  __name: "userMenuItem",
8
8
  props: {
@@ -1,4 +1,4 @@
1
- import { E as ElMessage } from "./index-D-0ot3cL.js";
1
+ import { E as ElMessage } from "./index-DR4maKL-.js";
2
2
  class ZSYSMessage {
3
3
  static show(msgType = "info", msg) {
4
4
  ElMessage({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, reactive, computed, 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-5UBfmoo2.js";
3
- import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js";
4
4
  import { a as formatDateTime } from "./zsys_time-BE4ImI0m.js";
5
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
5
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
6
6
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "notification",
8
8
  setup(__props) {
@@ -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-5UBfmoo2.js";
3
- import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
5
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
6
- import { h as useMagicKeys, w as whenever } from "./index-D-0ot3cL.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
5
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
6
+ import { h as useMagicKeys, w as whenever } from "./index-DR4maKL-.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-DC2sHf8I.js";
8
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BlS8veyk.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-5UBfmoo2.js";
3
- import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
5
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DC2sHf8I.js";
6
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
7
- import { h as useMagicKeys, w as whenever, _ as _export_sfc } from "./index-D-0ot3cL.js";
2
+ import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
5
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BlS8veyk.js";
6
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
7
+ import { h as useMagicKeys, w as whenever, _ as _export_sfc } from "./index-DR4maKL-.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-5UBfmoo2.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.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) {
@@ -1,7 +1,7 @@
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-5UBfmoo2.js";
3
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
2
+ import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
5
5
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = ["src"], _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "systemsetting",
7
7
  setup(__props) {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createCommentVNode, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, computed, unref } from "vue";
2
- import { _ as _sfc_main$3 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-5UBfmoo2.js";
3
- import { _ as _sfc_main$4 } from "./zsyslist.vue_vue_type_script_setup_true_lang-D9ljsvUh.js";
4
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
5
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
6
- import { h as useMagicKeys, w as whenever } from "./index-D-0ot3cL.js";
2
+ import { _ as _sfc_main$3 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-Er3fiDLz.js";
3
+ import { _ as _sfc_main$4 } from "./zsyslist.vue_vue_type_script_setup_true_lang-1QLKjr7B.js";
4
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
5
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
6
+ import { h as useMagicKeys, w as whenever } from "./index-DR4maKL-.js";
7
7
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
8
8
  import { h } from "./index.es-DrN1BLo5.js";
9
- import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DC2sHf8I.js";
9
+ import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BlS8veyk.js";
10
10
  import { a as formatDateTime } from "./zsys_time-BE4ImI0m.js";
11
11
  const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
12
12
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, withCtx, createVNode, createTextVNode } from "vue";
2
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
3
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
2
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
3
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
4
4
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "zsys_delbutton",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, reactive, watch, resolveComponent, createElementBlock, openBlock, createCommentVNode, createElementVNode, createBlock, toDisplayString, withCtx, createTextVNode, createVNode, Fragment, renderList, unref, ref, withDirectives, withModifiers, vShow, renderSlot, withKeys, onMounted, onUnmounted, resolveDirective } from "vue";
2
- import { _ as _export_sfc, i as refresh_default, j as search_default } from "./index-D-0ot3cL.js";
3
- import { H as HttpApiV1 } from "./http_api_v1-DHwVdcKj.js";
4
- import { Z as ZSYSMessage } from "./message-CVoJib9k.js";
2
+ import { _ as _export_sfc, i as refresh_default, j as search_default } from "./index-DR4maKL-.js";
3
+ import { H as HttpApiV1 } from "./http_api_v1-CXj30v0I.js";
4
+ import { Z as ZSYSMessage } from "./message-BL9FGmlA.js";
5
5
  import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
6
6
  const _hoisted_1$1 = { style: { "padding-left": "20px", "padding-right": "20px", "padding-top": "6px" } }, _hoisted_2 = {
7
7
  key: 0,
@@ -1,4 +1,10 @@
1
1
  import { App } from 'vue';
2
+ import { Router } from 'vue-router';
3
+ import { RouteRecordRaw } from 'vue-router';
4
+
5
+ export declare const addFrameRouter: (r: RouteRecordRaw) => void;
6
+
7
+ export declare const router: Router;
2
8
 
3
9
  export declare const zsysapp: App<Element>;
4
10
 
@@ -1,4 +1,6 @@
1
- import { z } from "./index-D-0ot3cL.js";
1
+ import { p, n, z } from "./index-DR4maKL-.js";
2
2
  export {
3
+ p as addFrameRouter,
4
+ n as router,
3
5
  z as zsysapp
4
6
  };
@@ -8,7 +8,3 @@ inject('变量名')
8
8
  ---------|----------|---------
9
9
  系统名称 | appname | 管理员可以修改的系统名称
10
10
  备案信息 | icp | 系统的ICP备案描述
11
-
12
- 名称 | 变量名 | 描述
13
- ---------|----------|---------
14
- 系统菜单 | app_menus | 左侧系统菜单
@@ -0,0 +1,18 @@
1
+ zsysapp.provide('app_menus',[
2
+ { name: '首页', icon: markRaw(House), url: '/desktop'},
3
+ { name: '数据看板', icon: markRaw(Odometer), url: '/chart' },
4
+ { name: '事件管理', icon: markRaw(Collection), url: '/eventgroup/event'},
5
+ // {
6
+ // name: '事件管理', icon: markRaw(Collection), url: '/111', show: false,
7
+ // children: [
8
+ // { name: '数据看板', icon: markRaw(Odometer), url: '/user', show: false },
9
+ // { name: '事件', icon: markRaw(Collection), url: '/eventgroup/event', show: false },
10
+ // ]
11
+ // },
12
+ { name: '行为分析引擎', icon: markRaw(SetUp), url: '/engine' },
13
+ { name: '设备管理', icon: markRaw(VideoCamera), url: '/equipment' },
14
+ { name: '区域管理', icon: markRaw(Location), url: '/area' },
15
+ { name: '报表与统计', icon: markRaw(Document), url: '/building?1' },
16
+ { name: '报警与通知', icon: markRaw(Bell), url: '/building?2'},
17
+
18
+ ])
@@ -0,0 +1,7 @@
1
+ import {addFrameRouter} from 'zsysview'
2
+
3
+ addFrameRouter({
4
+ path: "/department",
5
+ meta: { title: '组织架构' },
6
+ component: () => import("../view/department/department.vue"),
7
+ })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.0.52",
4
+ "version": "0.0.53",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",