| | |
| | | <view class="name" v-if="currentInfo.id">
|
| | | <view class="t1">
|
| | | {{
|
| | | (!!currentInfo.supplierDTO ? (currentInfo.supplierDTO.name) : "") || (!!currentInfo.customerDTO ? (currentInfo.customerDTO.name) : "") || currentInfo.nickName || currentInfo.loginName || '-'
|
| | | (!!currentInfo.partnerDTO ? (currentInfo.partnerDTO.name) : "") || (!!currentInfo.supplierDTO ? (currentInfo.supplierDTO.name) : "") || (!!currentInfo.customerDTO ? (currentInfo.customerDTO.name) : "") || currentInfo.nickName || currentInfo.loginName || '-'
|
| | | }}
|
| | | <span v-if="currentInfo.supplierDTO&¤tInfo.supplierDTO.status!=='P'">
|
| | | ({{ currentInfo.supplierDTO ? currentInfo.supplierDTO.statusStr : '' }})</span>
|
| | |
| | | <!-- getUserProfile -->
|
| | | {{ '点击登陆' }}
|
| | | </view>
|
| | | <image class="icon-setting" src="../../static/common/icon-setting.png" mode="aspectFit"></image>
|
| | | <image class="icon-setting" @click="toInfo" |
| | | src="../../static/common/icon-setting.png" mode="aspectFit"></image>
|
| | | </view>
|
| | | <!-- #ifdef PUB_CUSTOMER -->
|
| | | <view class="customer-info-records">
|
| | |
| | | <image src="../../static/images/customer/order/order-type-4.png" class="order-icon dpj"></image>
|
| | | <view>待评价</view>
|
| | | </view>
|
| | | <view class="order-icons" @click="goto('/pages/order/order?status=COMPLETED',true)">
|
| | | <view class="order-icons" @click="goto('/pages/order/order-sale/order-sale',true)">
|
| | | <image src="../../static/images/customer/order/order-type-5.png" class="order-icon sh"></image>
|
| | | <view>售后</view>
|
| | | </view>
|
| | |
| | | <uni-icons type="right"></uni-icons>
|
| | | </view>
|
| | | </view>
|
| | | <!-- #ifdef PUB_PARTNER -->
|
| | | <view class="user-util m-t-12 flex" v-if="selftype==='partner'"
|
| | | @click="goto('/sub_pages/partner/partner-info/partner-code',true)">
|
| | | <view class="title">推广的注册二维码</view>
|
| | | <view class="right-icon">
|
| | | <uni-icons type="right"></uni-icons>
|
| | | </view>
|
| | | </view>
|
| | | <!-- #endif -->
|
| | | <view class="user-util m-t-12 flex" v-if="selftype==='supplier'"
|
| | | @click="goto('/sub_pages/supplier/supplier-info/supplier-info',true)">
|
| | | <view class="title">店铺信息</view>
|
| | |
| | | await this.$store.dispatch('getCurrentInfo')
|
| | | uni.stopPullDownRefresh()
|
| | | },
|
| | | methods: {
|
| | | methods: { |
| | | toInfo(){ |
| | | var url = '' |
| | | if(this.currentInfo.id){ |
| | | // #ifdef PUB_CUSTOMER |
| | | url = '/sub_pages/customer/customer-info/customer-info' |
| | | // #endif |
| | | // #ifdef PUB_PARTNER |
| | | url = '/sub_pages/partner/partner-info/partner-info' |
| | | // #endif |
| | | // #ifdef PUB_SUPPLIER |
| | | url = '/sub_pages/supplier/supplier-info/supplier-info' |
| | | // #endif |
| | | if(url){ |
| | | uni.navigateTo({ |
| | | url:url |
| | | }) |
| | | } |
| | | } |
| | | },
|
| | | getTj() {
|
| | | // /api/supplier/delivery
|
| | |
|