@@ -57,17 +47,18 @@ import {Message} from "element-ui"; import {TokenKey} from "../../../common/js/constants"; import MsTablePagination from "../common/pagination/TablePagination"; + import MsTableHeader from "../common/components/MsTableHeader"; export default { name: "MsProject", - components: {MsCreateBox, MsTablePagination}, + components: {MsCreateBox, MsTablePagination, MsTableHeader}, data() { return { createVisible: false, result: {}, btnTips: this.$t('project.create'), title: this.$t('project.create'), - condition: "", + condition: {}, items: [], form: {}, currentPage: 1, @@ -166,7 +157,7 @@ }, list() { let url = "/project/list/" + this.currentPage + '/' + this.pageSize; - this.result = this.$post(url, {name: this.condition}, (response) => { + this.result = this.$post(url, this.condition, (response) => { let data = response.data; this.items = data.listObject; this.total = data.itemCount; diff --git a/frontend/src/business/components/track/plan/components/TestPlanTestCaseList.vue b/frontend/src/business/components/track/plan/components/TestPlanTestCaseList.vue index da1e59f7b8..82235c4868 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanTestCaseList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanTestCaseList.vue @@ -1,43 +1,23 @@