''
liukangdong
2024-07-04 5a85dcab83e969d6b21c599b512a15117e9b8651
h5/pages/staff/index.vue
@@ -63,7 +63,7 @@
        <image class="img" src="@/static/staff/ic_renwuzhongxin.png"></image>
        <view class="h1">任务中心</view>
        <view class="h2">TASK CENTER</view>
        <view class="task_num">{{ taskNum }}</view>
        <view class="task_num">{{ taskInfo.noticeWaitNum + taskInfo.noticeCopyNum }}</view>
      </view>
      <view class="img_wrap" @click="jump('/pages/staff/meetingCalendar')">
        <image class="img" src="@/static/staff/ic_wodehuiyi.png"></image>
@@ -94,11 +94,10 @@
  data() {
    return {
      userInfo: uni.getStorageSync('userInfo'),
      taskNum: 0
      taskInfo: 0
    }
  },
  onLoad() {
    console.log('userInfo', this.userInfo)
  },
  onShow() {
    if (this.userInfo && this.userInfo.memberId) {
@@ -120,9 +119,9 @@
    },
    getTaskInfo() {
      stagingHead({
        isDetail: '0'
        isDetail: '1'
      }).then(res => {
        this.taskNum = res.data.taskNum
        this.taskInfo = res.data
      })
    },
  }