Merge branch 'dev-xiaole' into shenzhen-dev

This commit is contained in:
骆乐 2022-10-25 14:08:13 +08:00
commit bfc047da2c
21 changed files with 84 additions and 46 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -18,7 +18,7 @@ var PROJECT = {
} }
var PROJECT_TYPE = PROJECT.online_zjsj var PROJECT_TYPE = PROJECT.local_test
var headerShow = true; // 是否显示头部 var headerShow = true; // 是否显示头部
var tabsShow = true; // 是否显示tabs var tabsShow = true; // 是否显示tabs

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@ -40,10 +40,10 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL = 'http://124.71.178.44:100/' // 河南 // axios.defaults.baseURL = 'http://124.71.178.44:100/' // 河南
// tag: 本地 // tag: 本地
// axios.defaults.baseURL = 'http://192.168.34.174:6023/' // 老大本地 // axios.defaults.baseURL = 'http://192.168.34.174:6023/' // 老大本地
// axios.defaults.baseURL = 'http://192.168.34.216:6023/' // 邱平毅本地 axios.defaults.baseURL = 'http://192.168.34.216:6023/' // 邱平毅本地
// axios.defaults.baseURL = 'http://ue6a4s.natappfree.cc' // 邱平毅vpn本地 // axios.defaults.baseURL = 'http://ue6a4s.natappfree.cc' // 邱平毅vpn本地
// axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋 // axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋
axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上 // axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上
// axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1 // axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1
// axios.defaults.baseURL ='http://47.97.202.104:6023/' //金林湾线上 // axios.defaults.baseURL ='http://47.97.202.104:6023/' //金林湾线上
// axios.defaults.baseURL = 'http://192.168.34.231:6023/'; //杨思瑞本地 // axios.defaults.baseURL = 'http://192.168.34.231:6023/'; //杨思瑞本地

View File

