1
This commit is contained in:
		
							parent
							
								
									edd67f9be5
								
							
						
					
					
						commit
						9250006bee
					
				@ -1,4 +1,5 @@
 | 
			
		||||
import * as echarts from "echarts";
 | 
			
		||||
import { h } from "vue";
 | 
			
		||||
 | 
			
		||||
export function realTimeLine(id, data) {
 | 
			
		||||
    var chartDom = document.getElementById(id);
 | 
			
		||||
@ -236,9 +237,11 @@ export function realTimeLine(id, data) {
 | 
			
		||||
            top:10,
 | 
			
		||||
            itemGap: 10,
 | 
			
		||||
            width:'90%',
 | 
			
		||||
            height:20,
 | 
			
		||||
            textStyle: {
 | 
			
		||||
                fontSize: 12,
 | 
			
		||||
                color: "#fff",
 | 
			
		||||
                lineHeight: 30,
 | 
			
		||||
            },
 | 
			
		||||
            pageTextStyle: {
 | 
			
		||||
                color: '#fff', // 设置翻页文字颜色
 | 
			
		||||
 | 
			
		||||
@ -54,24 +54,24 @@
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="flex-view padding-none border-none shrink-none">
 | 
			
		||||
            <div class="input-btn">
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen2(0)" :class="actList3[0] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{actList3[0] == '1' ? '有效' : '无效'}}
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen2(2)" :class="actList3[2] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{actList3[2] == '1' ? '有效' : '无效'}}
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="input-main-80">
 | 
			
		||||
                <span>高温报警时,禁止启动补光灯</span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="input-btn">
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen2(1)" :class="actList3[1] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{actList3[1] == '1' ? '有效' : '无效'}}
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen2(1)" :class="actList3[0] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{actList3[0] == '1' ? '有效' : '无效'}}
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="input-main-80">
 | 
			
		||||
                <span>使用1#日标温度</span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="input-btn">
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen2(2)" :class="actList3[2] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{actList3[2] == '1' ? '有效' : '无效'}}
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen2(2)" :class="actList3[1] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{actList3[1] == '1' ? '有效' : '无效'}}
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="input-main-80">
 | 
			
		||||
@ -347,6 +347,7 @@ export default {
 | 
			
		||||
                    this.getActive1()
 | 
			
		||||
                    this.getActive2()
 | 
			
		||||
                    this.getActive3()
 | 
			
		||||
                    this.inputData[21403] =this.countData10(this.inputData[21403]);
 | 
			
		||||
                }
 | 
			
		||||
            })
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
@ -113,7 +113,7 @@
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="flex-view border-none  shrink-none padding-none">
 | 
			
		||||
            <div class="input-btn">
 | 
			
		||||
                <div class="btn off btn-w80" @click="changeIndexOpen(3)" :class="actList1[3] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen(3)" :class="actList1[3] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{ actList1[3] == '1' ? '有效' : '无效' }}
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
@ -124,7 +124,7 @@
 | 
			
		||||
 | 
			
		||||
        <div class="flex-view border-none  shrink-none padding-none">
 | 
			
		||||
            <div class="input-btn">
 | 
			
		||||
                <div class="btn off btn-w80" @click="changeIndexOpen(2)" :class="actList1[2] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                <div class="btn btn-w80" @click="changeIndexOpen(2)" :class="actList1[2] == '1' ? 'blue' : 'off'">
 | 
			
		||||
                    {{ actList1[2] == '1' ? '有效' : '无效' }}
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
@ -257,7 +257,7 @@ export default {
 | 
			
		||||
            this.actList1 = []
 | 
			
		||||
            var num = this.inputData[this.startList[this.indexs - 1] + 1]
 | 
			
		||||
 | 
			
		||||
            var num1 = this.padString(num.toString(2), 2)
 | 
			
		||||
            var num1 = this.padString(num.toString(2), 4)
 | 
			
		||||
            var openListNew = []
 | 
			
		||||
            openListNew = num1.split("")
 | 
			
		||||
            this.actList1 = openListNew.reverse();
 | 
			
		||||
 | 
			
		||||
@ -86,13 +86,13 @@
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+6, $event)" v-model="inputData[startList[indexs - 1]+6]" @input="change(startList[indexs - 1]+6, $event)"
 | 
			
		||||
                 type="text" placeholder="0">
 | 
			
		||||
                <span>:</span>
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+7, $event)" v-model="inputData[startList[indexs - 1]+5]" @input="change(startList[indexs - 1]+5, $event)"
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+7, $event)" v-model="inputData[startList[indexs - 1]+7]" @input="change(startList[indexs - 1]+7, $event)"
 | 
			
		||||
                 type="text" placeholder="0">
 | 
			
		||||
                <span>-</span>
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+8, $event)" v-model="inputData[startList[indexs - 1]+5]" @input="change(startList[indexs - 1]+5, $event)"
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+8, $event)" v-model="inputData[startList[indexs - 1]+8]" @input="change(startList[indexs - 1]+8, $event)"
 | 
			
		||||
                 type="text" placeholder="0">
 | 
			
		||||
                <span>:</span>
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+9, $event)" v-model="inputData[startList[indexs - 1]+5]" @input="change(startList[indexs - 1]+5, $event)"
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+9, $event)" v-model="inputData[startList[indexs - 1]+9]" @input="change(startList[indexs - 1]+9, $event)"
 | 
			
		||||
                 type="text" placeholder="0">
 | 
			
		||||
                <span>时间段里启动次数</span>
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+5, $event)" v-model="inputData[startList[indexs - 1]+5]" @input="change(startList[indexs - 1]+5, $event)"
 | 
			
		||||
@ -135,7 +135,7 @@
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+17, $event)" v-model="inputData[startList[indexs - 1]+17]" @input="change(startList[indexs - 1]+17, $event)"
 | 
			
		||||
                 type="text" placeholder="0">
 | 
			
		||||
                <span>:</span>
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1+18], $event)" v-model="inputData[startList[indexs - 1]+18]" @input="change(startList[indexs - 1]+18, $event)"
 | 
			
		||||
                <input @blur="blurChange(startList[indexs - 1]+18, $event)" v-model="inputData[startList[indexs - 1]+18]" @input="change(startList[indexs - 1]+18, $event)"
 | 
			
		||||
                 type="text" placeholder="0">
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user