智慧保安互联网APP
shuishen
2021-07-30 273beff9c110f6c4753b9436d872a9fa8d63b7d3
pages/dispatch/look.vue
@@ -2,9 +2,8 @@
   <view class="container">
      <u-tabs :list="list" :is-scroll="false" :current="current" active-color="#14B9C8" inactive-color="#595959"
         height="100" @change="change"></u-tabs>
      <u-search v-model="keyword" shape="round" class="u-search" input-align="center" height="70"
         :show-action="false"></u-search>
      <u-search v-model="keyword" shape="round" class="u-search" input-align="center" height="70"></u-search>
      <view class="inTmain" v-for="(item,index) in receiveDataList" v-show="current == 0">
         <u-card :title="item.content" @click="goDetail(item)">
            <view class="" slot="body">
@@ -20,7 +19,7 @@
               </u-icon>发送指令时间:{{item.sendTime}}</view>
         </u-card>
      </view>
      <view class="inTmain" v-for="(item,index) in issueDataList" v-show="current == 1">
         <u-card :title="item.content" @click="goDetail(item)">
            <view class="" slot="body">
@@ -36,7 +35,7 @@
               </u-icon>发送指令时间:{{item.sendTime}}</view>
         </u-card>
      </view>
   </view>
</template>
@@ -54,10 +53,10 @@
               }
            ],
            current: 0,
            keyword: ''
         };
      },
      onLoad() {
      },
      onLoad() {},
      onReachBottom() {
      },
@@ -68,9 +67,9 @@
         // 接收
         getReceive() {
            var that = this;
            console.log(this.$store.state)
            uni.request({
               url: this.$store.state.piAPI + "/directive/page?receiveDirectiveIds=" + this.$store.state.puserID,
               url: this.$store.state.piAPI + "/directive/page?receiveDirectiveIds=" + this.$store.state
                  .puserID,
               method: "get",
               data: {