From 0876e51d0f968ce38a048a78f9ebafcb8841f9bc Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 29 七月 2020 20:49:22 +0800 Subject: [PATCH] 添加系统维护 --- src/pages/settings/components/BasicSetting.vue | 112 +++++++++++++++++--------------------------------------- 1 files changed, 34 insertions(+), 78 deletions(-) diff --git a/src/pages/settings/components/BasicSetting.vue b/src/pages/settings/components/BasicSetting.vue index 5806be8..3562a61 100644 --- a/src/pages/settings/components/BasicSetting.vue +++ b/src/pages/settings/components/BasicSetting.vue @@ -5,6 +5,7 @@ v-model="activeName" v-loading="loading" :element-loading-text="loadingText" + type="card" > <!-- 鏈満淇℃伅 --> <el-tab-pane label="鏈満淇℃伅" name="first"> @@ -17,6 +18,7 @@ class="menu-css" @open="menuOpen" @close="menuClose" + > <!-- 鏈満淇℃伅 --> <el-submenu index="0"> @@ -351,34 +353,25 @@ <cluster-management></cluster-management> </el-tab-pane> <el-tab-pane label="澶栭儴缃戠粶" name="fourth"> - <el-row :gutter="20"> - <el-col :span="10"> - <div> - <div class="flex-box"> - <div style="line-height:32px;"> - <el-radio v-model="ipServer.diyOrLocalIP" :label="1">璁剧疆澶栭儴IP</el-radio> - <el-radio v-model="ipServer.diyOrLocalIP" :label="0">閫夌敤鏈満IP</el-radio> - </div> - <div class="ml10" style="width:205px;"> - <ip-input :ip="ipServer.ip" @on-blur="ipServer.ip = arguments[0]"></ip-input> - </div> - </div> - <div class="flex-box p5" > - <span style="line-height:32px;">鍩熷悕</span> - <div style="margin-left:14px;width:205px;"> - <el-input size="small" style v-model="ipServer.localhost"></el-input> - </div> - </div> - <div class="flex-box" > - <span style="line-height:32px;">鏈湴鏂囦欢绔彛</span> - <div style="margin-left:14px;width:205px;"> - <el-input size="small" style v-model="ipServer.localFilePort"></el-input> - </div> - </div> - </div> - </el-col> - <!-- <el-col :span="14"> - <div> + <div class="flex-box"> + <label>璁剧疆澶栭儴IP</label> + <div style="width:300px;"> + <ip-input :ip="ipServer.ip" @on-blur="ipServer.ip = arguments[0]"></ip-input> + </div> + <el-checkbox label="閫夌敤鏈満IP" size="small" style="margin-left: 20px"></el-checkbox> + </div> + <div class="flex-box"> + <label>鍩熷悕</label> + <el-input size="small" v-model="ipServer.localhost"></el-input> + </div> + <div class="flex-box"> + <label>鏈湴鏂囦欢绔彛</label> + <el-input size="small" v-model="ipServer.localFilePort"></el-input> + </div> + <div class="mt15 save-btn" style="width:460px; margin-bottom:20px; float:left;"> + <el-button type="primary" @click="submitResource" size="small">淇濆瓨</el-button> + </div> + <div> <el-table :data="ipServer.fileTable" border @@ -416,11 +409,6 @@ </el-table-column> </el-table> </div> - </el-col>--> - </el-row> - <div class="mt15 save-btn" style="width:1000px;float:left;"> - <el-button type="primary" @click="submitResource" size="small">淇濆瓨</el-button> - </div> </el-tab-pane> <el-tab-pane label="鏉冮檺绠$悊" name="user" > <authority-management v-if="activeName === 'user'"></authority-management> @@ -1088,7 +1076,7 @@ height: 100%; .el-form { width: 1000px; - margin-top: 30px; + // margin-left: -80px; .el-form-item { text-align: left; @@ -1148,49 +1136,7 @@ font-weight: 600; background-color: #e4e6ed; } - #e-basic-setting { - .el-tabs__header { - border: 0px solid #dcdfe6; - .el-tabs__item { - padding: 5px 50px; - height: 50px; - font-family: PingFangSC-Regular; - font-size: 14px; - color: #222222; - text-align: center; - border: 0px solid transparent; - } - .el-tabs__item:nth-child(2) { - padding-left: 50px; - } - .el-tabs__item:last-child { - padding-right: 50px; - } - .el-tabs__item.is-active { - color: #ff7733; - font-weight: bold; - // border-right-color: #fff; - // border-left-color: #fff; - } - .el-tabs__item:not(.is-disabled):hover { - color: #ff7733; - } - } - .el-tabs__active-bar { - background-color: #ff7733; - } - .xiangqin-label { - text-align: left; - width: 85px; - font-size: 14px; - line-height: 30px; - } - .xiangqing-info { - text-align: left; - font-size: 14px; - line-height: 30px; - } - } + #cut_min_duration { .el-slider__bar { @@ -1272,6 +1218,16 @@ } </style> <style lang="scss" scoped> +.flex-box{ + display: flex; + height: 50px; + label{ + width: 120px; + } + .el-input{ + width: 300px; + } +} .menu-css, .el-menu { border-right: none; @@ -1280,7 +1236,7 @@ margin: 0; padding-left: 0; background-color: #ffffff; - + .tree-font { font-family: PingFangSC-Medium; font-size: 14px; -- Gitblit v1.8.0