zsysview 0.0.71 → 0.0.73

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, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-CvsZSemc.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-DoL8e_A7.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = { key: 0 }, _hoisted_3 = { key: 0 }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "backup",
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 { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-CvsZSemc.js";
2
+ import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DoL8e_A7.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "change_password",
@@ -1,6 +1,6 @@
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 { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, m as refresh_default } from "./index-CvsZSemc.js";
3
- import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BcRsvHKA.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, m as refresh_default } from "./index-DoL8e_A7.js";
3
+ import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-Cqb4mbmJ.js";
4
4
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
5
  __name: "department_edit_dialog",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc } from "./index-CvsZSemc.js";
1
+ import { _ as _export_sfc } from "./index-DoL8e_A7.js";
2
2
  const _sfc_main = {};
3
3
  function _sfc_render(_ctx, _cache) {
4
4
  return " 欢迎使用 ";
@@ -48817,13 +48817,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48817
48817
  path: "/main",
48818
48818
  //"/main"
48819
48819
  name: "main",
48820
- component: () => import("./main-C_irn7C6.js"),
48820
+ component: () => import("./main-BFfEI8GX.js"),
48821
48821
  meta: { requiresAuth: !0, title: "主界面" },
48822
48822
  children: [
48823
48823
  {
48824
48824
  path: "/desktop",
48825
48825
  meta: { title: "首页" },
48826
- component: () => import("./desktop-Dke62Ihw.js")
48826
+ component: () => import("./desktop-Dq-laqzI.js")
48827
48827
  },
48828
48828
  {
48829
48829
  path: "/self",
@@ -48834,13 +48834,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48834
48834
  path: "/self",
48835
48835
  //个人中心
48836
48836
  meta: { title: "基本信息" },
48837
- component: () => import("./self-NMIiJqxH.js")
48837
+ component: () => import("./self-BcLSubtZ.js")
48838
48838
  },
48839
48839
  {
48840
48840
  path: "/notification",
48841
48841
  //个人中心
48842
48842
  meta: { title: "系统消息" },
48843
- component: () => import("./notification-CgDZfzAn.js")
48843
+ component: () => import("./notification-3Dfu-bx3.js")
48844
48844
  }
48845
48845
  ]
48846
48846
  },
@@ -48848,7 +48848,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48848
48848
  path: "/password",
48849
48849
  //修改密码
48850
48850
  meta: { title: "修改密码" },
48851
- component: () => import("./change_password-BahjGlKy.js")
48851
+ component: () => import("./change_password-Cf9KZh5r.js")
48852
48852
  },
48853
48853
  {
48854
48854
  path: "/sys",
@@ -48859,37 +48859,37 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48859
48859
  {
48860
48860
  path: "/user",
48861
48861
  meta: { title: "用户管理" },
48862
- component: () => import("./user-tq51LWtt.js")
48862
+ component: () => import("./user-GBXDre5q.js")
48863
48863
  },
48864
48864
  {
48865
48865
  path: "/department",
48866
48866
  meta: { title: "组织架构" },
48867
- component: () => import("./department-DD6QK3oj.js")
48867
+ component: () => import("./department-BLvPB0Ab.js")
48868
48868
  },
48869
48869
  {
48870
48870
  path: "/position",
48871
48871
  meta: { title: "职务" },
48872
- component: () => import("./position-BfqH-wdx.js")
48872
+ component: () => import("./position-CooCxhxs.js")
48873
48873
  },
48874
48874
  {
48875
48875
  path: "/role",
48876
48876
  meta: { title: "角色权限" },
48877
- component: () => import("./role-C9RoOOWk.js")
48877
+ component: () => import("./role-CdVnR2bR.js")
48878
48878
  },
48879
48879
  {
48880
48880
  path: "/log",
48881
48881
  meta: { title: "日志" },
48882
- component: () => import("./log-C64vPkEl.js")
48882
+ component: () => import("./log-C_eq9bz-.js")
48883
48883
  },
48884
48884
  {
48885
48885
  path: "/backup",
48886
48886
  meta: { title: "备份" },
48887
- component: () => import("./backup-CMzi_pth.js")
48887
+ component: () => import("./backup-C-8XxUeg.js")
48888
48888
  },
48889
48889
  {
48890
48890
  path: "/systemsetting",
48891
48891
  meta: { title: "高级设置" },
48892
- component: () => import("./systemsetting-CK0mpG1l.js")
48892
+ component: () => import("./systemsetting-_UBbOz8c.js")
48893
48893
  }
48894
48894
  ]
48895
48895
  }
