Commit 51f4690f authored by gengchunlei's avatar gengchunlei

居民端小程序 v1.2 duration 默认3秒

parent b187e8e7
......@@ -166,7 +166,7 @@ export default {
},
created() {
if (!this.residentInfoId) {
showNotify({ type: 'warning', message: '未获取到患者信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到患者信息' })
return
}
this.load()
......
......@@ -155,7 +155,7 @@ export default {
created() {
document.title = '筛查详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息'})
return
}
this.init()
......
......@@ -727,7 +727,7 @@ export default {
created() {
document.title = '筛查详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息' })
return
}
this.init()
......
......@@ -125,7 +125,7 @@ export default {
},
created() {
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息'})
return
}
this.init()
......
......@@ -53,7 +53,7 @@ export default {
},
created() {
if (!this.idCard) {
showNotify({ type: 'warning', message: '未获取到用户信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到用户信息'})
return
}
this.init()
......
......@@ -70,7 +70,7 @@ export default {
},
created() {
if (!this.doctorId) {
showNotify({ type: 'warning', message: '未获取到医生信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到医生信息' })
return
}
this.recordForm.doctorId = this.doctorId
......
......@@ -118,7 +118,7 @@ export default {
created() {
document.title = '指导详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息' })
return
}
this.init()
......
......@@ -149,7 +149,7 @@ export default {
// 连接到im服务
connect() {
if (!this.accountId || !this.token) {
showNotify({ type: 'warning', message: '聊天服务连接失败', duration: 0 })
showNotify({ type: 'warning', message: '聊天服务连接失败' })
return
}
this.isConnect = false
......
......@@ -40,7 +40,7 @@ export default {
console.log(obj.duration)
},
ondisconnect: function(error) {
showNotify({ type: 'warning', message: '连接失败', duration: 0 })
showNotify({ type: 'warning', message: '连接失败' })
// if (error) {
// switch (error.code) {
// case 302:
......
......@@ -159,7 +159,7 @@ export default {
created() {
document.title = '筛查详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息' })
return
}
this.init()
......
......@@ -728,7 +728,7 @@ export default {
created() {
document.title = '筛查详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息' })
return
}
this.init()
......
......@@ -159,7 +159,7 @@ export default {
created() {
document.title = '主要慢病高危随访详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息' })
return
}
this.init()
......
......@@ -728,7 +728,7 @@ export default {
created() {
document.title = '专病高危随访详情'
if (!this.id) {
showNotify({ type: 'warning', message: '未获取到查询信息', duration: 0 })
showNotify({ type: 'warning', message: '未获取到查询信息' })
return
}
this.init()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment