diff --git a/components/navbar/navbar.js b/components/navbar/navbar.js index 14aa0fe..24daa45 100644 --- a/components/navbar/navbar.js +++ b/components/navbar/navbar.js @@ -25,9 +25,9 @@ Component({ this.triggerEvent('handleFocus',true) }, goInquirtForm(){ - wx.navigateTo({ - url: '/pages/sickDetail/sickDetail', - }) + // wx.navigateTo({ + // url: '/pages/writeSick/writeSick', + // }) } }, diff --git a/pages/writeSick/writeSick.js b/pages/writeSick/writeSick.js index 44054a3..8a8954c 100644 --- a/pages/writeSick/writeSick.js +++ b/pages/writeSick/writeSick.js @@ -832,7 +832,7 @@ Page({ }) } //this.getSick(); - + this.getlocalInfo(options.family_id); this.handleIsExist(); }, @@ -865,15 +865,17 @@ Page({ disease_class_name: prevData.disease_class_name, disease_class_id: prevData.disease_class_id, }) - } - console.log(pathography_id) - if(pathography_id){ - this.handlepathographyDetail(pathography_id) }else{ - this.getlocalInfo(family_id); - //this.handleLastSick(options.family_id); + // console.log(pathography_id) + if(pathography_id){ + this.handlepathographyDetail(pathography_id) + } + // else{ + // this.getlocalInfo(family_id); + // } } + }, /**