中建四局-大屏页面调整

This commit is contained in:
jxj_yjl 2023-05-06 17:04:34 +08:00
parent df7d8cba9c
commit c1bace0848
8 changed files with 81 additions and 31 deletions

View File

@ -1,4 +1,4 @@
var COMPANY = ''; //通用 // var COMPANY = ''; //通用
// var COMPANY='zhongjian'; //中建,和沃尔对接的插件版用这个企业 // var COMPANY='zhongjian'; //中建,和沃尔对接的插件版用这个企业
// var COMPANY='hezhan'; //合展-宿迁 // var COMPANY='hezhan'; //合展-宿迁
// var COMPANY='nanchang'; //南昌地铁、衢州 // var COMPANY='nanchang'; //南昌地铁、衢州
@ -10,7 +10,7 @@ var COMPANY = ''; //通用
// COMPANY = 'hengtong'//瑞士恒通 // COMPANY = 'hengtong'//瑞士恒通
// COMPANY = 'yunlian'//云联万物 // COMPANY = 'yunlian'//云联万物
// COMPANY = 'neimenggu'//内蒙古项目 // COMPANY = 'neimenggu'//内蒙古项目
// COMPANY = 'zjsj'//中建四局 COMPANY = 'zjsj'//中建四局
// COMPANY = 'zjwj'//中建五局 // COMPANY = 'zjwj'//中建五局
@ -23,7 +23,7 @@ var PROJECT = {
} }
var PROJECT_TYPE = PROJECT.local_test var PROJECT_TYPE = PROJECT.online_zjsj
var headerShow = true; // 是否显示头部 var headerShow = true; // 是否显示头部
var tabsShow = true; // 是否显示tabs var tabsShow = true; // 是否显示tabs

View File

