flx:提交桥机监测模块

This commit is contained in:
Rain_ 2025-09-16 18:00:18 +08:00
parent a013c94485
commit d68f12ca90
23 changed files with 2051 additions and 343 deletions

View File

@ -476,7 +476,21 @@
// switch: show // // switch: show //
}); });
} else { } else {
if (!this.startDate || !this.endDate) return; if (!this.startDate || !this.endDate) {
this.$emit('change', {
startYear: this.startYear,
startMonth: this.startMonth,
startDay: this.startDay,
startDate: null,
startWeek: null,
endYear: this.endYear,
endMonth: this.endMonth,
endDay: this.endDay,
endDate: null,
endWeek: null
});
return
};
let startMonth = this.formatNum(this.startMonth); let startMonth = this.formatNum(this.startMonth);
let startDay = this.formatNum(this.startDay); let startDay = this.formatNum(this.startDay);
let startDate = `${this.startYear}-${startMonth}-${startDay}`; let startDate = `${this.startYear}-${startMonth}-${startDay}`;

View File

@ -81,6 +81,9 @@ module.exports = {
// } // }
// return month + "月"; // return month + "月";
}, },
"defaultTooltip": function(val, rowName) {
return `${rowName}${val.data}`;
},
}, },
//这里演示了自定义您的图表类型的option可以随意命名之后在组件上 type="demotype" 后组件会调用这个花括号里的option如果组件上还存在opts参数会将demotype与opts中option合并后渲染图表。 //这里演示了自定义您的图表类型的option可以随意命名之后在组件上 type="demotype" 后组件会调用这个花括号里的option如果组件上还存在opts参数会将demotype与opts中option合并后渲染图表。
"demotype": { "demotype": {

11
main.js
View File

@ -1,6 +1,8 @@
import Vue from 'vue' import Vue from 'vue'
import App from './App' import App from './App'
import { _chooseImage } from "@/common/permissionTips.js"; import {
_chooseImage
} from "@/common/permissionTips.js";
// import VueResource from "vue-resource"; // import VueResource from "vue-resource";
// main.js // main.js
import uView from "uview-ui"; import uView from "uview-ui";
@ -102,9 +104,11 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试 // Vue.prototype.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试
// Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信 // Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信
// Vue.prototype.url_config = 'http://101.43.164.214:11111/'// 百色三标段 // Vue.prototype.url_config = 'http://101.43.164.214:11111/'// 百色三标段
Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/'// 测试环境h5 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/'// 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5
} else { } else {
// 生产环境 // 生产环境
console.log('生产环境') console.log('生产环境')
@ -127,6 +131,9 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.work_url = 'http://101.43.164.214:11137'// 新金湾地址 通用 // Vue.prototype.work_url = 'http://101.43.164.214:11137'// 新金湾地址 通用
Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/' // 测试环境h5 Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/' // 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
// Vue.prototype.url_config = 'http://10.36.27.195:9809/' // 敦煌环境h5
// Vue.prototype.url_config = 'https://192.168.1.2/'// 青海中水北方 // Vue.prototype.url_config = 'https://192.168.1.2/'// 青海中水北方
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5

View File

@ -3253,6 +3253,13 @@
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
},
{
"path" : "pages/projectEnd/bridgeCraneMonitor/index",
"style" :
{
"navigationBarTitleText" : ""
}
} }
], ],
// "subPackages":[{ // "subPackages":[{

File diff suppressed because it is too large Load Diff

View File

