修改测试计划阶段
This commit is contained in:
parent
874f3c627e
commit
288dd65b70
|
@ -54,10 +54,11 @@
|
|||
<el-form-item :label="$t('test_track.plan.plan_stage')" :label-width="formLabelWidth" prop="stage">
|
||||
<el-select v-model="form.stage" clearable :placeholder="$t('test_track.plan.input_plan_stage')">
|
||||
<el-option :label="$t('test_track.plan.smoke_test')" value="smoke"></el-option>
|
||||
<el-option :label="$t('test_track.plan.functional_test')" value="functional"></el-option>
|
||||
<el-option :label="$t('test_track.plan.integration_testing')" value="integration"></el-option>
|
||||
<!--<el-option :label="$t('test_track.plan.functional_test')" value="functional"></el-option>-->
|
||||
<!--<el-option :label="$t('test_track.plan.integration_testing')" value="integration"></el-option>-->
|
||||
<el-option :label="$t('test_track.plan.system_test')" value="system"></el-option>
|
||||
<el-option :label="$t('test_track.plan.version_validation')" value="version"></el-option>
|
||||
<el-option :label="$t('test_track.plan.regression_test')" value="regression"></el-option>
|
||||
<!--<el-option :label="$t('test_track.plan.version_validation')" value="version"></el-option>-->
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
<span v-if="scope.row.stage == 'functional'">{{$t('test_track.plan.functional_test')}}</span>
|
||||
<span v-if="scope.row.stage == 'integration'">{{$t('test_track.plan.integration_testing')}}</span>
|
||||
<span v-if="scope.row.stage == 'system'">{{$t('test_track.plan.system_test')}}</span>
|
||||
<span v-if="scope.row.stage == 'regression'">{{$t('test_track.plan.regression_test')}}</span>
|
||||
<span v-if="scope.row.stage == 'version'">{{$t('test_track.plan.version_validation')}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -99,6 +100,13 @@
|
|||
tableData: [],
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route'(to, from) {
|
||||
if (to.path.indexOf("/track/plan/all") >= 0){
|
||||
this.initTableData();
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.projectId = this.$route.params.projectId;
|
||||
this.initTableData();
|
||||
|
|
|
@ -239,8 +239,9 @@ export default {
|
|||
plan_status: "Status",
|
||||
smoke_test: "Smoke test",
|
||||
functional_test: "Functional test",
|
||||
integration_testing: "Integration testing",
|
||||
integration_testing: "Integration test",
|
||||
system_test: "System test",
|
||||
regression_test: "Regression test",
|
||||
version_validation: "Version validation",
|
||||
plan_principal: "Principal",
|
||||
input_plan_name: "Please input plan name",
|
||||
|
|
|
@ -282,6 +282,7 @@ export default {
|
|||
plan_status: "当前状态",
|
||||
smoke_test: "冒烟测试",
|
||||
functional_test: "功能测试",
|
||||
regression_test: "回归测试",
|
||||
integration_testing: "集成测试",
|
||||
system_test: "系统测试",
|
||||
version_validation: "版本验证",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"lockfileVersion": 1
|
||||
}
|
Loading…
Reference in New Issue