| | |
| | | <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> |
| | |
| | | data() { |
| | | return { |
| | | userInfo: uni.getStorageSync('userInfo'), |
| | | taskNum: 0 |
| | | taskInfo: 0 |
| | | } |
| | | }, |
| | | onLoad() { |
| | | console.log('userInfo', this.userInfo) |
| | | }, |
| | | onShow() { |
| | | if (this.userInfo && this.userInfo.memberId) { |
| | |
| | | }, |
| | | getTaskInfo() { |
| | | stagingHead({ |
| | | isDetail: '0' |
| | | isDetail: '1' |
| | | }).then(res => { |
| | | this.taskNum = res.data.taskNum |
| | | this.taskInfo = res.data |
| | | }) |
| | | }, |
| | | } |