@ -745,6 +745,11 @@
url: '../betonManage/index' url: '../betonManage/index'
}) })
break break
case 'bridgeCraneMonitor':
uni.navigateTo({
url: '../bridgeCraneMonitor/index'
})
break
case 'progressManage': case 'progressManage':
uni.navigateTo({ uni.navigateTo({
url: '../progressManagement/index' url: '../progressManagement/index'

View File

@ -538,7 +538,7 @@
if (res.result) { if (res.result) {
const resultInfo = JSON.parse(res.result); const resultInfo = JSON.parse(res.result);
that.policeCameraItemInfo = that.policeCameraItemList.find(item => item that.policeCameraItemInfo = that.policeCameraItemList.find(item => item
.devSn == resultInfo); .devSn == resultInfo.devSn);
that.submitShow = true; that.submitShow = true;
} }
} }

View File

@ -165,6 +165,7 @@
this.getWorkTicketTypeListFn(); this.getWorkTicketTypeListFn();
}, },
onShow() { onShow() {
this.checkedIds = [];
this.getWorkTicketCountWorkTicketFn(); this.getWorkTicketCountWorkTicketFn();
this.getWorkTicketListFn(); this.getWorkTicketListFn();
}, },

View File

@ -9,14 +9,17 @@
</view> </view>
<view class="content" :style="{paddingTop: mobileTopHeight + 44 + 'px'}"> <view class="content" :style="{paddingTop: mobileTopHeight + 44 + 'px'}">
<view class="content_header" v-if="workTicketInfo.status == 2"> <view class="content_header" v-if="workTicketInfo.status == 2">
<u-dropdown> <u-dropdown ref="uDropdown" @open="onOpen" @close="onClose">
<u-dropdown-item @change="onVideoItemChange" :title="itemListUp" v-model="itemId" <u-dropdown-item @change="onVideoItemChange" :title="itemListUp" v-model="itemId"
:options="workTicketInfo.itemList"></u-dropdown-item> :options="workTicketInfo.itemList"></u-dropdown-item>
</u-dropdown> </u-dropdown>
<!-- 'https://gcalic.v.myalicdn.com/gc/wgw05_1/index.m3u8' --> <!-- 'https://gcalic.v.myalicdn.com/gc/wgw05_1/index.m3u8' -->
<template v-if="dropdownFlag">
<my-player-m3u8 v-if="videoItemInfo.url" :src="videoItemInfo.url" :showMask="stateShow" <my-player-m3u8 v-if="videoItemInfo.url" :src="videoItemInfo.url" :showMask="stateShow"
:autoplay="true" /> :autoplay="true" />
<video class="player-m3u8" v-else :src="videoItemInfo.url"></video> <video class="player-m3u8" v-else :src="videoItemInfo.url"></video>
</template>
<view v-else class="player-m3u8 "></view>
</view> </view>
<u-tabs :bar-height="4" :font-size="28" active-color="#498CEC" inactive-color="#B3B3B3" :bar-width="375" <u-tabs :bar-height="4" :font-size="28" active-color="#498CEC" inactive-color="#B3B3B3" :bar-width="375"
@ -250,6 +253,7 @@
}, },
lineHeightFlag1: false, lineHeightFlag1: false,
lineHeightFlag2: false, lineHeightFlag2: false,
dropdownFlag: true
} }
}, },
onLoad(opts) { onLoad(opts) {
@ -274,6 +278,14 @@
}, 500) }, 500)
}, },
methods: { methods: {
onOpen(index) {
this.$refs.uDropdown.highlight();
this.dropdownFlag = false;
},
onClose(index) {
this.$refs.uDropdown.highlight(index);
this.dropdownFlag = true;
},
getLineCount() { getLineCount() {
const that = this; const that = this;
uni.createSelectorQuery().in(this).select('#box-content_detail1').boundingClientRect(rect => { uni.createSelectorQuery().in(this).select('#box-content_detail1').boundingClientRect(rect => {
@ -529,6 +541,10 @@
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.player-m3u8-bg {
background: #000;
}
.new-nodata { .new-nodata {
position: absolute; position: absolute;
top: 50%; top: 50%;
@ -702,6 +718,7 @@
position: relative; position: relative;
height: 800rpx; height: 800rpx;
} }
.header-title { .header-title {
padding: 12rpx 16rpx; padding: 12rpx 16rpx;
border-bottom: 2rpx solid #EFF3F7; border-bottom: 2rpx solid #EFF3F7;

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB