|
@@ -12,50 +12,50 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="text-align: center; display: flex;justify-content: space-around;margin-top: 10px;align-items: center;height: 80%;">
|
|
|
+ <div :style="transformdata ? 'transform: scale('+transformdata+') translate(0,0) !important;text-align: center; display: flex;justify-content: center;margin-top: 10px;align-items: center;height: 80%;' :'text-align: center; display: flex;justify-content: center;margin-top: 10px;align-items: center;height: 80%;'">
|
|
|
<div style="position: relative;">
|
|
|
- <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="0<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<20">
|
|
|
- <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="20<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<40">
|
|
|
- <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="40<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<60">
|
|
|
- <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="60<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<80">
|
|
|
- <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="80<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<100">
|
|
|
+ <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;" v-if="0<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<20">
|
|
|
+ <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;" v-if="20<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<40">
|
|
|
+ <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;" v-if="40<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<60">
|
|
|
+ <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;" v-if="60<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<80">
|
|
|
+ <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;" v-if="80<=(dashboarddata.ehtOne) && (dashboarddata.ehtOne)<100">
|
|
|
<span class="modelTop pos">STT1061</span>
|
|
|
<span class="ModelFont">{{ dashboarddata.ehtOne }}%</span>
|
|
|
</div>
|
|
|
- <div style="position: relative;">
|
|
|
- <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="0<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<20">
|
|
|
- <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="20<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<40">
|
|
|
- <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="40<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<60">
|
|
|
- <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="60<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<80">
|
|
|
- <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="80<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<100">
|
|
|
+ <div style="position: relative; margin-left: 8% ;">
|
|
|
+ <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;" v-if="0<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<20">
|
|
|
+ <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;" v-if="20<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<40">
|
|
|
+ <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;" v-if="40<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<60">
|
|
|
+ <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;" v-if="60<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<80">
|
|
|
+ <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;" v-if="80<=(dashboarddata.ehtTwo) && (dashboarddata.ehtTwo)<100">
|
|
|
<span class="modelTop pos">STT1062</span>
|
|
|
<span class="ModelFont">{{ dashboarddata.ehtTwo }}%</span>
|
|
|
</div>
|
|
|
|
|
|
- <div style="position: relative;">
|
|
|
- <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="0<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<20">
|
|
|
- <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="20<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<40">
|
|
|
- <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="40<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<60">
|
|
|
- <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="60<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<80">
|
|
|
- <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="80<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<100">
|
|
|
+ <div style="position: relative;margin-left: 8% ;">
|
|
|
+ <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;" v-if="0<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<20">
|
|
|
+ <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;" v-if="20<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<40">
|
|
|
+ <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;" v-if="40<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<60">
|
|
|
+ <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;" v-if="60<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<80">
|
|
|
+ <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;" v-if="80<=(dashboarddata.ehtThree) && (dashboarddata.ehtThree)<100">
|
|
|
<span class="modelTop pos">STT1063</span>
|
|
|
<span class="ModelFont">{{ dashboarddata.ehtThree }}%</span>
|
|
|
</div>
|
|
|
- <div style="position: relative;">
|
|
|
- <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="0<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<20">
|
|
|
- <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="20<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<40">
|
|
|
- <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="40<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<60">
|
|
|
- <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="60<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<80">
|
|
|
- <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="80<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<100">
|
|
|
+ <div style="position: relative;margin-left: 8% ;">
|
|
|
+ <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;" v-if="0<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<20">
|
|
|
+ <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;" v-if="20<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<40">
|
|
|
+ <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;" v-if="40<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<60">
|
|
|
+ <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;" v-if="60<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<80">
|
|
|
+ <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;" v-if="80<=(dashboarddata.ehtFour) && (dashboarddata.ehtFour)<100">
|
|
|
<span class="modelTop pos">STT1064</span>
|
|
|
<span class="ModelFont">{{ dashboarddata.ehtFour }}%</span>
|
|
|
</div>
|
|
|
- <div style="position: relative;">
|
|
|
- <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="0<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<20">
|
|
|
- <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="20<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<40">
|
|
|
- <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="40<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<60">
|
|
|
- <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="60<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<80">
|
|
|
- <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;margin-left: 0.1rem;" v-if="80<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<100">
|
|
|
+ <div style="position: relative;margin-left: 8% ;">
|
|
|
+ <img src="@/assets/image/cylindrical1.png" style="width:40px;height: 170px;" v-if="0<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<20">
|
|
|
+ <img src="@/assets/image/cylindrical2.png" style="width:40px;height: 170px;" v-if="20<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<40">
|
|
|
+ <img src="@/assets/image/cylindrical3.png" style="width:40px;height: 170px;" v-if="40<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<60">
|
|
|
+ <img src="@/assets/image/cylindrical4.png" style="width:40px;height: 170px;" v-if="60<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<80">
|
|
|
+ <img src="@/assets/image/cylindrical5.png" style="width:40px;height: 170px;" v-if="80<=(dashboarddata.ehtFive) && (dashboarddata.ehtFive)<100">
|
|
|
<span class="modelTop pos">STT1065</span>
|
|
|
<span class="ModelFont">{{ dashboarddata.ehtFive }}%</span>
|
|
|
</div>
|
|
@@ -66,7 +66,7 @@
|
|
|
|
|
|
<script>
|
|
|
export default {
|
|
|
- props: ['dashboarddata'],
|
|
|
+ props: ['dashboarddata','transformdata'],
|
|
|
data () {
|
|
|
return {
|
|
|
// 查询参数
|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
.ModelFont {
|
|
|
position: absolute;
|
|
|
bottom: -13px;
|
|
|
- left: 7px;
|
|
|
+ left: 0;
|
|
|
}
|
|
|
|
|
|
.modelTop{
|