服务预约
This commit is contained in:
parent
047c292bd6
commit
3c7384ca75
@ -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": {
|
||||||
|
|||||||
@ -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() {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user