|
|
@@ -582,6 +582,19 @@
|
|
|
storeId: this.userInfo.workStoreId
|
|
|
}).then(res => {
|
|
|
console.log(res.data.data)
|
|
|
+ if (res.data.data === null){
|
|
|
+ uni.showModal({
|
|
|
+ title:'温馨提示',
|
|
|
+ content:'暂无需要服务的客户',
|
|
|
+ editable:false,
|
|
|
+ showCancel:false,
|
|
|
+ success:(e)=>{
|
|
|
+ if (e.confirm){
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
this.currService = res.data.data
|
|
|
this.setButtomState(this.currService)
|
|
|
this.currService.avatar=this.currService.avatar.replace(/^http:/, "https:")
|