فهرست منبع

feat:提示暂无需要服务的客户

zhanghui 2 سال پیش
والد
کامیت
923b4a5954
1فایلهای تغییر یافته به همراه13 افزوده شده و 0 حذف شده
  1. 13 0
      pages/index/index.vue

+ 13 - 0
pages/index/index.vue

@@ -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:")