修改
This commit is contained in:
parent
b35dcaba5c
commit
4e27046523
@ -30,9 +30,9 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="home" @tap="count" v-if='region==2'>
|
<view class="home" @tap="count" v-if='region==2'>
|
||||||
<image src="@/static/exchange.png" mode=""></image>
|
<image src="@/static/dyexchange.png" mode=""></image>
|
||||||
<view class="name">
|
<view class="name">
|
||||||
东营健康银行
|
东营市健康银行
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="home" @tap="count" v-if='region!=2'>
|
<view class="home" @tap="count" v-if='region!=2'>
|
||||||
|
|||||||
@ -151,6 +151,10 @@
|
|||||||
import {
|
import {
|
||||||
registerdata
|
registerdata
|
||||||
} from '@/api/pages/register/register.js'
|
} from '@/api/pages/register/register.js'
|
||||||
|
import {
|
||||||
|
getSex,
|
||||||
|
getBirthday
|
||||||
|
} from '@/api/conversion.js'
|
||||||
import {
|
import {
|
||||||
mapMutations
|
mapMutations
|
||||||
} from "vuex";
|
} from "vuex";
|
||||||
@ -368,6 +372,11 @@
|
|||||||
homeLatitude: '',
|
homeLatitude: '',
|
||||||
areaCode: '',
|
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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
onReady() { //更改导航栏文字
|
onReady() { //更改导航栏文字
|
||||||
if (uni.getStorageSync('region') == 2) {
|
if (uni.getStorageSync('region') == 2) {
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: '东营健康银行'
|
title: '东营市健康银行'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
|
|||||||
@ -41,7 +41,7 @@
|
|||||||
onReady() { //更改导航栏文字
|
onReady() { //更改导航栏文字
|
||||||
if (uni.getStorageSync('region') == 2) {
|
if (uni.getStorageSync('region') == 2) {
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: '东营健康银行'
|
title: '东营市健康银行'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
|
|||||||
@ -47,18 +47,14 @@
|
|||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
console.log(e, '567')
|
|
||||||
this.userinfo = uni.getStorageSync('userinfo');
|
this.userinfo = uni.getStorageSync('userinfo');
|
||||||
// this.listitem.identity=this.userinfo.cardNo
|
// this.listitem.identity=this.userinfo.cardNo
|
||||||
this.appointlist = JSON.parse(e.item)
|
this.appointlist = JSON.parse(e.item)
|
||||||
this.listitem = this.appointlist
|
this.listitem = this.appointlist
|
||||||
console.log(this.listitem.sourceType, '57')
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeLog(e) {
|
changeLog(e) {
|
||||||
console.log(e, '747')
|
|
||||||
this.listitem.bookingTime = e
|
this.listitem.bookingTime = e
|
||||||
|
|
||||||
},
|
},
|
||||||
change(e) {
|
change(e) {
|
||||||
this.listitem.bookingTime = e.result
|
this.listitem.bookingTime = e.result
|
||||||
@ -89,7 +85,6 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '预约成功',
|
title: '预约成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
// url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
|
||||||
})
|
})
|
||||||
} else if (res.code == '500') {
|
} else if (res.code == '500') {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
@ -99,7 +94,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (this.listitem.sourceType == '2') {
|
} else if (this.listitem.sourceType == '2') {
|
||||||
this.listitem.identity = this.userinfo.cardNo
|
this.listitem.identity = this.userinfo.cardNo
|
||||||
this.listitem.applyStartTime = this.datetimerange[0]
|
this.listitem.applyStartTime = this.datetimerange[0]
|
||||||
@ -116,12 +110,10 @@
|
|||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '预约成功',
|
title: '预约成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
|
||||||
})
|
})
|
||||||
// uni.navigateTo({
|
uni.navigateBack({
|
||||||
// url: "/pagesC/ServiceAppointment/ServiceAppointment"
|
delta: 1
|
||||||
// })
|
})
|
||||||
|
|
||||||
} else if (res.code == '500') {
|
} else if (res.code == '500') {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
|
|||||||
BIN
static/dyexchange.png
Normal file
BIN
static/dyexchange.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in New Issue
Block a user