@@ -48898,13 +48898,16 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48898
48898
  {
48899
48899
  path: "/login",
48900
48900
  name: "login",
48901
- component: () => import("./login-CQoYSv4h.js")
48901
+ component: () => import("./login-BSJMr2hP.js")
48902
48902
  }
48903
48903
  ], router = createRouter({
48904
48904
  history: createWebHistory(),
48905
48905
  routes
48906
- }), addFrameRouter = function(r) {
48907
- console.log("add bef", router.options), router.addRoute("main", r), console.log("add", router.options);
48906
+ }), addFrameRouters = function(rs) {
48907
+ for (const r of rs)
48908
+ addFrameRouter(r);
48909
+ }, addFrameRouter = function(r) {
48910
+ router.addRoute("main", r);
48908
48911
  };
48909
48912
  router.beforeEach((to, _2, next) => {
48910
48913
  if (console.log("to", to.fullPath), to.matched.some((r) => r.meta?.requiresAuth)) {
@@ -52292,9 +52295,10 @@ export {
52292
52295
  router as q,
52293
52296
  reading_default as r,
52294
52297
  setting_default as s,
52295
- addFrameRouter as t,
52298
+ addFrameRouters as t,
52296
52299
  user_default as u,
52297
- HttpApiReturnData as v,
52300
+ addFrameRouter as v,
52298
52301
  whenever as w,
52302
+ HttpApiReturnData as x,
52299
52303
  zsysEventBus as z
52300
52304
  };
@@ -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-CvsZSemc.js";
2
+ import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-DoL8e_A7.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "log_setting",
5
5
  setup(__props, { expose: __expose }) {
@@ -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, n as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-CvsZSemc.js";
2
+ import { e as useRouter, n as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-DoL8e_A7.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, H as HttpApiV1, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-CvsZSemc.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, H as HttpApiV1, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-DoL8e_A7.js";
3
3
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4
4
  __name: "userMenuItem",
5
5
  props: {
@@ -1,5 +1,5 @@
1
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-CvsZSemc.js";
2
+ import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-DoL8e_A7.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "notification",
5
5
  setup(__props) {
@@ -1,6 +1,6 @@
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 } from "./index-CvsZSemc.js";
3
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BcRsvHKA.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 } from "./index-DoL8e_A7.js";
3
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-Cqb4mbmJ.js";
4
4
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
5
  __name: "position_edit_dialog",
6
6
  props: {
@@ -1,6 +1,6 @@
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 } from "./index-CvsZSemc.js";
3
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BcRsvHKA.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 } from "./index-DoL8e_A7.js";
3
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-Cqb4mbmJ.js";
4
4
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
5
  __name: "role_edit_dialog",
6
6
  props: {
@@ -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-CvsZSemc.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-DoL8e_A7.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-CvsZSemc.js";
2
+ import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DoL8e_A7.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = ["src"], _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "systemsetting",
5
5
  setup(__props) {
@@ -1,7 +1,7 @@
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 { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4 } from "./index-CvsZSemc.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4 } from "./index-DoL8e_A7.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
- import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BcRsvHKA.js";
4
+ import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-Cqb4mbmJ.js";
5
5
  const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
6
6
  key: 0,
7
7
  style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, withCtx, createVNode, createTextVNode } from "vue";
2
- import { z as zsysEventBus, H as HttpApiV1, Z as ZSYSMessage } from "./index-CvsZSemc.js";
2
+ import { z as zsysEventBus, H as HttpApiV1, Z as ZSYSMessage } from "./index-DoL8e_A7.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "zsys_delbutton",
5
5
  props: {
@@ -49,6 +49,8 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
49
49
 
50
50
  export declare const addFrameRouter: (r: RouteRecordRaw) => void;
51
51
 
52
+ export declare const addFrameRouters: (rs: RouteRecordRaw[]) => void;
53
+
52
54
  export declare const breadcrumb: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
53
55
 
54
56
  declare interface ExportColumn {
@@ -1,7 +1,8 @@
1
- import { v, t, i, j, f, H, q, p, k } from "./index-CvsZSemc.js";
1
+ import { x, v, t, i, j, f, H, q, p, k } from "./index-DoL8e_A7.js";
2
2
  export {
3
- v as HttpApiReturnData,
4
- t as addFrameRouter,
3
+ x as HttpApiReturnData,
4
+ v as addFrameRouter,
5
+ t as addFrameRouters,
5
6
  i as breadcrumb,
6
7
  j as formatDateTime,
7
8
  f as formatPreciseOralTime,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.0.71",
4
+ "version": "0.0.73",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",