zsysview 0.0.33 → 0.0.36
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.
- package/dist/{backup-DQdKrJO4.js → backup-CzH2TVgw.js} +4 -4
- package/dist/{breadcrumb.vue_vue_type_script_setup_true_lang-BQL707xT.js → breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js} +1 -1
- package/dist/{change_password-BzInFtql.js → change_password-CGTsPVRW.js} +4 -4
- package/dist/default_avatar.png +0 -0
- package/dist/{department-BoO7nCBo.js → department-QRdHgu4z.js} +5 -5
- package/dist/{desktop-CmmGdzlM.js → desktop-C_q7VUj9.js} +1 -1
- package/dist/{http_api_v1-DiDJPhUb.js → http_api_v1-D1Pu4P-8.js} +1 -16
- package/dist/{index-Cz5HRyMQ.js → index-B1Hskmci.js} +70 -25
- package/dist/{log-DJ828XBW.js → log-ByJQPRKr.js} +4 -4
- package/dist/{login-a_df4G1c.js → login-GunVpm8V.js} +16 -16
- package/dist/{main-Ch20XSe9.js → main-Xzv2gkG-.js} +13 -15
- package/dist/{message-DddMzbN_.js → message-2gz6_WO4.js} +1 -1
- package/dist/{position-CuBw2NRy.js → position-2aCnMhUk.js} +6 -6
- package/dist/{role-57H8JS8y.js → role-BL8NWYb0.js} +6 -6
- package/dist/{self-DXpu_EV-.js → self-CyVqGJto.js} +2 -2
- package/dist/systemsetting-BdHsAnqL.js +158 -0
- package/dist/{user-C1FtP_9V.js → user-CpVX3F-F.js} +6 -6
- package/dist/{zsys_delbutton.vue_vue_type_script_setup_true_lang-CKHxikhl.js → zsys_delbutton.vue_vue_type_script_setup_true_lang-CFvu9b2e.js} +2 -2
- package/dist/{zsyslist.vue_vue_type_script_setup_true_lang-CXeBMLKW.js → zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js} +3 -3
- package/dist/zsysview.css +1 -1
- package/dist/zsysview.es.js +4 -2
- package/docs//345/205/250/345/261/200/345/217/230/351/207/217.md +11 -0
- package/package.json +2 -2
- package/dist/sys-BZgBUI3k.js +0 -30
- /package/dist/{vite.svg → vite1.svg} +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
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-zbXxuTgZ.js";
|
|
3
|
+
import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
|
|
5
|
+
const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "systemsetting",
|
|
7
|
+
setup(__props) {
|
|
8
|
+
const tab = ref("base"), form = reactive({
|
|
9
|
+
auto: !0,
|
|
10
|
+
plan: "Everyday",
|
|
11
|
+
hour: "01",
|
|
12
|
+
minute: "00",
|
|
13
|
+
path: "",
|
|
14
|
+
keep: "keep20",
|
|
15
|
+
use_ftp: !1,
|
|
16
|
+
f_host: "",
|
|
17
|
+
f_port: 21,
|
|
18
|
+
f_u: "",
|
|
19
|
+
f_p: "",
|
|
20
|
+
f_path: "",
|
|
21
|
+
f_tls: !0
|
|
22
|
+
});
|
|
23
|
+
async function saveConfig() {
|
|
24
|
+
try {
|
|
25
|
+
let data = {
|
|
26
|
+
auto: form.auto ? 1 : 0,
|
|
27
|
+
plan: form.plan,
|
|
28
|
+
hour: form.hour,
|
|
29
|
+
minute: form.minute,
|
|
30
|
+
path: form.path,
|
|
31
|
+
keep: form.keep,
|
|
32
|
+
use_ftp: form.use_ftp ? 1 : 0,
|
|
33
|
+
f_host: form.f_host,
|
|
34
|
+
f_port: form.f_port,
|
|
35
|
+
f_u: form.f_u,
|
|
36
|
+
f_p: form.f_p,
|
|
37
|
+
f_path: form.f_path,
|
|
38
|
+
f_tls: form.f_tls ? 1 : 0
|
|
39
|
+
}, res = await HttpApiV1.Post(HttpApiV1.url_backup_config_save, data);
|
|
40
|
+
res.IsSuccess ? ZSYSMessage.ShowSuccess("保存成功") : ZSYSMessage.ShowError(res.message);
|
|
41
|
+
} catch (e) {
|
|
42
|
+
console.log(e), ZSYSMessage.ShowError("保存配置失败");
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
const _component_el_input = resolveComponent("el-input"), _component_el_text = resolveComponent("el-text"), _component_el_space = resolveComponent("el-space"), _component_el_form_item = resolveComponent("el-form-item"), _component_el_button = resolveComponent("el-button"), _component_el_form = resolveComponent("el-form"), _component_el_tab_pane = resolveComponent("el-tab-pane"), _component_el_tabs = resolveComponent("el-tabs");
|
|
47
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
48
|
+
createVNode(_sfc_main$1),
|
|
49
|
+
createElementVNode("div", _hoisted_1, [
|
|
50
|
+
createVNode(_component_el_tabs, {
|
|
51
|
+
modelValue: tab.value,
|
|
52
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tab.value = $event)
|
|
53
|
+
}, {
|
|
54
|
+
default: withCtx(() => [
|
|
55
|
+
createVNode(_component_el_tab_pane, {
|
|
56
|
+
label: "基础",
|
|
57
|
+
name: "base"
|
|
58
|
+
}, {
|
|
59
|
+
default: withCtx(() => [
|
|
60
|
+
createVNode(_component_el_form, {
|
|
61
|
+
"label-width": "100px",
|
|
62
|
+
style: { "margin-top": "10px" }
|
|
63
|
+
}, {
|
|
64
|
+
default: withCtx(() => [
|
|
65
|
+
createVNode(_component_el_form_item, { label: "系统名称" }, {
|
|
66
|
+
default: withCtx(() => [
|
|
67
|
+
createVNode(_component_el_space, {
|
|
68
|
+
direction: "vertical",
|
|
69
|
+
size: 2,
|
|
70
|
+
alignment: "stretch"
|
|
71
|
+
}, {
|
|
72
|
+
default: withCtx(() => [
|
|
73
|
+
createVNode(_component_el_input, { style: { width: "300px" } }),
|
|
74
|
+
createVNode(_component_el_text, { type: "info" }, {
|
|
75
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
76
|
+
createTextVNode("如果您使用的是路径设置到第二个硬盘/U盘", -1)
|
|
77
|
+
])]),
|
|
78
|
+
_: 1
|
|
79
|
+
})
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
})
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}),
|
|
86
|
+
createVNode(_component_el_form_item, { label: "系统LOGO" }, {
|
|
87
|
+
default: withCtx(() => [
|
|
88
|
+
createVNode(_component_el_space, {
|
|
89
|
+
direction: "vertical",
|
|
90
|
+
size: 2,
|
|
91
|
+
alignment: "stretch"
|
|
92
|
+
}, {
|
|
93
|
+
default: withCtx(() => [
|
|
94
|
+
createVNode(_component_el_input, { style: { width: "300px" } }),
|
|
95
|
+
createVNode(_component_el_text, { type: "info" }, {
|
|
96
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
97
|
+
createTextVNode("如果您使用的是路径设置到第二个硬盘/U盘", -1)
|
|
98
|
+
])]),
|
|
99
|
+
_: 1
|
|
100
|
+
})
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
})
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}),
|
|
107
|
+
createVNode(_component_el_form_item, { label: "ICP备案" }, {
|
|
108
|
+
default: withCtx(() => [
|
|
109
|
+
createVNode(_component_el_space, {
|
|
110
|
+
direction: "vertical",
|
|
111
|
+
size: 2,
|
|
112
|
+
alignment: "stretch"
|
|
113
|
+
}, {
|
|
114
|
+
default: withCtx(() => [
|
|
115
|
+
createVNode(_component_el_input, { style: { width: "300px" } }),
|
|
116
|
+
createVNode(_component_el_text, { type: "info" }, {
|
|
117
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
118
|
+
createTextVNode("如果您使用的是路径设置到第二个硬盘/U盘", -1)
|
|
119
|
+
])]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
})
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}),
|
|
128
|
+
createVNode(_component_el_form_item, null, {
|
|
129
|
+
default: withCtx(() => [
|
|
130
|
+
createVNode(_component_el_button, {
|
|
131
|
+
type: "primary",
|
|
132
|
+
onClick: saveConfig
|
|
133
|
+
}, {
|
|
134
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
135
|
+
createTextVNode("应用设置", -1)
|
|
136
|
+
])]),
|
|
137
|
+
_: 1
|
|
138
|
+
})
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
})
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
})
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
})
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 8, ["modelValue"])
|
|
151
|
+
])
|
|
152
|
+
], 64);
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
export {
|
|
157
|
+
_sfc_main as default
|
|
158
|
+
};
|
|
@@ -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-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
6
|
-
import {
|
|
2
|
+
import { _ as _sfc_main$3 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-zbXxuTgZ.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./zsyslist.vue_vue_type_script_setup_true_lang-B85TNTPZ.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-2gz6_WO4.js";
|
|
6
|
+
import { n as useMagicKeys, w as whenever } from "./index-B1Hskmci.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-
|
|
9
|
+
import { _ as _sfc_main$5 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CFvu9b2e.js";
|
|
10
10
|
import { f as formatDateTime } from "./zsys_time-4KclnYJN.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-
|
|
3
|
-
import { Z as ZSYSMessage } from "./message-
|
|
2
|
+
import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
|
|
3
|
+
import { Z as ZSYSMessage } from "./message-2gz6_WO4.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 {
|
|
3
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
4
|
-
import { Z as ZSYSMessage } from "./message-
|
|
2
|
+
import { n as useMagicKeys, w as whenever, _ as _export_sfc, p as refresh_default, q as search_default } from "./index-B1Hskmci.js";
|
|
3
|
+
import { H as HttpApiV1 } from "./http_api_v1-D1Pu4P-8.js";
|
|
4
|
+
import { Z as ZSYSMessage } from "./message-2gz6_WO4.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,
|