fix: BUG修改

This commit is contained in:
cjp 2023-07-26 09:49:30 +08:00
parent 386153089d
commit e9862f5245
8 changed files with 34 additions and 31 deletions

View File

@ -72,11 +72,12 @@ 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/'//港投(成润)项目线上(1)
// axios.defaults.baseURL = 'http://182.90.224.147:15551/'//港投(成润)项目线上(1)
// axios.defaults.baseURL = 'http://118.121.198.147:23232/'//港投(成润)正式
// axios.defaults.baseURL ='http://182.90.224.147:100/' //演示平台/
// axios.defaults.baseURL ='http://192.168.34.221:8188' //郭圣雄本地
// axios.defaults.baseURL ='http://192.168.34.221:30001' //郭圣雄本地
axios.defaults.baseURL ='http://192.168.34.221:30002' //郭圣雄本地
// axios.defaults.baseURL ='http://192.168.34.221:12350/' //金林湾本地
// axios.defaults.baseURL ='http://61.145.163.135:12345' //坪山沙湖
// axios.defaults.baseURL ='http://huli.zjzhiliao.com/jxjgdapi/' //金林湾测试线上

View File

@ -70,16 +70,16 @@
class="width_100"
@click="goProjectBackstage"
v-if="
$route.path.indexOf('/projectIndex') == -1 ||
($route.path.indexOf('/equipmentCenterIndx') == -1 &&
$route.path.indexOf('/equipmentCenterIndx') == -1 &&
$store.state.userInfo.accountType != 5 &&
$store.state.userInfo.accountType != 6 &&
$store.state.userInfo.enterProjectBackType == 0)
$store.state.userInfo.enterProjectBackType === 0
"
>
<img src="@/assets/images/xmht.png" width="15px" height="15px" />
<!-- $t("message.companyDiagram.projectBackEnd") -->
<span>{{ projectBackground }}</span>
<span>{{ projectBackground }}
</span>
</div>
<!-- 设备中台 -->
<div

View File

@ -44,8 +44,8 @@ export default new Vuex.Store({
state: {
PAGESIZRS: [10, 20, 30, 50],
UPLOADURL:'http://192.168.34.221:12360/upload/image',// 郭圣雄
FILEURL:'http://192.168.34.221:12360/image/',//郭圣雄
UPLOADURL:'http://192.168.34.221:30001/upload/image/',// 郭圣雄
FILEURL:'http://192.168.34.221:30001/image/',//郭圣雄
// UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试
// FILEURL:'http://10.0.1.43:6023/image/',//测试
BASEURL: baseUrl

View File

@ -124,7 +124,7 @@
<li>
<span>质量</span>
<p>
待整改<b>{{ qualityCount.notCloseNum }}</b>
待整改<b>{{ qualityCount.rectificationNum }}</b>
</p>
<p>
整改率<b>{{ qualityCount.completeRatio }}%</b>
@ -133,7 +133,7 @@
<li>
<span>安全</span>
<p>
待整改<b>{{ securityCount.notRectificationNum }}</b>
待整改<b>{{ securityCount.rectificationNum }}</b>
</p>
<p>
整改率<b>{{ securityCount.completeRatio }}%</b>
@ -583,7 +583,7 @@ export default {
selectProjectWorkAndInspectCount({
projectSn: data.projectSn,
}).then((res) => {
console.log(res);
console.log('大屏项目',res);
if (res.code == 200) {
this.personCount = res.result.personCount;
this.attendancePerson = this.personCount.attendancePerson;
@ -653,7 +653,7 @@ export default {
sn: this.projectSn,
};
selectCompanyProjectTypeCountApi(data).then((res) => {
// console.log(res.result)
console.log('大屏顶部数据',res.result)
if (res.code == 200) {
this.companyProjectData = res.result;
this.projectCount = res.result.count;

View File

@ -268,6 +268,7 @@ export default {
}
arr.sort(sortNum)
this.newProjectData = arr
console.log("项目概览数据",arr)
if (this.pageType == 1 ){
this.$nextTick(()=>{
this.createEchart1();
@ -468,6 +469,7 @@ export default {
let data1 = [],
data2 = [],
data3 = [];
console.log("左上角数据",this.projectData)
this.projectData.list.forEach((item)=>{
for(let j = 1; j < 13; j++){
if(Number(item.monthTitle.split('-')[1]) == j){
@ -593,7 +595,7 @@ export default {
}
]
}
// console.log("",data1,data2,data3)
echart1.setOption(this.option1);
},
createEchart2(){
@ -949,7 +951,7 @@ export default {
.seamless-warp{
width: 100%;
height: 164px;
height: 80px;
overflow: auto;
li:nth-child(2n){
background: rgba(2, 251, 226, 0.07);

View File

@ -19,9 +19,10 @@
<div class="list-item" v-if="pageType == 1">
<div class="item-content">
<div class="item-title"><span></span>巡检情况</div>
<div class="item-detail">暂无数据
<!-- <div class="condition-title">检查总数<span>208</span></div>
<div ref="echart1" style="width:100%; height:148px"></div> -->
<div class="item-detail">
<!-- 暂无数据 -->
<div class="condition-title">检查总数<span>208</span></div>
<div ref="echart1" style="width:100%; height:148px"></div>
</div>
</div>
</div>
@ -29,8 +30,9 @@
<div class="list-item" v-if="pageType == 1">
<div class="item-content">
<div class="item-title"><span></span>累计预警工程排行</div>
<div class="item-detail">暂无数据
<!-- <div ref="echart2" style="width:100%; height:177px"></div> -->
<div class="item-detail">
<!-- 暂无数据 -->
<div ref="echart2" style="width:100%; height:177px"></div>
</div>
</div>
</div>

View File

@ -593,9 +593,9 @@ export default {
}).then((res) => {
console.log('在场人员', res)
this.inSecenList = res.result
this.timer = window.setTimeout(() => {
this.selectProjectPresentWorkerList()
}, 5000)
// this.timer = window.setTimeout(() => {
// this.selectProjectPresentWorkerList()
// }, 5000)
})
},
//
@ -610,17 +610,17 @@ export default {
var json2 = this.statisticsCount.workercount
var yData1 = [
json1.age18,
json1.age18to25,
json1.age25to35,
json1.age35to45,
json1.age18to25 + json1.age25to35 + json1.age35to45,
// json1.age25to35,
// json1.age35to45,
json1.age45to60,
json1.age60
]
var yData2 = [
json2.age18,
json2.age18to25,
json2.age25to35,
json2.age35to45,
json2.age18to25 + json1.age25to35 + json1.age35to45,
// json2.age25to35,
// json2.age35to45,
json2.age45to60,
json2.age60
]

View File

@ -164,8 +164,7 @@
<el-input
size="medium"
v-model="scope.row.warningValue"
onkeyup="if(isNaN(value))execCommand('undo')"
onafterpaste="if(isNaN(value))execCommand('undo')"
type="number"
oninput="if(value.length>3)value=value.slice(0,3)"
></el-input>
</template>
@ -179,8 +178,7 @@
<el-input
size="medium"
v-model="scope.row.alarmValue"
onkeyup="if(isNaN(value))execCommand('undo')"
onafterpaste="if(isNaN(value))execCommand('undo')"
type="number"
oninput="if(value.length>3)value=value.slice(0,3)"
></el-input>
</template>