update code
parent
4661b3c733
commit
88a552487f
|
@ -3,8 +3,18 @@
|
|||
<div v-if="showMap" style="height: 100%;" v-loading="loading">
|
||||
<div id="cesiumContainer" style="height: 100%;"></div>
|
||||
</div>
|
||||
|
||||
<img v-else :src="'images/830.png'">
|
||||
<template v-else>
|
||||
<template v-if="images && images.length>0">
|
||||
<el-carousel height="500px">
|
||||
<el-carousel-item v-for="item in images" :key="item">
|
||||
<div style="width: 100%;display: flex;align-items: center;justify-content: center;height: 500px;">
|
||||
<el-image :src="item" style="width:100%" :preview-src-list="images"></el-image>
|
||||
</div>
|
||||
</el-carousel-item>
|
||||
</el-carousel>
|
||||
</template>
|
||||
<img v-else :src="'images/830.png'">
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -12,7 +22,12 @@
|
|||
|
||||
export default {
|
||||
name: 'JhbigscreenMapModle',
|
||||
|
||||
props:{
|
||||
images:{
|
||||
type:Array,
|
||||
default:()=>[]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
loading:false,
|
||||
|
|
|
@ -458,7 +458,7 @@
|
|||
</div>
|
||||
<div class="aerial-view-max">
|
||||
<div class="aerial-view-min">
|
||||
<mapModle></mapModle>
|
||||
<mapModle :images="scheduleInfo?scheduleInfo.images:[]" ></mapModle>
|
||||
</div>
|
||||
</div>
|
||||
<module-one-1-2 label="项目节点计划预警">
|
||||
|
@ -633,6 +633,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
elScheduleInfo:0,
|
||||
elCostOut: 0,
|
||||
prjs: [],
|
||||
dept: null,
|
||||
|
@ -881,6 +882,7 @@ export default {
|
|||
obj.images = [];
|
||||
}
|
||||
this.scheduleInfo = obj;
|
||||
this.elScheduleInfo++;
|
||||
});
|
||||
this.projectBuildNode = [];
|
||||
this.getProjectBuildNode();
|
||||
|
@ -896,6 +898,8 @@ export default {
|
|||
year: dt.$y,
|
||||
month: dt.$M
|
||||
}).then(d => {
|
||||
d.totalMonth=d.totalMonth.toFixed(2);
|
||||
d.totalYear=d.totalYear.toFixed(2);
|
||||
this.costOut = d;
|
||||
this.elCostOut++;
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue