Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
N
nse-ui
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
nse-ui
Commits
b6f46f4e
Commit
b6f46f4e
authored
Sep 24, 2025
by
wanglizhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统备份
parent
c58ec415
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
55 行增加
和
59 行删除
+55
-59
src/assets/images/systemConfig/systemBackups.png
+0
-0
src/views/systemConfig/SystemBackups/index.vue
+55
-47
src/views/systemConfig/SystemParam/index.vue
+0
-12
没有找到文件。
src/assets/images/systemConfig/systemBackups.png
View replaced file @
c58ec415
View file @
b6f46f4e
20.6 KB
|
W:
|
H:
170 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/systemConfig/SystemBackups/index.vue
View file @
b6f46f4e
...
...
@@ -44,31 +44,24 @@ const exportSqlFunc = async () => {
<
template
>
<div
class=
"app-container scroller"
>
<PageTitle>
<template
#
title
>
系统备份
</
template
>
</PageTitle>
<div
class=
"app-container__body"
>
<div
class=
"
updata
"
>
<
div
class=
"left
"
>
<img
src=
"@/assets/images/systemConfig/systemBackups.png"
alt=
""
style=
"vertical-align: middle; padding-right: 10px;"
/
>
</div
>
<div
class=
"
right
"
>
<
div
class=
"title-header"
>
系统备份
</div
>
<div
class=
"
pageTitle
"
>
<
img
class=
"icon"
src=
"@/assets/images/systemConfig/systemParamPage.png"
alt=
"
"
>
<span>
系统备份
</span>
</div
>
<div
class=
"box"
>
<div
class=
"
updata
"
>
<
img
src=
"@/assets/images/systemConfig/systemBackups.png"
alt=
""
/
>
<div
style=
"margin-top: 30px;"
>
<el-button
icon=
"Upload"
:loading=
"uploadLoading"
style=
"position: relative;"
>
<el-button
icon=
"Upload"
:loading=
"uploadLoading"
style=
"position: relative;
width: 115px;height: 40px;background: rgba(33, 103, 217, 1);color: #fff;
"
>
<span>
数据库导入
</span>
<div
class=
"uploadBut"
>
<CustomUpload
v-if=
"!uploadLoading"
@
file-change=
"handleFileChange"
/>
</div>
</el-button>
<el-button
icon=
"Download"
:loading=
"uploadLoading"
@
click=
"exportSqlFunc"
>
数据库导出
</el-button>
</div>
<div
class=
"title-header"
>
恢复配置库
</div>
<div>
<span
class=
"title-item"
>
注意:
</span>
<span>
您可以将配置库信息导出,也可以随时通过导入功能初始化配置库。
</span>
<el-button
icon=
"Download"
style=
"width: 115px;height: 40px;background: rgba(11, 136, 251, 1);color: #fff;margin-left: 32px"
:loading=
"uploadLoading"
@
click=
"exportSqlFunc"
>
数据库导出
</el-button>
</div>
<div
class=
"title-header"
>
注意:您可以将配置库信息导出,也可以随时通过导入功能初始化配置库。
</div>
</div>
</div>
</div>
...
...
@@ -77,39 +70,54 @@ const exportSqlFunc = async () => {
<
style
lang=
"scss"
scoped
>
.app-container__body
{
align-items
:
center
;
.pageTitle
{
margin-bottom
:
20px
;
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
font-weight
:
500
;
letter-spacing
:
0px
;
line-height
:
22px
;
color
:
rgba
(
53
,
64
,
79
,
1
);
.icon
{
margin-right
:
6px
;
width
:
16px
;
height
:
16px
;
}
}
.box
{
display
:
flex
;
flex-direction
:
column
;
flex
:
1
;
overflow
:
hidden
;
}
.updata
{
margin-top
:
10%
;
width
:
700px
;
width
:
100%
;
display
:
flex
;
.right
{
padding-left
:
20px
;
.uploadBut
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
overflow
:
hidden
;
opacity
:
0
;
}
.title-header
{
height
:
84px
;
line-height
:
40px
;
font-weight
:
700
;
font-size
:
18px
;
color
:
#666
;
position
:
relative
;
top
:
40px
;
}
.title-item
{
font-weight
:
700
;
line-height
:
30px
;
color
:
#666
;
}
flex-direction
:
column
;
align-items
:
center
;
img{
width
:
640px
;
}
.uploadBut
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
overflow
:
hidden
;
opacity
:
0
;
}
.title-header
{
margin-top
:
31px
;
font-size
:
14px
;
line-height
:
22px
;
color
:
rgba
(
253
,
84
,
81
,
1
);
}
}
}
...
...
src/views/systemConfig/SystemParam/index.vue
View file @
b6f46f4e
...
...
@@ -50,18 +50,6 @@ onMounted(() => {
</el-tabs>
</div>
</div>
<!--
<el-collapse
v-model=
"collapseValue"
accordion
>
<el-collapse-item
:title=
"item.category"
:name=
"index + 1"
v-for=
"(item, index) in collapseData"
:key=
"index"
>
<div
class=
"contentActive"
>
<div
style=
"overflow: auto; height: 100%; padding: 20px 0px;"
>
<div
class=
"item"
v-for=
"(property, index) in item.list"
:key=
"index"
>
<div
class=
"key"
>
{{
property
.
key
}}
</div>
<div
class=
"value"
>
{{
property
.
value
}}
</div>
</div>
</div>
</div>
</el-collapse-item>
</el-collapse>
-->
</div>
</div>
</
template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论