Forráskód Böngészése

新增客户跳转

zhengxin 5 éve
szülő
commit
764a78797f
1 módosított fájl, 11 hozzáadás és 1 törlés
  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>
 				</scroll-view>
-				<view class="add-customer-bar">
+				<view class="add-customer-bar" @click="gotoAddCustomer">
 					没有找到客户?新增
 				</view>
 			</div>
@@ -144,6 +144,16 @@ export default {
 					break;
 			}
 			return levelName;
+		},
+		gotoAddCustomer() {
+			uni.navigateTo({
+				url: "/pagesClient/member/add",
+				success: result => {
+					this.hidePopup();
+				},
+				fail: () => {},
+				complete: () => {}
+			});
 		}
 	}
 };