|
@@ -8,33 +8,31 @@
|
|
|
<div class="boxContent">
|
|
|
<div class="info">
|
|
|
<span>项目ID:</span>
|
|
|
- <b>6546857987654324687</b>
|
|
|
+ <b>{{ info.projectId }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>项目名称:</span>
|
|
|
- <b>仿真云平台系统</b>
|
|
|
+ <b>{{ info.projectName }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>项目描述:</span>
|
|
|
- <b
|
|
|
- >仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统</b
|
|
|
- >
|
|
|
+ <b>{{ info.projectDescribe }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>创建时间:</span>
|
|
|
- <b>2022-01-01</b>
|
|
|
+ <b>{{ info.startTime }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>完成时间:</span>
|
|
|
- <b>2022-08-01</b>
|
|
|
+ <b>{{ info.finishTime }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>完成进度:</span>
|
|
|
- <b>81%</b>
|
|
|
+ <b>{{ info.nowRunState }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>结果等级:</span>
|
|
|
- <b>优秀</b>
|
|
|
+ <b>{{ info.evaluationLevel }}</b>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -45,13 +43,11 @@
|
|
|
<div class="boxContent">
|
|
|
<div class="info">
|
|
|
<span>算法名称:</span>
|
|
|
- <b>6546857987654324687</b>
|
|
|
+ <b>{{ info.algorithmName }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>算法描述:</span>
|
|
|
- <b
|
|
|
- >仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统</b
|
|
|
- >
|
|
|
+ <b>{{ info.algorithmDescribe }}</b>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -63,8 +59,8 @@
|
|
|
<div class="boxContent boxContentC">
|
|
|
<div class="cbox" @click="toReport">
|
|
|
<img
|
|
|
- src="../../assets/common/image/car.png"
|
|
|
- width="300px"
|
|
|
+ src="../../assets/common/image/others/1.png"
|
|
|
+ width="100%"
|
|
|
/>
|
|
|
<div>仿真云测试报告</div>
|
|
|
</div>
|
|
@@ -80,29 +76,26 @@
|
|
|
<div class="boxContentA">
|
|
|
<div class="info">
|
|
|
<span>车辆名称:</span>
|
|
|
- <b>6546857987654324687</b>
|
|
|
+ <b>{{ info.vehicleName }}</b>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<span>车辆描述:</span>
|
|
|
- <b
|
|
|
- >仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统仿真云平台系统</b
|
|
|
- >
|
|
|
+ <b>{{ info.vehicleDescribe }}</b>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="boxContentB">
|
|
|
<div class="list">
|
|
|
<handle-config-list
|
|
|
- v-for="index in 4"
|
|
|
- :isActiveA="index === 1"
|
|
|
- :titleCode="index - 1"
|
|
|
- :key="index"
|
|
|
:showBtns="false"
|
|
|
+ :curOne="curOne"
|
|
|
+ :configList="configList"
|
|
|
+ @curItem="curItem"
|
|
|
></handle-config-list>
|
|
|
</div>
|
|
|
<div>
|
|
|
<img
|
|
|
- src="../../assets/common/image/car.png"
|
|
|
- width="300px"
|
|
|
+ src="../../assets/common/image/others/2.png"
|
|
|
+ width="100%"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -115,17 +108,11 @@
|
|
|
</div>
|
|
|
<div class="box">
|
|
|
<div class="boxContentA">
|
|
|
- <div>
|
|
|
- <img
|
|
|
- src="../../assets/common/image/car.png"
|
|
|
- width="300px"
|
|
|
- />
|
|
|
+ <div class="pie">
|
|
|
+ <pie-chart key="1"></pie-chart>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <img
|
|
|
- src="../../assets/common/image/car.png"
|
|
|
- width="300px"
|
|
|
- />
|
|
|
+ <div class="pie">
|
|
|
+ <pie-chart key="2"></pie-chart>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
@@ -159,12 +146,15 @@
|
|
|
<script>
|
|
|
import handleConfigList from "../modelLibrary/components/handleConfigList.vue";
|
|
|
import tableList from "@/components/grid/TableList";
|
|
|
+import pieChart from "@/components/echarts/pieChart";
|
|
|
|
|
|
export default {
|
|
|
name: "projectInfo", // 项目详情
|
|
|
- components: { handleConfigList, tableList },
|
|
|
+ components: { handleConfigList, tableList, pieChart },
|
|
|
data() {
|
|
|
return {
|
|
|
+ id: "",
|
|
|
+ info: {},
|
|
|
columns: [
|
|
|
{
|
|
|
label: "ID",
|
|
@@ -172,23 +162,23 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "场景名称",
|
|
|
- prop: "ktName",
|
|
|
+ prop: "sceneName",
|
|
|
},
|
|
|
{
|
|
|
label: "运行开始时间",
|
|
|
- prop: "jbSource",
|
|
|
+ prop: "runStartTimeFmt",
|
|
|
},
|
|
|
{
|
|
|
label: "运行结束时间",
|
|
|
- prop: "jbSource",
|
|
|
+ prop: "runEndTimeFmt",
|
|
|
},
|
|
|
{
|
|
|
label: "运行状态",
|
|
|
- prop: "startDateStr",
|
|
|
+ prop: "runState",
|
|
|
},
|
|
|
{
|
|
|
label: "运行结果",
|
|
|
- prop: "jbSource",
|
|
|
+ prop: "runResult",
|
|
|
},
|
|
|
{
|
|
|
label: "操作",
|
|
@@ -206,23 +196,25 @@ export default {
|
|
|
},
|
|
|
getDataWay: {
|
|
|
//加载表格数据
|
|
|
- dataType: "data",
|
|
|
+ dataType: "url",
|
|
|
type: "post",
|
|
|
- firstRequest: false,
|
|
|
- data: [
|
|
|
- {
|
|
|
- id: 1,
|
|
|
- ktName: "kjdhfkjsdhfkjsjhdfksdjhfkhwoieyrhfisdhfksjhdf",
|
|
|
- jbSource: "收到就好付款时间的回复可见收到货覅无痕",
|
|
|
- asd: true,
|
|
|
- },
|
|
|
- { id: 2, asd: true },
|
|
|
- { id: 3, asd: true },
|
|
|
- { id: 4, asd: true },
|
|
|
- { id: 5, asd: true },
|
|
|
- { id: 6, asd: true },
|
|
|
- ],
|
|
|
- param: {},
|
|
|
+ // firstRequest: false,
|
|
|
+ data: this.$api.workManagement.selectProjectTaskList,
|
|
|
+ param: {
|
|
|
+ id: this.$route.query.id,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ // 传感器对象集合
|
|
|
+ configList: {
|
|
|
+ camera: [],
|
|
|
+ ogt: [],
|
|
|
+ lidar: [],
|
|
|
+ gps: [],
|
|
|
+ },
|
|
|
+ // 用于当前选中项的展示
|
|
|
+ curOne: {
|
|
|
+ name: "",
|
|
|
+ index: -1,
|
|
|
},
|
|
|
};
|
|
|
},
|
|
@@ -234,11 +226,42 @@ export default {
|
|
|
this.$router.push({ path: "/taskInfo" });
|
|
|
},
|
|
|
toReport() {
|
|
|
- this.$router.push({ path: "/evaluationReport" });
|
|
|
+ this.$router.push({
|
|
|
+ path: "/evaluationReport",
|
|
|
+ query: { id: this.id },
|
|
|
+ });
|
|
|
+ },
|
|
|
+ curItem(item) {
|
|
|
+ this.curOne = item;
|
|
|
},
|
|
|
},
|
|
|
|
|
|
- // mounted() {},
|
|
|
+ mounted() {
|
|
|
+ if (this.$route.query.id) {
|
|
|
+ this.id = this.$route.query.id;
|
|
|
+
|
|
|
+ if (this.id) {
|
|
|
+ this.$axios({
|
|
|
+ method: "post",
|
|
|
+ url: this.$api.workManagement.selectProjectDetailsById,
|
|
|
+ data: {
|
|
|
+ id: this.id,
|
|
|
+ },
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200 && res.info) {
|
|
|
+ this.info = res.info;
|
|
|
+ this.configList.camera =
|
|
|
+ res.info.sensorCameraList || [];
|
|
|
+ this.configList.ogt = res.info.sensorOgtList || [];
|
|
|
+ this.configList.lidar = res.info.sensorLidarList || [];
|
|
|
+ this.configList.gps = res.info.sensorGpsList || [];
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.message || "获取信息失败");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -358,6 +381,10 @@ export default {
|
|
|
justify-content: space-around;
|
|
|
padding: 45px 0;
|
|
|
}
|
|
|
+
|
|
|
+ .pie {
|
|
|
+ width: 50%;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|