忆雪 10 months ago
parent
commit
afd4cf8196
1 changed files with 17 additions and 6 deletions
  1. 17 6
      src/pageMerchant/mineModule/openStoreAppealDetail.vue

+ 17 - 6
src/pageMerchant/mineModule/openStoreAppealDetail.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="container">
-		<view class="top-box">
+		<view class="top-box" v-if="controller==false">
 			<p>您的开店申请已经提交成功。</p>
 			<p>我们将在1-3个工作日内完成线上审核工作,请您耐心等候,并留意审核进程。</p>
 		</view>
@@ -13,7 +13,10 @@
 				<p>所属地区 : {{ findAreaByCode(list.merchant.region)  || '--' }}</p>
 				<p>详细地址 : {{ list.merchant.address || '--' }}</p>
 			</view>
-			<img class="img" src="@/static/mine/icon_mine_underReview.png" alt="" />
+			<view v-if="controller == false">
+				<img class="img" src="@/static/mine/icon_mine_underReview.png" alt="" />
+			</view>
+
 		</view>
 
 		<view class="content-item">
@@ -93,7 +96,8 @@
 			</view>
 		</view>
 
-		<view class="btn"><u-button @click="compileHalend" type="primary" shape="circle"  size="large" text="编辑"></u-button></view>
+		<view class="btn"><u-button @click="compileHalend" type="primary" shape="circle" size="large"
+				text="编辑"></u-button></view>
 
 	</view>
 </template>
@@ -110,6 +114,7 @@
 				list: {},
 				ParentCategoriesData: [],
 				RootCategoriesData: [],
+				controller: false
 			};
 		},
 		// computed: {
@@ -133,11 +138,13 @@
 		// },
 		mounted() {
 			this.request();
+			console.log(this.$store.state.data.merchantInfo.reviewStatus,"this.$store.state.data.merchantInfo.reviewStatus")
+			 
 		},
 		methods: {
-			compileHalend(){
+			compileHalend() {
 				uni.navigateTo({
-					url:"/pageMerchant/mineModule/certification/storeInformation"
+					url: "/pageMerchant/mineModule/certification/storeInformation"
 				})
 			},
 			async request() {
@@ -188,6 +195,9 @@
 		},
 		onShow() {
 			this.list = this.$store.state.data.merchantInfo;
+			if (this.$store.state.data.merchantInfo.reviewStatus == 1) {
+				this.controller = true
+			}
 		},
 
 	};
@@ -249,7 +259,8 @@
 				}
 			}
 		}
-		.btn{
+
+		.btn {
 			margin-bottom: 50rpx;
 			padding: 0 20rpx;
 		}