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