refactor(测试跟踪): 去掉前端不用的组件

This commit is contained in:
CaptainB 2022-04-12 20:46:47 +08:00 committed by fit2-zhao
parent a793d72e4e
commit ff9427d4c5
2 changed files with 3 additions and 9 deletions

View File

@ -28,19 +28,12 @@
</template> </template>
<script> <script>
import MsTable from "@/business/components/common/components/table/MsTable";
import MsTableColumn from "@/business/components/common/components/table/MsTableColumn";
import MsTableSearchBar from "@/business/components/common/components/MsTableSearchBar";
import RelationshipFunctionalRelevance
from "@/business/components/track/case/components/RelationshipFunctionalRelevance";
import {deleteRelationshipEdge} from "@/network/relationship-edge"; import {deleteRelationshipEdge} from "@/network/relationship-edge";
import TestCaseRelationshipList from "@/business/components/track/case/components/TestCaseRelationshipList"; import TestCaseRelationshipList from "@/business/components/track/case/components/TestCaseRelationshipList";
import ApiRelationshipList from "@/business/components/api/definition/components/complete/ApiRelationshipList"; import ApiRelationshipList from "@/business/components/api/definition/components/complete/ApiRelationshipList";
export default { export default {
name: "RelationshipList", name: "RelationshipList",
components: { components: {ApiRelationshipList, TestCaseRelationshipList},
ApiRelationshipList,
TestCaseRelationshipList, RelationshipFunctionalRelevance, MsTableSearchBar, MsTableColumn, MsTable},
data() { data() {
return { return {
result: {}, result: {},

View File

@ -29,7 +29,7 @@
:condition="page.condition" :condition="page.condition"
:total="page.total" :total="page.total"
:page-size.sync="page.pageSize" :page-size.sync="page.pageSize"
:screen-height="null" :screen-height="screenHeight"
@handlePageChange="getTestCases" @handlePageChange="getTestCases"
@selectCountChange="setSelectCounts" @selectCountChange="setSelectCounts"
@refresh="getTestCases" @refresh="getTestCases"
@ -155,6 +155,7 @@ export default {
projectName: '', projectName: '',
projects: [], projects: [],
customNum: false, customNum: false,
screenHeight: '400',
priorityFilters: [ priorityFilters: [
{text: 'P0', value: 'P0'}, {text: 'P0', value: 'P0'},
{text: 'P1', value: 'P1'}, {text: 'P1', value: 'P1'},