From 2e8ce3a2f89282da198973c864c2fa5bcfcc02d9 Mon Sep 17 00:00:00 2001 From: jxj_yjl <1490736767@qq.com> Date: Sat, 13 May 2023 18:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=94=E7=A4=BA=E5=B9=B3=E5=8F=B0-=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/http.js | 6 ++-- src/store/index.js | 16 +++++----- .../projectAdmin/dataBoard/AiAnalysis.vue | 30 +++++++++---------- .../recordsModule/inspectionRecord.vue | 3 +- 4 files changed, 28 insertions(+), 27 deletions(-) diff --git a/src/assets/js/http.js b/src/assets/js/http.js index cf8d1179..6e4081f5 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/'; //杨思瑞本地 @@ -80,14 +80,14 @@ if (process.env.NODE_ENV == 'development') { // 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.122:8070' //彭洁本地 - // axios.defaults.baseURL = 'http://192.168.34.221:8070' //演示平台郭圣雄本地 + // axios.defaults.baseURL = 'http://192.168.34.221:11120' //演示平台郭圣雄本地 // 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:12345/'//内蒙古线上 // 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/store/index.js b/src/store/index.js index 46a4c457..afec77d7 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,8 +87,8 @@ 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',//内蒙古 diff --git a/src/views/projectAdmin/dataBoard/AiAnalysis.vue b/src/views/projectAdmin/dataBoard/AiAnalysis.vue index 7d57bd95..bb9604ec 100644 --- a/src/views/projectAdmin/dataBoard/AiAnalysis.vue +++ b/src/views/projectAdmin/dataBoard/AiAnalysis.vue @@ -701,17 +701,17 @@ export default { // ['总计', '安全帽报警','明火报警','聚众报警','倒地报警','越界报警','闯入报警','反光衣报警','吸烟报警'], data: this.$t('message.dataBoard.alarmTypeArray'), textStyle: { - fontSize: 10,//字体大小 + fontSize: 12,//字体大小 color: '#ccc' //字体颜色 }, left: '6%', - top: '7%', + top: '5%', }, grid: { top:'20%', left: '3%', right: '4%', - bottom: '29%', + bottom: '2%', containLabel: true }, tooltip: { @@ -726,7 +726,7 @@ export default { textStyle: { //改变刻度字体样式 color: 'RGB(254,255,255,0.5)', - fontSize: 8, + fontSize: 10, } } }, @@ -737,7 +737,7 @@ export default { textStyle: { //改变刻度字体样式 color: 'RGB(254,255,255,0.5)', - fontSize: 10, + fontSize: 12, } }, splitLine: { @@ -947,16 +947,16 @@ export default { }