From 32ab1af0797e3e8ab60dc646fc2c30cddf1dfa1f Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 22 七月 2024 11:34:18 +0800
Subject: [PATCH] update需求更新

---
 pages/home/supplier-home.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue
index 7d7528c..4393190 100644
--- a/pages/home/supplier-home.vue
+++ b/pages/home/supplier-home.vue
@@ -14,14 +14,18 @@
 			</view>
 			<view class="flex user-info" v-if="currentInfo&&(currentInfo.id)">
 				<!-- 头像 -->
-				<image class="user-icon" v-if="!currentInfo.picture" src="../../static/imgs/home/home-shop-top-icon.png"
+				<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">{{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span
+					<view class="t1">
+						{{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span
 							v-if="currentInfo.supplierDTO&&currentInfo.supplierDTO.status!=='P'">
 							({{currentInfo.supplierDTO?currentInfo.supplierDTO.statusStr:''}})</span>
+						<span v-if="currentInfo.partnerDTO&&currentInfo.partnerDTO.status!=='P'">
+							({{currentInfo.partnerDTO?currentInfo.partnerDTO.statusStr:''}})</span>
+						<span v-if="!currentInfo.partnerDTO&&currentInfo.type==='partner'">(信息待完善)</span>
 					</view>
 					<view class="t2">{{currentInfo.tel || '暂无电话'}}</view>
 				</view>
@@ -44,7 +48,7 @@
 				</view>
 			</view>
 			<view class="line"></view>
-			
+
 			<view class="flex tj-container" v-if="selftype==='supplier'">
 				<view class="tj-each">
 					<view class="num">
@@ -251,7 +255,7 @@
 		methods: {
 			async toFlowManage() {
 
-				
+
 				if (!this.currentInfo.supplierDTO) {
 					await this.$message.confirm('尚未入驻店铺信息,是否前往入驻?')
 					this.goto('/sub_pages/supplier/supplier-info/supplier-info', true)
@@ -262,7 +266,7 @@
 					this.$message.showLoading()
 					await this.$store.dispatch('getCurrentInfo')
 					this.$message.hideLoading()
-					
+
 					if (this.currentInfo.supplierDTO.status == 'P') {
 
 					} else {
@@ -277,6 +281,7 @@
 
 					}
 				}
+				console.log('goto')
 				this.goto('/sub_pages/supplier/flower-manage/flower-manage', true)
 			},
 			getNoticeMore() {

--
Gitblit v1.9.3