|
|
@@ -2,6 +2,12 @@
|
|
|
<view class="content" >
|
|
|
<view class="header" :style='"background-image:url("+imgUrl+"/detail/bg.png);background-repeat: no-repeat;background-size: 100% 200%;"'>
|
|
|
|
|
|
+ <view @click='goBack()' style="font-size: 17px;
|
|
|
+ padding-top: 7px;
|
|
|
+ position: absolute;">
|
|
|
+ 返回
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="status_info">
|
|
|
<view class="status_detail">
|
|
|
<view class="status_text">{{ getStatusText() }}</view>
|
|
|
@@ -1117,7 +1123,7 @@ export default {
|
|
|
pressTurn:0,
|
|
|
resetTurn:0,
|
|
|
canGetPrsValue:false,//可以接收挤压的动画
|
|
|
- devicePlanInfo:null,//设备后台预约任务
|
|
|
+ devicePlanInfo: {},//设备后台预约任务
|
|
|
devicePlanPopDlg:false,
|
|
|
deviceYuyueIngPop:false,
|
|
|
baowenPopDlg:false,
|
|
|
@@ -1150,6 +1156,17 @@ export default {
|
|
|
this.lineProgreeStyle = "width:"+newvalue+"%;background:#50ACFF;height: 100%;";
|
|
|
},
|
|
|
pressTurn(newVal,oldValue) {
|
|
|
+ // this.pressTurnChangeEvent(newVal);
|
|
|
+ },
|
|
|
+ resetTurn(newVal){
|
|
|
+ // this.resetTurnChnageEvent(newVal);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ goBack(){
|
|
|
+ uni.navigateBack();
|
|
|
+ },
|
|
|
+ pressTurnChangeEvent(newVal){
|
|
|
let self= this;
|
|
|
if(newVal == 1){
|
|
|
setTimeout(function(){
|
|
|
@@ -1160,19 +1177,17 @@ export default {
|
|
|
this.turnPercent = 0;
|
|
|
}
|
|
|
},
|
|
|
- resetTurn(newVal){
|
|
|
+ resetTurnChnageEvent(newVal){
|
|
|
let self= this;
|
|
|
if(newVal == 1){
|
|
|
- setTimeout(function(){
|
|
|
- self.startProgressTimer(2);
|
|
|
- },200);
|
|
|
+ setTimeout(function(){
|
|
|
+ self.startProgressTimer(2);
|
|
|
+ },200);
|
|
|
}else{
|
|
|
clearInterval(this.lineTimer)
|
|
|
this.turnPercent = 0;
|
|
|
}
|
|
|
- }
|
|
|
- },
|
|
|
- methods:{
|
|
|
+ },
|
|
|
closeDeviceYuyueIngPop(){
|
|
|
this.deviceYuyueIngPop = false;
|
|
|
},
|
|
|
@@ -1655,7 +1670,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
showBaowenProp(){
|
|
|
- if(!this.jianyaoIng()){
|
|
|
+ if(this.jianyaoIng()){
|
|
|
this.$modal.showToast('必须煎药模式下才能设置')
|
|
|
return;
|
|
|
}
|
|
|
@@ -1750,7 +1765,7 @@ export default {
|
|
|
|
|
|
});
|
|
|
}else{
|
|
|
-
|
|
|
+ this.resetResetFunc();
|
|
|
let arr = ["a","b","c"]
|
|
|
if(this.isMulTab(index)){
|
|
|
this.childId =arr[index-1];
|
|
|
@@ -1774,6 +1789,13 @@ export default {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
+ resetResetFunc(){
|
|
|
+ let self = this;
|
|
|
+ if(self.lineTimer != null){
|
|
|
+ clearInterval(self.lineTimer)
|
|
|
+ }
|
|
|
+ this.turnPercent = 0;
|
|
|
+ },
|
|
|
resetChoose(){
|
|
|
this.tabIndex = 0;
|
|
|
for (let i = 0; i < 3; i++) {
|
|
|
@@ -2911,6 +2933,7 @@ export default {
|
|
|
}else{
|
|
|
this.pressTurn = 0;
|
|
|
}
|
|
|
+ this.pressTurnChangeEvent(shadow);
|
|
|
}
|
|
|
|
|
|
if(id == 'ResetTurn'){
|
|
|
@@ -2924,6 +2947,7 @@ export default {
|
|
|
}else{
|
|
|
this.resetTurn = 0;
|
|
|
}
|
|
|
+ this.resetTurnChnageEvent(shadow);
|
|
|
}
|
|
|
}
|
|
|
|