fix(接口测试): 优化文字大小

--bug=1037902 --user=王孝刚 【接口测试】提取-xpath-设置,两个标题字体不一样
https://www.tapd.cn/55049933/s/1501755
This commit is contained in:
wxg0103 2024-04-19 10:49:30 +08:00 committed by Craftsman
parent 6902b785e6
commit 067d1af357
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ public interface ExtApiScenarioReportMapper {
void updateApiScenario(List<String> ids); void updateApiScenario(List<String> ids);
List<ApiScenarioReportStepDTO> selectStepDeatilByReportId(String id); List<ApiScenarioReportStepDTO> selectStepDetailByReportId(String id);
List<ApiReportMessageDTO> getNoticeList(@Param("ids") List<String> ids); List<ApiReportMessageDTO> getNoticeList(@Param("ids") List<String> ids);

View File

@ -224,7 +224,7 @@
where api_scenario_record.api_scenario_report_id = #{id} where api_scenario_record.api_scenario_report_id = #{id}
</select> </select>
<select id="selectStepDeatilByReportId" <select id="selectStepDetailByReportId"
resultType="io.metersphere.api.dto.scenario.ApiScenarioReportStepDTO"> resultType="io.metersphere.api.dto.scenario.ApiScenarioReportStepDTO">
select api_scenario_report_detail.step_id, select api_scenario_report_detail.step_id,
api_scenario_report_detail.report_id, api_scenario_report_detail.report_id,

View File

@ -190,7 +190,7 @@ public class ApiScenarioReportService {
//需要查询出所有的步骤 //需要查询出所有的步骤
List<ApiScenarioReportStepDTO> scenarioReportSteps = extApiScenarioReportMapper.selectStepByReportId(id); List<ApiScenarioReportStepDTO> scenarioReportSteps = extApiScenarioReportMapper.selectStepByReportId(id);
//查询所有步骤的detail //查询所有步骤的detail
List<ApiScenarioReportStepDTO> deatilList = extApiScenarioReportMapper.selectStepDeatilByReportId(id); List<ApiScenarioReportStepDTO> deatilList = extApiScenarioReportMapper.selectStepDetailByReportId(id);
//根据stepId进行分组 //根据stepId进行分组
Map<String, List<ApiScenarioReportStepDTO>> detailMap = deatilList.stream().collect(Collectors.groupingBy(ApiScenarioReportStepDTO::getStepId)); Map<String, List<ApiScenarioReportStepDTO>> detailMap = deatilList.stream().collect(Collectors.groupingBy(ApiScenarioReportStepDTO::getStepId));
//只处理请求的 //只处理请求的

View File

@ -88,7 +88,7 @@
</div> </div>
</div> </div>
<div v-if="expressionForm.extractType === RequestExtractExpressionEnum.X_PATH" class="mb-[16px]"> <div v-if="expressionForm.extractType === RequestExtractExpressionEnum.X_PATH" class="mb-[16px]">
<div class="mb-[8px] text-[var(--color-text-1)]"> <div class="mb-[8px] text-[14px] text-[var(--color-text-1)]">
{{ t('apiTestDebug.contentType') }} {{ t('apiTestDebug.contentType') }}
</div> </div>
<a-radio-group v-model:model-value="expressionForm.responseFormat" size="small"> <a-radio-group v-model:model-value="expressionForm.responseFormat" size="small">