|
@@ -45,8 +45,8 @@
|
|
|
</tr>
|
|
|
</table>
|
|
|
<div class="a4_sub_title">地块四至图</div>
|
|
|
- <img :key="imgUrl" v-show="imgUrl" class="img-content img" style="z-index: 999" width="595" height="500" v-if="imgUrl" :src="imgUrl" />
|
|
|
- <div :key="imgUrl" v-show="!imgUrl" class="img-content" v-if="!imgUrl" ref="mapRef" id="mapRefId"></div>
|
|
|
+ <img :key="imgUrl" v-show="imgUrl" class="img-content img" style="z-index: 999" width="595" height="500" :src="imgUrl" />
|
|
|
+ <div :key="imgUrl" v-show="!imgUrl" class="img-content" ref="mapRef" id="mapRefId"></div>
|
|
|
<div class="signature">签名:______________</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -139,11 +139,10 @@ onMounted(()=>{
|
|
|
data.createDate = dateFormat(new Date(), "YYYY-mm-dd HH:MM:SS");
|
|
|
data.area = getAreaByWkt(data.geom)
|
|
|
rowData.value = data
|
|
|
- pdfMap.initMap(data,mapRef.value)
|
|
|
- ;
|
|
|
- // setTimeout(()=>{
|
|
|
- // toImg(pdfMap.kmap.map)
|
|
|
- // },500)
|
|
|
+ pdfMap.initMap(data,mapRef.value);
|
|
|
+ setTimeout(()=>{
|
|
|
+ toImg(pdfMap.kmap.map)
|
|
|
+ },500)
|
|
|
})
|
|
|
})
|
|
|
</script>
|