大屏增加开关
This commit is contained in:
parent
bc48ba4734
commit
d8a3452465
|
|
@ -62,8 +62,9 @@
|
||||||
<span>二次网供压</span>
|
<span>二次网供压</span>
|
||||||
<span>二次网回压</span>
|
<span>二次网回压</span>
|
||||||
<div>
|
<div>
|
||||||
<span v-if="tableCanScroll" @click="stopScroll()">停</span>
|
<!-- <span v-if="tableCanScroll" @click="stopScroll()">停</span>
|
||||||
<span v-else @click="startScroll()">启</span>
|
<span v-else @click="startScroll()">启</span>-->
|
||||||
|
<a-switch v-model:checked="checked1" checked-children="启" un-checked-children="停" />
|
||||||
</div>
|
</div>
|
||||||
<!-- <img src="./dashboard/dp_icon4-right.png" class="left-icon" /> -->
|
<!-- <img src="./dashboard/dp_icon4-right.png" class="left-icon" /> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -315,7 +316,7 @@ function updateChartMain() {
|
||||||
return content;
|
return content;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
xAxis: { type: 'category', data: names, axisLabel: { rotate: 35, interval: 0, color: jbztys.value }, axisTick: { show: false }, axisLine: { show: true, lineStyle: { color: jbzbzys.value } } },
|
xAxis: { type: 'category', data: names, axisLabel: { rotate: 0, interval: 0, color: jbztys.value }, axisTick: { show: false }, axisLine: { show: true, lineStyle: { color: jbzbzys.value } } },
|
||||||
yAxis: { type: 'value', axisLabel: { color: jbztys.value, margin: 8 }, axisTick: { show: false }, axisLine: { show: true, lineStyle: { color: jbzbzys.value } }, splitLine: { show: false } },
|
yAxis: { type: 'value', axisLabel: { color: jbztys.value, margin: 8 }, axisTick: { show: false }, axisLine: { show: true, lineStyle: { color: jbzbzys.value } }, splitLine: { show: false } },
|
||||||
series: [
|
series: [
|
||||||
{ type: 'bar', barWidth: '15px', data: names.map(() => maxVal), barGap: '-100%', itemStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 0, color: 'rgba(106,211,255,0.06)' }, { offset: 1, color: 'rgba(106,211,255,0.01)' }] } }, z: 1, silent: true },
|
{ type: 'bar', barWidth: '15px', data: names.map(() => maxVal), barGap: '-100%', itemStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 0, color: 'rgba(106,211,255,0.06)' }, { offset: 1, color: 'rgba(106,211,255,0.01)' }] } }, z: 1, silent: true },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue