fix(测试计划): 修改计划报告触发方式
This commit is contained in:
parent
27b9768f21
commit
c25f2bb8f9
|
@ -1001,6 +1001,8 @@ public class TestPlanService {
|
|||
performanceRequest.setTestPlanLoadId(caseID);
|
||||
if (StringUtils.equals(ReportTriggerMode.API.name(), triggerMode)) {
|
||||
performanceRequest.setTriggerMode(ReportTriggerMode.TEST_PLAN_API.name());
|
||||
} else if (StringUtils.equals(ReportTriggerMode.MANUAL.name(), triggerMode)) {
|
||||
performanceRequest.setTriggerMode(ReportTriggerMode.MANUAL.name());
|
||||
} else {
|
||||
performanceRequest.setTriggerMode(ReportTriggerMode.TEST_PLAN_SCHEDULE.name());
|
||||
}
|
||||
|
|
|
@ -499,6 +499,7 @@ export default {
|
|||
param.testPlanId = this.currentPlanId;
|
||||
param.projectId = getCurrentProjectID();
|
||||
param.userId = getCurrentUserId();
|
||||
param.triggerMode = 'MANUAL';
|
||||
this.result = this.$post('test/plan/run/', param,() => {
|
||||
this.$success(this.$t('commons.run_success'));
|
||||
}, () => {
|
||||
|
|
Loading…
Reference in New Issue