- |
+ |
监测点
|
-
+ |
监测时间
|
X方向(mm) |
@@ -16,8 +16,8 @@
- | {{item.stationCode}} |
- {{simpleData(item.tm)}} |
+ {{item.stationCode}} |
+ {{simpleData(item.tm)}} |
{{ item.x }} |
{{ item.y }} |
{{ item.h }} |
diff --git a/pages/skInfo/detail/basicInfo.vue b/pages/skInfo/detail/basicInfo.vue
index ee386b9..acac657 100644
--- a/pages/skInfo/detail/basicInfo.vue
+++ b/pages/skInfo/detail/basicInfo.vue
@@ -1,98 +1,111 @@
-
-
- 工程概况:
- {{skInfo.projOverview}}
-
-
-
- 水库水位定位信息
-
-
- {{skInfo.resLoc}}
-
-
-
-
-
-
+
+
+ 工程概况:
+ {{skInfo.projOverview}}
+
+
+ 水库水位定位信息
+
+
+ {{skInfo.resLoc}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/skInfo/detail/index.vue b/pages/skInfo/detail/index.vue
index 94da30c..414cf59 100644
--- a/pages/skInfo/detail/index.vue
+++ b/pages/skInfo/detail/index.vue
@@ -8,7 +8,7 @@
-
+
@@ -23,10 +23,10 @@
import Skjj from "./basicInfo.vue"
import Tzcs from "./tzcs.vue"
export default {
-
data() {
return {
tabs:0,
+ jumpParams:'',
model: {
stm: '',
etm: ''
@@ -54,8 +54,10 @@
Skjj,
Tzcs
},
- onLoad() {
+ onLoad(options) {
this.getList();
+ this.tabs = options.value || 0;
+ this.jumpParams = options.key || '';
},
methods: {
click(item) {
diff --git a/pages/skInfo/detail/myMap.vue b/pages/skInfo/detail/myMap.vue
new file mode 100644
index 0000000..dbfe3db
--- /dev/null
+++ b/pages/skInfo/detail/myMap.vue
@@ -0,0 +1,31 @@
+//MyVideo组件
+//自行封装一个组件,利用iframe实现
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/skInfo/detail/tzcs.vue b/pages/skInfo/detail/tzcs.vue
index 7fe1484..a94ade0 100644
--- a/pages/skInfo/detail/tzcs.vue
+++ b/pages/skInfo/detail/tzcs.vue
@@ -40,6 +40,10 @@
skInfo: {
type: Object,
default: {}
+ },
+ value:{
+ type: String,
+ default:''
}
},
@@ -177,7 +181,10 @@
}
},
mounted() {
- this.keyObj = this.skInfo
+ this.keyObj = this.skInfo;
+ if(this.value){
+ this.selectChage(this.value - 0)
+ }
},
}
diff --git a/pages/zhjs/subnvue/index.nvue b/pages/zhjs/subnvue/index.nvue
index ae2777a..d100aad 100644
--- a/pages/zhjs/subnvue/index.nvue
+++ b/pages/zhjs/subnvue/index.nvue
@@ -8,7 +8,7 @@
height: windowHeight + 'px',
top: '-' + statusBarHeight + 'px'
}" id="map" ref="map" :latitude="latitude" :longitude="longitude" :markers="marker" :show-location="true"
- scale="16.5" :enable-satellite="enableSatellite" theme="satellite" @markertap="markertap">
+ :scale="scale" :enable-satellite="enableSatellite" theme="satellite" @markertap="markertap">
import moment from 'moment';
const iconObj = {
+ "溢洪道":{
+ 1: '/static/tabs/yhd1.png',
+ 2: "/static/tabs/yhd2.png"
+ },
+ "溢洪道位移":{
+ 1: '/static/tabs/zweiyi1.png',
+ 2: "/static/tabs/zweiyi2.png"
+ },
"渗流": {
1: '/static/tabs/shenliu1.png',
2: "/static/tabs/shenliu2.png"
@@ -81,6 +89,26 @@
1: '/static/tabs/sxt1.png',
2: "/static/tabs/sxt2.png"
},
+ "发电洞": {
+ 1: '/static/tabs/fdt1.png',
+ 2: "/static/tabs/fdt2.png"
+ },
+ "发电洞渗压": {
+ 1: '/static/tabs/zshenya1.png',
+ 2: "/static/tabs/zshenya2.png"
+ },
+ "发电洞位移": {
+ 1: '/static/tabs/zweiyi1.png',
+ 2: "/static/tabs/zweiyi2.png"
+ },
+ "副坝": {
+ 1: '/static/tabs/zhuba1.png',
+ 2: "/static/tabs/zhuba2.png"
+ },
+ "副坝位移": {
+ 1: '/static/tabs/zweiyi1.png',
+ 2: "/static/tabs/zweiyi2.png"
+ },
}
export default {
data() {
@@ -88,12 +116,35 @@
latitude: 31.495,
longitude: 114.767,
enableSatellite: false,
+ scale:16.5,
popupOpen: false,
typeChecked: 2,
markers: [
{
- latitude: 31.4954,
- longitude: 114.7693,
+ latitude: 31.4962,
+ longitude: 114.7691,
+ iconPath: '/static/tabs/yhd1.png',
+ width: 15,
+ height: 15,
+ id: 99,
+ title: "溢洪道",
+ pointType: "溢洪道",
+ name: "水库工程"
+ },
+ {
+ latitude: 31.4954,
+ longitude: 114.7707,
+ iconPath: '/static/tabs/zweiyi1.png',
+ width: 15,
+ height: 15,
+ id: 98,
+ title: "溢洪道位移监测",
+ pointType: "溢洪道位移",
+ name: "安全监测"
+ },
+ {
+ latitude: 31.4956,
+ longitude: 114.7691,
iconPath: '/static/tabs/shenliu1.png',
width: 15,
height: 15,
@@ -133,6 +184,61 @@
id: 103,
title: "主坝",
pointType: "主坝",
+ name: "水库工程"
+ },
+ {
+ latitude: 31.490900,
+ longitude: 114.7666000,
+ iconPath: '/static/tabs/fdt1.png',
+ width: 15,
+ height: 15,
+ id: 104,
+ title: "灌溉发电洞",
+ pointType: "发电洞",
+ name: "水库工程"
+ },
+ {
+ latitude: 31.490500,
+ longitude: 114.7664000,
+ iconPath: '/static/tabs/zshenya1.png',
+ width: 15,
+ height: 15,
+ id: 105,
+ title: "灌溉发电洞渗压监测",
+ pointType: "发电洞渗压",
+ name: "安全监测"
+ },
+ {
+ latitude: 31.490200,
+ longitude: 114.7667000,
+ iconPath: '/static/tabs/zweiyi1.png',
+ width: 15,
+ height: 15,
+ id: 106,
+ title: "灌溉发电洞位移监测",
+ pointType: "发电洞位移",
+ name: "安全监测"
+ },
+ {
+ latitude: 31.491300,
+ longitude: 114.7642000,
+ iconPath: '/static/tabs/zhuba1.png',
+ width: 15,
+ height: 15,
+ id: 107,
+ title: "副坝",
+ pointType: "副坝",
+ name: "水库工程"
+ },
+ {
+ latitude: 31.491200,
+ longitude: 114.7636000,
+ iconPath: '/static/tabs/zweiyi1.png',
+ width: 15,
+ height: 15,
+ id: 108,
+ title: "副坝位移监测",
+ pointType: "副坝位移",
name: "安全监测"
},
],
@@ -220,6 +326,20 @@
url=`/pages/sjc/index?name=主坝渗压监测`
}else if(type == "主坝"){
url='/pages/skInfo/detail/index'
+ }else if(type == "溢洪道位移"){
+ url=`/pages/sjc/index?name=溢洪道位移监测`
+ }else if(type == "溢洪道"){
+ url='/pages/skInfo/detail/index?value=2&key=3'
+ }else if(type == "发电洞"){
+ url='/pages/skInfo/detail/index?value=2&key=4'
+ }else if(type == "发电洞渗压"){
+ url=`/pages/sjc/index?name=灌溉发电洞渗压监测`
+ }else if(type == "发电洞位移"){
+ url=`/pages/sjc/index?name=灌溉发电洞位移监测`
+ }else if(type == "副坝"){
+ url='/pages/skInfo/detail/index?value=2&key=2'
+ }else if(type == "副坝位移"){
+ url=`/pages/sjc/index?name=副坝位移监测`
}
uni.navigateTo({url})
},
@@ -248,9 +368,11 @@
this.typeChecked = type
if (type == 1) {
this.enableSatellite = true
+ this.scale=15.5
} else {
this.enableSatellite = false
+ this.scale = 16.5
}
},
toggleIcon(item) {
@@ -325,13 +447,13 @@
if (data.code == 200) {
const waterList = data.data.map(item => ({
...item,
- latitude: item.lttd - 0,
- longitude: item.lgtd - 0,
+ latitude: item.lttd - 0.0001,
+ longitude: item.lgtd - 0.0001,
iconPath: '/static/tabs/yl1.png',
width: 15,
height: 15,
title: item.stnm,
- id: item.stcd,
+ id: item.stcd + '0',
pointType: "水量",
name: "水雨情监测",
// joinCluster:true
diff --git a/static/tabs/fdt1.png b/static/tabs/fdt1.png
new file mode 100644
index 0000000..0d6a4b3
Binary files /dev/null and b/static/tabs/fdt1.png differ
diff --git a/static/tabs/fdt2.png b/static/tabs/fdt2.png
new file mode 100644
index 0000000..f299684
Binary files /dev/null and b/static/tabs/fdt2.png differ
diff --git a/static/tabs/yhd1.png b/static/tabs/yhd1.png
new file mode 100644
index 0000000..2278116
Binary files /dev/null and b/static/tabs/yhd1.png differ
diff --git a/static/tabs/yhd2.png b/static/tabs/yhd2.png
new file mode 100644
index 0000000..a2e264e
Binary files /dev/null and b/static/tabs/yhd2.png differ
diff --git a/static/tabs/zhjs.png b/static/tabs/zhjs.png
new file mode 100644
index 0000000..8021be2
Binary files /dev/null and b/static/tabs/zhjs.png differ