zsysview 0.0.63 → 0.0.65

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, 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-QdO5vlDo.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-QdO5vlDo.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-QdO5vlDo.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-QdO5vlDo.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-QdO5vlDo.js";
3
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-Bb-uid1T.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-QdO5vlDo.js";
3
+ import { _ as _sfc_main$4 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-Bb-uid1T.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-QdO5vlDo.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-QdO5vlDo.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-QdO5vlDo.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-Bb-uid1T.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-QdO5vlDo.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-QdO5vlDo.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.65",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",