| | |
| | | <view class="flex tj-container" v-if="selftype==='supplier'"> |
| | | <view class="tj-each"> |
| | | <view class="num"> |
| | | {{tj.dealCountLastMonth||0}}单 |
| | | {{tj.dealCountLastMonth||0}}扎 |
| | | </view> |
| | | <view class="name"> |
| | | 上月成交 |
| | |
| | | </view> |
| | | <view class="tj-each"> |
| | | <view class="num"> |
| | | {{tj.dealCountToday||0}}单 |
| | | {{tj.dealCountToday||0}}扎 |
| | | </view> |
| | | <view class="name"> |
| | | 今日成交 |
| | |
| | | </view> |
| | | <view class="tj-each"> |
| | | <view class="num"> |
| | | {{tj.dealCountDay30||0}}单 |
| | | {{tj.dealCountDay30||0}}扎 |
| | | </view> |
| | | <view class="name"> |
| | | 近30天成交 |
| | |
| | | src="/static/images/partner/user/user-icon-ddgl.png" mode="scaleToFill" /> |
| | | </view> |
| | | <view class="order-desc tg">订单管理</view> |
| | | </view> |
| | | <view class="nav row margin-tb" v-if="selftype==='supplier'" |
| | | @click="goto('/sub_pages/supplier/order-manage/order-manage',true)"> |
| | | <view class="img-c"> |
| | | <image class="icon margin-bottom order-icon ddgl" |
| | | src="/static/images/partner/user/user-icon-ddgl.png" mode="scaleToFill" /> |
| | | </view> |
| | | <view class="order-desc tg">订单统计</view> |
| | | </view> |
| | | |
| | | <view class="nav row margin-tb" |
| | |
| | | }, |
| | | created() { |
| | | //公告 |
| | | this.$http.request('get', '/api/pub/announcement/list', { |
| | | var type = '' |
| | | // #ifdef PUB_CUSTOMER |
| | | type = 'customer' |
| | | // #endif |
| | | // #ifdef PUB_SUPPLIER |
| | | type = 'supplier' |
| | | // #endif |
| | | // #ifdef PUB_PARTNER |
| | | type = 'partner' |
| | | // #endif |
| | | |
| | | this.$http.request('get', '/api/pub/announcement/list/'+type, { |
| | | params: { |
| | | size: 5, |
| | | status: 'A' |
| | | } |
| | | }).then(res => { |
| | | if (res.code == 0) { |
| | | this.noticeList = (res.data && res.data.records || []) |
| | | this.noticeList = (res.data && res.data || []) |
| | | console.log('this.noticeList', this.noticeList) |
| | | if (this.noticeList.length > 0) { |
| | | this.currentNotice = this.noticeList[0] |