zsysview 0.1.37 → 0.1.38

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-AG3yhDG9.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-CYY3XQIG.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 { resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx } from "vue";
2
- import { _ as _export_sfc } from "./index-AG3yhDG9.js";
2
+ import { _ as _export_sfc } from "./index-CYY3XQIG.js";
3
3
  const _sfc_main = {}, _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } };
4
4
  function _sfc_render(_ctx, _cache) {
5
5
  const _component_breadcrumb = resolveComponent("breadcrumb"), _component_el_result = resolveComponent("el-result");
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode } from "vue";
2
- import { i as _sfc_main$1 } from "./index-AG3yhDG9.js";
3
- import { _ as _sfc_main$2 } from "./change_password_panel.vue_vue_type_script_setup_true_lang-AKEQjIc3.js";
2
+ import { i as _sfc_main$1 } from "./index-CYY3XQIG.js";
3
+ import { _ as _sfc_main$2 } from "./change_password_panel.vue_vue_type_script_setup_true_lang-DDSkJ0UZ.js";
4
4
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "change_password",
6
6
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, onMounted, resolveComponent, createBlock, openBlock, withCtx, createCommentVNode, createVNode, createElementVNode, createTextVNode } from "vue";
2
- import { e as useRouter, Z as ZSYSMessage, H as HttpApiV1 } from "./index-AG3yhDG9.js";
2
+ import { e as useRouter, Z as ZSYSMessage, H as HttpApiV1 } from "./index-CYY3XQIG.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1 = ["src"], _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "change_password_panel",
@@ -1,5 +1,5 @@
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, p as refresh_default, m as _sfc_main$3 } from "./index-AG3yhDG9.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, p as refresh_default, m as _sfc_main$3 } from "./index-CYY3XQIG.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "department_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { i as _sfc_main$1 } from "./index-AG3yhDG9.js";
2
+ import { i as _sfc_main$1 } from "./index-CYY3XQIG.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "help",
5
5
  setup(__props) {
@@ -48817,7 +48817,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48817
48817
  path: "/main",
48818
48818
  //"/main"
48819
48819
  name: "main",
48820
- component: () => import("./main-BDXt3YcM.js"),
48820
+ component: () => import("./main-DeClXX8F.js"),
48821
48821
  meta: { requiresAuth: !0, title: "主界面" },
48822
48822
  children: [
48823
48823
  {
@@ -48829,13 +48829,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48829
48829
  path: "/self",
48830
48830
  //个人中心
48831
48831
  meta: { title: "基本信息" },
48832
- component: () => import("./self-nYVyk5As.js")
48832
+ component: () => import("./self-DcPZkb96.js")
48833
48833
  },
48834
48834
  {
48835
48835
  path: "/notification",
48836
48836
  //个人中心
48837
48837
  meta: { title: "系统消息" },
48838
- component: () => import("./notification-D7Ai1PlH.js")
48838
+ component: () => import("./notification-Bi2ZYoqB.js")
48839
48839
  }
48840
48840
  ]
48841
48841
  },
@@ -48843,7 +48843,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48843
48843
  path: "/password",
48844
48844
  //修改密码
48845
48845
  meta: { title: "修改密码" },
48846
- component: () => import("./change_password-BuCylpBt.js")
48846
+ component: () => import("./change_password-afQS9hpD.js")
48847
48847
  },
