|
@ -323,7 +323,6 @@ export default {
|
|
|
})
|
|
|
socketUtils.$on('onMessage', (msg)=>{
|
|
|
if(msg.type == 'CardInfo'){
|
|
|
this.clearReadCardCountDown()
|
|
|
var TipsDialog = this.prevReadCard? this.prevReadCard : this.$refs.TipsDialog
|
|
|
if(this.prevReadCard || TipsDialog.contentType == 2){
|
|
|
if(this.prevReadCard
|
|
@ -334,6 +333,7 @@ export default {
|
|
|
){
|
|
|
if(msg.mess.indexOf("读取临时卡信息失败") != -1){
|
|
|
//已经读取医保卡和临时卡 并都未读取到卡信息
|
|
|
this.clearReadCardCountDown()
|
|
|
this.$toast.clear()
|
|
|
this.showTipsDialog(this.prevReadCard)
|
|
|
this.prevReadCard = false
|
|
@ -343,6 +343,7 @@ export default {
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
this.clearReadCardCountDown()
|
|
|
this.$toast.clear()
|
|
|
this.prevReadCard = false
|
|
|
if(msg.mess.indexOf("异常") != -1 || msg.mess.indexOf("读取信息失败") != -1 || msg.mess.indexOf("读取识别码失败") != -1 || msg.mess.indexOf("读取临时卡信息失败") != -1) {
|
|
@ -377,6 +378,7 @@ export default {
|
|
|
})
|
|
|
|
|
|
} else {
|
|
|
this.clearReadCardCountDown()
|
|
|
this.$toast.clear()
|
|
|
}
|
|
|
} else if(msg.type == 'medical_recharge'){
|