|
@@ -1,36 +1,40 @@
|
|
<template>
|
|
<template>
|
|
<view class="center">
|
|
<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>
|
|
</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>
|
|
</view>
|
|
|
|
+
|
|
|
|
+ <view style='text-align:center;' v-else>
|
|
|
|
+ 当前暂无已认证的粮商身份
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
@@ -90,7 +94,8 @@
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
- commonId: this.userInfo.id
|
|
|
|
|
|
+ commonId: this.userInfo.id,
|
|
|
|
+ flag:1
|
|
}, 'application/json;charset=UTF-8').then(res => {
|
|
}, 'application/json;charset=UTF-8').then(res => {
|
|
if(res.data.code==200){
|
|
if(res.data.code==200){
|
|
for(var i=0;i<res.data.data.records.length;i++){
|
|
for(var i=0;i<res.data.data.records.length;i++){
|