mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 21:19:52 +08:00
fix(测试跟踪): 报告统计和计划列表-操作查看报告-运行环境明细前空白太多
--bug=1029194 --user=白奇 【测试跟踪】报告统计和计划列表-操作查看报告-运行环境明细前空白太多 https://www.tapd.cn/55049933/s/1408510
This commit is contained in:
parent
4750a60b78
commit
85e91236dd
@ -23,7 +23,11 @@
|
||||
</el-row>
|
||||
<el-row
|
||||
class="select-time"
|
||||
v-if="report.envGroupName || (report.projectEnvMap && JSON.stringify(report.projectEnvMap) !== '{}')"
|
||||
v-if="
|
||||
report.envGroupName ||
|
||||
(report.projectEnvMap &&
|
||||
JSON.stringify(report.projectEnvMap) !== '{}')
|
||||
"
|
||||
style="display: inline-block"
|
||||
>
|
||||
<div>
|
||||
@ -31,14 +35,14 @@
|
||||
{{ $t("commons.environment") + ":" }}
|
||||
</div>
|
||||
<div style="float: right">
|
||||
<div v-if="report.envGroupName" style="margin-left: 42px">
|
||||
<div v-if="report.envGroupName" style="margin-left: 12px">
|
||||
<ms-tag
|
||||
type="danger"
|
||||
:content="$t('workspace.env_group.name')"
|
||||
></ms-tag>
|
||||
{{ report.envGroupName }}
|
||||
</div>
|
||||
<div v-else-if="report.projectEnvMap" style="margin-left: 42px">
|
||||
<div v-else-if="report.projectEnvMap" style="margin-left: 12px">
|
||||
<div
|
||||
v-for="(values, key) in report.projectEnvMap"
|
||||
:key="key"
|
||||
@ -60,12 +64,9 @@
|
||||
<el-row justify="space-between" class="select-time" v-else>
|
||||
<el-col :span="8">
|
||||
<el-form-item :label="$t('commons.environment') + ':'">
|
||||
{{ $t('test_track.report.case_env') }}
|
||||
{{ $t("test_track.report.case_env") }}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8"></el-col>
|
||||
<el-col :span="8"></el-col>
|
||||
|
||||
</el-row>
|
||||
<el-row type="flex" justify="space-between" class="select-time">
|
||||
<el-col :span="8">
|
||||
@ -108,7 +109,7 @@ import MsFormDivider from "metersphere-frontend/src/components/MsFormDivider";
|
||||
import TestPlanReportContainer from "@/business/plan/view/comonents/report/detail/TestPlanReportContainer";
|
||||
import MsInstructionsIcon from "metersphere-frontend/src/components/MsInstructionsIcon";
|
||||
import MsTag from "metersphere-frontend/src/components/MsTag";
|
||||
import {datetimeFormat} from "fit2cloud-ui/src/filters/time";
|
||||
import { datetimeFormat } from "fit2cloud-ui/src/filters/time";
|
||||
|
||||
export default {
|
||||
name: "TestPlanOverviewReport",
|
||||
|
Loading…
Reference in New Issue
Block a user