服务预约

This commit is contained in:
闫晓茹 2023-10-12 10:14:51 +08:00
parent 11172e3717
commit 047c292bd6
3 changed files with 17 additions and 31 deletions

View File

@ -74,6 +74,9 @@
.servename { .servename {
padding: 0 50rpx 0 50rpx; padding: 0 50rpx 0 50rpx;
font-size: 28rpx; font-size: 28rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-family: Source Han Sans CN; font-family: Source Han Sans CN;
font-weight: 400; font-weight: 400;
color: #868585; color: #868585;
@ -95,9 +98,12 @@
} }
.big { .big {
// padding: 35rpx 50rpx 30rpx 50rpx; padding: 35rpx 84rpx 24rpx 46rpx;
padding: 27rpx 84rpx 29rpx 46rpx; width: 80%;
font-size: 32rpx; overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 28rpx;
font-family: Source Han Sans CN; font-family: Source Han Sans CN;
font-weight: 500; font-weight: 500;
color: #000000; color: #000000;

View File

@ -62,7 +62,6 @@
// this.identity=this.userinfo.cardNo // this.identity=this.userinfo.cardNo
this.region = this.userinfo.cityCode; this.region = this.userinfo.cityCode;
getForm(this.identity, this.region, this.projectName).then(res => { getForm(this.identity, this.region, this.projectName).then(res => {
// console.log(res, '555')
this.listinfo = res.data this.listinfo = res.data
}) })
}, },
@ -72,13 +71,9 @@
}) })
}, },
goapponint(item) { goapponint(item) {
console.log(item,'56')
uni.navigateTo({ uni.navigateTo({
// url: '/pagesC/appointmenttime/appointmenttime',
url: `/pagesC/appointmenttime/appointmenttime?item=${JSON.stringify(item)}` url: `/pagesC/appointmenttime/appointmenttime?item=${JSON.stringify(item)}`
}) })
// }

View File

@ -36,19 +36,10 @@
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)
console.log(this.appointlist,'56')
this.listitem = this.appointlist this.listitem = this.appointlist
// this.single= new Date();
}, },
methods: { methods: {
maskClick(e) {
console.log(e, '55')
},
change(e) { change(e) {
// console.log(e)
this.listitem.bookingTime = e.result this.listitem.bookingTime = e.result
}, },
todayEndTime() { todayEndTime() {
@ -59,8 +50,6 @@
return todayTime return todayTime
}, },
submit() { submit() {
if (this.listitem.sourceType == '1') { if (this.listitem.sourceType == '1') {
this.listitem.packageNo = this.appointlist.packageId this.listitem.packageNo = this.appointlist.packageId
this.listitem.formNo = this.appointlist.projectId this.listitem.formNo = this.appointlist.projectId
@ -72,7 +61,6 @@
this.$delete(this.listitem, 'projectName') this.$delete(this.listitem, 'projectName')
console.log(this.listitem, '55') console.log(this.listitem, '55')
detail(this.listitem).then(res => { detail(this.listitem).then(res => {
// console.log(res)
if (res.code == 200) { if (res.code == 200) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '预约成功', title: '预约成功',
@ -102,9 +90,6 @@
type: 'error' type: 'error'
}) })
} }
// console.log(res, '9595')
// this.appointlistinfo = res.data
}) })
} }
}, },