|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="container"> |
|
|
|
<div class="container"> |
|
|
|
<div style="width:100%;height:100%;" v-if="role_id == '1123598816738675201'"> |
|
|
|
<div style="width:100%;height:100%;" v-if="role_id == '1123598816738675200'"> |
|
|
|
<div class="top_box"> |
|
|
|
<div class="top_box"> |
|
|
|
<div class="top_left"> |
|
|
|
<div class="top_left"> |
|
|
|
<img style="width:100%;height:100%;" src="@/assets/images/lab.png" alt=""> |
|
|
|
<img style="width:100%;height:100%;" src="@/assets/images/lab.png" alt=""> |
|
|
|
@ -114,7 +114,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="width:100%;height:100%;" v-if="role_id == '1123598816738675200'"> |
|
|
|
<div style="width:100%;height:100%;" v-if="role_id == '1123598816738675201'"> |
|
|
|
<div class="left_box"> |
|
|
|
<div class="left_box"> |
|
|
|
<div class="map_box"> |
|
|
|
<div class="map_box"> |
|
|
|
<Map style="width:100%;height:100%;"></Map> |
|
|
|
<Map style="width:100%;height:100%;"></Map> |
|
|
|
@ -357,7 +357,7 @@ export default { |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
this.role_id = this.userInfo.role_id |
|
|
|
this.role_id = this.userInfo.role_id |
|
|
|
|
|
|
|
|
|
|
|
if(this.role_id == '1123598816738675201'){ |
|
|
|
if(this.role_id == '1123598816738675200'){ |
|
|
|
nextTick(() =>{ |
|
|
|
nextTick(() =>{ |
|
|
|
this.createBarEcharts() |
|
|
|
this.createBarEcharts() |
|
|
|
this.createErrorEcharts() |
|
|
|
this.createErrorEcharts() |
|
|
|
@ -373,7 +373,7 @@ export default { |
|
|
|
"waitTime": 1000, // 单步运动停止的时间(默认值1000ms) |
|
|
|
"waitTime": 1000, // 单步运动停止的时间(默认值1000ms) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else if(this.role_id == '1123598816738675200'){ |
|
|
|
}else if(this.role_id == '1123598816738675201'){ |
|
|
|
nextTick(() =>{ |
|
|
|
nextTick(() =>{ |
|
|
|
this.creatUnitEcharts() |
|
|
|
this.creatUnitEcharts() |
|
|
|
this.createProblemEcharts() |
|
|
|
this.createProblemEcharts() |
|
|
|
|