|
@@ -79,22 +79,39 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="control_area" v-if="firstTab" :style="boardStyle">
|
|
<view class="control_area" v-if="firstTab" :style="boardStyle">
|
|
|
<view class="control" v-if="boardType ==6">
|
|
<view class="control" v-if="boardType ==6">
|
|
|
- <view class="control_item" v-if="wenduSetting">
|
|
|
|
|
- <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
- <view class="control_item_detail">
|
|
|
|
|
- <view class="control_item_left" @click="subTemperature(1)">-</view>
|
|
|
|
|
- <view class="control_item_center">
|
|
|
|
|
- <view style="position: absolute">
|
|
|
|
|
- <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" @change="propChange(1)" @focus="propFocus(1)" @confirm="propBlur(1)" @blur="propBlur(1)" v-model="temperature"></u-input>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="control_item" v-if="wenduSetting && jianyaoMode == 0">
|
|
|
|
|
+ <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
+ <view class="control_item_detail">
|
|
|
|
|
+ <view class="control_item_left" @click="subTemperature(1)">-</view>
|
|
|
|
|
+ <view class="control_item_center">
|
|
|
|
|
+ <view style="position: absolute">
|
|
|
|
|
+ <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" @change="propChange(1)" @focus="propFocus(1)" @confirm="propBlur(1)" @blur="propBlur(1)" v-model="temperature"></u-input>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item_center_unit" :style="unitFixedStyle">℃</view>
|
|
|
|
|
- <view class="control_item_right" @click="addTemperature(1)">+</view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item_title">
|
|
|
|
|
- 设置温度
|
|
|
|
|
|
|
+ <view class="control_item_center_unit" :style="unitFixedStyle">℃</view>
|
|
|
|
|
+ <view class="control_item_right" @click="addTemperature(1)">+</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_title">
|
|
|
|
|
+ 设置温度
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="control_item" v-if="wenduSetting && jianyaoMode == 1">
|
|
|
|
|
+ <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
+ <view class="control_item_detail">
|
|
|
|
|
+ <view class="control_item_left" @click="subTemperature(1)">-</view>
|
|
|
|
|
+ <view class="control_item_center">
|
|
|
|
|
+ <view style="position: absolute">
|
|
|
|
|
+ <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" @change="propChange(1)" @focus="propFocus(1)" @confirm="propBlur(1)" @blur="propBlur(1)" v-model="FirstTemp"></u-input>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="control_item_center_unit" :style="unitFixedStyle">℃</view>
|
|
|
|
|
+ <view class="control_item_right" @click="addTemperature(1)">+</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_title">
|
|
|
|
|
+ 设置温度
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ </view>
|
|
|
<view class="control_item" v-if="!wenduSetting">
|
|
<view class="control_item" v-if="!wenduSetting">
|
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
<view class="control_item_detail">
|
|
<view class="control_item_detail">
|
|
@@ -112,22 +129,39 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="control_item" v-if="wenhuoTimeDlgShow">
|
|
|
|
|
- <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
- <view class="control_item_detail">
|
|
|
|
|
- <view class="control_item_left" @click="subTemperatureTime(1)">-</view>
|
|
|
|
|
- <view class="control_item_center">
|
|
|
|
|
- <view style="position: absolute;z-index: 999">
|
|
|
|
|
- <u-input customStyle="width:150rpx;border:0px;z-index: 999" disabledColor="white" v-model="temperatureTime"></u-input>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="control_item" v-if="wenhuoTimeDlgShow && jianyaoMode == 0">
|
|
|
|
|
+ <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
+ <view class="control_item_detail">
|
|
|
|
|
+ <view class="control_item_left" @click="subTemperatureTime(1)">-</view>
|
|
|
|
|
+ <view class="control_item_center">
|
|
|
|
|
+ <view style="position: absolute;z-index: 999">
|
|
|
|
|
+ <u-input customStyle="width:150rpx;border:0px;z-index: 999" disabledColor="white" v-model="temperatureTime"></u-input>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item_center_unit" :style="unitFixedStyle">min</view>
|
|
|
|
|
- <view class="control_item_right" style="left: 74%;" @click="addTemperatureTime(1)">+</view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item_title">
|
|
|
|
|
- 时间设置
|
|
|
|
|
|
|
+ <view class="control_item_center_unit" :style="unitFixedStyle">min</view>
|
|
|
|
|
+ <view class="control_item_right" style="left: 74%;" @click="addTemperatureTime(1)">+</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_title">
|
|
|
|
|
+ 时间设置
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="control_item" v-if="wenhuoTimeDlgShow && jianyaoMode == 1">
|
|
|
|
|
+ <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
+ <view class="control_item_detail">
|
|
|
|
|
+ <view class="control_item_left" @click="subTemperatureTime(1)">-</view>
|
|
|
|
|
+ <view class="control_item_center">
|
|
|
|
|
+ <view style="position: absolute;z-index: 999">
|
|
|
|
|
+ <u-input customStyle="width:150rpx;border:0px;z-index: 999" disabledColor="white" v-model="FirstTime"></u-input>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="control_item_center_unit" :style="unitFixedStyle">min</view>
|
|
|
|
|
+ <view class="control_item_right" style="left: 74%;" @click="addTemperatureTime(1)">+</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_title">
|
|
|
|
|
+ 时间设置
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
|
|
|
<view class="control_item" v-if="!wenhuoTimeDlgShow">
|
|
<view class="control_item" v-if="!wenhuoTimeDlgShow">
|
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
@@ -180,23 +214,38 @@
|
|
|
预约时间
|
|
预约时间
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item" v-if="editWaterVolume">
|
|
|
|
|
- <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
- <view class="control_item_detail">
|
|
|
|
|
- <view class="control_item_left" @click="subWaterVolume(1)">-</view>
|
|
|
|
|
- <view class="control_item_center">
|
|
|
|
|
- <view style="position: absolute">
|
|
|
|
|
- <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" @change="propChange(1)" @focus="propFocus(1)" @confirm="propBlur(7)" @blur="propBlur(7)" v-model="waterVolume"></u-input>
|
|
|
|
|
|
|
+ <view class="control_item" v-if="editWaterVolume && jianyaoMode == 0">
|
|
|
|
|
+ <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
+ <view class="control_item_detail">
|
|
|
|
|
+ <view class="control_item_left" @click="subWaterVolume(1)">-</view>
|
|
|
|
|
+ <view class="control_item_center">
|
|
|
|
|
+ <view style="position: absolute">
|
|
|
|
|
+ <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" @change="propChange(1)" @focus="propFocus(1)" @confirm="propBlur(7)" @blur="propBlur(7)" v-model="waterVolume"></u-input>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="control_item_center_unit" :style="unitFixedStyle">L</view>
|
|
|
|
|
+ <view class="control_item_right" @click="addWaterVolume(1)">+</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_title">
|
|
|
|
|
+ 煎药水量
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item_center_unit" :style="unitFixedStyle">L</view>
|
|
|
|
|
- <view class="control_item_right" @click="addWaterVolume(1)">+</view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="control_item_title">
|
|
|
|
|
- 加水水量
|
|
|
|
|
|
|
+ <view class="control_item" v-if="editWaterVolume && jianyaoMode == 1">
|
|
|
|
|
+ <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
+ <view class="control_item_detail">
|
|
|
|
|
+ <view class="control_item_left" @click="subWaterVolume(1)">-</view>
|
|
|
|
|
+ <view class="control_item_center">
|
|
|
|
|
+ <view style="position: absolute">
|
|
|
|
|
+ <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" @change="propChange(1)" @focus="propFocus(1)" @confirm="propBlur(7)" @blur="propBlur(7)" v-model="secondWaterVolume"></u-input>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_center_unit" :style="unitFixedStyle">L</view>
|
|
|
|
|
+ <view class="control_item_right" @click="addWaterVolume(1)">+</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="control_item_title">
|
|
|
|
|
+ 煎药水量
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
<view class="control_item" v-if="!editWaterVolume">
|
|
<view class="control_item" v-if="!editWaterVolume">
|
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
<view class="control_item_detail">
|
|
<view class="control_item_detail">
|
|
@@ -210,7 +259,7 @@
|
|
|
<view class="control_item_right" @click="addWaterVolume(1)">+</view>
|
|
<view class="control_item_right" @click="addWaterVolume(1)">+</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="control_item_title">
|
|
<view class="control_item_title">
|
|
|
- 当前水量
|
|
|
|
|
|
|
+ 当前煎药水量
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -674,28 +723,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<view v-if="statusHandler.type == 9">
|
|
<view v-if="statusHandler.type == 9">
|
|
|
- <view class="control_item" style="width: 100%;background: white;height: 90rpx" v-if="editSecondAddWaterTime">
|
|
|
|
|
- <view class="control_item_detail">
|
|
|
|
|
- <view class="control_item_left" style="left:22%;top:-41rpx" @click="subErqibushui(1)">-</view>
|
|
|
|
|
- <view class="control_item_center" style="top:-2px;left: 40%;">
|
|
|
|
|
- <u-input fontSize="20px" customStyle="width:150rpx;border:0px;font-size:20px" disabledColor="white" v-model="secondAddWaterTime"></u-input>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="control_item_center_unit" style="; font-size: 12px;
|
|
|
|
|
- left: 37vw;
|
|
|
|
|
- top: 13px;">s</view>
|
|
|
|
|
- <view class="control_item_right" style="top: -3px" @click="addErqibushui(1)">+</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="control_item" style="width: 100%;background: white;height: 90rpx" v-if="!editSecondAddWaterTime">
|
|
|
|
|
|
|
+<!-- <view class="control_item" style="width: 100%;background: white;height: 90rpx" v-if="editSecondAddWaterTime">-->
|
|
|
|
|
+<!-- <view class="control_item_detail">-->
|
|
|
|
|
+<!-- <view class="control_item_left" style="left:22%;top:-41rpx" @click="subErqibushui(1)">-</view>-->
|
|
|
|
|
+<!-- <view class="control_item_center" style="top:-2px;left: 40%;">-->
|
|
|
|
|
+<!-- <u-input fontSize="20px" customStyle="width:150rpx;border:0px;font-size:20px" disabledColor="white" v-model="secondAddWaterTime"></u-input>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- <view class="control_item_center_unit" style="; font-size: 12px;-->
|
|
|
|
|
+<!-- left: 37vw;-->
|
|
|
|
|
+<!-- top: 13px;">s</view>-->
|
|
|
|
|
+<!-- <view class="control_item_right" style="top: -3px" @click="addErqibushui(1)">+</view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+ <view class="control_item" style="width: 100%;background: white;height: 90rpx">
|
|
|
<view class="control_item_detail">
|
|
<view class="control_item_detail">
|
|
|
- <view class="control_item_left" style="left:22%;top:-41rpx" @click="subErqibushui(1)">-</view>
|
|
|
|
|
|
|
+<!-- <view class="control_item_left" style="left:22%;top:-41rpx" @click="subErqibushui(1)">-</view>-->
|
|
|
<view class="control_item_center" style="top:-2px;left: 40%;">
|
|
<view class="control_item_center" style="top:-2px;left: 40%;">
|
|
|
<u-input fontSize="20px" customStyle="width:150rpx;border:0px;font-size:20px" disabledColor="white" v-model="currentSecondAddWaterTime"></u-input>
|
|
<u-input fontSize="20px" customStyle="width:150rpx;border:0px;font-size:20px" disabledColor="white" v-model="currentSecondAddWaterTime"></u-input>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="control_item_center_unit" style="; font-size: 12px;
|
|
<view class="control_item_center_unit" style="; font-size: 12px;
|
|
|
left: 37vw;
|
|
left: 37vw;
|
|
|
top: 13px;">s</view>
|
|
top: 13px;">s</view>
|
|
|
- <view class="control_item_right" style="top: -3px" @click="addErqibushui(1)">+</view>
|
|
|
|
|
|
|
+<!-- <view class="control_item_right" style="top: -3px" @click="addErqibushui(1)">+</view>-->
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view style="font-size: 10px;color: red;text-align: center">可调范围10~20</view>
|
|
<view style="font-size: 10px;color: red;text-align: center">可调范围10~20</view>
|
|
@@ -807,7 +856,7 @@
|
|
|
|
|
|
|
|
<u-popup :show="erqibushuiDlg" @close="closeErqibushuiPop" mode="center" :closeable="true" :round="10">
|
|
<u-popup :show="erqibushuiDlg" @close="closeErqibushuiPop" mode="center" :closeable="true" :round="10">
|
|
|
<view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
|
|
<view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
|
|
|
- <view class="control_item" style="width: 100%" v-if="editSecondAddWaterTime">
|
|
|
|
|
|
|
+ <view class="control_item" style="width: 100%" >
|
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
<image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
<view class="control_item_detail">
|
|
<view class="control_item_detail">
|
|
|
<view class="control_item_left" @click="subErqibushui(1)" style="left: 18%;">-</view>
|
|
<view class="control_item_left" @click="subErqibushui(1)" style="left: 18%;">-</view>
|
|
@@ -824,24 +873,24 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="control_item" style="width: 100%" v-if="!editSecondAddWaterTime" >
|
|
|
|
|
- <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
|
|
|
|
|
- <view class="control_item_detail">
|
|
|
|
|
- <view class="control_item_left" @click="subErqibushui(1)" style="left: 18%;">-</view>
|
|
|
|
|
|
|
+<!-- <view class="control_item" style="width: 100%" v-if="!editSecondAddWaterTime" >-->
|
|
|
|
|
+<!-- <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>-->
|
|
|
|
|
+<!-- <view class="control_item_detail">-->
|
|
|
|
|
+<!-- <view class="control_item_left" @click="subErqibushui(1)" style="left: 18%;">-</view>-->
|
|
|
|
|
|
|
|
- <view class="control_item_center">
|
|
|
|
|
- <view style="position: absolute">
|
|
|
|
|
- <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" v-model="currentSecondAddWaterTime"></u-input>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="control_item_center_unit" :style="unitFixedStyle">s</view>
|
|
|
|
|
- <view class="control_item_right" style="left: 80%;" @click="addErqibushui(1)">+</view>
|
|
|
|
|
|
|
+<!-- <view class="control_item_center">-->
|
|
|
|
|
+<!-- <view style="position: absolute">-->
|
|
|
|
|
+<!-- <u-input customStyle="width:150rpx;border:0px;" disabledColor="white" v-model="currentSecondAddWaterTime"></u-input>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- <view class="control_item_center_unit" :style="unitFixedStyle">s</view>-->
|
|
|
|
|
+<!-- <view class="control_item_right" style="left: 80%;" @click="addErqibushui(1)">+</view>-->
|
|
|
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="control_item_title">
|
|
|
|
|
- 二煎补水剩余时间
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- <view class="control_item_title">-->
|
|
|
|
|
+<!-- 二煎补水剩余时间-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
</view>
|
|
</view>
|
|
|
</u-popup>
|
|
</u-popup>
|
|
|
<!-- 预约框-->
|
|
<!-- 预约框-->
|
|
@@ -1224,6 +1273,9 @@ export default {
|
|
|
components: {UText, UImage, UPicker},
|
|
components: {UText, UImage, UPicker},
|
|
|
data(){
|
|
data(){
|
|
|
return {
|
|
return {
|
|
|
|
|
+ SecondTime:0,
|
|
|
|
|
+ FirstTemp:0,
|
|
|
|
|
+ FirstTime:0,
|
|
|
lineProgreeStyle:"width:0%;background:#50ACFF;height: 100%;",
|
|
lineProgreeStyle:"width:0%;background:#50ACFF;height: 100%;",
|
|
|
liuzhuanPopDlg:false,
|
|
liuzhuanPopDlg:false,
|
|
|
turnPercent:1,
|
|
turnPercent:1,
|
|
@@ -1273,7 +1325,7 @@ export default {
|
|
|
current:0,
|
|
current:0,
|
|
|
inputStyle:{height:'44rpx','fontSize':'20rpx'},
|
|
inputStyle:{height:'44rpx','fontSize':'20rpx'},
|
|
|
modelKey:['PowerControl','LockControl'],
|
|
modelKey:['PowerControl','LockControl'],
|
|
|
- jianyaoKeys : ["TempSetting","TimeSetting","WaterVolume","AppointmentTime","TimeSettingFirst","TimeSettingSecond","SecondAddWaterTime","TempSettingFirst"],
|
|
|
|
|
|
|
+ jianyaoKeys : ["TempSetting","TimeSetting","WaterVolume","SecondWaterVolume","AppointmentTime","TimeSettingFirst","TimeSettingSecond","SecondAddWaterTime","TempSettingFirst","FirstTemp","FirstTime"],
|
|
|
baozhuangKeys:["SetSealTemp","SetBandingTemp","PackageQuantity","PackingVolume"],
|
|
baozhuangKeys:["SetSealTemp","SetBandingTemp","PackageQuantity","PackingVolume"],
|
|
|
power:{
|
|
power:{
|
|
|
loading:true,
|
|
loading:true,
|
|
@@ -1383,6 +1435,7 @@ export default {
|
|
|
jiashuiTurn:false,
|
|
jiashuiTurn:false,
|
|
|
baowenTurn:false,
|
|
baowenTurn:false,
|
|
|
waterVolume:5,
|
|
waterVolume:5,
|
|
|
|
|
+ secondWaterVolume:5,
|
|
|
currentWaterVolume:0,
|
|
currentWaterVolume:0,
|
|
|
baowenSettingMode:false,
|
|
baowenSettingMode:false,
|
|
|
baowenSettingTimer:null,
|
|
baowenSettingTimer:null,
|
|
@@ -1950,6 +2003,7 @@ export default {
|
|
|
this.sendBaowenSetting();
|
|
this.sendBaowenSetting();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
modifyName(){
|
|
modifyName(){
|
|
|
let self = this;
|
|
let self = this;
|
|
@@ -2755,31 +2809,66 @@ export default {
|
|
|
this.sendJianYao("SecondAddWaterTime")
|
|
this.sendJianYao("SecondAddWaterTime")
|
|
|
},
|
|
},
|
|
|
addTemperatureTime(){
|
|
addTemperatureTime(){
|
|
|
- console.log("增加煎药时间")
|
|
|
|
|
- if(!this.wenhuoTimeDlgShow){
|
|
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ console.log("增加煎药时间")
|
|
|
|
|
+ if(!this.wenhuoTimeDlgShow){
|
|
|
|
|
+ this.wenhuoTimeDlgShow = true;
|
|
|
|
|
+ this.temperatureTime = this.leftJianyaoTime;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.temperatureTime++;
|
|
|
|
|
+ this.changeTemperatureTime()
|
|
|
|
|
+ }else{
|
|
|
this.wenhuoTimeDlgShow = true;
|
|
this.wenhuoTimeDlgShow = true;
|
|
|
- this.temperatureTime = this.leftJianyaoTime;
|
|
|
|
|
|
|
+ this.FirstTime++;
|
|
|
|
|
+ this.changeFirstTime()
|
|
|
}
|
|
}
|
|
|
- this.temperatureTime++;
|
|
|
|
|
- this.changeTemperatureTime()
|
|
|
|
|
},
|
|
},
|
|
|
subTemperatureTime(){
|
|
subTemperatureTime(){
|
|
|
- console.log("减少煎药时间")
|
|
|
|
|
- if(!this.wenhuoTimeDlgShow){
|
|
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ console.log("减少煎药时间")
|
|
|
|
|
+ if(!this.wenhuoTimeDlgShow){
|
|
|
|
|
+ this.wenhuoTimeDlgShow = true;
|
|
|
|
|
+ this.temperatureTime = this.leftJianyaoTime;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.temperatureTime--;
|
|
|
|
|
+ if(this.temperatureTime<=0){
|
|
|
|
|
+ this.temperatureTime = 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.changeTemperatureTime()
|
|
|
|
|
+ }else{
|
|
|
this.wenhuoTimeDlgShow = true;
|
|
this.wenhuoTimeDlgShow = true;
|
|
|
- this.temperatureTime = this.leftJianyaoTime;
|
|
|
|
|
|
|
+ this.FirstTime--;
|
|
|
|
|
+ if(this.FirstTime<=0){
|
|
|
|
|
+ this.FirstTime = 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.changeFirstTime()
|
|
|
}
|
|
}
|
|
|
- this.temperatureTime--;
|
|
|
|
|
- if(this.temperatureTime<=0){
|
|
|
|
|
- this.temperatureTime = 1;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ changeFirstTime(){
|
|
|
|
|
+ let min = 1;
|
|
|
|
|
+ let max = 600;
|
|
|
|
|
+ if(this.FirstTime<min){
|
|
|
|
|
+ this.FirstTime = min;
|
|
|
}
|
|
}
|
|
|
- this.changeTemperatureTime()
|
|
|
|
|
|
|
+ if(this.FirstTime>max){
|
|
|
|
|
+ this.FirstTime = max;
|
|
|
|
|
+ }
|
|
|
|
|
+ console.log("current temperatureTime is :"+this.FirstTime)
|
|
|
|
|
+ this.sendJianYao("FirstTime");
|
|
|
},
|
|
},
|
|
|
addTemperature(){
|
|
addTemperature(){
|
|
|
- console.log("增加煎药温度")
|
|
|
|
|
- this.temperature++;
|
|
|
|
|
- this.wenduSetting = true;
|
|
|
|
|
- this.changeTemperature();
|
|
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ console.log("zengjia煎药温度")
|
|
|
|
|
+ this.temperature++;
|
|
|
|
|
+ this.wenduSetting = true;
|
|
|
|
|
+ this.changeTemperature();
|
|
|
|
|
+ }else{
|
|
|
|
|
+ console.log("zengjia煎药温度")
|
|
|
|
|
+ this.FirstTemp++;
|
|
|
|
|
+ this.wenduSetting = true;
|
|
|
|
|
+ this.changeFirstTemperature();
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
resetShowPlanTime(){
|
|
resetShowPlanTime(){
|
|
@@ -2865,7 +2954,15 @@ export default {
|
|
|
let mode = this.jianyaoMode;
|
|
let mode = this.jianyaoMode;
|
|
|
if(mode == 0){
|
|
if(mode == 0){
|
|
|
this.firstJianyaoMode = 5;
|
|
this.firstJianyaoMode = 5;
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.secondJianyaoMode = 8;
|
|
|
}
|
|
}
|
|
|
|
|
+ let arr = []
|
|
|
|
|
+ let obj2 = {};
|
|
|
|
|
+ obj2.id = "DecoctingSwitch";
|
|
|
|
|
+ obj2.shadow = 1;
|
|
|
|
|
+ arr.push(obj2);
|
|
|
|
|
+ this.mqttPublish(2,this.deviceInfo,arr,true);
|
|
|
this.setStatusHandler()
|
|
this.setStatusHandler()
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -2891,28 +2988,88 @@ export default {
|
|
|
this.sendJianYao("TimeSettingSecond");
|
|
this.sendJianYao("TimeSettingSecond");
|
|
|
},
|
|
},
|
|
|
subWaterVolume(){
|
|
subWaterVolume(){
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ this.waterVolume = parseFloat(this.waterVolume) -0.1;
|
|
|
|
|
+ this.waterVolume = this.waterVolume.toFixed(1);
|
|
|
|
|
+ this.editWaterVolume = true;
|
|
|
|
|
+ this.sendWaterVolume();
|
|
|
|
|
+ }else if(this.jianyaoMode == 1){
|
|
|
|
|
+ this.secondWaterVolume = parseFloat(this.secondWaterVolume) -0.1;
|
|
|
|
|
+ this.secondWaterVolume = this.secondWaterVolume.toFixed(1);
|
|
|
|
|
+ this.editWaterVolume = true;
|
|
|
|
|
+ this.sendSecondWaterVolume();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ addWaterVolume(){
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ this.waterVolume = parseFloat(this.waterVolume) +0.1;
|
|
|
|
|
+ this.waterVolume = this.waterVolume.toFixed(1);
|
|
|
|
|
+ this.editWaterVolume = true;
|
|
|
|
|
+ this.sendWaterVolume();
|
|
|
|
|
+ }else if(this.jianyaoMode == 1){
|
|
|
|
|
+ this.secondWaterVolume = parseFloat(this.secondWaterVolume) +0.1;
|
|
|
|
|
+ this.secondWaterVolume = this.secondWaterVolume.toFixed(1);
|
|
|
|
|
+ this.editWaterVolume = true;
|
|
|
|
|
+ this.sendSecondWaterVolume();
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ subSecondWaterVolume(){
|
|
|
this.waterVolume = parseFloat(this.waterVolume) -0.1;
|
|
this.waterVolume = parseFloat(this.waterVolume) -0.1;
|
|
|
this.waterVolume = this.waterVolume.toFixed(1);
|
|
this.waterVolume = this.waterVolume.toFixed(1);
|
|
|
this.editWaterVolume = true;
|
|
this.editWaterVolume = true;
|
|
|
this.sendWaterVolume();
|
|
this.sendWaterVolume();
|
|
|
},
|
|
},
|
|
|
- addWaterVolume(){
|
|
|
|
|
|
|
+ addSecondWaterVolume(){
|
|
|
this.waterVolume = parseFloat(this.waterVolume) +0.1;
|
|
this.waterVolume = parseFloat(this.waterVolume) +0.1;
|
|
|
this.waterVolume = this.waterVolume.toFixed(1);
|
|
this.waterVolume = this.waterVolume.toFixed(1);
|
|
|
this.editWaterVolume = true;
|
|
this.editWaterVolume = true;
|
|
|
this.sendWaterVolume();
|
|
this.sendWaterVolume();
|
|
|
},
|
|
},
|
|
|
|
|
+ sendSecondWaterVolume(){
|
|
|
|
|
+ if(this.secondWaterVolume<0){
|
|
|
|
|
+ this.secondWaterVolume = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.sendJianYao("SecondWaterVolume");
|
|
|
|
|
+ },
|
|
|
sendWaterVolume(){
|
|
sendWaterVolume(){
|
|
|
- if(this.waterVolume<0){
|
|
|
|
|
- this.waterVolume = 0;
|
|
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ if(this.waterVolume<0){
|
|
|
|
|
+ this.waterVolume = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.sendJianYao("WaterVolume");
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.sendSecondWaterVolume();
|
|
|
}
|
|
}
|
|
|
- this.sendJianYao("WaterVolume");
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
subTemperature(type){
|
|
subTemperature(type){
|
|
|
- console.log("减少煎药温度")
|
|
|
|
|
- this.temperature--;
|
|
|
|
|
- this.wenduSetting = true;
|
|
|
|
|
- this.changeTemperature();
|
|
|
|
|
|
|
+ if(this.jianyaoMode == 0){
|
|
|
|
|
+ console.log("减少煎药温度")
|
|
|
|
|
+ this.temperature--;
|
|
|
|
|
+ this.wenduSetting = true;
|
|
|
|
|
+ this.changeTemperature();
|
|
|
|
|
+ }else{
|
|
|
|
|
+ console.log("减少煎药温度")
|
|
|
|
|
+ this.FirstTemp--;
|
|
|
|
|
+ this.wenduSetting = true;
|
|
|
|
|
+ this.changeFirstTemperature();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ changeFirstTemperature(){
|
|
|
|
|
+ let max = 140;
|
|
|
|
|
+ let min = 100;
|
|
|
|
|
+ if(this.FirstTemp<min){
|
|
|
|
|
+ this.FirstTemp = min;
|
|
|
|
|
+ }
|
|
|
|
|
+ if(this.FirstTemp>max){
|
|
|
|
|
+ this.FirstTemp = max;
|
|
|
|
|
+ }
|
|
|
|
|
+ console.log("current temperature is :"+this.FirstTemp)
|
|
|
|
|
+ this.sendJianYao("FirstTemp");
|
|
|
},
|
|
},
|
|
|
changeJianyaoMode(mode){
|
|
changeJianyaoMode(mode){
|
|
|
let arr = [];
|
|
let arr = [];
|
|
@@ -3044,6 +3201,18 @@ export default {
|
|
|
obj.shadow = this.temperature;
|
|
obj.shadow = this.temperature;
|
|
|
self.resetShowWendu();
|
|
self.resetShowWendu();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ if(key === "FirstTemp"){
|
|
|
|
|
+ obj.shadow = this.FirstTemp;
|
|
|
|
|
+ self.resetShowWendu();
|
|
|
|
|
+ }
|
|
|
|
|
+ if(key === "FirstTime"){
|
|
|
|
|
+ obj.shadow = this.FirstTime;
|
|
|
|
|
+ setTimeout(function(){
|
|
|
|
|
+ self.wenhuoTimeDlgShow = false;
|
|
|
|
|
+ self.jianyaoShijianSetting = false;
|
|
|
|
|
+ },self.resetDuration)
|
|
|
|
|
+ }
|
|
|
if(key === "TempSettingFirst"){
|
|
if(key === "TempSettingFirst"){
|
|
|
obj.shadow = this.tempSettingFirst;
|
|
obj.shadow = this.tempSettingFirst;
|
|
|
self.resetTempSettingFirstTimer();
|
|
self.resetTempSettingFirstTimer();
|
|
@@ -3073,6 +3242,11 @@ export default {
|
|
|
self.resetWaterVolume();
|
|
self.resetWaterVolume();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if(key === "SecondWaterVolume"){
|
|
|
|
|
+ obj.shadow = this.secondWaterVolume*10;
|
|
|
|
|
+ self.resetWaterVolume();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if(key === "AppointmentTime"){
|
|
if(key === "AppointmentTime"){
|
|
|
obj.shadow = this.planTime;
|
|
obj.shadow = this.planTime;
|
|
|
self.resetShowPlanTime();
|
|
self.resetShowPlanTime();
|
|
@@ -3178,8 +3352,23 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ }else if(parseInt(this.jianyaoMode) === 1){
|
|
|
|
|
+ if(parseFloat(this.secondWaterVolume)>0) {
|
|
|
|
|
+ this.secondJianyaoMode = 1;
|
|
|
|
|
+ }else{
|
|
|
|
|
+ if(parseFloat(this.planTime)>0) {//是否预约
|
|
|
|
|
+ this.secondJianyaoMode = 2;
|
|
|
|
|
+ }else{
|
|
|
|
|
+ if(parseFloat(this.timeSettingFirst)>0){//是否设置先煎
|
|
|
|
|
+ this.secondJianyaoMode = 3;
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.secondJianyaoMode = 7;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
kongzhiJianyao(flag,arr){//不判断煎药状态
|
|
kongzhiJianyao(flag,arr){//不判断煎药状态
|
|
|
let obj = {};
|
|
let obj = {};
|
|
@@ -3843,6 +4032,10 @@ export default {
|
|
|
this.setPropValue(id,"PackageQuantity","packageNumber",value,1)
|
|
this.setPropValue(id,"PackageQuantity","packageNumber",value,1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ this.setPropValue(id,"SecondTime","SecondTime",value,1)
|
|
|
|
|
+ this.setPropValue(id,"FirstTemp","FirstTemp",value,1)
|
|
|
|
|
+ this.setPropValue(id,"FirstTime","FirstTime",value,1)
|
|
|
|
|
+
|
|
|
//封边温度
|
|
//封边温度
|
|
|
this.setPropValue(id,"BandingTemp","edegTemperature",value);
|
|
this.setPropValue(id,"BandingTemp","edegTemperature",value);
|
|
|
this.setPropValue(id,"BandingTemp","tempFengBianWendu",value)
|
|
this.setPropValue(id,"BandingTemp","tempFengBianWendu",value)
|
|
@@ -4243,6 +4436,18 @@ export default {
|
|
|
this.leftTransferTime = obj.value
|
|
this.leftTransferTime = obj.value
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if(msgId == "SecondTime"){
|
|
|
|
|
+ this.SecondTime = obj.value
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if(msgId == "FirstTemp"){
|
|
|
|
|
+ this.FirstTemp = obj.value
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if(msgId == "FirstTime"){
|
|
|
|
|
+ this.FirstTime = obj.value
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
/** 发布物模型 类型(1=属性,2=功能) */
|
|
/** 发布物模型 类型(1=属性,2=功能) */
|