|
@@ -291,6 +291,22 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
openSetting(){
|
|
openSetting(){
|
|
|
|
|
+
|
|
|
|
|
+ if (!this.userInfo.phone){
|
|
|
|
|
+ uni.showModal({
|
|
|
|
|
+ title:'温馨提示',
|
|
|
|
|
+ content:'预约叫号是通过手机尾号进行查询,是否确认绑定手机号!',
|
|
|
|
|
+ success:res=>{
|
|
|
|
|
+ if (res.confirm){
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: '/myPages/setting/setting-telphone',
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
uni.requestSubscribeMessage({
|
|
uni.requestSubscribeMessage({
|
|
|
tmplIds: this.templateId,
|
|
tmplIds: this.templateId,
|
|
|
success: (res) =>{
|
|
success: (res) =>{
|
|
@@ -311,20 +327,7 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
commonGeneralOrder() {
|
|
commonGeneralOrder() {
|
|
|
- if (!this.userInfo.phone){
|
|
|
|
|
- uni.showModal({
|
|
|
|
|
- title:'温馨提示',
|
|
|
|
|
- content:'预约叫号是通过手机尾号进行查询,是否确认绑定手机号!',
|
|
|
|
|
- success:res=>{
|
|
|
|
|
- if (res.confirm){
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
if (!this.orderParam.childService.length) {
|
|
if (!this.orderParam.childService.length) {
|
|
|
uni.$u.toast('请选择服务对象')
|
|
uni.$u.toast('请选择服务对象')
|