diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 4909cbd..dd1076d 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -30,9 +30,9 @@ - + - 东营健康银行 + 东营市健康银行 diff --git a/pages/register/register.vue b/pages/register/register.vue index c18affc..634d0d0 100644 --- a/pages/register/register.vue +++ b/pages/register/register.vue @@ -151,6 +151,10 @@ import { registerdata } from '@/api/pages/register/register.js' + import { + getSex, + getBirthday + } from '@/api/conversion.js' import { mapMutations } from "vuex"; @@ -368,6 +372,11 @@ homeLatitude: '', areaCode: '', } + } else { + let sex = getSex(this.query.cardNo) + sex == '女' ? this.query.sex = 'FEMALE' : sex == '男' ? this.query.sex = 'MALE' : '' + this.query.sexname = sex + this.query.birthDate = getBirthday(this.query.cardNo) } }) } diff --git a/pagesB/Behaviorpoints/Behaviorpoints.vue b/pagesB/Behaviorpoints/Behaviorpoints.vue index a67c878..7f871c3 100644 --- a/pagesB/Behaviorpoints/Behaviorpoints.vue +++ b/pagesB/Behaviorpoints/Behaviorpoints.vue @@ -70,7 +70,7 @@ onReady() { //更改导航栏文字 if (uni.getStorageSync('region') == 2) { uni.setNavigationBarTitle({ - title: '东营健康银行' + title: '东营市健康银行' }); } else { uni.setNavigationBarTitle({ diff --git a/pagesB/PointsMall/PointsMall.vue b/pagesB/PointsMall/PointsMall.vue index c508214..b96b677 100644 --- a/pagesB/PointsMall/PointsMall.vue +++ b/pagesB/PointsMall/PointsMall.vue @@ -41,7 +41,7 @@ onReady() { //更改导航栏文字 if (uni.getStorageSync('region') == 2) { uni.setNavigationBarTitle({ - title: '东营健康银行' + title: '东营市健康银行' }); } else { uni.setNavigationBarTitle({ diff --git a/pagesC/appointmenttime/appointmenttime.vue b/pagesC/appointmenttime/appointmenttime.vue index b11a24f..0dd56d0 100644 --- a/pagesC/appointmenttime/appointmenttime.vue +++ b/pagesC/appointmenttime/appointmenttime.vue @@ -47,18 +47,14 @@ // }, }, onLoad(e) { - console.log(e, '567') this.userinfo = uni.getStorageSync('userinfo'); // this.listitem.identity=this.userinfo.cardNo this.appointlist = JSON.parse(e.item) this.listitem = this.appointlist - console.log(this.listitem.sourceType, '57') }, methods: { changeLog(e) { - console.log(e, '747') this.listitem.bookingTime = e - }, change(e) { this.listitem.bookingTime = e.result @@ -89,7 +85,6 @@ this.$refs.uToast.show({ title: '预约成功', type: 'success', - // url: '/pagesC/ServiceAppointment/ServiceAppointment' }) } else if (res.code == '500') { this.$refs.uToast.show({ @@ -99,7 +94,6 @@ } }) } - } else if (this.listitem.sourceType == '2') { this.listitem.identity = this.userinfo.cardNo this.listitem.applyStartTime = this.datetimerange[0] @@ -116,12 +110,10 @@ this.$refs.uToast.show({ title: '预约成功', type: 'success', - url: '/pagesC/ServiceAppointment/ServiceAppointment' }) - // uni.navigateTo({ - // url: "/pagesC/ServiceAppointment/ServiceAppointment" - // }) - + uni.navigateBack({ + delta: 1 + }) } else if (res.code == '500') { this.$refs.uToast.show({ title: res.msg, @@ -197,4 +189,4 @@ } } - \ No newline at end of file + diff --git a/static/dyexchange.png b/static/dyexchange.png new file mode 100644 index 0000000..601880e Binary files /dev/null and b/static/dyexchange.png differ