fix(接口测试): 修复CASE集成报告重命名不生效问题

--bug=1014449 --user=赵勇 【接口测试】测试报告用例集合case,修改测试用例报告名称,修改后名称未改变 https://www.tapd.cn/55049933/s/1192069
This commit is contained in:
fit2-zhao 2022-06-29 17:46:10 +08:00 committed by f2c-ci-robot[bot]
parent 245b36a228
commit ce1769545a
2 changed files with 2 additions and 2 deletions

View File

@ -959,7 +959,7 @@ public class ApiScenarioReportService {
}
public void reName(ApiScenarioReport reportRequest) {
if (StringUtils.equalsIgnoreCase(reportRequest.getReportType(), ReportTypeConstants.API_INDEPENDENT.name())) {
if (StringUtils.equalsAnyIgnoreCase(reportRequest.getReportType(), ReportTypeConstants.API_INDEPENDENT.name(), ReportTypeConstants.API_INTEGRATED.name())) {
ApiDefinitionExecResultWithBLOBs result = definitionExecResultMapper.selectByPrimaryKey(reportRequest.getId());
if (result != null) {
result.setName(reportRequest.getName());

View File

@ -223,7 +223,7 @@ export default {
selectAll: false,
unSelection: [],
selectDataCounts: 0,
screenHeight: 'calc(100vh - 200px)',
screenHeight: 'calc(100vh - 160px)',
trashActiveDom:'left'
}
},