| | |
| | | |
| | | </view> |
| | | <view class="flex user-info" v-if="currentInfo&&(currentInfo.id)"> |
| | | <!-- 头像 --> |
| | | <image class="user-icon" v-if="!currentInfo.picture" |
| | | |
| | | <image class="user-icon" v-if=" |
| | | (currentInfo.customerDTO&¤tInfo.customerDTO.cover) |
| | | ||(currentInfo.supplierDTO&¤tInfo.supplierDTO.cover) |
| | | ||(currentInfo.partnerDTO&¤tInfo.partnerDTO.cover) |
| | | || currentInfo.picture |
| | | " :src=" |
| | | (currentInfo.customerDTO&¤tInfo.customerDTO.cover) |
| | | ||(currentInfo.supplierDTO&¤tInfo.supplierDTO.cover) |
| | | ||(currentInfo.partnerDTO&¤tInfo.partnerDTO.cover) |
| | | || currentInfo.picture |
| | | " mode="aspectFit"></image> |
| | | |
| | | <image class="user-icon" v-else |
| | | src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png' |
| | | mode="aspectFit"></image> |
| | | <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> |
| | | |
| | | <!-- 头像 --> |
| | | <!-- <image class="user-icon" v-if="!currentInfo.picture" |
| | | src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png' |
| | | mode="aspectFit"></image> |
| | | <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> --> |
| | | |
| | | <view class="name"> |
| | | <view class="t1"> |
| | |
| | | <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天成交 |
| | |
| | | </view> |
| | | </view> |
| | | <view class="flex tj-container"> |
| | | <view class="tj-each"> |
| | | <view class="tj-each" @click="selftype=='supplier'&&goto('/pages/order/order-delivery?range=today',true)"> |
| | | <view class="num"> |
| | | {{tj.orderCountToday||0}}单 |
| | | </view> |
| | |
| | | 今日订单数 |
| | | </view> |
| | | </view> |
| | | <view class="tj-each"> |
| | | <view class="tj-each" @click="selftype=='supplier'&&goto('/pages/order/order-delivery?range=yesterday',true)"> |
| | | <view class="num"> |
| | | {{tj.orderCountYesterday||0}}单 |
| | | </view> |
| | |
| | | 昨日订单数 |
| | | </view> |
| | | </view> |
| | | <view class="tj-each"> |
| | | <view class="tj-each" @click="selftype=='supplier'&&goto('/pages/order/order-delivery?range=month',true)"> |
| | | <view class="num"> |
| | | {{tj.orderCountMonth||0}}单 |
| | | </view> |
| | |
| | | <view class="item-container flex m-t-12" style="padding: 34rpx 44rpx;" v-if="selftype=='supplier'"> |
| | | <view class="rate-view flex1" style="max-width: 140rpx;"> |
| | | <view class="title">售后率</view> |
| | | <view class="title" style="color: red;">{{(tj.salesRate||0)*100}}%</view> |
| | | <view class="title" style="color: red;">{{((tj.salesRate||0)*100).toFixed(2)}}%</view> |
| | | </view> |
| | | <view class="tj-panel pink flex1" @click="goto('/pages/order/order-delivery?status=ARRIVED',true)"> |
| | | <view class="tj-panel pink flex1" |
| | | @click="goto('/pages/order/order-delivery?status=PENDING&range=today',true)"> |
| | | <view class="name">今日待配送</view> |
| | | <view class="title">{{tj.deliverCount||0}}单</view> |
| | | </view> |
| | | <view class="tj-panel green flex1" @click="goto('/pages/order/order-delivery?status=',true)"> |
| | | <view class="tj-panel green flex1" |
| | | @click="goto('/pages/order/order-delivery?range=today',true)"> |
| | | <view class="name green">今日配送汇总</view> |
| | | <view class="title">{{tj.deliverTotal||0}}单</view> |
| | | </view> |
| | |
| | | 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" |
| | |
| | | </view> |
| | | <view class="order-desc tg">加价配置</view> |
| | | </view> |
| | | <view class="nav row margin-tb" @click="goto('/sub_pages/supplier/order-sale/order-sale',true)"> |
| | | <view class="nav row margin-tb" @click="goto('/pages/order/order-sale/order-sale',true)"> |
| | | <view class="img-c"> |
| | | <image class="icon margin-bottom order-icon shlp" |
| | | src="/static/images/supplier/user/user-icon-shlp.png" mode="scaleToFill" /> |
| | |
| | | }, |
| | | 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] |