|
|
@@ -133,7 +133,10 @@
|
|
|
</div>
|
|
|
<div class="container-title df aic jcsb">
|
|
|
<div>航次信息</div>
|
|
|
- <div style="margin-right: 20px">信息更新时间:</div>
|
|
|
+ <div style="margin-right: 20px">
|
|
|
+ 信息更新时间 :
|
|
|
+ <span style="font-size: 18px"> {{ subStr(voyage.infoUpdateTime) }}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="line-container-p24">
|
|
|
<div class="line">
|
|
|
@@ -663,6 +666,8 @@ export default {
|
|
|
zoom: 11, //级别
|
|
|
center: [120.563757, 31.891174], //中心点坐标
|
|
|
mapStyle: "amap://styles/f48d96805f5fa7f5aada657c5ee37017",
|
|
|
+ zoomEnable: false,
|
|
|
+ dragEnable: false,
|
|
|
});
|
|
|
let toolBar = new AMap.ToolBar({
|
|
|
position: {
|
|
|
@@ -675,12 +680,11 @@ export default {
|
|
|
});
|
|
|
map.value.addControl(toolBar);
|
|
|
map.value.addControl(hawkEye);
|
|
|
- return;
|
|
|
let markers = [];
|
|
|
for (let i of medias.value) {
|
|
|
let content = `<div style='width:160px'>
|
|
|
${
|
|
|
- i.audit == -1
|
|
|
+ i.audit == 1
|
|
|
? `<img id='img${i.id}' style='width:160px;height:160px;object-fit:contain;' src='${i.viewUrl}'/>`
|
|
|
: ``
|
|
|
}
|
|
|
@@ -928,11 +932,16 @@ export default {
|
|
|
isDischargeLoadingExcel.value = false;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ function subStr(str = "") {
|
|
|
+ return str.substring(0, 10);
|
|
|
+ }
|
|
|
onMounted(() => {
|
|
|
getVoyageDetail(1);
|
|
|
getDischargeList(1);
|
|
|
});
|
|
|
return {
|
|
|
+ subStr,
|
|
|
downloadExcel,
|
|
|
isLoadingExcel,
|
|
|
options,
|