触摸屏-直流
Lufaneng 1 year ago
parent 10938c0502
commit f0c4e647b2

@ -9,7 +9,7 @@
</template>
</el-input>
</div>
<el-popover v-if="visible" :visible="true" :virtual-ref="inputRef" virtual-triggering placement="bottom" :width="width" :show-arrow="false" :hide-after="0" popper-style="padding: 0px;color:#000" popper-class="keyboard-popper" @after-enter="keyboardInit">
<el-popover v-if="visible" :visible="true" :virtual-ref="inputRef" virtual-triggering placement="top" :width="width" :show-arrow="false" :hide-after="0" popper-style="padding: 0px;color:#000" popper-class="keyboard-popper" @after-enter="keyboardInit">
<div class="simple-keyboard"></div>
</el-popover>
</template>

@ -224,7 +224,7 @@
</div>
<div class="timeBox">
<span>时间</span>
<el-time-picker v-model="currentTask.execTime" placeholder="请选择" />
<el-time-picker arrow-control v-model="currentTask.execTime" placeholder="请选择" />
<el-radio-group style="margin-left: 20px;" v-model="currentTask.timeType">
<el-radio :value="0">定时时间</el-radio>
<el-radio :value="1">经纬度时间</el-radio>

@ -91,7 +91,7 @@
<div class="circuitStatus">
<div class="line">直流电流: <span>{{ circuit.A }}A</span></div>
<div class="line">
<div class="line_item">电源: <span>{{ circuit.V }}V</span></div>
<div class="line_item">直流电压: <span>{{ circuit.V ? circuit.V?.toFixed(2) : 0 }}V</span></div>
<div class="line_item">功率: <span>{{ circuit.Kw }}kw</span></div>
</div>
</div>
@ -112,7 +112,7 @@
<div class="circuitStatus">
<div class="line">直流电流: <span>{{ circuit.A }}A</span></div>
<div class="line">
<div class="line_item">电源: <span>{{ circuit.V }}V</span></div>
<div class="line_item">直流电压: <span>{{ circuit.V ? circuit.V?.toFixed(2) : 0 }}V</span></div>
<div class="line_item">功率: <span>{{ circuit.Kw }}kw</span></div>
</div>
</div>

@ -25,7 +25,7 @@ function closed() {
<el-table-column align="center" prop="DeviceAddress" label="设备地址" />
<el-table-column align="center" prop="CurrentPWMDuty" label="电流PWM">
<template #default="{ row }">
{{ row.CurrentPWMDuty && row.CurrentPWMDuty + '%' }}
{{ row.CurrentPWMDuty && row.CurrentPWMDuty?.toFixed(2) + '%' }}
</template>
</el-table-column>
<el-table-column align="center" prop="VoltagePWMDuty" label="电压PWM">

@ -231,6 +231,7 @@ const formField = ref({})
const deviceTime = ref('')
const subLoopParameter = ref([])
const commit_uid = sessionStorage.getItem('central_control_comm_uid')
// const commit_uid = '868656077692382'
const RiseSetOption = [
{ label: '提前60分钟', value: 60 },
@ -249,8 +250,8 @@ const RiseSetOption = [
]
RPC.post('/m9z/getLgnLatData', { comm_uid: commit_uid }).then(res => {
formField.value.lat = res.lat
formField.value.lgn = res.lgn
formField.value.lat = String(res.lat)
formField.value.lgn = String(res.lgn)
formField.value.loc = res.loc
})
RPC.post('/m9z/getSunRiseSet', { comm_uid: commit_uid }).then(res => {

Loading…
Cancel
Save