服务预约
This commit is contained in:
parent
047c292bd6
commit
3c7384ca75
@ -9,7 +9,7 @@
|
||||
"navigationStyle": "custom",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},{
|
||||
}, {
|
||||
"path": "pages/homepage/homepage",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
@ -414,6 +414,7 @@
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "Filinginformation/Filinginformation",
|
||||
"style": {
|
||||
|
||||
@ -203,14 +203,11 @@
|
||||
},
|
||||
// 服务预约
|
||||
goappoint() {
|
||||
uni.navigateTo({
|
||||
url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
||||
})
|
||||
// if (!this.userinfo && !this.identity) {
|
||||
// this.gologin();
|
||||
// } else {
|
||||
// this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment')
|
||||
// }
|
||||
if (!this.userinfo && !this.identity) {
|
||||
this.gologin();
|
||||
} else {
|
||||
this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment')
|
||||
}
|
||||
},
|
||||
// 服务记录
|
||||
servicerecord() {
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
backgroundColor: '#26A888',
|
||||
},
|
||||
projectName: '',
|
||||
identity: '372431196910127051',
|
||||
identity: '',
|
||||
region: '',
|
||||
listinfo: [],
|
||||
appointlist: [],
|
||||
@ -59,7 +59,7 @@
|
||||
methods: {
|
||||
getlist() {
|
||||
this.userinfo = uni.getStorageSync('userinfo');
|
||||
// this.identity=this.userinfo.cardNo
|
||||
this.identity=this.userinfo.cardNo
|
||||
this.region = this.userinfo.cityCode;
|
||||
getForm(this.identity, this.region, this.projectName).then(res => {
|
||||
this.listinfo = res.data
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
if (this.listitem.sourceType == '1') {
|
||||
this.listitem.packageNo = this.appointlist.packageId
|
||||
this.listitem.formNo = this.appointlist.projectId
|
||||
this.listitem.identity='372431196910127051'
|
||||
this.listitem.identity=this.userinfo.cardNo
|
||||
this.listitem.applyStartTime = this.datetimerange[0]
|
||||
this.listitem.applyEndTime = this.datetimerange[1]
|
||||
this.listitem.formName = this.appointlist.projectName
|
||||
@ -74,7 +74,7 @@
|
||||
}
|
||||
})
|
||||
} else if (this.listitem.sourceType == '2') {
|
||||
this.listitem.identity='372431196910127051'
|
||||
this.listitem.identity=this.userinfo.cardNo
|
||||
this.listitem.applyStartTime = this.datetimerange[0]
|
||||
this.listitem.applyEndTime = this.datetimerange[1]
|
||||
console.log(this.listitem, '555')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user