NEZ-1869 perf : 系统备份页面调整

This commit is contained in:
likexuan
2022-05-26 09:33:00 +08:00
parent 13cc55897b
commit 3ef8eea0ed
3 changed files with 1 additions and 5 deletions

View File

@@ -150,7 +150,7 @@
.el-table_1_column_1 .cell{ .el-table_1_column_1 .cell{
padding-left: 20px !important; padding-left: 20px !important;
} }
.el-table_2_column_6 .cell{ .el-table_2_column_5 .cell{
padding-left: 20px !important; padding-left: 20px !important;
} }
.el-table--border th:first-child .cell { .el-table--border th:first-child .cell {

View File

@@ -21,9 +21,6 @@
<span v-if="item.prop === 'retention'"> <span v-if="item.prop === 'retention'">
{{ tableData[0].retention }} {{ tableData[0].retention }}
</span> </span>
<span v-if="item.prop === 'last'">
{{ tableData[0].schedule && utcTimeToTimezoneStr(tableData[0].schedule.stime) ?utcTimeToTimezoneStr(tableData[0].schedule.stime):'' }}
</span>
<span v-if="item.prop === 'state'"> <span v-if="item.prop === 'state'">
<el-switch class="switch" v-model="tableData[0].state" disabled> </el-switch> <el-switch class="switch" v-model="tableData[0].state" disabled> </el-switch>
</span> </span>

View File

@@ -71,7 +71,6 @@ export default {
customTableTitle: [ customTableTitle: [
{ label: this.$t('backup.schedule'), prop: 'schedule', width: 288 }, { label: this.$t('backup.schedule'), prop: 'schedule', width: 288 },
{ label: this.$t('backup.backupRetention'), prop: 'retention', width: 303 }, { label: this.$t('backup.backupRetention'), prop: 'retention', width: 303 },
{ label: this.$t('backup.last'), prop: 'last', width: 306 },
{ label: this.$t('backup.Enable'), prop: 'state', width: 569 } { label: this.$t('backup.Enable'), prop: 'state', width: 569 }
], ],
customTableTitle2: [ customTableTitle2: [