|
@@ -172,14 +172,14 @@
|
|
|
<div class="dialog-title">早班第一次检测数据</div>
|
|
|
<view class="dialog-item" @click="getChangeZb1">
|
|
|
<text class="dialog-label">检测时间:</text>
|
|
|
- <u--input v-model="formStateEdit.timeEarly1" :disabled="formStateEdit.timeEarly1 == ''"
|
|
|
+ <u--input v-model="formStateEdit.timeEarly1"
|
|
|
placeholder="请选择检测时间" inputAlign="center" suffixIcon="arrow-right"></u--input>
|
|
|
</view>
|
|
|
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">瓦斯检查工:</text>
|
|
|
- <u--input inputAlign="center" :disabled="formStateEdit.checkPersonEarly == ''"
|
|
|
- v-model="formStateEdit.checkPersonEarly" placeholder="请输入"></u--input>
|
|
|
+ <u--input inputAlign="center" disabled v-model="formStateEdit.checkPersonEarly"
|
|
|
+ placeholder="请输入"></u--input>
|
|
|
<u-datetime-picker :show="showZb1" v-model="timeRan" mode="datetime" closeOnClickOverlay
|
|
|
@confirm="showZb1 = false" @cancel="showZb1 = false" @change="changeZb1"
|
|
|
@close="showZb1 = false"></u-datetime-picker>
|
|
@@ -188,48 +188,49 @@
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CH₄:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.ch4Early1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.ch4Early1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.co2Early1"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurFCo2"
|
|
|
:placeholderStyle="isRule2 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.co2Early1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.coEarly1"
|
|
|
:placeholder="isRule15 ? '请输入' : '最大可输入值为24'"
|
|
|
:placeholderStyle="isRule15 ? 'color:#c0c4cc' : 'color:#ff0000'" type="number"
|
|
|
- :disabled="formStateEdit.coEarly1 == ''" @blur="getBlurCO1"></u--input>
|
|
|
+ @blur="getBlurCO1"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">O₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.o2Early1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.o2Early1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">温度:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.tEarly1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.tEarly1 == ''"></u--input>
|
|
|
+
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">甲烷传感器:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.jwSdzEarly1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.jwSdzEarly1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">光瓦测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.gwSdzEarly1"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurF"
|
|
|
:placeholderStyle="isRule3 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.gwSdzEarly1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">便携仪测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.bxySdzEarly1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.bxySdzEarly1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="center-dialog-area">
|
|
@@ -237,61 +238,61 @@
|
|
|
<view class="dialog-item" @click="getChangeZb2">
|
|
|
<text class="dialog-label">检测时间:</text>
|
|
|
<u--input v-model="formStateEdit.timeEarly2" placeholder="请选择检测时间" inputAlign="center"
|
|
|
- suffixIcon="arrow-right" :disabled="formStateEdit.timeEarly2 == ''"></u--input>
|
|
|
+ suffixIcon="arrow-right" ></u--input>
|
|
|
<u-datetime-picker :show="showZb2" v-model="timeRan" mode="datetime" closeOnClickOverlay
|
|
|
@confirm="showZb2 = false" @cancel="showZb2 = false" @change="changeZb2"
|
|
|
@close="showZb2 = false"></u-datetime-picker>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">瓦斯检查工:</text>
|
|
|
- <u--input inputAlign="center" :disabled="formStateEdit.checkPersonEarly == ''"
|
|
|
- v-model="formStateEdit.checkPersonEarly" placeholder="请输入"></u--input>
|
|
|
+ <u--input inputAlign="center" disabled v-model="formStateEdit.checkPersonEarly"
|
|
|
+ placeholder="请输入"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CH₄:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.ch4Early2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.ch4Early2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.co2Early2"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurSCo2"
|
|
|
:placeholderStyle="isRule4 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.co2Early2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.coEarly2"
|
|
|
:placeholder="isRule16 ? '请输入' : '最大可输入值为24'"
|
|
|
:placeholderStyle="isRule16 ? 'color:#c0c4cc' : 'color:#ff0000'" type="number"
|
|
|
- @blur="getBlurC2" :disabled="formStateEdit.coEarly2 == ''"></u--input>
|
|
|
+ @blur="getBlurC2" ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">O₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.o2Early2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.o2Early2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">温度:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.tEarly2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.tEarly2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">甲烷传感器:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.jwSdzEarly2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.jwSdzEarly2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">光瓦测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.gwSdzEarly2"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurS"
|
|
|
:placeholderStyle="isRule5 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.gwSdzEarly2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">便携仪测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.bxySdzEarly2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.bxySdzEarly2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="center-dialog-area">
|
|
@@ -299,7 +300,7 @@
|
|
|
<view class="dialog-item" @click="getChangeWb1">
|
|
|
<text class="dialog-label">检测时间:</text>
|
|
|
<u--input v-model="formStateEdit.timeNoon1" placeholder="请选择检测时间" inputAlign="center"
|
|
|
- suffixIcon="arrow-right" :disabled="formStateEdit.timeNoon1 == ''"></u--input>
|
|
|
+ suffixIcon="arrow-right" ></u--input>
|
|
|
<u-datetime-picker :show="showWb1" v-model="timeRan" mode="datetime" closeOnClickOverlay
|
|
|
@confirm="showWb1 = false" @cancel="showWb1 = false" @change="changeWb1"
|
|
|
@close="showWb1 = false"></u-datetime-picker>
|
|
@@ -307,54 +308,54 @@
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">瓦斯检查工:</text>
|
|
|
- <u--input inputAlign="center" :disabled="formStateEdit.checkPersonNoon == ''"
|
|
|
- v-model="formStateEdit.checkPersonNoon" placeholder="请输入"></u--input>
|
|
|
+ <u--input inputAlign="center" disabled v-model="formStateEdit.checkPersonNoon"
|
|
|
+ placeholder="请输入"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CH₄:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.ch4Noon1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.ch4Noon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.co2Noon1"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurF1"
|
|
|
:placeholderStyle="isRule6 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.co2Noon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.coNoon1"
|
|
|
:placeholder="isRule17 ? '请输入' : '最大可输入值为24'"
|
|
|
:placeholderStyle="isRule17 ? 'color:#c0c4cc' : 'color:#ff0000'" type="number"
|
|
|
- @blur="getBlurCO3" :disabled="formStateEdit.coNoon1 == ''"></u--input>
|
|
|
+ @blur="getBlurCO3" ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">O₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.o2Noon1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.o2Noon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">温度:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.tNoon1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.tNoon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">甲烷传感器:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.jwSdzNoon1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.jwSdzNoon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">光瓦测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.gwSdzNoon1"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurG1"
|
|
|
:placeholderStyle="isRule7 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.gwSdzNoon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">便携仪测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.bxySdzNoon1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.bxySdzNoon1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="center-dialog-area">
|
|
@@ -362,7 +363,7 @@
|
|
|
<view class="dialog-item" @click="getChangeWb2">
|
|
|
<text class="dialog-label">检测时间:</text>
|
|
|
<u--input v-model="formStateEdit.timeNoon2" placeholder="请选择检测时间" inputAlign="center"
|
|
|
- suffixIcon="arrow-right" :disabled="formStateEdit.timeNoon2 == ''"></u--input>
|
|
|
+ suffixIcon="arrow-right" ></u--input>
|
|
|
<u-datetime-picker :show="showWb2" v-model="timeRan" mode="datetime" closeOnClickOverlay
|
|
|
@confirm="showWb2 = false" @cancel="showWb2 = false" @change="changeWb2"
|
|
|
@close="showWb2 = false"></u-datetime-picker>
|
|
@@ -371,54 +372,54 @@
|
|
|
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">瓦斯检查工:</text>
|
|
|
- <u--input inputAlign="center" :disabled="formStateEdit.checkPersonNoon == ''"
|
|
|
- v-model="formStateEdit.checkPersonNoon" placeholder="请输入"></u--input>
|
|
|
+ <u--input inputAlign="center" disabled v-model="formStateEdit.checkPersonNoon"
|
|
|
+ placeholder="请输入"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CH₄:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.ch4Noon2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.ch4Noon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.co2Noon2"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurF2"
|
|
|
:placeholderStyle="isRule8 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.co2Noon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.coNoon2"
|
|
|
:placeholder="isRule18 ? '请输入' : '最大可输入值为24'"
|
|
|
:placeholderStyle="isRule18 ? 'color:#c0c4cc' : 'color:#ff0000'" type="number"
|
|
|
- @blur="getBlurCO4" :disabled="formStateEdit.coNoon2 == ''"></u--input>
|
|
|
+ @blur="getBlurCO4" ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">O₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.o2Noon2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.o2Noon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">温度:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.tNoon2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.tNoon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">甲烷传感器:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.jwSdzNoon2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.jwSdzNoon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">光瓦测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.gwSdzNoon2"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurG2"
|
|
|
:placeholderStyle="isRule9 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.gwSdzNoon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">便携仪测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.bxySdzNoon2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.bxySdzNoon2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="center-dialog-area">
|
|
@@ -426,7 +427,7 @@
|
|
|
<view class="dialog-item" @click="getChangeNb1">
|
|
|
<text class="dialog-label">检测时间:</text>
|
|
|
<u--input v-model="formStateEdit.timeNight1" placeholder="请选择检测时间" inputAlign="center"
|
|
|
- suffixIcon="arrow-right" :disabled="formStateEdit.timeNight1 == ''"></u--input>
|
|
|
+ suffixIcon="arrow-right" ></u--input>
|
|
|
<u-datetime-picker :show="showNb1" v-model="timeRan" mode="datetime" closeOnClickOverlay
|
|
|
@confirm="showNb1 = false" @cancel="showNb1 = false" @change="changeNb1"
|
|
|
@close="showNb1 = false"></u-datetime-picker>
|
|
@@ -435,54 +436,54 @@
|
|
|
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">瓦斯检查工:</text>
|
|
|
- <u--input inputAlign="center" :disabled="formStateEdit.checkPersonNight == ''"
|
|
|
- v-model="formStateEdit.checkPersonNight" placeholder="请输入"></u--input>
|
|
|
+ <u--input inputAlign="center" disabled v-model="formStateEdit.checkPersonNight"
|
|
|
+ placeholder="请输入"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CH₄:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.ch4Night1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.ch4Night1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.co2Night1"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurN1"
|
|
|
:placeholderStyle="isRule10 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.co2Night1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.coNight1"
|
|
|
:placeholder="isRule19 ? '请输入' : '最大可输入值为24'"
|
|
|
:placeholderStyle="isRule19 ? 'color:#c0c4cc' : 'color:#ff0000'" type="number"
|
|
|
- @blur="getBlurCO5" :disabled="formStateEdit.coNight1 == ''"></u--input>
|
|
|
+ @blur="getBlurCO5"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">O₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.o2Night1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.o2Night1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">温度:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.tNight1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.tNight1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">甲烷传感器:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.jwSdzNight1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.jwSdzNight1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">光瓦测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.gwSdzNight1"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurNG1"
|
|
|
:placeholderStyle="isRule11 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.gwSdzNight1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">便携仪测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.bxySdzNight1" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.bxySdzNight1 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="center-dialog-area">
|
|
@@ -490,7 +491,7 @@
|
|
|
<view class="dialog-item" @click="getChangeNb2">
|
|
|
<text class="dialog-label">检测时间:</text>
|
|
|
<u--input v-model="formStateEdit.timeNight2" placeholder="请选择检测时间" inputAlign="center"
|
|
|
- suffixIcon="arrow-right" :disabled="formStateEdit.timeNight2 == ''"></u--input>
|
|
|
+ suffixIcon="arrow-right" ></u--input>
|
|
|
<u-datetime-picker :show="showNb2" v-model="timeRan" mode="datetime" closeOnClickOverlay
|
|
|
@confirm="showNb2 = false" @cancel="showNb2 = false" @change="changeNb2"
|
|
|
@close="showNb2 = false"></u-datetime-picker>
|
|
@@ -498,54 +499,54 @@
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">瓦斯检查工:</text>
|
|
|
- <u--input inputAlign="center" :disabled="formStateEdit.checkPersonNight == ''"
|
|
|
- v-model="formStateEdit.checkPersonNight" placeholder="请输入"></u--input>
|
|
|
+ <u--input inputAlign="center" disabled v-model="formStateEdit.checkPersonNight"
|
|
|
+ placeholder="请输入"></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CH₄:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.ch4Night2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.ch4Night2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.co2Night2"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurN2"
|
|
|
:placeholderStyle="isRule12 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.co2Night2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">CO:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.coNight2"
|
|
|
:placeholder="isRule20 ? '请输入' : '最大可输入值为24'"
|
|
|
:placeholderStyle="isRule20 ? 'color:#c0c4cc' : 'color:#ff0000'" type="number"
|
|
|
- @blur="getBlurCO6" :disabled="formStateEdit.coNight2 == ''"></u--input>
|
|
|
+ @blur="getBlurCO6" ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">O₂:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.o2Night2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.o2Night2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">温度:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.tNight2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.tNight2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">甲烷传感器:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.jwSdzNight2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.jwSdzNight2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">光瓦测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.gwSdzNight2"
|
|
|
:placeholder="isRule ? '请输入' : '请输入偶数'" type="number" @blur="getBlurNG2"
|
|
|
:placeholderStyle="isRule13 ? 'color:#c0c4cc' : 'color:#ff0000'"
|
|
|
- :disabled="formStateEdit.gwSdzNight2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
<view class="dialog-item">
|
|
|
<text class="dialog-label">便携仪测量数据:</text>
|
|
|
<u--input inputAlign="center" v-model="formStateEdit.bxySdzNight2" placeholder="请输入"
|
|
|
- :disabled="formStateEdit.bxySdzNight2 == ''"></u--input>
|
|
|
+ ></u--input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="dialog-btn">
|
|
@@ -569,6 +570,7 @@ export default {
|
|
|
watch: {},
|
|
|
data() {
|
|
|
return {
|
|
|
+ inputDisabled: false,
|
|
|
deviceId: '',
|
|
|
rangeBc: [
|
|
|
{ value: '夜班', text: "夜班" },
|
|
@@ -736,6 +738,7 @@ export default {
|
|
|
api
|
|
|
.getGas({ reportTime: that.formState.tbrq, deviceId: that.deviceId })
|
|
|
.then((response) => {
|
|
|
+ console.log(response, '9999999999=======')
|
|
|
if (response.data.code == 200) {
|
|
|
let data = response.data.result.records
|
|
|
if (data.length != 0) {
|
|
@@ -744,75 +747,75 @@ export default {
|
|
|
that.formState.jcy = that.username
|
|
|
that.saveShowList = data[0]
|
|
|
that.formStateEdit = {
|
|
|
- id: that.formStateEdit.id || '',
|
|
|
- bxySdzEarly1: that.formStateEdit.bxySdzEarly1 || '',
|
|
|
- ch4Early1: that.formStateEdit.ch4Early1 || '',
|
|
|
+ id: that.saveShowList.id || '',
|
|
|
+ bxySdzEarly1: that.saveShowList.bxySdzEarly1 || '',
|
|
|
+ ch4Early1: that.saveShowList.ch4Early1 || '',
|
|
|
checkPersonEarly: that.formState.jcy,
|
|
|
- co2Early1: that.formStateEdit.co2Early1 || '',
|
|
|
- coEarly1: that.formStateEdit.coEarly1 || '',
|
|
|
- gwSdzEarly1: that.formStateEdit.gwSdzEarly1 || '',
|
|
|
- jwSdzEarly1: that.formStateEdit.jwSdzEarly1 || '',
|
|
|
- o2Early1: that.formStateEdit.o2Early1 || '',
|
|
|
- timeEarly1: that.formStateEdit.timeEarly1 || '',
|
|
|
- tEarly1: that.formStateEdit.tEarly1 || '',
|
|
|
-
|
|
|
- bxySdzEarly2: that.formStateEdit.bxySdzEarly2 || '',
|
|
|
- ch4Early2: that.formStateEdit.ch4Early2 || '',
|
|
|
- co2Early2: that.formStateEdit.co2Early2 || '',
|
|
|
- coEarly2: that.formStateEdit.coEarly2 || '',
|
|
|
- gwSdzEarly2: that.formStateEdit.gwSdzEarly2 || '',
|
|
|
- jwSdzEarly2: that.formStateEdit.jwSdzEarly2 || '',
|
|
|
- o2Early2: that.formStateEdit.o2Early2 || '',
|
|
|
- timeEarly2: that.formStateEdit.timeEarly2 || '',
|
|
|
- tEarly2: that.formStateEdit.tEarly2 || '',
|
|
|
-
|
|
|
- bxySdzNoon1: that.formStateEdit.bxySdzNoon1 || '',
|
|
|
- ch4Noon1: that.formStateEdit.ch4Noon1 || '',
|
|
|
+ co2Early1: that.saveShowList.co2Early1 || '',
|
|
|
+ coEarly1: that.saveShowList.coEarly1 || '',
|
|
|
+ gwSdzEarly1: that.saveShowList.gwSdzEarly1 || '',
|
|
|
+ jwSdzEarly1: that.saveShowList.jwSdzEarly1 || '',
|
|
|
+ o2Early1: that.saveShowList.o2Early1 || '',
|
|
|
+ timeEarly1: that.saveShowList.timeEarly1 || '',
|
|
|
+ tEarly1: that.saveShowList.tEarly1 || '',
|
|
|
+
|
|
|
+ bxySdzEarly2: that.saveShowList.bxySdzEarly2 || '',
|
|
|
+ ch4Early2: that.saveShowList.ch4Early2 || '',
|
|
|
+ co2Early2: that.saveShowList.co2Early2 || '',
|
|
|
+ coEarly2: that.saveShowList.coEarly2 || '',
|
|
|
+ gwSdzEarly2: that.saveShowList.gwSdzEarly2 || '',
|
|
|
+ jwSdzEarly2: that.saveShowList.jwSdzEarly2 || '',
|
|
|
+ o2Early2: that.saveShowList.o2Early2 || '',
|
|
|
+ timeEarly2: that.saveShowList.timeEarly2 || '',
|
|
|
+ tEarly2: that.saveShowList.tEarly2 || '',
|
|
|
+
|
|
|
+ bxySdzNoon1: that.saveShowList.bxySdzNoon1 || '',
|
|
|
+ ch4Noon1: that.saveShowList.ch4Noon1 || '',
|
|
|
checkPersonNoon: that.formState.jcy,
|
|
|
- co2Noon1: that.formStateEdit.co2Noon1 || '',
|
|
|
- coNoon1: that.formStateEdit.coNoon1 || '',
|
|
|
- gwSdzNoon1: that.formStateEdit.gwSdzNoon1 || '',
|
|
|
- jwSdzNoon1: that.formStateEdit.jwSdzNoon1 || '',
|
|
|
- o2Noon1: that.formStateEdit.o2Noon1 || '',
|
|
|
- timeNoon1: that.formStateEdit.timeNoon1 || '',
|
|
|
- tNoon1: that.formStateEdit.tNoon1 || '',
|
|
|
-
|
|
|
- bxySdzNoon2: that.formStateEdit.bxySdzNoon2 || '',
|
|
|
- ch4Noon2: that.formStateEdit.ch4Noon2 || '',
|
|
|
- co2Noon2: that.formStateEdit.co2Noon2 || '',
|
|
|
- coNoon2: that.formStateEdit.coNoon2 || '',
|
|
|
- gwSdzNoon2: that.formStateEdit.gwSdzNoon2 || '',
|
|
|
- jwSdzNoon2: that.formStateEdit.jwSdzNoon2 || '',
|
|
|
- o2Noon2: that.formStateEdit.o2Noon2 || '',
|
|
|
- timeNoon2: that.formStateEdit.timeNoon2 || '',
|
|
|
- tNoon2: that.formStateEdit.tNoon2 || '',
|
|
|
-
|
|
|
- bxySdzNight1: that.formStateEdit.bxySdzNight1 || '',
|
|
|
- ch4Night1: that.formStateEdit.ch4Night1 || '',
|
|
|
+ co2Noon1: that.saveShowList.co2Noon1 || '',
|
|
|
+ coNoon1: that.saveShowList.coNoon1 || '',
|
|
|
+ gwSdzNoon1: that.saveShowList.gwSdzNoon1 || '',
|
|
|
+ jwSdzNoon1: that.saveShowList.jwSdzNoon1 || '',
|
|
|
+ o2Noon1: that.saveShowList.o2Noon1 || '',
|
|
|
+ timeNoon1: that.saveShowList.timeNoon1 || '',
|
|
|
+ tNoon1: that.saveShowList.tNoon1 || '',
|
|
|
+
|
|
|
+ bxySdzNoon2: that.saveShowList.bxySdzNoon2 || '',
|
|
|
+ ch4Noon2: that.saveShowList.ch4Noon2 || '',
|
|
|
+ co2Noon2: that.saveShowList.co2Noon2 || '',
|
|
|
+ coNoon2: that.saveShowList.coNoon2 || '',
|
|
|
+ gwSdzNoon2: that.saveShowList.gwSdzNoon2 || '',
|
|
|
+ jwSdzNoon2: that.saveShowList.jwSdzNoon2 || '',
|
|
|
+ o2Noon2: that.saveShowList.o2Noon2 || '',
|
|
|
+ timeNoon2: that.saveShowList.timeNoon2 || '',
|
|
|
+ tNoon2: that.saveShowList.tNoon2 || '',
|
|
|
+
|
|
|
+ bxySdzNight1: that.saveShowList.bxySdzNight1 || '',
|
|
|
+ ch4Night1: that.saveShowList.ch4Night1 || '',
|
|
|
checkPersonNight: that.formState.jcy,
|
|
|
- co2Night1: that.formStateEdit.co2Night1 || '',
|
|
|
- coNight1: that.formStateEdit.coNight1 || '',
|
|
|
- gwSdzNight1: that.formStateEdit.gwSdzNight1 || '',
|
|
|
- jwSdzNight1: that.formStateEdit.jwSdzNight1 || '',
|
|
|
- o2Night1: that.formStateEdit.o2Night1 || '',
|
|
|
- timeNight1: that.formStateEdit.timeNight1 || '',
|
|
|
- tNight1: that.formStateEdit.tNight1 || '',
|
|
|
-
|
|
|
- bxySdzNight2: that.formStateEdit.bxySdzNight2 || '',
|
|
|
- ch4Night2: that.formStateEdit.ch4Night2 || '',
|
|
|
- co2Night2: that.formStateEdit.co2Night2 || '',
|
|
|
- coNight2: that.formStateEdit.coNight2 || '',
|
|
|
- gwSdzNight2: that.formStateEdit.gwSdzNight2 || '',
|
|
|
- jwSdzNight2: that.formStateEdit.jwSdzNight2 || '',
|
|
|
- o2Night2: that.formStateEdit.o2Night2 || '',
|
|
|
- timeNight2: that.formStateEdit.timeNight2 || '',
|
|
|
- tNight2: that.formStateEdit.tNight2 || '',
|
|
|
+ co2Night1: that.saveShowList.co2Night1 || '',
|
|
|
+ coNight1: that.saveShowList.coNight1 || '',
|
|
|
+ gwSdzNight1: that.saveShowList.gwSdzNight1 || '',
|
|
|
+ jwSdzNight1: that.saveShowList.jwSdzNight1 || '',
|
|
|
+ o2Night1: that.saveShowList.o2Night1 || '',
|
|
|
+ timeNight1: that.saveShowList.timeNight1 || '',
|
|
|
+ tNight1: that.saveShowList.tNight1 || '',
|
|
|
+
|
|
|
+ bxySdzNight2: that.saveShowList.bxySdzNight2 || '',
|
|
|
+ ch4Night2: that.saveShowList.ch4Night2 || '',
|
|
|
+ co2Night2: that.saveShowList.co2Night2 || '',
|
|
|
+ coNight2: that.saveShowList.coNight2 || '',
|
|
|
+ gwSdzNight2: that.saveShowList.gwSdzNight2 || '',
|
|
|
+ jwSdzNight2: that.saveShowList.jwSdzNight2 || '',
|
|
|
+ o2Night2: that.saveShowList.o2Night2 || '',
|
|
|
+ timeNight2: that.saveShowList.timeNight2 || '',
|
|
|
+ tNight2: that.saveShowList.tNight2 || '',
|
|
|
}
|
|
|
that.isSaveEdit = Object.keys(that.formStateEdit).filter(v => that.formStateEdit[v] == '')
|
|
|
} else {
|
|
|
that.isShowEdit = false
|
|
|
that.isShowAdd = true
|
|
|
- that.isSaveEdit=[]
|
|
|
+ that.isSaveEdit = []
|
|
|
that.formState = {
|
|
|
id: '',
|
|
|
bc: that.formState.bc || '',
|
|
@@ -934,7 +937,7 @@ export default {
|
|
|
} else {
|
|
|
that.isShowEdit = false
|
|
|
that.isShowAdd = true
|
|
|
- that.isSaveEdit=[]
|
|
|
+ that.isSaveEdit = []
|
|
|
that.formState = {
|
|
|
id: '',
|
|
|
bc: that.formState.bc || '',
|
|
@@ -1239,6 +1242,7 @@ export default {
|
|
|
if (that.formState.bc == '早班' && that.formState.count == '第一次') {
|
|
|
param = {
|
|
|
id: that.formState.id,
|
|
|
+ deviceId: that.deviceId,
|
|
|
bxySdzEarly1: that.formState.bxy,
|
|
|
ch4Early1: that.formState.ch4,
|
|
|
checkPersonEarly: that.formState.jcy,
|
|
@@ -1255,6 +1259,7 @@ export default {
|
|
|
|
|
|
} else if (that.formState.bc == '早班' && that.formState.count == '第二次') {
|
|
|
param = {
|
|
|
+ deviceId: that.deviceId,
|
|
|
id: that.formState.id,
|
|
|
bxySdzEarly2: that.formState.bxy,
|
|
|
ch4Early2: that.formState.ch4,
|
|
@@ -1271,6 +1276,7 @@ export default {
|
|
|
}
|
|
|
} else if (that.formState.bc == '中班' && that.formState.count == '第一次') {
|
|
|
param = {
|
|
|
+ deviceId: that.deviceId,
|
|
|
id: that.formState.id,
|
|
|
bxySdzNoon1: that.formState.bxy,
|
|
|
ch4Noon1: that.formState.ch4,
|
|
@@ -1288,6 +1294,7 @@ export default {
|
|
|
|
|
|
} else if (that.formState.bc == '中班' && that.formState.count == '第二次') {
|
|
|
param = {
|
|
|
+ deviceId: that.deviceId,
|
|
|
id: that.formState.id,
|
|
|
bxySdzNoon2: that.formState.bxy,
|
|
|
ch4Noon2: that.formState.ch4,
|
|
@@ -1305,6 +1312,7 @@ export default {
|
|
|
|
|
|
} else if (that.formState.bc == '夜班' && that.formState.count == '第一次') {
|
|
|
param = {
|
|
|
+ deviceId: that.deviceId,
|
|
|
id: that.formState.id,
|
|
|
bxySdzNight1: that.formState.bxy,
|
|
|
ch4Night1: that.formState.ch4,
|
|
@@ -1321,6 +1329,7 @@ export default {
|
|
|
}
|
|
|
} else if (that.formState.bc == '夜班' && that.formState.count == '第二次') {
|
|
|
param = {
|
|
|
+ deviceId: that.deviceId,
|
|
|
id: that.formState.id,
|
|
|
bxySdzNight2: that.formState.bxy,
|
|
|
ch4Night2: that.formState.ch4,
|
|
@@ -1423,7 +1432,7 @@ export default {
|
|
|
that.getGasList()
|
|
|
that.isShowAdd = false
|
|
|
that.isShowEdit = false
|
|
|
- that.isSaveEdit=[]
|
|
|
+ that.isSaveEdit = []
|
|
|
that.clearData()
|
|
|
} else {
|
|
|
reject(response);
|