fix: 修复关联用例页面筛选失败的问题

This commit is contained in:
shiziyuan9527 2020-09-21 11:37:07 +08:00
parent eaccf1bd50
commit 38ef329ba0
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
<ms-table-button :is-tester-permission="true" v-if="!showMyCreator" icon="el-icon-view"
content="我创建的评审" @click="searchMyCreator"/>
<ms-table-button :is-tester-permission="true" v-if="showMyCreator" icon="el-icon-view"
content="我待审核的评审" @click="searchMyCreator"/>
content="待我评审" @click="searchMyCreator"/>
</div>
</template>

View File

@ -154,6 +154,7 @@
},
methods: {
openTestCaseRelevanceDialog() {
this.getProject();
this.initData();
this.dialogFormVisible = true;
},
@ -219,7 +220,6 @@
initData() {
this.getCaseNames();
this.getAllNodeTreeByPlanId();
this.getProject();
},
refresh() {
this.close();

View File

@ -154,6 +154,7 @@ export default {
},
methods: {
openTestReviewRelevanceDialog() {
this.getProject();
this.initData();
this.dialogFormVisible = true;
},
@ -217,7 +218,6 @@ export default {
initData() {
this.getReviews();
this.getAllNodeTreeByPlanId();
this.getProject();
},
refresh() {
this.close();
@ -225,7 +225,7 @@ export default {
getAllNodeTreeByPlanId() {
if (this.reviewId) {
let param = {
testPlanId: this.reviewId,
reviewId: this.reviewId,
projectId: this.projectId
};
this.result = this.$post("/case/node/list/all/review", param , response => {