fix(测试跟踪): 测试用例列表高级搜索去掉执行人

--bug=1007601 --user=lyh
【github#7084】测试用例界面高级搜索,选择筛选条件,创建人实际筛选的是责任人,执行人没有筛选结果
https://www.tapd.cn/55049933/s/1062902
This commit is contained in:
shiziyuan9527 2021-11-02 10:33:56 +08:00 committed by 刘瑞斌
parent 03744e5bb7
commit bb1015a671
2 changed files with 7 additions and 4 deletions

View File

@ -486,7 +486,7 @@ export const PROJECT_CONFIGS = [NAME, UPDATE_TIME, CREATE_TIME, CREATOR];
export const REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, STATUS, CREATOR, TRIGGER_MODE];
export const TEST_CASE_CONFIGS = [NAME, API_TAGS, MODULE, PRIORITY, CREATE_TIME, UPDATE_TIME, CREATOR, EXECUTOR, CASE_REVIEW_STATUS];
export const TEST_CASE_CONFIGS = [NAME, API_TAGS, MODULE, PRIORITY, CREATE_TIME, UPDATE_TIME, CREATOR, CASE_REVIEW_STATUS];
export const TEST_PLAN_CONFIGS = [NAME, UPDATE_TIME, CREATE_TIME, PRINCIPAL, TEST_PLAN_STATUS, STAGE];
@ -498,6 +498,9 @@ export const API_SCENARIO_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, API_SCEN
export const TEST_PLAN_REPORT_CONFIGS = [NAME, TEST_PLAN_NAME,CREATOR, CREATE_TIME, TEST_PLAN_TRIGGER_MODE, TEST_PLAN_STATUS];
// 测试计划 功能用例
export const TEST_PLAN_TEST_CASE_CONFIGS = [NAME, API_TAGS, MODULE, PRIORITY, CREATE_TIME, UPDATE_TIME, CREATOR, EXECUTOR, CASE_REVIEW_STATUS];
// 测试计划关联页面
export const TEST_PLAN_RELEVANCE_FUNC_CONFIGS = [NAME, API_TAGS, CREATE_TIME, UPDATE_TIME, CREATOR];
export const TEST_PLAN_RELEVANCE_API_DEFINITION_CONFIGS = [NAME, API_METHOD, API_PATH, API_TAGS, UPDATE_TIME, CREATE_TIME, CREATOR];

View File

@ -265,7 +265,7 @@ import TypeTableItem from "../../../../common/tableItems/planview/TypeTableItem"
import MethodTableItem from "../../../../common/tableItems/planview/MethodTableItem";
import MsTableOperator from "../../../../../common/components/MsTableOperator";
import MsTableOperatorButton from "../../../../../common/components/MsTableOperatorButton";
import {TEST_CASE_CONFIGS} from "../../../../../common/components/search/search-components";
import {TEST_PLAN_TEST_CASE_CONFIGS} from "../../../../../common/components/search/search-components";
import BatchEdit from "../../../../case/components/BatchEdit";
import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
import {hub} from "@/business/components/track/plan/event-bus";
@ -308,7 +308,7 @@ export default {
result: {},
deletePath: "/test/case/delete",
condition: {
components: TEST_CASE_CONFIGS
components: TEST_PLAN_TEST_CASE_CONFIGS
},
enableOrderDrag: true,
showMyTestCase: false,
@ -508,7 +508,7 @@ export default {
this.$refs.testPlanTestCaseEdit.openTestCaseEdit(row);
},
refresh() {
this.condition = {components: TEST_CASE_CONFIGS};
this.condition = {components: TEST_PLAN_TEST_CASE_CONFIGS};
this.$refs.table.clear();
this.$emit('refresh');
},