Commit df28a168 authored by gengchunlei's avatar gengchunlei

医生端 v1.2 1、个人详情慢特病随访 冒泡事件bug修复

parent d252294c
...@@ -37,7 +37,6 @@ export default { ...@@ -37,7 +37,6 @@ export default {
watch: { watch: {
src: { src: {
handler() { handler() {
debugger
this.load() this.load()
}, },
immediate: true immediate: true
......
...@@ -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 = 'c7bd708b-d0a2-467d-a506-91544d5186fc' token = '8ae0fcf4-068a-4b1c-9344-a5bef4f1030d'
} }
} }
if (token) { if (token) {
......
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
<div class='font-semibold'>随访信息</div> <div class='font-semibold'>随访信息</div>
<div class='doc-form-label'>医保目录代码</div> <div class='doc-form-label'>医保目录代码</div>
<van-field :modelValue='form.medicalDirectoryCode' <van-field :modelValue='form.medicalDirectoryCode'
name='currentAge' name='medicalDirectoryCode'
type='digit'
placeholder='请输入医保目录代码' placeholder='请输入医保目录代码'
readonly readonly
> >
...@@ -429,8 +428,9 @@ export default { ...@@ -429,8 +428,9 @@ export default {
watch: { watch: {
info: { info: {
handler(info) { handler(info) {
debugger
this.form = defaultForm(info) this.form = defaultForm(info)
this.form.medicalDirectoryCode = this.info.medicalInsuranceCode this.form.medicalDirectoryCode = this.info.medicalInsuranceCode || this.info.medicalDirectoryCode
if (this.form.drugName) { if (this.form.drugName) {
let list = [] let list = []
this.form.drugName.split(",").forEach(item => { this.form.drugName.split(",").forEach(item => {
......
...@@ -88,7 +88,6 @@ export default { ...@@ -88,7 +88,6 @@ export default {
this.baseInfo = this.slowSpecialInfo.residentsRecord this.baseInfo = this.slowSpecialInfo.residentsRecord
} else { } else {
if (this.residentInfoId) { if (this.residentInfoId) {
debugger
let res = await getChronicResidentsId(this.residentInfoId) let res = await getChronicResidentsId(this.residentInfoId)
this.baseInfo = res.data || {} this.baseInfo = res.data || {}
this.slowSpecialInfo.residentInfoId = this.residentInfoId this.slowSpecialInfo.residentInfoId = this.residentInfoId
......
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
</div> </div>
<div class="divider"></div> <div class="divider"></div>
<div class="bt-group"> <div class="bt-group">
<van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">详情</van-button> <van-button round size="small" class="doc-btn-primary" @click.stop="toDetail(item)">详情</van-button>
<van-button round size="small" class="doc-btn-primary" @click="editBtn(item)" <van-button round size="small" class="doc-btn-primary" @click.stop="editBtn(item)"
v-if="item.allowUpdate == 1">修改</van-button> v-if="item.allowUpdate == 1">修改</van-button>
<van-button round size="small" class="doc-btn-red" @click="delBtn(item)" <van-button round size="small" class="doc-btn-red" @click.stop="delBtn(item)"
v-if="item.allowDelete ==1">删除</van-button> v-if="item.allowDelete ==1">删除</van-button>
</div> </div>
</div> </div>
...@@ -116,6 +116,7 @@ export default { ...@@ -116,6 +116,7 @@ export default {
this.load(false) this.load(false)
}, },
toDetail(record) { toDetail(record) {
debugger
if (!record) return if (!record) return
if (record.id == null) { if (record.id == null) {
this.$message.info('暂时无法查看 详情信息') this.$message.info('暂时无法查看 详情信息')
...@@ -129,6 +130,7 @@ export default { ...@@ -129,6 +130,7 @@ export default {
}) })
}, },
editBtn(record) { editBtn(record) {
debugger
this.$router.push({ this.$router.push({
path: '/doctor/followUp/slowSpecialFU/add', path: '/doctor/followUp/slowSpecialFU/add',
query: { residentInfoId: this.residentInfoId, id:record.id } 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