From e613f96bbc2ca9ee79fc043a1ae96a9dd67009ca Mon Sep 17 00:00:00 2001 From: jxj_yjl <1490736767@qq.com> Date: Sat, 13 May 2023 17:00:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=88=90=E6=B6=A6=E9=A1=B9=E7=9B=AE-?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/config.js | 6 +- src/assets/js/http.js | 5 +- src/components/message.vue | 4 +- src/store/index.js | 18 +- src/views/companyFront/project/overview.vue | 2 +- .../projectAdmin/dataBoard/AiAnalysis.vue | 61 +++++- .../projectAdmin/dataBoard/AiAnalysisCopy.vue | 2 +- .../dataBoard/digitalSite/index.vue | 75 ++++---- src/views/projectAdmin/dataBoard/index.vue | 10 +- .../projectAdmin/dataBoardTwo/AiAnalysis.vue | 2 +- .../projectFront/BIMCenter/BIMManageV3.vue | 178 +++++++++++------- .../projectFront/buildersDiary/diaryMod.vue | 2 +- .../projectFront/carManage/carManage.vue | 2 +- .../projectFront/laborManage/overview.vue | 2 +- src/views/projectFront/lifter/basicInfo.vue | 23 ++- .../projectFront/markingRoom/sampleManage.vue | 3 +- .../qualitySpringback/buildManage.vue | 1 + .../electronicPouringOrder.vue | 2 +- .../waterManage/alarmValueSet.vue | 2 +- 19 files changed, 245 insertions(+), 155 deletions(-) diff --git a/public/js/config.js b/public/js/config.js index e82ee993..874da78b 100644 --- a/public/js/config.js +++ b/public/js/config.js @@ -40,15 +40,15 @@ var baseUrl = window.location.protocol + '//' + window.location.host + '/'; var LOGINTYPE = 1; // 1.通用 2.只支持企业账号登录 3.只支持项目账号登录 var showNotBuyMoudle = false; //是否展示未解锁产品 var isDockingToWoer = false; //是否是和沃尔平台对接 -var mqttUrl = 'tcp://182.90.224.147:1883' +var mqttUrl = 'ws://182.90.224.147:8083/mqtt' // var mqttUrl = 'ws://10.139.72.12:8083/mqtt' //longguang if (COMPANY == 'longguang') { - // mqttUrl = 'tcp://182.90.224.147:1883' + // mqttUrl = 'ws://182.90.224.147:8083/mqtt' // mqttUrl = 'ws://10.139.72.12:8083/mqtt' // mqttUrl = 'ws://121.35.243.71:8083/mqtt' mqttUrl = 'ws://zhgdmqtt.loganwy.com:80/mqtt' } else if (COMPANY == 'henan') { - mqttUrl = 'tcp://182.90.224.147:1883' + mqttUrl = 'ws://182.90.224.147:8083/mqtt' } var enabledProjectV2 = 2; //是否用精益建造版 1:精益建造版(黑色) 2: 最初版(白色) 3:数据看板UI蓝色版(白色) 4:湛蓝色 var CONSTRUCTIONSTAGE = [{ diff --git a/src/assets/js/http.js b/src/assets/js/http.js index a86ac450..cf8d1179 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -42,7 +42,7 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://192.168.34.117:6023/' // 杨杰本地 // axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋 // axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上(旧)地址 - axios.defaults.baseURL ='http://182.90.224.147:100/' //演示平台/ + // axios.defaults.baseURL ='http://182.90.224.147:100/' //演示平台/ // 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://192.168.34.231:6023/'; //杨思瑞本地 @@ -87,8 +87,7 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://121.196.214.246/api/'//金林湾线上新 // axios.defaults.baseURL = 'http://42.194.144.62:8088/'//中建四局线上(新)地址 // axios.defaults.baseURL = 'http://101.43.164.214:12350'//中建五局线上 - // axios.defaults.baseURL = 'http://182.90.224.147:15551'//港投项目线上 - + axios.defaults.baseURL = 'http://182.90.224.147:15551'//港投(成润)项目线上 } else if (process.env.NODE_ENV == 'debug') { axios.defaults.baseURL = 'https://www.ceshi.com' } else if (process.env.NODE_ENV == 'production') { diff --git a/src/components/message.vue b/src/components/message.vue index 4cd2cba1..8638602a 100644 --- a/src/components/message.vue +++ b/src/components/message.vue @@ -153,7 +153,7 @@ export default { if (process.env.NODE_ENV == 'development') { this.userId = this.$store.state.userInfo.userId this.topicName = this.$store.state.userInfo.scope - // // client = mqtt.connect("tcp://182.90.224.147:1883", options); + // // client = mqtt.connect("ws://182.90.224.147:8083/mqtt", options); client = mqtt.connect(mqttUrl, options) this.getData() this.mqttMSG() @@ -161,7 +161,7 @@ export default { } else if (process.env.NODE_ENV == 'production') { this.userId = this.$store.state.userInfo.userId this.topicName = this.$store.state.userInfo.scope - // client = mqtt.connect("tcp://182.90.224.147:1883", options); + // client = mqtt.connect("ws://182.90.224.147:8083/mqtt", options); client = mqtt.connect(mqttUrl, options) this.getData() this.mqttMSG() diff --git a/src/store/index.js b/src/store/index.js index c2e7e314..46a4c457 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -48,12 +48,12 @@ export default new Vuex.Store({ BASEURL: baseUrl ? baseUrl : window.location.protocol + "//" + window.location.host + "/", //正式环境 - UPLOADURL: - window.location.protocol + - "//" + - window.location.host + - "/upload/image", //正式环境 - FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 + // UPLOADURL: + // window.location.protocol + + // "//" + + // window.location.host + + // "/upload/image", //正式环境 + // FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 //--------------------------------------------------------------------------------------------- // BASEURL: baseUrl // ? baseUrl @@ -87,14 +87,16 @@ export default new Vuex.Store({ // FILEURL:'http://'+"47.97.202.104:6023"+'/image/',//正式 // UPLOADURL: 'http://182.90.224.147:100/upload/image',//演示平台 // FILEURL: 'http://182.90.224.147:100/image/',//演示平台 - // UPLOADURL: 'http://192.168.34.221:8070/upload/image',//演示平台郭圣雄本地 - // FILEURL: 'http://192.168.34.221:8070/image/',//演示平台郭圣雄本地 + UPLOADURL: 'http://192.168.34.221:8070/upload/image',//演示平台郭圣雄本地 + FILEURL: 'http://192.168.34.221:8070/image/',//演示平台郭圣雄本地 // UPLOADURL: 'http://192.168.34.221:30000/upload/image',//郭圣雄本地 // FILEURL: 'http://192.168.34.221:30000/image/',//郭圣雄本地 // UPLOADURL: 'http://101.43.164.214:12345/upload/image',//内蒙古 // FILEURL: 'http://101.43.164.214:12345/image/',//内蒙古 // UPLOADURL: 'http://42.194.144.62:8088/upload/image',//中建四 // FILEURL: 'http://42.194.144.62:8088/image/',//中建四 + // UPLOADURL: 'http://42.194.144.62:8088/upload/image',//中建四 + // FILEURL: 'http://42.194.144.62:8088/image/',//中建四 ACCOUNTTYPE: [ "系统管理员", diff --git a/src/views/companyFront/project/overview.vue b/src/views/companyFront/project/overview.vue index 1a0c6551..785d339f 100644 --- a/src/views/companyFront/project/overview.vue +++ b/src/views/companyFront/project/overview.vue @@ -1559,7 +1559,7 @@ export default { companySn: this.$store.state.userInfo.headquartersSn, propagateFile: url, }).then((res) => { - this.$message.success("上传成功"); + // this.$message.success("上传成功"); var json = this.$store.state.userInfo; json.propagateFile = url == "-1" ? "" : url; this.$store.commit("setUserInfo", json); diff --git a/src/views/projectAdmin/dataBoard/AiAnalysis.vue b/src/views/projectAdmin/dataBoard/AiAnalysis.vue index 8eb69bdf..7d57bd95 100644 --- a/src/views/projectAdmin/dataBoard/AiAnalysis.vue +++ b/src/views/projectAdmin/dataBoard/AiAnalysis.vue @@ -58,6 +58,16 @@ }} +
+ + + {{$t('message.dataBoard.nodata')}} +
+
+ + + {{$t('message.dataBoard.nodata')}} +
+
+ + + {{$t('message.dataBoard.nodata')}} +
+@@ -522,8 +522,8 @@ { alert: lifterCurrentData.obliguityXAlarm != 0 || - lifterCurrentData.obliguityXPreAlarm != 0 - } + lifterCurrentData.obliguityXPreAlarm != 0, + }, ]" >
@@ -544,8 +544,8 @@ { alert: lifterCurrentData.obliguityYAlarm != 0 || - lifterCurrentData.obliguityYPreAlarm != 0 - } + lifterCurrentData.obliguityYPreAlarm != 0, + }, ]" >
@@ -566,8 +566,8 @@ { alert: lifterCurrentData.speedAlarm != 0 || - lifterCurrentData.speedPreAlarm != 0 - } + lifterCurrentData.speedPreAlarm != 0, + }, ]" >
@@ -587,8 +587,8 @@ { alert: lifterCurrentData.windSpeedAlarm != 0 || - lifterCurrentData.windSpeedPreAlarm != 0 - } + lifterCurrentData.windSpeedPreAlarm != 0, + }, ]" >
@@ -885,7 +885,7 @@ class="pointDialogContent" :style="{ margin: company == 'longguang' ? '0 70px' : '40px 70px', - height: company == 'longguang' ? '100%' : 'calc(100% - 80px)' + height: company == 'longguang' ? '100%' : 'calc(100% - 80px)', }" >
{{ afterAnalysisDataInfo.alarmNum }} @@ -1229,7 +1229,7 @@ :style="{ left: coordData.coordX + 8 + 'px', height: coordData.lineLength + 'px', - top: '78px' + top: '78px', }" />
@@ -2042,8 +2042,7 @@
{{$t('message.BIMmanage.warnText')}}
+ style="margin-bottom: 20px; text-align: center" + > + {{ $t('message.BIMmanage.warnText') }} +
+