flx:提交桥机监测模块
@ -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}`;
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
45
main.js
@ -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";
|
||||||
@ -23,25 +25,25 @@ Vue.use(uView);
|
|||||||
// // const vConsole = new VConsole()//h5控制台
|
// // const vConsole = new VConsole()//h5控制台
|
||||||
// // Vue.use(vConsole)//h5控制台
|
// // Vue.use(vConsole)//h5控制台
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
// Vue.use(VueResource)
|
// Vue.use(VueResource)
|
||||||
App.mpType = 'app'
|
App.mpType = 'app'
|
||||||
// import UniIcons from './uni_modules/uni-icons/components/uni-icons/uni-icons.vue'
|
// import UniIcons from './uni_modules/uni-icons/components/uni-icons/uni-icons.vue'
|
||||||
// Vue.use('UniIcons')
|
// Vue.use('UniIcons')
|
||||||
// 由于引入的icons的命名会跟项目文件里的冲突,所以随便往命名加了个2,区分开来
|
// 由于引入的icons的命名会跟项目文件里的冲突,所以随便往命名加了个2,区分开来
|
||||||
import uniIcons2 from './uni_modules/uni-icons/components/uni-icons/uni-icons.vue'
|
import uniIcons2 from './uni_modules/uni-icons/components/uni-icons/uni-icons.vue'
|
||||||
Vue.component('uni-icons2', uniIcons2)
|
Vue.component('uni-icons2', uniIcons2)
|
||||||
//全局变量
|
//全局变量
|
||||||
// Vue.prototype.mobileTopHeight = uni.getMenuButtonBoundingClientRect()?uni.getMenuButtonBoundingClientRect().top:0;
|
// Vue.prototype.mobileTopHeight = uni.getMenuButtonBoundingClientRect()?uni.getMenuButtonBoundingClientRect().top:0;
|
||||||
// Vue.prototype.url_config = ''
|
// Vue.prototype.url_config = ''
|
||||||
// Vue.prototype.COMPANY = "longguang"
|
// Vue.prototype.COMPANY = "longguang"
|
||||||
// Vue.prototype.COMPANY = "nanchang"
|
// Vue.prototype.COMPANY = "nanchang"
|
||||||
// Vue.prototype.COMPANY = "sanjiang" //(部署三江h5需要打开/pages/projectManage/projectManage,页面onload内容)
|
// Vue.prototype.COMPANY = "sanjiang" //(部署三江h5需要打开/pages/projectManage/projectManage,页面onload内容)
|
||||||
// Vue.prototype.COMPANY = "zjwj"
|
// Vue.prototype.COMPANY = "zjwj"
|
||||||
// Vue.prototype.COMPANY = "sccr"
|
// Vue.prototype.COMPANY = "sccr"
|
||||||
// Vue.prototype.COMPANY = "agjt" // 鞍钢集团环境
|
// Vue.prototype.COMPANY = "agjt" // 鞍钢集团环境
|
||||||
// Vue.prototype.COMPANY = "cpgs" // 成平高速环境
|
// Vue.prototype.COMPANY = "cpgs" // 成平高速环境
|
||||||
Vue.prototype.COMPANY = "xjw" // 新金湾 || 潮州环境
|
Vue.prototype.COMPANY = "xjw" // 新金湾 || 潮州环境
|
||||||
// Vue.prototype.COMPANY = "" // 标准版
|
// Vue.prototype.COMPANY = "" // 标准版
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// 开发环境
|
// 开发环境
|
||||||
console.log('开发环境')
|
console.log('开发环境')
|
||||||
@ -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
|
||||||
|
|
||||||
@ -357,8 +364,8 @@ Vue.prototype.sendRequest = function(param) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// 判断按钮权限的函数
|
// 判断按钮权限的函数
|
||||||
Vue.prototype.checkBtnPermission = function(permission) {
|
Vue.prototype.checkBtnPermission = function(permission) {
|
||||||
var permissions = JSON.parse(uni.getStorageSync("userInfo")).menuAuthority.menuList;
|
var permissions = JSON.parse(uni.getStorageSync("userInfo")).menuAuthority.menuList;
|
||||||
// var permissions = store.state.userInfo.menuAuthority.menuList;
|
// var permissions = store.state.userInfo.menuAuthority.menuList;
|
||||||
|
|||||||
@ -3253,6 +3253,13 @@
|
|||||||
{
|
{
|
||||||
"navigationBarTitleText" : ""
|
"navigationBarTitleText" : ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/projectEnd/bridgeCraneMonitor/index",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// "subPackages":[{
|
// "subPackages":[{
|
||||||
|
|||||||
1654
pages/projectEnd/bridgeCraneMonitor/index.vue
Normal 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'
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -165,6 +165,7 @@
|
|||||||
this.getWorkTicketTypeListFn();
|
this.getWorkTicketTypeListFn();
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.checkedIds = [];
|
||||||
this.getWorkTicketCountWorkTicketFn();
|
this.getWorkTicketCountWorkTicketFn();
|
||||||
this.getWorkTicketListFn();
|
this.getWorkTicketListFn();
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
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 |