diff --git a/api/pagesB/familymemberdetail/familymemberdetail.js b/api/pagesB/familymemberdetail/familymemberdetail.js index 230a60a..1312817 100644 --- a/api/pagesB/familymemberdetail/familymemberdetail.js +++ b/api/pagesB/familymemberdetail/familymemberdetail.js @@ -1,16 +1,15 @@ import request from "../../request.js" // 获取家庭成员详情 -export function getInfo(patientCode) { +export function getInfo(patientCode, openid) { return request({ - url: `/applet/register/getInfo/${patientCode}`, + url: `/applet/register/getInfo/${patientCode}&${openid}`, method: 'GET' }) } // 解绑账号 - -export function delFamilyItem(patientCode) { +export function delFamilyItem(patientCode, openid) { return request({ - url: `/applet/register/unbinding/${patientCode}`, + url: `/applet/register/unbinding/${patientCode}&${openid}`, method: 'GET' }) -} +} \ No newline at end of file diff --git a/api/pagesC/Onlinesigning/index.js b/api/pagesC/Onlinesigning/index.js index dc28e3d..4019975 100644 --- a/api/pagesC/Onlinesigning/index.js +++ b/api/pagesC/Onlinesigning/index.js @@ -44,4 +44,4 @@ export function getPackageByCrowdNo(data) { region: uni.getStorageSync('region'), } }) -} +} \ No newline at end of file diff --git a/api/pagesC/ServiceAppointment/ServiceAppointment.js b/api/pagesC/ServiceAppointment/ServiceAppointment.js index d46f1fb..339daaa 100644 --- a/api/pagesC/ServiceAppointment/ServiceAppointment.js +++ b/api/pagesC/ServiceAppointment/ServiceAppointment.js @@ -1,12 +1,12 @@ import request from "../../request.js" // 服务预约 -export function getForm(identity,projectName) { +export function getForm(identity, projectName) { return request({ url: `/applet/service/apply/getForm/${identity}?projectName=${projectName}`, method: 'GET', header: { - region: uni.getStorageSync('region'), + region: uni.getStorageSync('region'), // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') }, }) @@ -15,7 +15,7 @@ export function detail(data) { return request({ url: '/applet/service/apply/save', method: 'post', - data:data + data: data // header: { // region: uni.getStorageSync('region'), // // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') @@ -26,7 +26,7 @@ export function save(data) { return request({ url: '/nurseApplet/screening/record/save', method: 'post', - data:data + data: data // header: { // region: uni.getStorageSync('region'),, // // Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') diff --git a/pagesB/familymemberdetail/familymemberdetail.vue b/pagesB/familymemberdetail/familymemberdetail.vue index 9e14cd7..5dee047 100644 --- a/pagesB/familymemberdetail/familymemberdetail.vue +++ b/pagesB/familymemberdetail/familymemberdetail.vue @@ -33,13 +33,16 @@ 解除绑定家庭成员 - + + \ No newline at end of file diff --git a/pagesB/mysigning/mysigning.vue b/pagesB/mysigning/mysigning.vue index ddc2c15..9492741 100644 --- a/pagesB/mysigning/mysigning.vue +++ b/pagesB/mysigning/mysigning.vue @@ -166,6 +166,7 @@ ...mapMutations(['scoket']), //解约 rescindapplysaveinfo() { + this.list.openid = uni.getStorageSync('openid') rescindapplysave(this.list).then(res => { if (res.code == 200) { this.$refs.uToast.show({ diff --git a/pagesC/Onlinesigning/Onlinesigning.vue b/pagesC/Onlinesigning/Onlinesigning.vue index 6b0ca43..fc16cd9 100644 --- a/pagesC/Onlinesigning/Onlinesigning.vue +++ b/pagesC/Onlinesigning/Onlinesigning.vue @@ -211,6 +211,7 @@ stepnumber: 1, code: '', query: { + openid: null, province: '370000000000', provinceName: '山东省', residentName: null, @@ -369,6 +370,7 @@ this.query.gender = 99 } } + this.query.openid = uni.getStorageSync('openid') applysave(this.query).then(res => { if (res.code == 200) { this.$refs.uToast.show({ @@ -636,12 +638,12 @@ }, }, onLoad(options) { - if(options.checkSign=="0"){ + if (options.checkSign == "0") { this.$refs.uToast.show({ title: '未签约,请先签约', type: 'error', - duration:'2000', - position:'top', + duration: '2000', + position: 'top', }) } var region = uni.getStorageSync('region') @@ -699,4 +701,4 @@ + \ No newline at end of file diff --git a/pagesC/ServiceAppointment/ServiceAppointment.vue b/pagesC/ServiceAppointment/ServiceAppointment.vue index eaaa50b..fea0f47 100644 --- a/pagesC/ServiceAppointment/ServiceAppointment.vue +++ b/pagesC/ServiceAppointment/ServiceAppointment.vue @@ -30,7 +30,6 @@ - \ No newline at end of file diff --git a/pagesC/appointmenttime/appointmenttime.vue b/pagesC/appointmenttime/appointmenttime.vue index 0dd56d0..e113f14 100644 --- a/pagesC/appointmenttime/appointmenttime.vue +++ b/pagesC/appointmenttime/appointmenttime.vue @@ -80,6 +80,7 @@ type: 'error' }) } else { + this.listitem.openid = uni.getStorageSync('openid') detail(this.listitem).then(res => { if (res.code == 200) { this.$refs.uToast.show({