- {{$t('test_track.case.test_case')}}
+
+
+
+ icon="el-icon-files" @click="searchMyTestCase"/>
+
{{$t('test_track.plan_view.change_executor')}}
-
+
-
-
+
+
@@ -168,11 +162,15 @@
import TestPlanTestCaseEdit from "../components/TestPlanTestCaseEdit";
import MsTipButton from '../../../../components/common/components/MsTipButton';
import MsTablePagination from '../../../../components/common/pagination/TablePagination';
+ import MsTableSearchBar from '../../../../components/common/components/MsTableSearchBar';
+ import NodeBreadcrumb from '../../common/NodeBreadcrumb';
+
import {TokenKey} from '../../../../../common/js/constants';
export default {
name: "TestPlanTestCaseList",
- components: {PlanNodeTree, StatusEdit, ExecutorEdit, MsTipButton, MsTablePagination, TestPlanTestCaseEdit},
+ components: {PlanNodeTree, StatusEdit, ExecutorEdit, MsTipButton, MsTablePagination,
+ TestPlanTestCaseEdit, MsTableSearchBar, NodeBreadcrumb},
data() {
return {
result: {},
@@ -192,6 +190,9 @@
},
selectNodeIds: {
type: Array
+ },
+ selectNodeNames: {
+ type: Array
}
},
watch: {
@@ -199,7 +200,7 @@
this.initTableData();
},
selectNodeIds() {
- this.refresh();
+ this.search();
}
},
created: function () {
@@ -219,7 +220,7 @@
},
refresh() {
this.condition = {};
- this.initTableData();
+ this.$emit('refresh');
},
search() {
this.initTableData();
@@ -303,4 +304,8 @@
}
+ .el-breadcrumb {
+ display: inline-block;
+ }
+
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index 3f87a3a0ae6c1cb72fa98e0a997b924794432825..212164cb58090d9df6f8771795014ff1807e9374 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -46,7 +46,8 @@ export default {
'refresh': 'Refresh',
'remark': 'Remark',
'delete': 'Delete',
- 'not_filled': 'Not filled'
+ 'not_filled': 'Not filled',
+ 'search_by_name': 'Search by name',
},
workspace: {
'create': 'Create Workspace',
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index 676ee5ac7a20df0d3e550f95c41541b1c9cfe7c5..728f065e6586e3760b0e09ada508f0fc0ebd72f0 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -48,6 +48,7 @@ export default {
'delete': '删除',
'not_filled': '未填写',
'please_select': '请选择',
+ 'search_by_name': '根据名称搜索',
},
workspace: {
'create': '创建工作空间',