gjy 3 年 前
コミット
a8ad9c1aad

+ 1 - 1
config/index.js

@@ -1,7 +1,7 @@
 const dev = {
 	// baseUrl: 'http://192.168.1.120:8090/',
 	baseUrl: 'https://www.zthymaoyi.com',
-	baseUrlNew: 'http://192.168.1.110:8090/',
+	baseUrlNew: 'http://192.168.1.120:8090/',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 }

+ 2 - 1
pageA/product/Identity_switching.vue

@@ -99,7 +99,8 @@
 				this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
 						pageSize: 10,
 						currentPage: 1,
-						commonId: this.userInfo.id
+						commonId: this.userInfo.id,
+						flag:1
 					}, 'application/json;charset=UTF-8').then(res => {
 						if(res.data.code==200){
 							for(var i=0;i<res.data.data.records.length;i++){

+ 30 - 25
pageD/myRelease/Identity_switching.vue

@@ -1,36 +1,40 @@
 <template>
 	<view class="center">
-		<view v-for="(item , index) in lists" :Key="index">
-			<view @click="navToDetailPage(item)" class="forList">
-				<view class="flex">
-					<view class="company" v-if="item.customerType == '企业'">{{item.customerType}}</view>
-					<view class="company1" v-if="item.customerType == '个人'">{{item.customerType}}</view>
-					<view class="infos">
-						<view class="info1">
-						<text v-if='item.customerTypeFlag==1'>{{item.customerName}}</text>
-						<text v-if='item.customerTypeFlag==2'>{{item.compName}}</text>
-							<view class='but but1' v-if="item.authenticationStatus == '已认证'">{{item.authenticationStatus}}</view>
-							<view class='but but2' v-if="item.authenticationStatus == '审核中'">{{item.authenticationStatus}}</view>
-							<view class='but but3' v-if="item.authenticationStatus == '未通过'">{{item.authenticationStatus}}</view>
-							<view class='but but4' v-if="item.authenticationStatus == '已覆盖'">{{item.authenticationStatus}}</view>
-						</view>
-						<view class="info2">{{item.customerPhone}}</view>
-					
+		<view v-if='lists.length>0'>
+			<view v-for="(item , index) in lists" :Key="index">
+				<view @click="navToDetailPage(item)" class="forList">
+					<view class="flex">
+						<view class="company" v-if="item.customerType == '企业'">{{item.customerType}}</view>
+						<view class="company1" v-if="item.customerType == '个人'">{{item.customerType}}</view>
+						<view class="infos">
+							<view class="info1">
+							<text v-if='item.customerTypeFlag==1'>{{item.customerName}}</text>
+							<text v-if='item.customerTypeFlag==2'>{{item.compName}}</text>
+								<view class='but but1' v-if="item.authenticationStatus == '已认证'">{{item.authenticationStatus}}</view>
+								<view class='but but2' v-if="item.authenticationStatus == '审核中'">{{item.authenticationStatus}}</view>
+								<view class='but but3' v-if="item.authenticationStatus == '未通过'">{{item.authenticationStatus}}</view>
+								<view class='but but4' v-if="item.authenticationStatus == '已覆盖'">{{item.authenticationStatus}}</view>
+							</view>
+							<view class="info2">{{item.customerPhone}}</view>
 						
-					</view>
+							
+						</view>
 
+					</view>
+						<hr style="margin: 10px 0px;">
+					<label>
+						<checkbox style='transform: scale(0.8);' :value='item.id' :checked="item.checked" @click.stop="checkBox($event,item)" ></checkbox>
+						<text>设置默认</text>
+					</label>
 				</view>
-					<hr style="margin: 10px 0px;">
-				<label>
-					<checkbox style='transform: scale(0.8);' :value='item.id' :checked="item.checked" @click.stop="checkBox($event,item)" ></checkbox>
-					<text>设置默认</text>
-				</label>
 			</view>
 		</view>
+		
+		<view style='text-align:center;' v-else>
+			当前暂无已认证的粮商身份
+		</view>
 	</view>
 
-	</view>
-	</view>
 </template>
 
 <script>
@@ -90,7 +94,8 @@
 				this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
 						pageSize: 10,
 						currentPage: 1,
-						commonId: this.userInfo.id
+						commonId: this.userInfo.id,
+						flag:1
 					}, 'application/json;charset=UTF-8').then(res => {
 						if(res.data.code==200){
 							for(var i=0;i<res.data.data.records.length;i++){

+ 1 - 6
pageD/myRelease/sellGrain.vue

@@ -4,7 +4,7 @@
 			<view class="c-row b-b">
 				<text class="tit">名头</text>
 				<view class="con-list">
-					<text @click="navToDetailPage">{{deptList.seller}}</text>
+					<text @click="navToDetailPage">{{deptList.seller}}<text class='tip_text cuIcon-right'></text></text>
 				</view>
 			</view>
 			<view class="c-row b-b">
@@ -691,13 +691,11 @@
 		padding-right: 20rpx;
 		font-size: 14px;
 	}
-
 	.buyup {
 		background-color: #FFFFFF;
 		border-radius: 20px;
 		margin-top: 10px;
 	}
-
 	.buylow {
 		background-color: #FFFFFF;
 		border-radius: 20px;
@@ -710,7 +708,6 @@
 		background-color: #22C572;
 		color: #FFFFFF;
 	}
-
 	.validate {
 		width: 100px;
 		height: 32px;
@@ -731,11 +728,9 @@
 		height: 30px;
 		line-height: 30px;
 	}
-	
 	.getcode.active {
 		border: none;
 	}
-	
 	.getcode.active {
 		background: #22C572;
 		color: #fff;