refactor: 调整菜单位置
This commit is contained in:
parent
7f4182f923
commit
2b77eb721d
|
@ -1126,7 +1126,12 @@ public class ApiTestCaseService {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
// "environmentId"
|
// "environmentId"
|
||||||
|
try {
|
||||||
environmentId = environmentId.substring(1, environmentId.length() - 1);
|
environmentId = environmentId.substring(1, environmentId.length() - 1);
|
||||||
return apiTestEnvironmentMapper.selectByPrimaryKey(environmentId);
|
return apiTestEnvironmentMapper.selectByPrimaryKey(environmentId);
|
||||||
|
} catch (Exception e) {
|
||||||
|
LogUtil.error("api case environmentId incorrect parsing. api case id: " + caseId);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,4 +64,6 @@ public interface ExtApiTestCaseMapper {
|
||||||
* @return ApiEnvironment
|
* @return ApiEnvironment
|
||||||
*/
|
*/
|
||||||
String getApiCaseEnvironment(@Param("caseId") String caseId);
|
String getApiCaseEnvironment(@Param("caseId") String caseId);
|
||||||
|
|
||||||
|
int moduleCount(@Param("request")ApiTestCaseRequest request);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,13 @@
|
||||||
popper-class="submenu">
|
popper-class="submenu">
|
||||||
{{ $t('project.file_manage') }}
|
{{ $t('project.file_manage') }}
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
<el-menu-item :index="'/project/log'" popper-class="submenu" v-permission="['PROJECT_OPERATING_LOG:READ']">
|
|
||||||
{{ $t('project.log') }}
|
|
||||||
</el-menu-item>
|
|
||||||
<el-menu-item :index="'/project/code/segment'" popper-class="submenu"
|
<el-menu-item :index="'/project/code/segment'" popper-class="submenu"
|
||||||
v-permission="['PROJECT_CUSTOM_CODE:READ']">
|
v-permission="['PROJECT_CUSTOM_CODE:READ']">
|
||||||
{{ $t('project.code_segment.code_segment') }}
|
{{ $t('project.code_segment.code_segment') }}
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
<el-menu-item :index="'/project/log'" popper-class="submenu" v-permission="['PROJECT_OPERATING_LOG:READ']">
|
||||||
|
{{ $t('project.log') }}
|
||||||
|
</el-menu-item>
|
||||||
<el-menu-item popper-class="submenu" @click="clickPlanMenu" class="hidden-sm-and-down">
|
<el-menu-item popper-class="submenu" @click="clickPlanMenu" class="hidden-sm-and-down">
|
||||||
{{ $t('project.version_manage') }}
|
{{ $t('project.version_manage') }}
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
|
|
@ -71,17 +71,6 @@
|
||||||
<span class="desc">{{ $t('project.file_desc') }}</span>
|
<span class="desc">{{ $t('project.file_desc') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="div-item">
|
|
||||||
<div style="float: left">
|
|
||||||
<i class="el-icon-s-flag icon-color"
|
|
||||||
@click="click('/project/log', ['PROJECT_OPERATING_LOG:READ'])"></i>
|
|
||||||
</div>
|
|
||||||
<div style="float: left">
|
|
||||||
<span class="title" @click="click('/project/log', ['PROJECT_OPERATING_LOG:READ'])">
|
|
||||||
{{ $t('project.log') }}</span><br/>
|
|
||||||
<span class="desc">{{ $t('project.log_desc') }}</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="div-item">
|
<div class="div-item">
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
<i class="el-icon-document icon-color"
|
<i class="el-icon-document icon-color"
|
||||||
|
@ -94,6 +83,17 @@
|
||||||
<span class="desc">{{ $t('project.code_segment_desc') }}</span>
|
<span class="desc">{{ $t('project.code_segment_desc') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="div-item">
|
||||||
|
<div style="float: left">
|
||||||
|
<i class="el-icon-s-flag icon-color"
|
||||||
|
@click="click('/project/log', ['PROJECT_OPERATING_LOG:READ'])"></i>
|
||||||
|
</div>
|
||||||
|
<div style="float: left">
|
||||||
|
<span class="title" @click="click('/project/log', ['PROJECT_OPERATING_LOG:READ'])">
|
||||||
|
{{ $t('project.log') }}</span><br/>
|
||||||
|
<span class="desc">{{ $t('project.log_desc') }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
Loading…
Reference in New Issue