|
@@ -155,9 +155,9 @@
|
|
|
:disabled="airCompressorState[groupNum - 1][`controlModel`]"
|
|
|
@change="handlerDevice(airCompressorState[groupNum - 1], index)"
|
|
|
/> -->
|
|
|
- <a-button v-if="index == 0" size="small" type="text" style="color: #fff;"
|
|
|
+ <a-button disabled v-if="index == 0" size="small" type="text" style="color: #fff;"
|
|
|
@click="handlerDevice(airCompressorState[groupNum - 1], false)">一键启停</a-button>
|
|
|
- <a-button v-else size="small" type="text" style="color: #fff;"
|
|
|
+ <a-button disabled v-else size="small" type="text" style="color: #fff;"
|
|
|
@click="handlerDevice(airCompressorState[groupNum - 1], false)">一键启停</a-button>
|
|
|
|
|
|
</div>
|
|
@@ -173,9 +173,9 @@
|
|
|
:disabled="airCompressorState[groupNum - 1][`controlModel`]"
|
|
|
@change="handlerDevice(airCompressorState[groupNum - 1], index)"
|
|
|
/> -->
|
|
|
- <a-button v-if="index == 0" size="small" type="text" style="color: #fff;"
|
|
|
+ <a-button disabled v-if="index == 0" size="small" type="text" style="color: #fff;"
|
|
|
@click="handlerDevice(airCompressorState[groupNum - 1], true)">一键复位</a-button>
|
|
|
- <a-button v-else size="small" type="text" style="color: #fff;"
|
|
|
+ <a-button disabled v-else size="small" type="text" style="color: #fff;"
|
|
|
@click="handlerDevice(airCompressorState[groupNum - 1], true)">一键复位</a-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -242,10 +242,10 @@ const colors = ['#FDB146', '#EE6666', '#9BCB75', '#03C2EC', '#DA3914', '#9C83D9'
|
|
|
const echatsOption = {
|
|
|
grid: {
|
|
|
top: '35%',
|
|
|
- left: '-25px',
|
|
|
- right: '10px',
|
|
|
- bottom: '3%',
|
|
|
- containLabel: true
|
|
|
+ left: '20px',
|
|
|
+ right: '20px',
|
|
|
+ bottom: '8%',
|
|
|
+ // containLabel: true
|
|
|
},
|
|
|
toolbox: {
|
|
|
feature: {}
|