服务预约

This commit is contained in:
闫晓茹 2023-10-12 10:29:09 +08:00
parent 047c292bd6
commit 3c7384ca75
4 changed files with 12 additions and 14 deletions

View File

@ -9,7 +9,7 @@
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{ }, {
"path": "pages/homepage/homepage", "path": "pages/homepage/homepage",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
@ -414,6 +414,7 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "Filinginformation/Filinginformation", "path": "Filinginformation/Filinginformation",
"style": { "style": {

View File

@ -203,14 +203,11 @@
}, },
// //
goappoint() { goappoint() {
uni.navigateTo({ if (!this.userinfo && !this.identity) {
url: '/pagesC/ServiceAppointment/ServiceAppointment' this.gologin();
}) } else {
// if (!this.userinfo && !this.identity) { this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment')
// this.gologin(); }
// } else {
// this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment')
// }
}, },
// //
servicerecord() { servicerecord() {

View File

@ -38,7 +38,7 @@
backgroundColor: '#26A888', backgroundColor: '#26A888',
}, },
projectName: '', projectName: '',
identity: '372431196910127051', identity: '',
region: '', region: '',
listinfo: [], listinfo: [],
appointlist: [], appointlist: [],
@ -59,7 +59,7 @@
methods: { methods: {
getlist() { getlist() {
this.userinfo = uni.getStorageSync('userinfo'); this.userinfo = uni.getStorageSync('userinfo');
// 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 => {
this.listinfo = res.data this.listinfo = res.data

View File

@ -53,7 +53,7 @@
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
this.listitem.identity='372431196910127051' this.listitem.identity=this.userinfo.cardNo
this.listitem.applyStartTime = this.datetimerange[0] this.listitem.applyStartTime = this.datetimerange[0]
this.listitem.applyEndTime = this.datetimerange[1] this.listitem.applyEndTime = this.datetimerange[1]
this.listitem.formName = this.appointlist.projectName this.listitem.formName = this.appointlist.projectName
@ -74,7 +74,7 @@
} }
}) })
} else if (this.listitem.sourceType == '2') { } else if (this.listitem.sourceType == '2') {
this.listitem.identity='372431196910127051' this.listitem.identity=this.userinfo.cardNo
this.listitem.applyStartTime = this.datetimerange[0] this.listitem.applyStartTime = this.datetimerange[0]
this.listitem.applyEndTime = this.datetimerange[1] this.listitem.applyEndTime = this.datetimerange[1]
console.log(this.listitem, '555') console.log(this.listitem, '555')