shish 4 سال پیش
والد
کامیت
f302d5318d
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      ghsApp/src/admin/shop/changeShop.vue

+ 4 - 4
ghsApp/src/admin/shop/changeShop.vue

@@ -1,7 +1,7 @@
 <template>
 <view class="app-content">
 	<view class="ex-page">
-		<view class="top-bar" style="margin-left:100upx;" @click="showAll">全部</view>
+		<view class="top-bar" style="margin-left:100upx;" @click="showIncome">有收入</view>
 		<scroll-view scroll-y scroll-with-animation class="main-view">
 			<view class="space-view ex-table">
 				<block>
@@ -51,13 +51,13 @@ export default {
 		};
 	},
 	methods: {
-		showAll(){
-			getPtGhsShop().then(res=>{
+		showIncome(){
+			getPtGhsShop({hasSale:1}).then(res=>{
 				this.shopData = res.data
 			})
 		},
 		init(){
-			getPtGhsShop({hasSale:1}).then(res=>{
+			getPtGhsShop().then(res=>{
 				this.shopData = res.data
 			})
 		},