@ -80,12 +80,12 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL = 'http://192.168.34.221:12346' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:12346' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:12350' //金林湾本地 // axios.defaults.baseURL = 'http://192.168.34.221:12350' //金林湾本地
// axios.defaults.baseURL = 'http://192.168.34.122:8070' //彭洁本地 // axios.defaults.baseURL = 'http://192.168.34.122:8070' //彭洁本地
axios.defaults.baseURL = 'http://192.168.34.221:8070' //演示平台郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:8070' //演示平台郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:30000' //中建五局郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:30000' //中建五局郭圣雄本地
// axios.defaults.baseURL = 'http://101.43.164.214:11111' //百色线上 // axios.defaults.baseURL = 'http://101.43.164.214:11111' //百色线上
// axios.defaults.baseURL = 'http://101.43.164.214:12345/'//内蒙古线上 // axios.defaults.baseURL = 'http://101.43.164.214:12345/'//内蒙古线上
// axios.defaults.baseURL = 'http://121.196.214.246/api/'//金林湾线上新 // axios.defaults.baseURL = 'http://121.196.214.246/api/'//金林湾线上新
// axios.defaults.baseURL = 'http://42.194.144.62:8088/'//中建四局线上(新)地址 axios.defaults.baseURL = 'http://42.194.144.62:8088/'//中建四局线上(新)地址
// axios.defaults.baseURL = 'http://101.43.164.214:12350'//中建五局线上 // axios.defaults.baseURL = 'http://101.43.164.214:12350'//中建五局线上
} else if (process.env.NODE_ENV == 'debug') { } else if (process.env.NODE_ENV == 'debug') {

View File

@ -48,12 +48,12 @@ export default new Vuex.Store({
BASEURL: baseUrl BASEURL: baseUrl
? baseUrl ? baseUrl
: window.location.protocol + "//" + window.location.host + "/", //正式环境 : window.location.protocol + "//" + window.location.host + "/", //正式环境
// UPLOADURL: UPLOADURL:
// window.location.protocol + window.location.protocol +
// "//" + "//" +
// window.location.host + window.location.host +
// "/upload/image", //正式环境 "/upload/image", //正式环境
// FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境
//--------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------
// BASEURL: baseUrl // BASEURL: baseUrl
// ? baseUrl // ? baseUrl
@ -87,8 +87,8 @@ export default new Vuex.Store({
// FILEURL:'http://'+"47.97.202.104:6023"+'/image/',//正式 // FILEURL:'http://'+"47.97.202.104:6023"+'/image/',//正式
// UPLOADURL: 'http://182.90.224.147:100/upload/image',//演示平台 // UPLOADURL: 'http://182.90.224.147:100/upload/image',//演示平台
// FILEURL: 'http://182.90.224.147:100/image/',//演示平台 // FILEURL: 'http://182.90.224.147:100/image/',//演示平台
UPLOADURL: 'http://192.168.34.221:8070/upload/image',//演示平台郭圣雄本地 // UPLOADURL: 'http://192.168.34.221:8070/upload/image',//演示平台郭圣雄本地
FILEURL: 'http://192.168.34.221:8070/image/',//演示平台郭圣雄本地 // FILEURL: 'http://192.168.34.221:8070/image/',//演示平台郭圣雄本地
// UPLOADURL: 'http://192.168.34.221:30000/upload/image',//郭圣雄本地 // UPLOADURL: 'http://192.168.34.221:30000/upload/image',//郭圣雄本地
// FILEURL: 'http://192.168.34.221:30000/image/',//郭圣雄本地 // FILEURL: 'http://192.168.34.221:30000/image/',//郭圣雄本地
// UPLOADURL: 'http://101.43.164.214:12345/upload/image',//内蒙古 // UPLOADURL: 'http://101.43.164.214:12345/upload/image',//内蒙古

View File

@ -49,6 +49,42 @@ export default {
data() { data() {
return { return {
contentList: [ contentList: [
{
time: '2023-05-01',
question: 2,
utils: '中国建筑第四工程局有限公司',
safe: '卢位昌',
type: '安全',
position: '地下室',
change: '否'
},
{
time: '2023-04-29',
question: 2,
utils: '中国建筑第四工程局有限公司',
safe: '卢位昌',
type: '安全',
position: '地下室',
change: '否'
},
{
time: '2023-04-27',
question: 1,
utils: '中国建筑第四工程局有限公司',
safe: '卢位昌',
type: '安全',
position: '地下室',
change: '是'
},
{
time: '2023-04-10',
question: 2,
utils: '中国建筑第四工程局有限公司',
safe: '卢位昌',
type: '安全',
position: '地下室',
change: '否'
},
{ {
time: '2023-04-02', time: '2023-04-02',
question: 1, question: 1,

View File

@ -6,7 +6,7 @@
<div class="rowInfo"> <div class="rowInfo">
<!-- <span class="point"></span> --> <!-- <span class="point"></span> -->
<span>混凝土浇筑总量</span> <span>混凝土浇筑总量</span>
<span style="color: #5ec2c8">21187.78</span> <span style="color: #5ec2c8">21741.78</span>
<!-- 2022年总量 --> <!-- 2022年总量 -->
<!-- <span style="color: #5ec2c8">13150.5</span> --> <!-- <span style="color: #5ec2c8">13150.5</span> -->
</div> </div>
@ -43,6 +43,26 @@ export default {
data() { data() {
return { return {
dataList: [ dataList: [
{
date: '2023/4/29',
building: '三层核心筒梁板 ',
quantity: 30
},
{
date: '2023/4/29',
building: '三层核心筒梁板 ',
quantity: 30
},
{
date: '2023/4/29',
building: '二层核心筒剪力墙柱 ',
quantity: 247
},
{
date: '2023/4/29',
building: '二层核心筒剪力墙柱 ',
quantity: 247
},
{ {
date: '2023/4/18', date: '2023/4/18',
building: '二层核心筒梁板 ', building: '二层核心筒梁板 ',
@ -724,7 +744,7 @@ export default {
}, },
series: [ series: [
{ {
data: [3589, 311.5, 3007.5, 1129.28, 0, 0, 0, 0, 0, 0, 0, 0], data: [3589, 311.5, 3007.5, 1683.28, 0, 0, 0, 0, 0, 0, 0, 0],
type: 'line', type: 'line',
smooth: true, smooth: true,
color: '#f56c35' color: '#f56c35'

View File

@ -11,15 +11,15 @@
</div> </div>
<div class="carbonEmission"> <div class="carbonEmission">
<div class="photovoltaicOne"> <div class="photovoltaicOne">
<div class="textKwh" style="margin-left: 62px">17</div> <div class="textKwh" style="margin-left: 62px">21</div>
<div class="textBottom">下发整改通知书</div> <div class="textBottom">下发整改通知书</div>
</div> </div>
<div class="photovoltaicTwo"> <div class="photovoltaicTwo">
<div class="textKwh">54</div> <div class="textKwh">63</div>
<div class="textBottom">累计监督签到人数</div> <div class="textBottom">累计监督签到人数</div>
</div> </div>
<div class="photovoltaicThree"> <div class="photovoltaicThree">
<div class="textKwh" style="margin-left: 62px">17</div> <div class="textKwh" style="margin-left: 62px">21</div>
<div class="textBottom" style="margin-left: 50px">已整改</div> <div class="textBottom" style="margin-left: 50px">已整改</div>
</div> </div>
<div class="photovoltaicFour"> <div class="photovoltaicFour">

View File

@ -78,22 +78,16 @@ export default {
if (val) { if (val) {
data = val data = val
} }
console.log('获取无人机列表数据 :时间参数 -- ', val)
getUavVideoApi({ getUavVideoApi({
projectSn: this.$store.state.projectSn, projectSn: this.$store.state.projectSn,
shootingDate: data shootingDate: data
}).then((res) => { }).then((res) => {
console.log('无人机res', res)
this.uavList = res.result this.uavList = res.result
this.uavList.forEach((item) => { this.videoUrl=this.uavList[0].videoUrl
this.videoUrl = item.videoUrl
})
console.log('this.videoUrl', this.videoUrl)
}) })
}, },
// //
checkM(item) { checkM(item) {
console.log('点击切换', item)
this.videoUrl = item.videoUrl this.videoUrl = item.videoUrl
} }
} }

View File

@ -49,7 +49,7 @@ export default {
temperature: 0, temperature: 0,
}, },
searchSn: "", searchSn: "",
devSn: "", devSn: "AXJD000000000009",
dustData_24: [], dustData_24: [],
humidityList:[],//湿 humidityList:[],//湿
temperatureList:[],// temperatureList:[],//
@ -62,7 +62,8 @@ export default {
if (this.$store.state.projectSn) { if (this.$store.state.projectSn) {
this.searchSn = this.$store.state.projectSn; this.searchSn = this.$store.state.projectSn;
this.$nextTick(() => { this.$nextTick(() => {
this.getDevList(); // this.getDevList();
this.selectDustNoiseData()
this.getRealTimeData(); this.getRealTimeData();
}); });
} else { } else {
@ -298,9 +299,8 @@ export default {
console.log("列表", result); console.log("列表", result);
this.devList = result.result; this.devList = result.result;
if (result.result.length > 0) { if (result.result.length > 0) {
this.devSn = result.result[0].devSn; // this.devSn = result.result[0].devSn;
this.getRealTimeData(); this.getRealTimeData();
this.selectDustNoiseData()
} }
}); });
@ -319,7 +319,7 @@ export default {
this.personnelTypeChart.clear(); this.personnelTypeChart.clear();
} }
this.getDevList(); // this.getDevList();
}, },
}, },
}; };
@ -349,7 +349,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 80px; margin-top: 80px;
margin-left: 2px;
.icon { .icon {
width: 40px; width: 40px;
height: 40px; height: 40px;