48848
48848
  {
48849
48849
  path: "/sys",
@@ -48854,61 +48854,61 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48854
48854
  {
48855
48855
  path: "/user",
48856
48856
  meta: { title: "用户管理" },
48857
- component: () => import("./user-CNowCkY5.js")
48857
+ component: () => import("./user-BPo7id69.js")
48858
48858
  },
48859
48859
  {
48860
48860
  path: "/department",
48861
48861
  meta: { title: "组织架构" },
48862
- component: () => import("./department-DzP9HRBY.js")
48862
+ component: () => import("./department-Coc6AmKf.js")
48863
48863
  },
48864
48864
  {
48865
48865
  path: "/position",
48866
48866
  meta: { title: "职务" },
48867
- component: () => import("./position-LalBjY2P.js")
48867
+ component: () => import("./position-DEVBbOgG.js")
48868
48868
  },
48869
48869
  {
48870
48870
  path: "/role",
48871
48871
  meta: { title: "角色权限" },
48872
- component: () => import("./role-_YjZ-iFJ.js")
48872
+ component: () => import("./role-Drok2lDN.js")
48873
48873
  },
48874
48874
  {
48875
48875
  path: "/log",
48876
48876
  meta: { title: "日志" },
48877
- component: () => import("./log-MfFiH8pw.js")
48877
+ component: () => import("./log-DGd-Ce1l.js")
48878
48878
  },
48879
48879
  {
48880
48880
  path: "/backup",
48881
48881
  meta: { title: "备份" },
48882
- component: () => import("./backup-COcCJb62.js")
48882
+ component: () => import("./backup-DSz2cfgD.js")
48883
48883
  },
48884
48884
  {
48885
48885
  path: "/systemsetting",
48886
48886
  meta: { title: "高级设置" },
48887
- component: () => import("./systemsetting-D-HLfZ2D.js")
48887
+ component: () => import("./systemsetting-hHyD-61k.js")
48888
48888
  }
48889
48889
  ]
48890
48890
  },
48891
48891
  {
48892
48892
  path: "/help",
48893
48893
  meta: { title: "使用帮助" },
48894
- component: () => import("./help-1xk-vnLY.js")
48894
+ component: () => import("./help-CzBastTj.js")
48895
48895
  },
48896
48896
  {
48897
48897
  path: "/version",
48898
48898
  meta: { title: "版本记录" },
48899
- component: () => import("./version-BF4ogONa.js")
48899
+ component: () => import("./version-DocdF12G.js")
48900
48900
  },
48901
48901
  {
48902
48902
  path: "/building",
48903
48903
  meta: { title: "开发中的功能" },
48904
- component: () => import("./building-BChaRK3l.js")
48904
+ component: () => import("./building-DYTv4Si2.js")
48905
48905
  }
48906
48906
  ]
48907
48907
  },
48908
48908
  {
48909
48909
  path: "/login",
48910
48910
  name: "login",
48911
- component: () => import("./login--ISRUoev.js")
48911
+ component: () => import("./login-BeBdyIoU.js")
48912
48912
  }
