refactor(项目设置): 应用设置样式优化、i18n
This commit is contained in:
parent
1d6d73a40b
commit
e15672af3d
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<app-manage-item :title="title" :append-span="4" :middle-span="10" :prepend-span="10">
|
||||
<app-manage-item :title="title" :append-span="3" :middle-span="12" :prepend-span="9">
|
||||
<template #middle>
|
||||
<span class="timing_name">{{ $t('project.keep_recent') }}</span>
|
||||
<el-select v-model="selfQuantity" placeholder=" " size="mini"
|
||||
|
@ -70,18 +70,11 @@ export default {
|
|||
selfUnit: "",
|
||||
selfChoose: this.choose,
|
||||
selfExpr: this.expr,
|
||||
quantityOptions: [
|
||||
"1", "2", "3", "4", "5", "6", "7", "8", "9",
|
||||
"10", "11", "12", "13", "14",
|
||||
"15", "16", "17", "18", "19",
|
||||
"20", "21", "22", "23", "24",
|
||||
"25", "26", "27", "28", "29",
|
||||
"30", "31",
|
||||
],
|
||||
quantityOptions: 31,
|
||||
unitOptions: [
|
||||
{value: "D", label: "天"},
|
||||
{value: "M", label: "月"},
|
||||
{value: "Y", label: "年"},
|
||||
{value: "D", label: this.$t('commons.date_unit.day')},
|
||||
{value: "M", label: this.$t('commons.date_unit.month')},
|
||||
{value: "Y", label: this.$t('commons.date_unit.year')},
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -114,7 +107,7 @@ export default {
|
|||
}
|
||||
|
||||
.timing_select {
|
||||
width: 60px;
|
||||
margin-left: 3px;
|
||||
width: 80px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -161,6 +161,11 @@ export default {
|
|||
weeks_4: 'Thur',
|
||||
weeks_5: 'Fri',
|
||||
weeks_6: 'Sat',
|
||||
date_unit: {
|
||||
day: "Day",
|
||||
month: "Month",
|
||||
year: "Year"
|
||||
},
|
||||
test_unit: 'tests',
|
||||
remove: 'Remove',
|
||||
next_level: "Next level",
|
||||
|
|
|
@ -155,6 +155,11 @@ export default {
|
|||
weeks_4: '周四',
|
||||
weeks_5: '周五',
|
||||
weeks_6: '周六',
|
||||
date_unit: {
|
||||
day: "天",
|
||||
month: "月",
|
||||
year: "年"
|
||||
},
|
||||
test_unit: '测试',
|
||||
system_parameter_setting: '系统参数设置',
|
||||
connection_successful: '连接成功',
|
||||
|
|
|
@ -155,6 +155,11 @@ export default {
|
|||
weeks_4: '周四',
|
||||
weeks_5: '周五',
|
||||
weeks_6: '周六',
|
||||
date_unit: {
|
||||
day: "天",
|
||||
month: "月",
|
||||
year: "年"
|
||||
},
|
||||
test_unit: '測試',
|
||||
system_parameter_setting: '系統參數設置',
|
||||
connection_successful: '連接成功',
|
||||
|
|
Loading…
Reference in New Issue