Commit 18fd1499 authored by gengchunlei's avatar gengchunlei

医生端 v1.0.4 1、慢特病随访bug修复

parent aa9d0e3d
......@@ -66,7 +66,7 @@ export default {
if (!token) {
token = sessionStorage.getItem('token')
if (process.env.NODE_ENV !== 'production') {
token = '667cf0a3-e859-4ebe-ae04-2ccc64d0f437'
token = '6b4cc93f-85a0-4c0c-b47c-db0411952ddd'
}
}
if (token) {
......
......@@ -45,8 +45,6 @@ export default {
baseInfo: {},
// 慢特病信息
slowSpecialInfo: {},
// 结果
resultInfo: {}
}
},
computed: {
......@@ -116,14 +114,13 @@ export default {
query.residentsRecord = this.baseInfo
const func = query.id ? updateSlowSpecial : addSlowSpecial
func(query).then(res => {
this.resultInfo = query
this.store.onRefreshMark()
this.$router.replace({
path: '/doctor/patient-detail',
query: {
residentInfoId: this.residentInfoId
}
})
this.store.onRefreshMark()
})
})
} else {
......
......@@ -116,7 +116,6 @@ export default {
this.load(false)
},
toDetail(record) {
debugger
if (!record) return
if (record.id == null) {
this.$message.info('暂时无法查看 详情信息')
......@@ -130,7 +129,6 @@ export default {
})
},
editBtn(record) {
debugger
this.$router.push({
path: '/doctor/followUp/slowSpecialFU/add',
query: { residentInfoId: this.residentInfoId, id:record.id }
......
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