|
@@ -13,7 +13,7 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
<!-- <div class="ylzy-item" @click="handleBDListShow('ylzy-boat')"> -->
|
|
|
- <div class="ylzy-item">
|
|
|
+ <div class="ylzy-item" @click="handleBDListShow('ylzy-boat')">
|
|
|
<img :src="require('@/assets/imgs/icon-youchuan.png')" alt="">
|
|
|
<div>
|
|
|
<span>游船数</span>
|
|
@@ -115,7 +115,7 @@
|
|
|
</div>
|
|
|
<div class="pr-b3">
|
|
|
<span class="title1">预警信息</span>
|
|
|
- <div v-for="item, index in yjxxData" :key="index" class="prb3-item">
|
|
|
+ <div v-for="item, index in yjxxData" @click="yyxxClick(item.mmsi)" :key="index" class="prb3-item">
|
|
|
<span>{{item.name}}</span>
|
|
|
<span>{{item.time}}</span>
|
|
|
<span>{{item.type}}</span>
|
|
@@ -124,7 +124,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<LshbDialog v-if="lshbDiaShow" :lshb-data="lshbCurrent.value" @closeDialog="closeLshbDia" />
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -177,13 +177,14 @@ export default {
|
|
|
nextTick(() => {
|
|
|
ldklListScroll()
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
GetTouristBoat().then(res => {
|
|
|
if(res?.Result?.data) {
|
|
|
- ldzyData.dc = res.count
|
|
|
- ldzyData.boatList = res.Result.data
|
|
|
+ ldzyData.boatList = res.Result.data.filter(item=>item.SHIPTYPENAME!=='旅游客船')
|
|
|
+ ldzyData.dc = ldzyData.boatList.length //res.count
|
|
|
+ ylzyData.boatList = res.Result.data.filter(item=>item.SHIPTYPENAME==='旅游客船')
|
|
|
}
|
|
|
})
|
|
|
GetFerryStation().then(res => {
|
|
@@ -229,7 +230,7 @@ export default {
|
|
|
GetPJWharf().then(res => {
|
|
|
if(res?.data?.Rows?.list) {
|
|
|
ylzyData.dockNum = res.data.Rows.total
|
|
|
- ylzyData.boatNum = 36
|
|
|
+ ylzyData.boatNum = 26
|
|
|
ylzyData.dockList = res.data.Rows.list
|
|
|
}
|
|
|
|
|
@@ -291,13 +292,13 @@ export default {
|
|
|
{ name: '特色航班', value: 0 },
|
|
|
{ name: '临时航班', value: 0 },
|
|
|
]
|
|
|
- })
|
|
|
+ })
|
|
|
|
|
|
const lshbData = reactive({value: [
|
|
|
- { name: '浦江游览5', value: 110, type: '商务', ent: '上海浦江游览集团有限公司' },
|
|
|
- { name: '水晶公主', value: 62, type: '婚庆', ent: '上海浦江游览集团有限公司' },
|
|
|
- { name: '浦江游览1', value: 110, type: '商务', ent: '上海浦江游览集团有限公司' },
|
|
|
- ]})
|
|
|
+ { name: '浦江游览6', value: 110, type: '商务', ent: '上海浦江游览集团有限公司' , mmsi: '413768391'},
|
|
|
+ { name: '水晶公主', value: 62, type: '婚庆', ent: '上海浦江游览集团有限公司' , mmsi: '413865158'},
|
|
|
+ { name: '君子兰', value: 110, type: '商务', ent: '上海浦江游览集团有限公司' , mmsi: '413793788'},
|
|
|
+ ]})
|
|
|
|
|
|
function formatNum(num){
|
|
|
return num.toLocaleString()
|
|
@@ -343,25 +344,25 @@ export default {
|
|
|
boatList: [],
|
|
|
dockList: []
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
const ldklData = reactive({value: [
|
|
|
{ name: '当前总客流', value: 0 },
|
|
|
{ name: '行人数', value: 0 },
|
|
|
{ name: '两轮车数', value: 0 },
|
|
|
{ name: '三轮车数', value: 0 },
|
|
|
- ]})
|
|
|
+ ]})
|
|
|
|
|
|
const ldklLineData = reactive({value: [
|
|
|
{name: "-", num1: "0", num2: "0", num3: "0", sum: "0"},
|
|
|
{name: "-", num1: "0", num2: "0", num3: "0", sum: "0"},
|
|
|
- ]})
|
|
|
+ ]})
|
|
|
|
|
|
const yjxxData = [
|
|
|
- { name: '世博客渡18', time: '09:47', type: '船舶避碰', status: '待处置' },
|
|
|
- { name: '世博客渡18', time: '09:44', type: '人员越界', status: '已处置' },
|
|
|
- { name: '世博客渡20', time: '09:42', type: '船舶避碰', status: '已处置' },
|
|
|
- { name: '世博客渡20', time: '09:42', type: '船舶避碰', status: '待处置' },
|
|
|
- { name: '世博客渡18', time: '09:41', type: '人员越界', status: '待处置' },
|
|
|
+ { name: '世博客渡18', time: '09:47', type: '船舶避碰', status: '待处置' , mmsi : '413766676'},
|
|
|
+ { name: '世博客渡18', time: '09:44', type: '人员越界', status: '已处置' , mmsi : '413766676'},
|
|
|
+ { name: '世博客渡20', time: '09:42', type: '船舶避碰', status: '已处置' , mmsi : '413766678'},
|
|
|
+ { name: '世博客渡20', time: '09:42', type: '船舶避碰', status: '待处置' , mmsi : '413766678'},
|
|
|
+ { name: '世博客渡18', time: '09:41', type: '人员越界', status: '待处置' , mmsi : '413766676'},
|
|
|
]
|
|
|
|
|
|
const lineSelected = ref(false)
|
|
@@ -403,7 +404,7 @@ export default {
|
|
|
}
|
|
|
callUIInteraction(action)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
function lineOn() {
|
|
|
let action = {
|
|
|
"ActionName":"show_line"
|
|
@@ -446,6 +447,18 @@ export default {
|
|
|
callUIInteractionFormat(action);
|
|
|
}
|
|
|
|
|
|
+ function yyxxClick(mmsi) {
|
|
|
+ let action = {
|
|
|
+ "ActionName":"position_by_type",
|
|
|
+ "Parameters":{
|
|
|
+ "position_type": 'boat',
|
|
|
+ "position_name": mmsi
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ callUIInteractionFormat(action);
|
|
|
+ }
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
@@ -560,7 +573,7 @@ export default {
|
|
|
color: transparent;
|
|
|
z-index: 101;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
span:last-child {
|
|
|
position: absolute;
|
|
|
width: 108px;
|
|
@@ -730,7 +743,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
&>div:nth-child(2) > i {
|
|
|
background: url('@/assets/imgs/boat-dcs.png') no-repeat;
|