flx:提交桥机监测模块
@ -476,7 +476,21 @@
|
||||
// switch: show //是否是切换年月操作
|
||||
});
|
||||
} 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 startDay = this.formatNum(this.startDay);
|
||||
let startDate = `${this.startYear}-${startMonth}-${startDay}`;
|
||||
|
||||
@ -81,6 +81,9 @@ module.exports = {
|
||||
// }
|
||||
// return month + "月";
|
||||
},
|
||||
"defaultTooltip": function(val, rowName) {
|
||||
return `${rowName}:${val.data}`;
|
||||
},
|
||||
},
|
||||
//这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在opts参数,会将demotype与opts中option合并后渲染图表。
|
||||
"demotype": {
|
||||
|
||||
11
main.js
@ -1,6 +1,8 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App'
|
||||
import { _chooseImage } from "@/common/permissionTips.js";
|
||||
import {
|
||||
_chooseImage
|
||||
} from "@/common/permissionTips.js";
|
||||
// import VueResource from "vue-resource";
|
||||
// main.js
|
||||
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://8.136.222.164:8808/'//中科安信
|
||||
// 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
|
||||
|
||||
|
||||
} else {
|
||||
// 生产环境
|
||||
console.log('生产环境')
|
||||
@ -127,6 +131,9 @@ if (process.env.NODE_ENV === 'development') {
|
||||
// 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: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 = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5
|
||||
|
||||
|
||||
@ -3253,6 +3253,13 @@
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/projectEnd/bridgeCraneMonitor/index",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
}
|
||||
}
|
||||
],
|
||||
// "subPackages":[{
|
||||
|
||||
1654
pages/projectEnd/bridgeCraneMonitor/index.vue
Normal file
@ -745,6 +745,11 @@
|
||||
url: '../betonManage/index'
|
||||
})
|
||||
break
|
||||
case 'bridgeCraneMonitor':
|
||||
uni.navigateTo({
|
||||
url: '../bridgeCraneMonitor/index'
|
||||
})
|
||||
break
|
||||
case 'progressManage':
|
||||
uni.navigateTo({
|
||||
url: '../progressManagement/index'
|
||||
|
||||
@ -538,7 +538,7 @@
|
||||
if (res.result) {
|
||||
const resultInfo = JSON.parse(res.result);
|
||||
that.policeCameraItemInfo = that.policeCameraItemList.find(item => item
|
||||
.devSn == resultInfo);
|
||||
.devSn == resultInfo.devSn);
|
||||
that.submitShow = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -165,6 +165,7 @@
|
||||
this.getWorkTicketTypeListFn();
|
||||
},
|
||||
onShow() {
|
||||
this.checkedIds = [];
|
||||
this.getWorkTicketCountWorkTicketFn();
|
||||
this.getWorkTicketListFn();
|
||||
},
|
||||
|
||||
@ -9,14 +9,17 @@
|
||||
</view>
|
||||
<view class="content" :style="{paddingTop: mobileTopHeight + 44 + 'px'}">
|
||||
<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"
|
||||
:options="workTicketInfo.itemList"></u-dropdown-item>
|
||||
</u-dropdown>
|
||||
<!-- '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"
|
||||
:autoplay="true" />
|
||||
<video class="player-m3u8" v-else :src="videoItemInfo.url"></video>
|
||||
</template>
|
||||
<view v-else class="player-m3u8 "></view>
|
||||
</view>
|
||||
|
||||
<u-tabs :bar-height="4" :font-size="28" active-color="#498CEC" inactive-color="#B3B3B3" :bar-width="375"
|
||||
@ -250,6 +253,7 @@
|
||||
},
|
||||
lineHeightFlag1: false,
|
||||
lineHeightFlag2: false,
|
||||
dropdownFlag: true
|
||||
}
|
||||
},
|
||||
onLoad(opts) {
|
||||
@ -274,6 +278,14 @@
|
||||
}, 500)
|
||||
},
|
||||
methods: {
|
||||
onOpen(index) {
|
||||
this.$refs.uDropdown.highlight();
|
||||
this.dropdownFlag = false;
|
||||
},
|
||||
onClose(index) {
|
||||
this.$refs.uDropdown.highlight(index);
|
||||
this.dropdownFlag = true;
|
||||
},
|
||||
getLineCount() {
|
||||
const that = this;
|
||||
uni.createSelectorQuery().in(this).select('#box-content_detail1').boundingClientRect(rect => {
|
||||
@ -529,6 +541,10 @@
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.player-m3u8-bg {
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.new-nodata {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
@ -702,6 +718,7 @@
|
||||
position: relative;
|
||||
height: 800rpx;
|
||||
}
|
||||
|
||||
.header-title {
|
||||
padding: 12rpx 16rpx;
|
||||
border-bottom: 2rpx solid #EFF3F7;
|
||||
|
||||
BIN
static/bridgeCraneMonitor/index-bg1.png
Normal file
|
After Width: | Height: | Size: 220 KiB |
BIN
static/bridgeCraneMonitor/index-bg2.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
static/bridgeCraneMonitor/index-down.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
static/bridgeCraneMonitor/index-icon1.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
static/bridgeCraneMonitor/index-icon10.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
static/bridgeCraneMonitor/index-icon2.png
Normal file
|
After Width: | Height: | Size: 487 B |
BIN
static/bridgeCraneMonitor/index-icon3.png
Normal file
|
After Width: | Height: | Size: 940 B |
BIN
static/bridgeCraneMonitor/index-icon4.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
static/bridgeCraneMonitor/index-icon5.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
static/bridgeCraneMonitor/index-icon6.png
Normal file
|
After Width: | Height: | Size: 885 B |
BIN
static/bridgeCraneMonitor/index-icon7.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
static/bridgeCraneMonitor/index-icon8.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
static/bridgeCraneMonitor/index-icon9.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
static/bridgeCraneMonitor/index-up.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |