feat(): 浸润线修改

master
李神峰 2025-09-26 17:15:37 +08:00
parent b99740ca90
commit f940b2f9f6
11 changed files with 46 additions and 47 deletions

View File

@ -34,7 +34,7 @@ uni.$showMsg = function (title = '', duration = 1500) {
icon: 'none'
})
}
uni.$stcd = '10196'
uni.$stcd = '61610700'
Vue.config.productionTip = false
App.mpType = 'app'

View File

@ -2,7 +2,7 @@
"name" : "檀树岗水库",
"appid" : "__UNI__33ED56F",
"description" : "",
"versionName" : "1.0.1",
"versionName" : "1.0.0",
"versionCode" : 1,
"transformPx" : false,
"app-plus" : {

View File

@ -79,12 +79,12 @@ export default function jrxOptions(data = {}, type = "1",typeName='1') {
type == '1' ? 58 : 70;
const yMax = type == "3" ? 129 : type == "2" ? 117
: type == "1" ? 118 : 150;
const type1 = ["SY01", "SY04", "SY07", "SY16"];
const type2 = ["SY10", "SY13"];
const type3 = ["SY02", "SY05", "SY08", "SY17"];
const type4 = ["SY11", "SY14"];
const type5 = ["SY03", "SY06", "SY09"];
const type6 = ["SY12", "SY15"];
const type1 = ["UPD1", "UPD4", "UPD10", "UPD16"];
const type2 = ["UPD7", "UPD13"];
const type3 = ["UPD2", "UPD5", "UPD8", "UPD17"];
const type4 = ["UPD11", "UPD14"];
const type5 = ["UPD3", "UPD6", "UPD9"];
const type6 = ["UPD12", "UPD15"];
const alltype = typeName == "1" ? type1 :
typeName == "2" ? type2 :
typeName == "3" ? type3 :
@ -126,30 +126,30 @@ export default function jrxOptions(data = {}, type = "1",typeName='1') {
[]
// gz1、gz2、gz3、gz4分别为渗压管
const gz1 = data[alltype[0]] ?
type == "3" ? [[47, 101], [47, data[alltype[0]]]] :
type == "2" ? [[45.5, 98], [45.5, data[alltype[0]]]] :
type == "1" ? [[44, 83], [44, data[alltype[0]]]] :
type == "3" ? [[52, typeName =='5' ?76.56:92.18], [52, data[alltype[0]]]] :
type == "2" ? [[52, typeName =='3' ?76.16:77.18], [52, data[alltype[0]]]] :
type == "1" ? [[49, typeName =='1' ?79.16:77.18], [49, data[alltype[0]]]] :
[[47.5, 158], [85, data[alltype[0]]]]
: [];
const gz2 = data[alltype[1]] ?
type == "3" ? [[51, 101], [51, data[alltype[1]]]] :
type == "2" ? [[50, 98], [50, data[alltype[1]]]] :
type == "1" ? [[51.5, 82], [51.5, data[alltype[1]]]] :
type == "3" ? [[57, typeName =='5' ?77.18:83.50], [57, data[alltype[1]]]] :
type == "2" ? [[55, typeName =='3' ?77.18:77.50], [55, data[alltype[1]]]] :
type == "1" ? [[57, typeName =='1' ?77.18:74.5], [57, data[alltype[1]]]] :
[[53.6, 158], [53.6, data[alltype[1]]]] :
[];
const gz3 = data[alltype[2]] ?
type == "3" ? [[58.5, 95], [58.5, data[alltype[2]]]] :
type == "2" ? [[58, 92], [58, data[alltype[2]]]] :
type == "1" ? [[58, 81], [58, data[alltype[2]]]] :
type == "3" ? [[65, 81.50], [65, data[alltype[2]]]] :
type == "2" ? [[63, 80.50], [63, data[alltype[2]]]] :
type == "1" ? [[67, 66.50], [79, data[alltype[2]]]] :
[[73, 161], [73, data[alltype[2]]]] : [];
const gz4 = data[alltype[3]] ?
type == "3" ? [] :
type == "2" ? [[77, 82], [77, data[alltype[3]]]] :
type == "1" ? [[79, 78], [79, data[alltype[3]]]] :
type == "2" ? [[87, 73.50], [87, data[alltype[3]]]] :
type == "1" ? [[89, 72.50], [89, data[alltype[3]]]] :
[[85, 166], [85, data[alltype[3]]]] : [];
// 将渗压管连起来的线
@ -157,26 +157,26 @@ export default function jrxOptions(data = {}, type = "1",typeName='1') {
type == "3" ?
[
[xValue, data?.rz],
[47, data[alltype[0]]],
[51, data[alltype[1]]],
[58.5, data[alltype[2]]],
[52, data[alltype[0]]],
[57, data[alltype[1]]],
[65, data[alltype[2]]],
] :
type == "2" ?
[
[xValue, data?.rz],
[45.5, data[alltype[0]]],
[50, data[alltype[1]]],
[58, data[alltype[2]]],
[77, data[alltype[3]]]
[52, data[alltype[0]]],
[55, data[alltype[1]]],
[63, data[alltype[2]]],
[87, data[alltype[3]]]
] :
type == "1"?
[
[xValue, data?.rz],
[44, data[alltype[0]]],
[51.5, data[alltype[1]]],
[58, data[alltype[2]]],
[79, data[alltype[3]]]
[49, data[alltype[0]]],
[57, data[alltype[1]]],
[67, data[alltype[2]]],
[89, data[alltype[3]]]
]:
[
[xValue, data?.rz],

View File

@ -46,15 +46,14 @@
class="xqjb-redColor"
>{{ item.sumStnm }}</span
>)最大点雨量
<span class="xqjb-redColor">{{ item.drp24Max }}mm/h</span>(<span
<span class="xqjb-redColor">{{ item.drp24Max }}mm</span>(<span
class="xqjb-redColor"
>{{ item.maxStnm }},{{ raimTime(item.maxTm) }}</span
>)当前水库水位
<span class="xqjb-redColor">{{ item.rz8 }}m</span
>汛限水位(<span>{{ item.flLowLimLev }}m</span>)较昨日
<span class="xqjb-redColor"
>{{ increaseWater(item.rz8, item.rzYesterday8) }}m</span
>库容达
>{{ increaseWater(item.rz8, item.rzYesterday8) }}m</span>库容达
<span class="xqjb-redColor">{{ item.w }}万m³</span>--
<span>{{ endDataString(item.date) }}</span>
</view>

View File

@ -23,7 +23,7 @@
border-top: 1px solid #f0f0f0;
"
>
<view style="padding:0 10px,backgroundColor:#fff">
<view style="padding:0 10px;backgroundColor:#fff">
<view
class="time-ranger"
style="padding: 10px; margin-bottom: 0; background-color: #fff"
@ -75,7 +75,7 @@
class="xqjb-redColor"
>{{ item.sumStnm }}</span
>)最大点雨量
<span class="xqjb-redColor">{{ item.drp24Max }}mm/h</span>...
<span class="xqjb-redColor">{{ item.drp24Max }}mm</span>...
</view>
</view>
</view>

View File

@ -80,7 +80,7 @@
<view class="textContent">
<span style="margin-left: 30px;">{{briefTime}}</span>8过去24小时最大累计降雨量
<span class="xqjb-redColor" >{{resBriefObj.drp24Sum}}mm</span>(<span class="xqjb-redColor">{{resBriefObj.sumStnm}}</span>)最大点雨量
<span class="xqjb-redColor">{{resBriefObj.drp24Max}}mm/h</span>(<span class="xqjb-redColor">{{resBriefObj.maxStnm}}{{raimTime}}</span>)当前水库水位
<span class="xqjb-redColor">{{resBriefObj.drp24Max}}mm</span>(<span class="xqjb-redColor">{{resBriefObj.maxStnm}}{{raimTime}}</span>)当前水库水位
<span class="xqjb-redColor">{{resBriefObj.rz8}}m</span>汛限水位(<span>{{resBriefObj.flLowLimLev}}m</span>)较昨日
<span class="xqjb-redColor">{{increaseWater}}m</span>库容达
<span class="xqjb-redColor">{{resBriefObj.w}}万m³</span>--

View File

@ -9,9 +9,9 @@
<th style="width: 20%;">
监测时间
</th>
<th style="width: 20%;">e方向(mm)</th>
<th style="width: 20%;">n方向(mm)</th>
<th style="width: 20%;">u方向(mm)</th>
<th style="width: 20%;">x方向(mm)</th>
<th style="width: 20%;">y方向(mm)</th>
<th style="width: 20%;">h方向(mm)</th>
</tr>
<!-- style="max-height: 480px; overflow-y: auto" -->
<div class="scroll-table">

View File

@ -1,6 +1,6 @@
<template>
<view class="" style="padding: 5px;">
<view class="swiper-content" v-if="imgList.length != 0">
<!-- <view class="swiper-content" v-if="imgList.length != 0">
<text class="num">{{nowNum}}/{{totalNum}}</text>
<u-swiper :list="imgList" height='230px' @change="change" imgMode="scaleToFill" keyName="imgPath"></u-swiper>
<text class="time">{{imgTime}}</text>
@ -9,7 +9,7 @@
style="display: flex;align-items: center;justify-content: center;background-color: #fff;"
v-else>
<image src="../../../static/empty.png" mode=""></image>
</view>
</view> -->
<view class="update-time">
<text>更新时间</text>
<text>{{info.tm}}</text>
@ -177,7 +177,7 @@
} = await uni.$http.post(
"/gunshiApp/tsg/reservoir/water/listV2",{sources:['SW','SK']})
if (data.code == 200) {
const filterObj = data.data.filter(item => item.stcd == '10196')
const filterObj = data.data.filter(item => item.stcd == '61610700')
this.info = filterObj[0]
}
} catch (error) {

View File

@ -12,7 +12,7 @@
<view class="content">
<view class="" style="display: flex;">
<!-- <image src="../../static/c1.png" mode="" style="width:30%;height: 120px;"></image> -->
<image :src="showImg" style="width: 30%;height: 120px;margin: 5px;" @click="previewImage(showImg)"></image>
<image :src="showImg" style="width: 30%;height: 110px;margin: 5px;" @click="previewImage(showImg)"></image>
<view class="listItem" @click="toDetail()">
<view class="item-text" v-for="(v,k) of list" :key="k">
<text>{{v}}</text>:
@ -51,7 +51,7 @@
'crestElev':'坝顶高程m',
"h24":'24h预报mm',
"yesterdayDrp":'昨日雨量mm',
'totCap':'总库容m³',
'totCap':'总库容m³',
"nowCap":'蓄水量万m³'
},
tm: '',
@ -62,7 +62,7 @@
shStcd:'',
imageList:[],
baseUrl:'http://223.75.53.141:83',
showImg:'../../static/nopic.png'
showImg:'../../static/skimg.png'
}
},

View File

@ -9,10 +9,10 @@
fontSize:'18px',width:'220px'
}" :height='44' :safeAreaInsetTop=true leftIconSize='20' leftIconColor='rgb(153, 153, 153)'>
</u-navbar>
<view class="video-box" >
<view class="video-box">
<iframe :src="webURL" :class="{'normal': show == 0,'active': show == 1}" frameborder="0" ref="videoFrame" :allowfullscreen="true"></iframe>
</view>
<view class="video-tool">
<view class="video-tool" v-if="info.type == 1">
<view class="left-tool">
<view class="outside-circle">
<view class="up" @click="onOperation('UP')">

BIN
static/skimg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 MiB