diff --git a/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue b/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue index 48e89f9d3a..70c0fb001c 100644 --- a/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue +++ b/frontend/src/business/components/settings/workspace/template/CustomFieldFormList.vue @@ -122,6 +122,7 @@ export default { this.tableData.splice(index, 1); }, refreshTable() { + this.$refs.table.reloadTable(); }, appendData(customFieldIds) { let condition = {}; @@ -148,7 +149,4 @@ export default { diff --git a/frontend/src/business/components/settings/workspace/template/CustomFieldList.vue b/frontend/src/business/components/settings/workspace/template/CustomFieldList.vue index f22d631d40..3d3da3a2b4 100644 --- a/frontend/src/business/components/settings/workspace/template/CustomFieldList.vue +++ b/frontend/src/business/components/settings/workspace/template/CustomFieldList.vue @@ -18,7 +18,8 @@ field-key="CUSTOM_FIELD" :screen-height="tableHeight" @handlePageChange="getCustomFields" - @refresh="getCustomFields"> + @refresh="getCustomFields" + ref="table">
@@ -200,6 +201,7 @@ export default { let data = response.data; this.total = data.itemCount; this.tableData = data.listObject; + this.$refs.table.reloadTable(); }); }, handleEdit(data) { @@ -232,7 +234,4 @@ export default { diff --git a/frontend/src/business/components/settings/workspace/template/CustomFieldRelateList.vue b/frontend/src/business/components/settings/workspace/template/CustomFieldRelateList.vue index b7ab7c9dd3..687146fbf6 100644 --- a/frontend/src/business/components/settings/workspace/template/CustomFieldRelateList.vue +++ b/frontend/src/business/components/settings/workspace/template/CustomFieldRelateList.vue @@ -159,6 +159,7 @@ export default { let data = response.data; this.total = data.itemCount; this.tableData = data.listObject; + this.$refs.table.reloadTable(); }); } }, diff --git a/frontend/src/business/components/settings/workspace/template/FieldTemplateEdit.vue b/frontend/src/business/components/settings/workspace/template/FieldTemplateEdit.vue index 9b9a4431dd..db3f9281af 100644 --- a/frontend/src/business/components/settings/workspace/template/FieldTemplateEdit.vue +++ b/frontend/src/business/components/settings/workspace/template/FieldTemplateEdit.vue @@ -199,6 +199,7 @@ export default { } this.templateContainIds.add(item.fieldId); }); + this.$refs.customFieldFormList.refreshTable(); }); } else { this.appendDefaultFiled(); diff --git a/frontend/src/business/components/settings/workspace/template/IssuesTemplateList.vue b/frontend/src/business/components/settings/workspace/template/IssuesTemplateList.vue index b80fe18aa2..7b10660715 100644 --- a/frontend/src/business/components/settings/workspace/template/IssuesTemplateList.vue +++ b/frontend/src/business/components/settings/workspace/template/IssuesTemplateList.vue @@ -17,7 +17,8 @@ :screen-height="tableHeight" :enable-selection="false" @handlePageChange="initTableData" - @refresh="initTableData"> + @refresh="initTableData" + ref="table"> diff --git a/frontend/src/business/components/settings/workspace/template/TestCaseTemplateList.vue b/frontend/src/business/components/settings/workspace/template/TestCaseTemplateList.vue index bcd1dee187..e6f0469c22 100644 --- a/frontend/src/business/components/settings/workspace/template/TestCaseTemplateList.vue +++ b/frontend/src/business/components/settings/workspace/template/TestCaseTemplateList.vue @@ -16,7 +16,8 @@ :screen-height="tableHeight" :enable-selection="false" @handlePageChange="initTableData" - @refresh="initTableData"> + @refresh="initTableData" + ref="table"> diff --git a/frontend/src/business/components/track/issue/IssueEditDetail.vue b/frontend/src/business/components/track/issue/IssueEditDetail.vue index 193da33394..be4796b50d 100644 --- a/frontend/src/business/components/track/issue/IssueEditDetail.vue +++ b/frontend/src/business/components/track/issue/IssueEditDetail.vue @@ -24,7 +24,7 @@ - + - + - + { this.testCaseContainIds.add(item.id); }); + this.$refs.table.reloadTable(); }); } },