48913
48913
  ], router = createRouter({
48914
48914
  history: createWebHistory(),
@@ -52821,13 +52821,13 @@ export {
52821
52821
  _sfc_main$4 as D,
52822
52822
  _sfc_main$5 as E,
52823
52823
  _sfc_main as F,
52824
- GetItemsIds as G,
52824
+ GetAppName as G,
52825
52825
  HttpApiV1 as H,
52826
- GetItemsTitles as I,
52827
- HttpApiReturnData as J,
52828
- HasPermission as K,
52829
- GetUserPermission as L,
52830
- GetAppName as M,
52826
+ GetItemsIds as I,
52827
+ GetItemsTitles as J,
52828
+ HttpApiReturnData as K,
52829
+ HasPermission as L,
52830
+ GetUserPermission as M,
52831
52831
  AddClientUrl as N,
52832
52832
  OpenClientUrlWithID as O,
52833
52833
  HasClientUrl as P,
@@ -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-AG3yhDG9.js";
2
+ import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-CYY3XQIG.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "log_setting",
5
5
  setup(__props, { expose: __expose }) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, withKeys, createTextVNode, toDisplayString, inject } from "vue";
2
- import { e as useRouter, t as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-AG3yhDG9.js";
2
+ import { e as useRouter, t as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-CYY3XQIG.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
- import { _ as _sfc_main$1 } from "./change_password_panel.vue_vue_type_script_setup_true_lang-AKEQjIc3.js";
4
+ import { _ as _sfc_main$1 } from "./change_password_panel.vue_vue_type_script_setup_true_lang-DDSkJ0UZ.js";
5
5
  const _hoisted_1 = {
6
6
  class: "bg",
7
7
  style: { "background-image": 'url("/public/img/login_bg.jpg")' }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, inject, reactive, onMounted, ref, createCommentVNode, unref, onUnmounted, 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, f as formatPreciseOralTime, Z as ZSYSMessage, O as OpenClientUrlWithID, e as useRouter, g as arrow_down_default, h as useTokenStore } from "./index-AG3yhDG9.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, f as formatPreciseOralTime, Z as ZSYSMessage, O as OpenClientUrlWithID, e as useRouter, g as arrow_down_default, h as useTokenStore, G as GetAppName } from "./index-CYY3XQIG.js";
3
3
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4
4
  __name: "userMenuItem",
5
5
  props: {
@@ -246,7 +246,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
246
246
  const view = reactive({
247
247
  version: "未知",
248
248
  view_build_time: "未知",
249
- server_build_time: "未知"
249
+ server_build_time: "未知",
250
+ app_name: ""
250
251
  }), notification_open = ref(!1), has_new_notification = ref(!1), r = useRouter(), user = reactive({
251
252
  uname: ""
252
253
  });
@@ -294,6 +295,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
294
295
  console.log(e);
295
296
  }
296
297
  }
298
+ async function getAppName() {
299
+ let res = await GetAppName();
300
+ view.app_name = res;
301
+ }
297
302
  const allread = () => {
298
303
  HttpApiV1.Post(HttpApiV1.url_notification_all_read, {}), notification_open.value = !1, has_new_notification.value = !1;
299
304
  }, getLastNotification = async () => {
@@ -311,7 +316,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
311
316
  };
312
317
  let hasNewTimer = null;
313
318
  return onMounted(() => {
314
- getViewTime(), getServerTime(), getVersion(), hasNewTimer = setInterval(() => {
319
+ getViewTime(), getServerTime(), getVersion(), getAppName(), hasNewTimer = setInterval(() => {
315
320
  getLastNotification();
316
321
  }, 3e3);
317
322
  }), onUnmounted(() => {
@@ -346,7 +351,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
346
351
  _: 1
347
352
  })
348
353
  ]),
349
- createElementVNode("div", _hoisted_3, toDisplayString(inject("appname")), 1),
354
+ createElementVNode("div", _hoisted_3, toDisplayString(view.app_name), 1),
350
355
  createVNode(_component_el_space, {
351
356
  wrap: "",
352
357
  style: { float: "right" }
@@ -454,7 +459,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
454
459
  ], 64);
455
460
  };
456
461
  }
457
- }), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c75aedcf"]]), _sfc_main = /* @__PURE__ */ defineComponent({
462
+ }), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-705e4fa1"]]), _sfc_main = /* @__PURE__ */ defineComponent({
458
463
  __name: "main",
459
464
  setup(__props) {
460
465
  const store = useTokenStore(), r = useRouter();
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
- import { z as zsysEventBus, H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2, O as OpenClientUrlWithID } from "./index-AG3yhDG9.js";
2
+ import { z as zsysEventBus, H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2, O as OpenClientUrlWithID } from "./index-CYY3XQIG.js";
3
3
  const _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
4
4
  class: "flex_fill",
5
5
  style: { padding: "0px 20px" }
@@ -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-AG3yhDG9.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-CYY3XQIG.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: {
@@ -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-AG3yhDG9.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-CYY3XQIG.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: {
@@ -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-AG3yhDG9.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-CYY3XQIG.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, onMounted, 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-AG3yhDG9.js";
2
+ import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-CYY3XQIG.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "systemsetting",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createCommentVNode, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, onMounted, vShow, 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$5, k as _sfc_main$6, m as _sfc_main$7, n as more_filled_default } from "./index-AG3yhDG9.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$5, k as _sfc_main$6, m as _sfc_main$7, n as more_filled_default } from "./index-CYY3XQIG.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1$3 = { style: { float: "left" } }, _hoisted_2$1 = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1 } from "./index-AG3yhDG9.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-CYY3XQIG.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px", "white-space": "pre" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "version",
5
5
  setup(__props) {