tong 4 rokov pred
rodič
commit
160074a986

+ 2 - 1
pages/me/Statistical-task/index.vue

@@ -96,7 +96,8 @@
 						url: '/myapp/storeBrandTask',
 						method: 'post',
 						data: {
-							"storeId":this.$store.state.storeInfo.storeId
+							"storeId":this.$store.state.storeInfo.storeId,
+							'userId':this.$store.state.storeInfo.userId
 
 						}
 					}).then(res => {

+ 3 - 2
pages/msg/index.vue

@@ -1,6 +1,6 @@
 <template>
   <view>
-    <view class="u-page">
+    <view class="u-page" v-if="orderList.length!=0">
      <u-swipe-action :show="item.show" :index="index" v-for="(item, index) in orderList" :key="index" @click="click(item.sendUserId)"
 			 @content-click="inSystem" @open="open(index)" :options="options">
         <navigator
@@ -32,6 +32,7 @@
         </navigator>
       </u-swipe-action>
     </view>
+	<u-empty style="margin-top: 100rpx;" v-else text="暂无数据" mode="list"></u-empty>
     <!-- <u-tabbar v-model="current" :list="list"></u-tabbar> -->
   </view>
 </template>
@@ -95,7 +96,7 @@ export default {
         .then((res) => {
           console.log(res);
           this.orderList = res.data.category;
-
+		  console.log(this.orderList.length)
           for (let i = 0; i < res.data.data.category.length; i++) {
             // this.orderList = res.data.data.category[i]
             this.gatTime = res.data.data.category[i].gatTime;