fix(测试跟踪): 测试计划-接口测试用例-场景用例-批量执行-选择保存-任务显示执行任务

--user=郭雨琦
--bug=1012750
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001012750
This commit is contained in:
guoyuqi 2022-04-26 19:17:07 +08:00 committed by xiaomeinvG
parent 7e38ba9595
commit 867b4543e8
2 changed files with 13 additions and 3 deletions

View File

@ -83,7 +83,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="run">{{$t('load_test.save_and_run')}}</el-dropdown-item>
<el-dropdown-item command="save">{{$t('commons.save')}}</el-dropdown-item>
<el-dropdown-item command="save" v-if="showSave">{{$t('commons.save')}}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -128,7 +128,17 @@ export default {
value: 'confirmAndRun'
};
},
props: ['planCaseIds', 'type', 'planId'],
props: {
planCaseIds: {
type: Array,
},
type: String,
planId: String,
showSave: {
type: Boolean,
default: false
},
},
methods: {
open(testType) {
this.runModeVisible = true;

View File

@ -307,7 +307,7 @@
:type="'plan'"/>
<ms-test-plan-schedule-batch-switch ref="scheduleBatchSwitch" @refresh="refresh"/>
<plan-run-mode-with-env @handleRunBatch="_handleRun" ref="runMode" :plan-case-ids="[]" :type="'plan'"
:plan-id="currentPlanId"/>
:plan-id="currentPlanId" :show_save="true"/>
<test-plan-report-review ref="testCaseReportView"/>
<ms-task-center ref="taskCenter" :show-menu="false"/>
<el-dialog