fix(测试跟踪): 用例评审用例名称没有显示的问题

--bug=1013024 --user=李玉号 【测试跟踪】github#13324  用例评审页面,一直点向下图标 或者
下一条用例图标,从第9条用例,到第10条,第11条,中间会出现用例名称没有被显示的问题
https://www.tapd.cn/55049933/s/1154098

Closes #13324
This commit is contained in:
shiziyuan9527 2022-05-07 15:19:51 +08:00 committed by shiziyuan9527
parent 84a9a30c6b
commit 348d743119
2 changed files with 7 additions and 16 deletions

View File

@ -46,22 +46,9 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" :offset="1">
<!-- <el-form-item :label="$t('test_track.review.review_follow_people')" :label-width="formLabelWidth"
prop="followIds">
<el-select v-model="form.followIds"
clearable multiple
:placeholder="$t('test_track.review.review_follow_people')" filterable size="small">
<el-option
v-for="item in reviewerOptions"
:key="item.id"
:label="item.name"
:value="item.id">
</el-option>
</el-select>
</el-form-item>-->
</el-col>
<el-col :span="12">
</el-col>
<el-col :span="12" :offset="1">
<el-form-item :label="$t('test_track.review.end_time')" :label-width="formLabelWidth" prop="endTime">
<el-date-picker @change="endTimeChange" type="datetime" :placeholder="$t('commons.select_date')"
v-model="form.endTime" style="width: 100%"/>
@ -142,7 +129,6 @@ export default {
{required: true, message: this.$t('test_track.review.input_review_name'), trigger: 'blur'},
{max: 30, message: this.$t('test_track.length_less_than') + '30', trigger: 'blur'}
],
// projectIds: [{required: true, message: this.$t('test_track.plan.input_plan_project'), trigger: 'change'}],
userIds: [{required: true, message: this.$t('test_track.review.input_reviewer'), trigger: 'change'}],
stage: [{required: true, message: this.$t('test_track.plan.input_plan_stage'), trigger: 'change'}],
description: [{max: 200, message: this.$t('test_track.length_less_than') + '200', trigger: 'blur'}],

View File

@ -383,10 +383,15 @@ export default {
this.result = getTestReviewTestCase(this.currentPage, this.pageSize, this.condition, (data) => {
this.total = data.itemCount;
this.tableData = data.listObject;
this.getPreData();
if (callback && typeof callback === "function") {
callback();
}
setTimeout(() => {
this.$refs.table.reloadTable()
}, 200);
});
this.getNexPageData();
}
},
getNexPageData() {