refactor: 修改变量命名

This commit is contained in:
shiziyuan9527 2020-07-24 17:47:18 +08:00
parent 4ba5a57bde
commit 0ca3455122
2 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@
<ms-table-pagination :change="initTableData" :current-page.sync="currentPage" :page-size.sync="pageSize"
:total="total"/>
<test-report-template-list @openReport="openReport" ref="testReporTtemplateList"/>
<test-report-template-list @openReport="openReport" ref="testReportTemplateList"/>
<test-case-report-view @refresh="initTableData" ref="testCaseReportView"/>
<ms-delete-confirm :title="$t('test_track.plan.plan_delete')" @delete="_handleDelete" ref="deleteConfirm"/>
@ -225,7 +225,7 @@
this.initTableData();
},
openTestReportTemplate(data) {
this.$refs.testReporTtemplateList.open(data.id);
this.$refs.testReportTemplateList.open(data.id);
},
openReport(planId, reportId) {
if (reportId) {

View File

@ -161,7 +161,7 @@
:is-read-only="isReadOnly"
@refreshTable="search"/>
<test-report-template-list @openReport="openReport" ref="testReporTtemplateList"/>
<test-report-template-list @openReport="openReport" ref="testReportTemplateList"/>
<test-case-report-view @refresh="initTableData" ref="testCaseReportView"/>
</el-card>
@ -391,7 +391,7 @@
this.initTableData();
},
openTestReport() {
this.$refs.testReporTtemplateList.open(this.planId);
this.$refs.testReportTemplateList.open(this.planId);
},
statusChange(param) {
this.$post('/test/plan/case/edit', param, () => {