@ -1,7 +1,7 @@
<template> <template>
<!-- 下拉框选择视频需传入视频列表 --> <!-- 下拉框选择视频需传入视频列表 -->
<div class="fullHeight videoOverview" id="videoOverview"> <div class="fullHeight videoOverview" id="videoOverview">
<div v-show="showPlayback" class="videoTop"> <div v-show="showPlaybacks" class="videoTop">
<span <span
class="videoType" class="videoType"
:class="{ active: videoType == 1 }" :class="{ active: videoType == 1 }"
@ -9,7 +9,7 @@
>{{ $t("message.videoManage.live") }}</span >{{ $t("message.videoManage.live") }}</span
> >
<span <span
v-show="showPlayback" v-show="showPlaybacks"
class="videoType" class="videoType"
:class="{ active: videoType == 2 }" :class="{ active: videoType == 2 }"
@click=" @click="
@ -156,14 +156,14 @@
</template> </template>
</el-autocomplete> --> </el-autocomplete> -->
<span <span
v-show="showPlayback" v-show="showPlaybacks"
class="videoType" class="videoType"
:class="{ active: videoType == 1 }" :class="{ active: videoType == 1 }"
@click="videoType = 1" @click="videoType = 1"
>{{ $t("message.videoManage.live") }}</span >{{ $t("message.videoManage.live") }}</span
> >
<span <span
v-show="showPlayback" v-show="showPlaybacks"
class="videoType" class="videoType"
:class="{ active: videoType == 2 }" :class="{ active: videoType == 2 }"
@click=" @click="
@ -323,7 +323,7 @@ export default {
showMoreWin: true, // showMoreWin: true, //
showCaptrue: false, // showCaptrue: false, //
showControl: false, // showControl: false, //
showPlayback: false, // showPlaybacks: false, //
pluginType: "", //ysy: videojs ckPlayer lecheng isc xiongmai pluginType: "", //ysy: videojs ckPlayer lecheng isc xiongmai
initDivNum: 9, initDivNum: 9,
ysyParams: { ysyParams: {
@ -354,8 +354,8 @@ export default {
this.showCaptrue = this.$props.showCaptrue; this.showCaptrue = this.$props.showCaptrue;
this.showControl = this.$props.showControl; this.showControl = this.$props.showControl;
this.showPlayback = this.$props.showPlayback; this.showPlaybacks = this.$props.showPlayback;
console.log('当前显示回放不',this.showPlayback) console.log('当前显示回放不',this.showPlaybacks)
// if(this.$props.hiddenSelectBox){ // if(this.$props.hiddenSelectBox){
// this.hiddenSelectBox = this.$props.hiddenSelectBox; // this.hiddenSelectBox = this.$props.hiddenSelectBox;
// } // }
@ -389,7 +389,7 @@ export default {
this.showMoreWin = false; this.showMoreWin = false;
this.showCaptrue = false; this.showCaptrue = false;
this.showControl = false; this.showControl = false;
this.showPlayback = true; // this.showPlaybacks = true; //
this.bottomMod = false; this.bottomMod = false;
this.initDivNum = 1; this.initDivNum = 1;
} else if (this.pluginType == "videojs") { } else if (this.pluginType == "videojs") {

View File

@ -45,8 +45,8 @@ export default new Vuex.Store({
// UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试 // UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试
// FILEURL:'http://10.0.1.43:6023/image/',//测试 // FILEURL:'http://10.0.1.43:6023/image/',//测试
BASEURL: baseUrl ? baseUrl : window.location.protocol + '//' + window.location.host + '/', // BASEURL: baseUrl ? baseUrl : window.location.protocol + '//' + window.location.host + '/', //
// UPLOADURL: window.location.protocol + '//' + window.location.host + '/upload/image', // UPLOADURL: window.location.protocol + '//' + window.location.host + '/upload/image', //
// FILEURL: window.location.protocol + '//' + window.location.host + '/image/', //测试 // tag: 本地测试接口 FILEURL: window.location.protocol + '//' + window.location.host + '/image/', //测试 // tag: 本地测试接口
/* 2022-05-16 */ /* 2022-05-16 */
// tag: 部署河南项目时,需要打开这两行代码 // tag: 部署河南项目时,需要打开这两行代码
// UPLOADURL: 'http://139.9.66.234:6324/upload/image', // UPLOADURL: 'http://139.9.66.234:6324/upload/image',
@ -58,8 +58,8 @@ export default new Vuex.Store({
// 邱平毅的 // 邱平毅的
// UPLOADURL: 'http://192.168.34.216:6023/upload/image', // UPLOADURL: 'http://192.168.34.216:6023/upload/image',
// FILEURL: 'http://192.168.34.216:6023/image/', // FILEURL: 'http://192.168.34.216:6023/image/',
UPLOADURL: 'http://124.71.67.160:8088/upload/image', // UPLOADURL: 'http://124.71.67.160:8088/upload/image',
FILEURL: 'http://124.71.67.160:8088/image/', // FILEURL: 'http://124.71.67.160:8088/image/',
// UPLOADURL:'http://'+"61.190.32.219:9050"+'/upload/image',//正式 // UPLOADURL:'http://'+"61.190.32.219:9050"+'/upload/image',//正式
// FILEURL:'http://'+"61.190.32.219:9050"+'/image/',//正式 // FILEURL:'http://'+"61.190.32.219:9050"+'/image/',//正式

View File

@ -41,7 +41,7 @@ export default {
bulidStatus: { label: '项目状态:', value: '' }, bulidStatus: { label: '项目状态:', value: '' },
constructionStage: { label: '形象进度:', value: '' }, constructionStage: { label: '形象进度:', value: '' },
households:{label: '项目造价:', value: ''}, households:{label: '项目造价:', value: ''},
val2:{label: '已完成投资:', value: ''}, // val2:{label: ':', value: ''},
projectAcreage: { label: '工程面积:', value: '', unit: '' }, projectAcreage: { label: '工程面积:', value: '', unit: '' },
constructionUnit: { label: '建设单位:', value: ''}, constructionUnit: { label: '建设单位:', value: ''},
projectAddress: { label: '项目地址:', value: '' }, projectAddress: { label: '项目地址:', value: '' },
@ -266,7 +266,9 @@ export default {
} }
} }
.butProcess{ .butProcess{
margin-bottom: 5%; margin: 0% 5% 5% 5%;
// margin-bottom: 5%;
// margin-right: 5%;
} }
} }
</style> </style>

View File

@ -106,11 +106,11 @@ export default {
} }
.rightTwo { .rightTwo {
height: 30%; height: 25%;
} }
.rightThree { .rightThree {
height: 20%; height: 25%;
} }
.rightFour { .rightFour {

View File

@ -1,6 +1,6 @@
<!-- 步骤条 --> <!-- 步骤条 -->
<template> <template>
<div class="list progress"> <div class="list progress" id="scrollBox">
<div :ops="ops" class="list-item progress-item" v-for="(item, index) in list" :key="index"> <div :ops="ops" class="list-item progress-item" v-for="(item, index) in list" :key="index">
<div :class="['progress-item-dot', { active: projectData.constructionStage-1 >= index }]"></div> <div :class="['progress-item-dot', { active: projectData.constructionStage-1 >= index }]"></div>
<div class="info"> <div class="info">
@ -34,6 +34,9 @@ export default {
created(){ created(){
console.log('this.list',this.list) console.log('this.list',this.list)
this.getDataDateils() this.getDataDateils()
},
mounted(){
}, },
methods:{ methods:{
getDataDateils() { getDataDateils() {
@ -55,7 +58,7 @@ export default {
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 100%; height: 95%;
.progress-item { .progress-item {
position: relative; position: relative;

View File

@ -72,6 +72,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 8px 15px;
overflow: auto; overflow: auto;
.content{ .content{
margin-top: 10px; margin-top: 10px;

View File

@ -37,8 +37,8 @@
class="empty" class="empty"
style=" style="
position: absolute; position: absolute;
left: 50%; left: 55%;
top: 50%; top: 40%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
" "
> >
@ -79,7 +79,7 @@ export default {
list: [], list: [],
titObj: { titObj: {
text: 0, text: 0,
y: "35%", y: "30%",
subTitle: "质量问题数", subTitle: "质量问题数",
color1: "#FFC303", color1: "#FFC303",
size1: "38", size1: "38",

View File

@ -154,6 +154,7 @@ export default {
line-height: 38px; line-height: 38px;
text-align: center; text-align: center;
z-index: 99; z-index: 99;
cursor: pointer;
} }
.changeTab0 { .changeTab0 {
position: absolute; position: absolute;

View File

@ -1101,8 +1101,8 @@
<img <img
@mousedown.prevent="move(index,$event)" @mousedown.prevent="move(index,$event)"
@mouseup="up(index,$event)" @mouseup="up(index,$event)"
style="width: 19px; height:29px;" style="width: 70px; height:70px;"
src="@/assets/images/deepFoundationPitManage/point-icon.png" src="@/assets/images/deepFoundationPitManage/ljz.png"
/> />
</li> </li>
</ul> </ul>
@ -1113,8 +1113,8 @@
:style="{'top': pointTop + 'px','left': pointLeft + 'px','display': pointStatus}" :style="{'top': pointTop + 'px','left': pointLeft + 'px','display': pointStatus}"
> >
<img <img
style="width: 19px; height:29px;" style="width: 70px; height:70px;"
src="@/assets/images/deepFoundationPitManage/point-icon.png" src="@/assets/images/deepFoundationPitManage/ljz.png"
/> />
</div> </div>
</vue-scroll> </vue-scroll>

View File

@ -131,11 +131,13 @@
:src="mapUrl" :src="mapUrl"
/> />
<div class="point-list"> <div class="point-list">
<!-- ${item.alarmState} -->
<div <div
class="point-item" class="point-item"
v-for="(item, index) in pointList" v-for="(item, index) in pointList"
:key="index" :key="index"
:style="{'left': item.mapX*mapZoom +'px','top': item.mapY*mapZoom + 'px'}" :class="item.alarmState==1 ? 'changeColor1' : item.alarmState==2 ? 'changeColor2' : item.alarmState==3 ? 'changeColor3': item.alarmState==4 ? 'changeColor4' : ''"
:style="{'left': item.mapX*mapZoom - '10' +'px','top': item.mapY*mapZoom - '15' + 'px'}"
> >
<span <span
@click="checkMapItem(item)" @click="checkMapItem(item)"
@ -148,21 +150,31 @@
> >
<div class="point-title"> <div class="point-title">
<p>测点编号{{item.measurePointName }}</p> <p>测点编号{{item.measurePointName }}</p>
<p>测点名称{{ item.monitorTypeName}}</p> <p>测点名称<span style="color:#77e8b0;display:inline-block;width:150px;height:25px">{{ item.monitorTypeName}}</span></p>
<p>测点状态:
<span style="display:inline-block;width:150px;height:30px" :class="{'alarm_status1': item.alarmState == 1,
'alarm_status2': item.alarmState == 2,
'alarm_status3': item.alarmState == 3,
'alarm_status4': item.alarmState == 4}">
{{item.alarmState == 1 ? '正常': item.alarmState == 2
? '超控制' : item.alarmState == 3
? '累计值报警': item.alarmState == 4
? '变化速率报警':""}}</span></p>
</div> </div>
<vue-scroll style="height: 200px"> <vue-scroll style="height: 200px">
<div class="point-content"> <div class="point-content">
<div v-for="(item2,index2) in item.sensorlist" :key="index2"> <div v-for="(item2,index2) in item.sensorlist" :key="index2">
<p>传感器编号{{item2.sensorSn}}</p> <p>传感器编号{{item2.sensorSn}}</p>
<p>传感器类型{{item2.sensorTypeName == null ? '无' : item2.sensorTypeName }}</p> <p>传感器类型{{item2.sensorTypeName == null ? '无' : item2.sensorTypeName }}</p>
<p>采集时间{{item2.receiveTime == null ? '无' : item2.receiveTime}}</p>
<p>当前值{{item2.data == null ? '无' : item2.receiveTime}}</p>
<p>变化速率{{item2.dataRate == null ? '无' : item2.dataRate}}</p>
<p>当前状态 <p>当前状态
{{item2.status == 1 ? '正常': item2.status == 2 {{item2.status == 1 ? '正常': item2.status == 2
? '超报警' : item2.status == 3 ? '超控制' : item2.status == 3
? '超控制': item2.status == 4 ? '累计值报警': item2.status == 4
? '变化速率报警':""}}</p> ? '变化速率报警':""}}</p>
<p>当前值{{item2.data == null ? '无' : item2.data}}</p>
<p>变化速率{{item2.dataRate == null ? '无' : item2.dataRate}}</p>
<p>累计值{{item2.dataTotal == null ? '无' : item2.dataTotal}}</p>
<p>采集时间{{item2.receiveTime == null ? '无' : item2.receiveTime}}</p>
</div> </div>
<!-- 检测类型 --> <!-- 检测类型 -->
<!-- <p>{{$t('message.deepFoundConfig.detectionType')}}{{item.monitorTypeName}}</p> <!-- <p>{{$t('message.deepFoundConfig.detectionType')}}{{item.monitorTypeName}}</p>
@ -589,6 +601,7 @@ import {
export default { export default {
data() { data() {
return { return {
changecolors:2,
unit:"mm", unit:"mm",
detailData: { detailData: {
name: "", name: "",
@ -846,7 +859,7 @@ export default {
deepExcavationId: this.deepExcavation, deepExcavationId: this.deepExcavation,
planeFigureId: this.mapId planeFigureId: this.mapId
}).then(res => { }).then(res => {
console.log(res.result, "点位配置信息"); console.log("点位配置信息",res.result);
if (res.code == 200 && res.result) { if (res.code == 200 && res.result) {
res.result.forEach(item => { res.result.forEach(item => {
item.isShow = false; item.isShow = false;
@ -2031,13 +2044,15 @@ export default {
top: 0; top: 0;
left: 0; left: 0;
.point-item { .point-item {
background-image: url("~@/assets/images/pointl.png"); // background-image: url("~@/assets/images/pointl.png");
background-size:100% ;
background-repeat: no-repeat;
position: absolute; position: absolute;
span { span {
width: 16px; width: 70px;
height: 16px; height: 70px;
display: block; display: block;
border-radius: 50%; // border-radius: 50%;
cursor: pointer; cursor: pointer;
} }
.point-info { .point-info {
@ -2074,6 +2089,18 @@ export default {
top: -228px; top: -228px;
} }
} }
.changeColor1{
background-image: url("~@/assets/images/deepFoundationPitManage/zc.png");
}
.changeColor2{
background-image: url("~@/assets/images/deepFoundationPitManage/ckz.png");
}
.changeColor3{
background-image: url("~@/assets/images/deepFoundationPitManage/ljbj.png");
}
.changeColor4{
background-image: url("~@/assets/images/deepFoundationPitManage/bhsl.png");
}
} }
} }
} }

View File

@ -440,7 +440,7 @@ export default {
this.selectLifterCurrentData() this.selectLifterCurrentData()
}, },
exportExcel(){ exportExcel(){
console.log('点击this.valueTime',this.valueTime) // console.log('this.valueTime',this.valueTime)
if(this.valueTime){ if(this.valueTime){
window.location.href = window.location.href =
this.$http.defaults.baseURL + this.$http.defaults.baseURL +

View File

@ -13,7 +13,9 @@
</div> </div>
</div> </div>
<div class="right"> <div class="right">
<component :is="componentName"></component> <!-- <component :is="componentName"></component> -->
<workCycleTable v-if="activeNav == 1"></workCycleTable>
<liveDataTable v-else></liveDataTable>
</div> </div>
</div> </div>
</template> </template>

View File

@ -311,12 +311,14 @@ export default {
this.selectLifterWorkCycle() this.selectLifterWorkCycle()
}, },
exportExcel(){ exportExcel(){
// console.log('this.valueTime',this.valueTime)
if(this.valueTime){ if(this.valueTime){
window.location.href = window.location.href =
this.$http.defaults.baseURL + this.$http.defaults.baseURL +
"xmgl/download/exporExcelTowerAlarm?projectSn=" + this.projectSn + "xmgl/download/exporExcelTowerAlarm?projectSn=" + this.projectSn +
"&devSn=" + this.devSn?this.devSn:"" + "&startTime=" + this.transformTimestamp2(this.valueTime[0]) + "&endTime=" + this.transformTimestamp2(this.valueTime[1]); "&devSn=" + this.devSn + "&startTime=" + this.valueTime[0] + "&endTime=" + this.valueTime[1];
}else { }
else {
window.location.href = window.location.href =
this.$http.defaults.baseURL + this.$http.defaults.baseURL +
"xmgl/download/exporExcelTowerAlarm?projectSn=" + this.projectSn + "xmgl/download/exporExcelTowerAlarm?projectSn=" + this.projectSn +