From 98a6297b10a4b97c3022f84d3ba7908c178d9ee0 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期二, 20 十月 2020 10:30:10 +0800 Subject: [PATCH] 应用中心安装提示bug修复 --- src/pages/vindicate/index/App.vue | 31 +++++++++++++++---------------- 1 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/pages/vindicate/index/App.vue b/src/pages/vindicate/index/App.vue index 167f6fa..7f0e417 100644 --- a/src/pages/vindicate/index/App.vue +++ b/src/pages/vindicate/index/App.vue @@ -1,13 +1,12 @@ <template> <div class="s-system-manage"> <el-tabs - id="systemMaintenance" v-model="activeName" v-loading="loading" :element-loading-text="loadingText" > - <el-tab-pane label="璁惧缁存姢" name="first"> + <el-tab-pane label="璁惧缁存姢" name="device" v-if="isShow('vindicate:device')"> <div class="s-system-maintenance"> <div class="box-card"> <div class="ui-top-view"> @@ -123,7 +122,7 @@ </div> </div> </el-tab-pane> - <el-tab-pane label="鏁版嵁搴撶淮鎶�" name="second"> + <el-tab-pane label="鏁版嵁搴撶淮鎶�" name="dbvdc" v-if="isShow('vindicate:db')"> <div class="box"> <p class="title"> <label>鏁版嵁娓呯悊</label> @@ -172,7 +171,7 @@ timer: null, buttonAuthority: sessionStorage.getItem("buttonAuthoritys") || [], rebootCron: "", - activeName: "first", + activeName: "device", restartValue: "涓嶉噸鍚�", restartTimeValue: new Date(2019, 9, 10, 18, 40), loading: false, @@ -193,14 +192,13 @@ }, }, upgrading: false, - fileAdded: false + fileAdded: false, }; }, mounted() { this.getRebootCron() - if (!this.isShow('videoSystem:sysManage:sysfix')) { - console.log("榛樿鏄剧ず鏁版嵁搴撶淮鎶�") - this.activeName = "second" + if (!this.isShow('vindicate:device')) { + this.activeName = "dbvdc" } }, computed: { @@ -388,6 +386,7 @@ <style lang="scss"> .s-system-manage { width: 100% !important; + min-width: 759px; box-sizing: border-box; padding: 10px; // background-color: #e9ebf2; @@ -484,15 +483,15 @@ width: 100%; height: 100%; .el-button--primary { - color: #FFFFFF; - background-color: #3D68E1; - border-color: #3D68E1; + color: #ffffff; + background-color: #3d68e1; + border-color: #3d68e1; } - .el-button--primary.is-disabled, - .el-button--primary.is-disabled:hover, - .el-button--primary.is-disabled:focus, - .el-button--primary.is-disabled:active{ - color: #FFFFFF; + .el-button--primary.is-disabled, + .el-button--primary.is-disabled:hover, + .el-button--primary.is-disabled:focus, + .el-button--primary.is-disabled:active { + color: #ffffff; background-color: #9eb4f0; border-color: #9eb4f0; } -- Gitblit v1.8.0