Commit 46822b06 authored by gengchunlei's avatar gengchunlei

医生端 v1.2 1、随访数据为公卫或者his时 提示到pc端查看详情

parent 5a1f1424
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
if (!token) { if (!token) {
token = sessionStorage.getItem('token') token = sessionStorage.getItem('token')
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
token = '4df45197-d2f8-42ba-9ab5-8b8100c53bcf' token = 'b9a25475-8323-4bec-8e52-902237c82711'
} }
} }
if (token) { if (token) {
......
...@@ -148,23 +148,14 @@ export default { ...@@ -148,23 +148,14 @@ export default {
if (record.id == null) { if (record.id == null) {
this.$message.info('暂时无法查看 详情信息') this.$message.info('暂时无法查看 详情信息')
return return
} else if (record.source == 7) { } else if (record.source == 7 || record.source == 4) {
//数据来源为his时展示 `请在医生PC端查看详情` //数据来源为his或者公卫时展示 `请在医生PC端查看详情`
showConfirmDialog({ showConfirmDialog({
message: '请在医生PC端查看详情' message: '请在医生PC端查看详情'
}).then(() => { }).then(() => {
}).catch((err) => { }).catch((err) => {
}) })
} else if (record.source == 4) {
// 判断是否显示公卫随访
this.$router.push({
path: `/systemIframe/doctorGWDetail`,
query: {
src: `https://www.baidu.com/`,
pageTitle: `公卫详情`
}
})
} else { } else {
//随访详情 //随访详情
this.$router.push({ this.$router.push({
...@@ -176,6 +167,18 @@ export default { ...@@ -176,6 +167,18 @@ export default {
} }
}) })
} }
/* else if (record.source == 4) {
// 判断是否显示公卫随访
this.$router.push({
path: `/systemIframe/doctorGWDetail`,
query: {
src: `https://www.baidu.com/`,
pageTitle: `公卫详情`
}
})
}*/
}, },
editBtn(item) { editBtn(item) {
if (item.serveType === 3 || item.serveType === 4) { if (item.serveType === 3 || item.serveType === 4) {
......
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