| | |
| | | <view class="t1">
|
| | | {{
|
| | | (!!currentInfo.supplierDTO ? (currentInfo.supplierDTO.name) : "") || (!!currentInfo.customerDTO ? (currentInfo.customerDTO.name) : "") || currentInfo.nickName || currentInfo.loginName || '-'
|
| | | }}<span v-if="currentInfo.supplierDTO&¤tInfo.supplierDTO.status!=='P'">
|
| | | }}
|
| | | <span v-if="currentInfo.supplierDTO&¤tInfo.supplierDTO.status!=='P'">
|
| | | ({{ currentInfo.supplierDTO ? currentInfo.supplierDTO.statusStr : '' }})</span>
|
| | | <span v-if="currentInfo.partnerDTO&¤tInfo.partnerDTO.status!=='P'">
|
| | | ({{ currentInfo.partnerDTO ? currentInfo.partnerDTO.statusStr : '' }})</span>
|
| | | </view>
|
| | | <view class="t2">{{ currentInfo.tel || '暂无电话' }}</view>
|
| | | </view>
|
| | |
| | | </image>
|
| | | <view>地址管理</view>
|
| | | </view>
|
| | | <view class="service-icons" @click="goto('/pages/help/content?id=售后规则',false)">
|
| | | <view class="service-icons" @click="goto('/pages/help/content?id=售后规则',false)">
|
| | | <image src="../../static/images/customer/service/service-icon-4.png" class="service-icon ">
|
| | | </image>
|
| | | <view>售后规则</view>
|
| | | </view>
|
| | | </view>
|
| | | <view class="flex service-icons-container">
|
| | | <view class="service-icons" @click="goto('/pages/help/content?id=新手帮助',false)">
|
| | | <view class="service-icons" @click="goto('/pages/help/content?id=新手帮助',false)">
|
| | | <image src="../../static/images/customer/service/service-icon-5.png" class="t2 service-icon ">
|
| | | </image>
|
| | | <view>新手帮助</view>
|
| | | </view>
|
| | | <!-- <view class="service-icons" @click.stop="$meesage.showToast('敬请期待')">
|
| | | <!-- <view class="service-icons" @click.stop="$meesage.showToast('敬请期待')">
|
| | | <image src="../../static/images/customer/service/service-icon-6.png" class="t2 service-icon ">
|
| | | </image>
|
| | | <view>运费详查</view>
|
| | | </view> -->
|
| | | |
| | |
|
| | | <view class="service-icons"></view>
|
| | | |
| | |
|
| | | <view class="service-icons"></view>
|
| | | <view class="service-icons"></view>
|
| | | </view>
|
| | |
| | | </view>
|
| | | <!-- #endif -->
|
| | | <view class="user-utils m-20">
|
| | | <view class="user-util m-t-12 flex" @click="goto('/sub_pages/customer/customer-info/customer-info',true)">
|
| | | <view class="user-util m-t-12 flex" v-if="selftype==='customer'||!selftype"
|
| | | @click="goto('/sub_pages/customer/customer-info/customer-info',true)">
|
| | | <view class="title">个人信息</view>
|
| | | <view class="right-icon">
|
| | | <uni-icons type="right"></uni-icons>
|
| | |
| | | // StatusBar:0,
|
| | | tel: '15974805814',
|
| | | tj: {},
|
| | | cacheUserId: '',
|
| | |
|
| | | };
|
| | | },
|
| | | // watch: {
|
| | | // currentInfo(nv, ov) {
|
| | | // if (!cacheUserId) {
|
| | |
|
| | | // }
|
| | | // }
|
| | | // },
|
| | | onShow() {
|
| | | this.getTj()
|
| | | },
|
| | | onLoad(options) {
|
| | | // const url = options.q ? decodeURIComponent(options.q) : '';
|
| | | // const urlcode = options.url && decodeURIComponent(options.url) || ''
|
| | |
|
| | | // #ifdef PUB_CUSTOMER
|
| | | if (this.currentInfo.id) {
|
| | | let that = this
|
| | | setTimeout(() => {
|
| | | this.$http.request('get', '/api/customer/center/tj', {}).then(res => {
|
| | | if (res.code === 0) {
|
| | | that.tj = res.data || {}
|
| | | }
|
| | | })
|
| | | }, 200)
|
| | | }
|
| | | // #endif
|
| | |
|
| | |
|
| | | },
|
| | | created() {
|
| | |
| | | uni.stopPullDownRefresh()
|
| | | },
|
| | | methods: {
|
| | | getTj() {
|
| | | // /api/supplier/delivery |
| | |
|
| | | if (this.currentInfo.id && this.currentInfo.id !== this.cacheUserId) {
|
| | | this.cacheUserId = this.currentInfo.id
|
| | | let that = this
|
| | | setTimeout(() => {
|
| | | // #ifdef PUB_CUSTOMER
|
| | | this.$http.request('get', '/api/customer/center/tj', {}).then(res => {
|
| | | if (res.code === 0) {
|
| | | that.tj = res.data || {}
|
| | | }
|
| | | })
|
| | | // #endif
|
| | | }, 200)
|
| | | }
|
| | |
|
| | | },
|
| | |
|
| | | async clearlogout() {
|
| | | await this.$message.confirm('是否退出登录?')
|