zsysview 0.0.63 → 0.0.64

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-korOXB5N.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-DoDF_uk8.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-korOXB5N.js";
2
+ import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DoDF_uk8.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-korOXB5N.js";
3
- import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DZHlbqBl.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-DoDF_uk8.js";
3
+ import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BgC31osk.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-korOXB5N.js";
1
+ import { _ as _export_sfc } from "./index-DoDF_uk8.js";
2
2
  const _sfc_main = {};
3
3
  function _sfc_render(_ctx, _cache) {
4
4
  return " 欢迎使用 ";
@@ -48816,13 +48816,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48816
48816
  {
48817
48817
  path: "/main",
48818
48818
  //"/main"
48819
- component: () => import("./main-CaTBGIkL.js"),
48819
+ component: () => import("./main-CTSInvmu.js"),
48820
48820
  meta: { requiresAuth: !0, title: "主界面" },
48821
48821
  children: [
48822
48822
  {
48823
48823
  path: "/desktop",
48824
48824
  meta: { title: "首页" },
48825
- component: () => import("./desktop-B93Apgt_.js")
48825
+ component: () => import("./desktop-NaGJH97o.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-BDa5EziL.js")
48836
+ component: () => import("./self-DuQRdR9I.js")
48837
48837
  },
48838
48838
  {
48839
48839
  path: "/notification",
48840
48840
  //个人中心
48841
48841
  meta: { title: "系统消息" },
48842
- component: () => import("./notification-TgOhyv0G.js")
48842
+ component: () => import("./notification-COd8e2B6.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-Djv3Ael-.js")
48850
+ component: () => import("./change_password-D3nIOt0F.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-C4gRkCcU.js")
48861
+ component: () => import("./user-D-32Yppf.js")
48862
48862
  },
48863
48863
  {
48864
48864
  path: "/department",
48865
48865
  meta: { title: "组织架构" },
48866
- component: () => import("./department-DsE0EWNX.js")
48866
+ component: () => import("./department-B9ox090W.js")
48867
48867
  },
48868
48868
  {
48869
48869
  path: "/position",
48870
48870
  meta: { title: "职务" },
48871
- component: () => import("./position-CBUw7i67.js")
48871
+ component: () => import("./position-r1QyPBn2.js")
48872
48872
  },
48873
48873
  {
48874
48874
  path: "/role",
48875
48875
  meta: { title: "角色权限" },
48876
- component: () => import("./role-Ba5-ZWjw.js")
48876
+ component: () => import("./role-Bq0mJxGD.js")
48877
48877
  },
48878
48878
  {
48879
48879
  path: "/log",
48880
48880
  meta: { title: "日志" },
48881
- component: () => import("./log-HsE6h04n.js")
48881
+ component: () => import("./log-Cvyl4qXM.js")
48882
48882
  },
48883
48883
  {
48884
48884
  path: "/backup",
48885
48885
  meta: { title: "备份" },
48886
- component: () => import("./backup-DfEg5onQ.js")
48886
+ component: () => import("./backup-BwEYrbmA.js")
48887
48887
  },
48888
48888
  {
48889
48889
  path: "/systemsetting",
48890
48890
  meta: { title: "高级设置" },
48891
- component: () => import("./systemsetting-XBy-fAcF.js")
48891
+ component: () => import("./systemsetting-G8E4CbZQ.js")
48892
48892
  }
48893
48893
  ]
48894
48894
  }
@@ -48897,7 +48897,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48897
48897
  {
48898
48898
  path: "/login",
48899
48899
  name: "login",
48900
- component: () => import("./login-Bd_yHS07.js")
48900
+ component: () => import("./login-_ZYPO3ZK.js")
48901
48901
  }
48902
48902
  ], router = createRouter({
48903
48903
  history: createWebHistory(),
@@ -52293,6 +52293,7 @@ export {
52293
52293
  setting_default as s,
52294
52294
  addFrameRouter as t,
52295
52295
  user_default as u,
52296
+ HttpApiReturnData as v,
52296
52297
  whenever as w,
52297
52298
  zsysEventBus as z
52298
52299
  };
@@ -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-korOXB5N.js";
2
+ import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-DoDF_uk8.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-korOXB5N.js";
2
+ import { e as useRouter, n as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-DoDF_uk8.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-korOXB5N.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-DoDF_uk8.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-korOXB5N.js";
2
+ import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-DoDF_uk8.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-korOXB5N.js";
3
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DZHlbqBl.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-DoDF_uk8.js";
3
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BgC31osk.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-korOXB5N.js";
3
- import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DZHlbqBl.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-DoDF_uk8.js";
3
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BgC31osk.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-korOXB5N.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-DoDF_uk8.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-korOXB5N.js";
2
+ import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DoDF_uk8.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-korOXB5N.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-DoDF_uk8.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-DZHlbqBl.js";
4
+ import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BgC31osk.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-korOXB5N.js";
2
+ import { z as zsysEventBus, H as HttpApiV1, Z as ZSYSMessage } from "./index-DoDF_uk8.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "zsys_delbutton",
5
5
  props: {
@@ -65,6 +65,86 @@ export declare function formatDateTime(date: Date | string | number): string;
65
65
 
66
66
  export declare const formatPreciseOralTime: (timestamp: string | Date) => string;
67
67
 
68
+ export declare class httpapi {
69
+ static api_host: string;
70
+ static url_login: string;
71
+ static url_usercenter: string;
72
+ static url_change_password: string;
73
+ static url_user_permission: string;
74
+ static url_notification_list: string;
75
+ static url_user_save: string;
76
+ static url_user_list: string;
77
+ static url_user_export: string;
78
+ static url_user_del: string;
79
+ static url_user_detail: string;
80
+ static url_user_change_pwd: string;
81
+ static url_department_save: string;
82
+ static url_department_list: string;
83
+ static url_department_del: string;
84
+ static url_department_detail: string;
85
+ static url_position_list: string;
86
+ static url_position_detail: string;
87
+ static url_position_save: string;
88
+ static url_position_del: string;
89
+ static url_syslog_list: string;
90
+ static url_syslog_config_detail: string;
91
+ static url_syslog_config_save: string;
92
+ static url_backup_start: string;
93
+ static url_backup_list: string;
94
+ static url_backup_del: string;
95
+ static url_backup_config_get: string;
96
+ static url_backup_config_save: string;
97
+ static url_syspermission_list: string;
98
+ static url_sysrole_list: string;
99
+ static url_sysrole_del: string;
100
+ static url_sysrole_save: string;
101
+ static url_sysrole_detail: string;
102
+ static url_export_detail: string;
103
+ static url_export_file: string;
104
+ static url_system_publish: string;
105
+ static url_desktop: string;
106
+ static url_desktop_config_detail: string;
107
+ static url_desktop_config_save: string;
108
+ static url_chart_weekly: string;
109
+ static url_chart_all: string;
110
+ static url_chart_last: string;
111
+ static url_event_list: string;
112
+ static url_event_detail: string;
113
+ static url_event_file: string;
114
+ static url_event_dispose: string;
115
+ static url_rule_list: string;
116
+ static url_rule_save: string;
117
+ static url_rule_del: string;
118
+ static url_rule_detail: string;
119
+ static url_time_list: string;
120
+ static url_time_save: string;
121
+ static url_time_del: string;
122
+ static url_time_detail: string;
123
+ static url_area_save: string;
124
+ static url_area_list: string;
125
+ static url_area_del: string;
126
+ static url_area_detail: string;
127
+ static url_equipment_save: string;
128
+ static url_equipment_list: string;
129
+ static url_equipment_detail: string;
130
+ static url_equipment_del: string;
131
+ static url_channel_save: string;
132
+ static url_channel_list: string;
133
+ static url_channel_detail: string;
134
+ static url_channel_del: string;
135
+ static GetFullApiUrl(api: string): string;
136
+ static Post(url: string, obj: object): Promise<HttpApiReturnData>;
137
+ }
138
+
139
+ export declare class HttpApiReturnData {
140
+ error_code: number;
141
+ message: string;
142
+ data: object;
143
+ constructor();
144
+ get IsSuccess(): boolean;
145
+ static fromObject(obj: Partial<HttpApiReturnData>): HttpApiReturnData;
146
+ }
147
+
68
148
  export declare interface ListConfig {
69
149
  ApiUrl: string;
70
150
  QuickConditionsGroups?: QuickConditionsGroup[];
@@ -1,9 +1,11 @@
1
- import { t, i, j, f, q, p, k } from "./index-korOXB5N.js";
1
+ import { v, t, i, j, f, H, q, p, k } from "./index-DoDF_uk8.js";
2
2
  export {
3
+ v as HttpApiReturnData,
3
4
  t as addFrameRouter,
4
5
  i as breadcrumb,
5
6
  j as formatDateTime,
6
7
  f as formatPreciseOralTime,
8
+ H as httpapi,
7
9
  q as router,
8
10
  p as zsysapp,
9
11
  k as zsyslist
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.0.63",
4
+ "version": "0.0.64",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",