修改
This commit is contained in:
parent
b35dcaba5c
commit
4e27046523
@ -30,9 +30,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<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>
|
||||
</view>
|
||||
<view class="home" @tap="count" v-if='region!=2'>
|
||||
|
||||
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
onReady() { //更改导航栏文字
|
||||
if (uni.getStorageSync('region') == 2) {
|
||||
uni.setNavigationBarTitle({
|
||||
title: '东营健康银行'
|
||||
title: '东营市健康银行'
|
||||
});
|
||||
} else {
|
||||
uni.setNavigationBarTitle({
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
onReady() { //更改导航栏文字
|
||||
if (uni.getStorageSync('region') == 2) {
|
||||
uni.setNavigationBarTitle({
|
||||
title: '东营健康银行'
|
||||
title: '东营市健康银行'
|
||||
});
|
||||
} else {
|
||||
uni.setNavigationBarTitle({
|
||||
|
||||
@ -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 @@
|
||||
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
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