|
@@ -243,11 +243,11 @@ export default {
|
|
|
if(e.data.level == 'O'){
|
|
|
// 启动超时
|
|
|
if(e.data.msgCode == "PAUSE"){
|
|
|
- this.startWashCarFail()
|
|
|
+ this.startWashCarFail('设备启动超时,请稍后重试或联系客服')
|
|
|
}
|
|
|
// 停车位置不正确,
|
|
|
if(e.data.msgCode=="TCWZ_CW"){
|
|
|
- this.showModal(e.data.msgCodeInfo)
|
|
|
+ this.startWashCarFail(e.data.msgCodeInfo)
|
|
|
}
|
|
|
// 重新进入页面且还未启动洗车时
|
|
|
if(e.data.msgCode == "PAID"){
|
|
@@ -374,13 +374,13 @@ export default {
|
|
|
this.status = 'working';
|
|
|
this.$u.vuex('vuex_workStatus','working')
|
|
|
},
|
|
|
- // 启动超时
|
|
|
- startWashCarFail(){
|
|
|
+ // 启动超时或失败
|
|
|
+ startWashCarFail(msg){
|
|
|
this.showStart = false;
|
|
|
this.status = 'start';
|
|
|
this.$u.vuex('vuex_workStatus','start')
|
|
|
- this.curWorkStutesText='设备启动超时'
|
|
|
- this.showModal('设备启动超时,请稍后重试或联系客服')
|
|
|
+ this.curWorkStutesText=msg
|
|
|
+ this.showModal(msg)
|
|
|
},
|
|
|
// 发送命令,start 启动,stop 急停,reset 归位
|
|
|
sendCmdRabt(cmdCode){
|