|
@@ -28,7 +28,7 @@
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>完成进度:</span>
|
|
|
- <b>{{ info.nowRunState }}</b>
|
|
|
+ <b>{{ info.nowRunStateName }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>结果等级:</span>
|
|
@@ -54,15 +54,24 @@
|
|
|
<div class="box panel">
|
|
|
<div class="titlePanel">
|
|
|
<div class="titlePanelBor">测试报告</div>
|
|
|
- <i class="el-icon-download download"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-download download"
|
|
|
+ v-bind:class="{ cursor: info.nowRunState === '30' }"
|
|
|
+ @click="toReport"
|
|
|
+ ></i>
|
|
|
</div>
|
|
|
<div class="boxContent boxContentC">
|
|
|
<div class="cbox" @click="toReport">
|
|
|
<img
|
|
|
- src="../../assets/common/image/others/1.png"
|
|
|
+ :src="downImgSrc"
|
|
|
width="100%"
|
|
|
+ v-bind:class="{ cursor: info.nowRunState === '30' }"
|
|
|
/>
|
|
|
- <div>仿真云测试报告</div>
|
|
|
+ <div
|
|
|
+ v-bind:class="{ cursor: info.nowRunState === '30' }"
|
|
|
+ >
|
|
|
+ 仿真云测试报告
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -109,10 +118,10 @@
|
|
|
<div class="box">
|
|
|
<div class="boxContentA">
|
|
|
<div class="chart">
|
|
|
- <pie-chart id="pieA"></pie-chart>
|
|
|
+ <pie-chart id="pieX"></pie-chart>
|
|
|
</div>
|
|
|
<div class="chart">
|
|
|
- <pie-chart id="pieC"></pie-chart>
|
|
|
+ <pie-chart id="pieZ"></pie-chart>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
@@ -216,6 +225,7 @@ export default {
|
|
|
name: "",
|
|
|
index: -1,
|
|
|
},
|
|
|
+ downImgSrc: require("@/assets/common/image/others/noDoc.png"),
|
|
|
};
|
|
|
},
|
|
|
|
|
@@ -226,10 +236,12 @@ export default {
|
|
|
this.$router.push({ path: "/taskInfo" });
|
|
|
},
|
|
|
toReport() {
|
|
|
- this.$router.push({
|
|
|
- path: "/evaluationReport",
|
|
|
- query: { id: this.id },
|
|
|
- });
|
|
|
+ if (this.info.nowRunState === "30") {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/evaluationReport",
|
|
|
+ query: { id: this.id },
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
curItem(item) {
|
|
|
this.curOne = item;
|
|
@@ -255,6 +267,11 @@ export default {
|
|
|
this.configList.ogt = res.info.sensorOgtList || [];
|
|
|
this.configList.lidar = res.info.sensorLidarList || [];
|
|
|
this.configList.gps = res.info.sensorGpsList || [];
|
|
|
+ if (this.info.nowRunState === "30") {
|
|
|
+ this.downImgSrc = require("@/assets/common/image/others/hasDoc.png");
|
|
|
+ } else {
|
|
|
+ this.downImgSrc = require("@/assets/common/image/others/noDoc.png");
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$message.error(res.message || "获取信息失败");
|
|
|
}
|
|
@@ -299,7 +316,7 @@ export default {
|
|
|
right: 0;
|
|
|
color: @themeColor;
|
|
|
font-size: 18px;
|
|
|
- cursor: pointer;
|
|
|
+ // cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -332,7 +349,7 @@ export default {
|
|
|
.cbox {
|
|
|
text-align: center;
|
|
|
color: @themeColor;
|
|
|
- cursor: pointer;
|
|
|
+ // cursor: pointer;
|
|
|
|
|
|
> div {
|
|
|
margin-top: 18px;
|