فهرست منبع

新增客户跳转

zhengxin 5 سال پیش
والد
کامیت
764a78797f
1فایلهای تغییر یافته به همراه11 افزوده شده و 1 حذف شده
  1. 11 1
      ghs/src/components/app-customer-sel.vue

+ 11 - 1
ghs/src/components/app-customer-sel.vue

@@ -42,7 +42,7 @@
 						<!-- <view class="item-tag">NEW</view> -->
 						<!-- <view class="item-tag">NEW</view> -->
 					</view>
 					</view>
 				</scroll-view>
 				</scroll-view>
-				<view class="add-customer-bar">
+				<view class="add-customer-bar" @click="gotoAddCustomer">
 					没有找到客户?新增
 					没有找到客户?新增
 				</view>
 				</view>
 			</div>
 			</div>
@@ -144,6 +144,16 @@ export default {
 					break;
 					break;
 			}
 			}
 			return levelName;
 			return levelName;
+		},
+		gotoAddCustomer() {
+			uni.navigateTo({
+				url: "/pagesClient/member/add",
+				success: result => {
+					this.hidePopup();
+				},
+				fail: () => {},
+				complete: () => {}
+			});
 		}
 		}
 	}
 	}
 };
 };