瀏覽代碼

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