虫情
This commit is contained in:
parent
ce663c9182
commit
9668c75ba8
@ -1,12 +1,5 @@
|
||||
<template>
|
||||
<custom-nav-bar :left="true" title="虫情">
|
||||
<!-- <template v-slot:right>
|
||||
<view class="fixed">
|
||||
<view align="right" class="iconfont icon-jia icon" v-hasPermi="['system:permission:add']"
|
||||
@click="onAdd"></view>
|
||||
</view>
|
||||
</template> -->
|
||||
</custom-nav-bar>
|
||||
<custom-nav-bar :left="true" title="虫情"></custom-nav-bar>
|
||||
<view class="page">
|
||||
<uni-row style="height: 40px;margin-left: 10px;">
|
||||
<uni-col :span="12">
|
||||
@ -53,7 +46,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">诱虫灯</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.aw == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.aw === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.aw,'aw')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -61,7 +54,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">震动装置</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.sk == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.sk === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.sk,'sk')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -71,7 +64,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">虫雨挡板</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.rf == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.rf === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.rf,'rf')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -79,7 +72,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">补光灯</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.fl == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.fl === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.fl,'fl')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -89,7 +82,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">杀虫挡板</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.wf == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.wf === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.wf,'wf')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -97,7 +90,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">杀虫控制</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.itc == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.itc === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.itc,'itc')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -107,7 +100,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">烘干挡板</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.df == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.df === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.df,'df')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -115,7 +108,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">烘干控制</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.d == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.d === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.d,'d')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
@ -125,7 +118,7 @@
|
||||
<uni-row class="col1"><uni-col :span="24">
|
||||
<view class="text1">移虫装置</view>
|
||||
</uni-col></uni-row>
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.mw == '1'? '打开':'关闭'}`"
|
||||
<uni-row class="col2"><uni-col :span="24"><u-button :text="`${itemProperty.mw === '1'? '打开':'关闭'}`"
|
||||
type="info" @click="controlHeadSwitch(item,itemProperty.mw,'mw')"
|
||||
class="but1"></u-button></uni-col></uni-row>
|
||||
</uni-col>
|
||||
|
Loading…
Reference in New Issue
Block a user