fix: 测试用例相关国际化

This commit is contained in:
chenjianxing 2021-12-17 15:58:47 +08:00 committed by jianxing
parent b18cec18e1
commit 1ae3ebdfeb
6 changed files with 13 additions and 15 deletions

View File

@ -4,15 +4,15 @@
<el-button-group v-if="isShowChangeButton">
<el-tooltip v-if="leftButtonEnable" class="item" effect="dark" :content="leftTip" placement="left">
<el-button plain style="height: 32px;padding: 5px 8px;" :class="{active: leftActive}" @click="changeTab('left')">{{leftContent}}</el-button>
<el-button plain :class="{active: leftActive}" @click="changeTab('left')">{{leftContent}}</el-button>
</el-tooltip>
<el-tooltip v-if="middleButtonEnable" class="item" effect="dark" :content="middleTip" placement="top">
<el-button plain style="height: 32px;padding: 1px;" :class="{active: middleActive}" @click="changeTab('middle')">{{middleContent}}</el-button>
<el-button plain :class="{active: middleActive}" @click="changeTab('middle')">{{middleContent}}</el-button>
</el-tooltip>
<el-tooltip v-if="rightButtonEnable" class="item" effect="dark" :content="rightTip" placement="right">
<el-button plain style="height: 32px;padding: 1px;" :class="{active: rightActive}" @click="changeTab('right')">
<el-button plain :class="{active: rightActive}" @click="changeTab('right')">
{{rightContent}}
</el-button>
</el-tooltip>
@ -112,6 +112,8 @@ export default {
}
.item{
height: 32px;
padding: 5px 8px;
border: solid 1px var(--primary_color);
}

View File

@ -29,7 +29,7 @@
<el-row>
<el-col class="version">
<span>版本:</span> &nbsp;
<span>{{ $t('commons.version') }}:</span> &nbsp;
<span>{{version}}</span>
</el-col>
</el-row>

View File

@ -10,11 +10,6 @@
<el-form-item :label="'Tapd '+ $t('commons.nick_name')" prop="account">
<el-input v-model="data.tapdUserName" :placeholder="$t('organization.integration.input_api_account')"/>
</el-form-item>
<!-- <el-form-item >-->
<!-- <el-button type="primary" style="float: right" @click="$emit('auth', 'Tapd')" size="mini">-->
<!-- {{$t('commons.validate')}}-->
<!-- </el-button>-->
<!-- </el-form-item>-->
</el-form>
</template>
@ -31,4 +26,8 @@ export default {
.instructions-icon {
margin-left: -5px;
}
.el-form {
margin-bottom: 45px;
}
</style>

View File

@ -555,10 +555,6 @@ export default {
padding: 5px 10px;
}
/deep/ .el-button-group > .el-button:first-child {
padding: 4px 1px !important;
}
/deep/ .el-tabs__header {
margin: 0 0 0px;
/*width: calc(100% - 90px);*/

View File

@ -176,7 +176,7 @@
:field="item"
:fields-width="fieldsWidth"
:label="field.system ? $t(systemFiledMap[field.name]) :field.name"
:min-width="90"
:min-width="120"
:prop="field.name">
<template v-slot="scope">
<span v-if="field.name === '用例等级'">

View File

@ -31,7 +31,8 @@ export default {
close_schedule: 'Close Schedule',
review_complete: 'Review Completed',
examples: 'examples',
help_documentation: 'Help documentation',
help_documentation: 'Help',
api_help_documentation: 'API',
confirm_delete: 'Whether to delete',
delete_cancelled: 'Delete cancelled',
option_cannot_spread_pages: 'This options not support spread pages.Do you want continue?',