diff --git a/api/login/index.js b/api/login/index.js index e497681..54eb2a1 100644 --- a/api/login/index.js +++ b/api/login/index.js @@ -3,7 +3,7 @@ import request from "../request.js" //密码 export function appLogin(personAccount, personPassword) { return request({ - url: `/newapp/login/appLogin?personAccount=${personAccount}&personPassword=${personPassword}`, + url: `/newApp/login/appLogin?personAccount=${personAccount}&personPassword=${personPassword}`, method: 'POST' }) } diff --git a/api/myinformation/myinformation.js b/api/myinformation/myinformation.js index 989500c..c16949c 100644 --- a/api/myinformation/myinformation.js +++ b/api/myinformation/myinformation.js @@ -3,7 +3,7 @@ import request from "../request.js" //密码 export function hospitalPerson(id) { return request({ - url: '/system/hospitalPerson/' + id, + url: '/newApp/login/' + id, method: 'get' }) } diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 0f79014..528c287 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -28,7 +28,10 @@ 预约时间: - {{item.appointmentDate}}{{' '+item.appointmentStartTime}}{{'-'+item.appointmentEndTime}} + {{item.appointmentDate}} + + {{' '+item.appointmentStartTime}}{{'-'+item.appointmentEndTime}} + 问题简述: @@ -170,7 +173,7 @@ value: 'COMPLETED', }], query: { - hospitalPersonId: 1, + hospitalPersonId: '', orderStatus: '', orderType: 'HEALTH_CONSULTATION', pageNum: 1, @@ -192,6 +195,7 @@ }, onShow() { this.info(); + this.query.hospitalPersonId=uni.getStorageSync("id") }, methods: { //前往聊天 diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 63a4cf4..7e48d65 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -147,7 +147,7 @@ }, // 个人信息 personlinfo() { - console.log(this.list, '66') + // console.log(this.list, '66') uni.navigateTo({ url: `/pages/Personalinfo/Personalinfo?list=${JSON.stringify(this.list)}` })