|
@@ -1,16 +1,14 @@
|
|
<template>
|
|
<template>
|
|
<view class="center">
|
|
<view class="center">
|
|
<view v-for="(item , index) in lists" :Key="index">
|
|
<view v-for="(item , index) in lists" :Key="index">
|
|
- <view class="forList">
|
|
|
|
|
|
+ <view @click="navToDetailPage(item)" class="forList">
|
|
<view class="flex">
|
|
<view class="flex">
|
|
<view class="company" v-if="item.customerType == '企业'">{{item.customerType}}</view>
|
|
<view class="company" v-if="item.customerType == '企业'">{{item.customerType}}</view>
|
|
<view class="company1" v-if="item.customerType == '个人'">{{item.customerType}}</view>
|
|
<view class="company1" v-if="item.customerType == '个人'">{{item.customerType}}</view>
|
|
- <view class="guess-item" @click="navToDetailPage(item)">
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
<view class="infos">
|
|
<view class="infos">
|
|
-
|
|
|
|
- <view class="info1">{{item.customerName}}
|
|
|
|
|
|
+ <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 but1' v-if="item.authenticationStatus == '已认证'">{{item.authenticationStatus}}</view>
|
|
<view class='but but2' 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 but3' v-if="item.authenticationStatus == '未通过'">{{item.authenticationStatus}}</view>
|
|
@@ -76,17 +74,18 @@
|
|
},
|
|
},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- onShow(){
|
|
|
|
- this.getList()
|
|
|
|
- },
|
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
this.id=options.id
|
|
this.id=options.id
|
|
},
|
|
},
|
|
|
|
+ onShow(){
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
computed: {
|
|
computed: {
|
|
...mapState(['hasLogin', 'userInfo'])
|
|
...mapState(['hasLogin', 'userInfo'])
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getList() {
|
|
getList() {
|
|
|
|
+ console.log(this.userInfo)
|
|
this.identityAuthenticationInfo.commonId = this.userInfo.id
|
|
this.identityAuthenticationInfo.commonId = this.userInfo.id
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/selectIdentityAuthenticationInfo', {
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
@@ -145,6 +144,7 @@
|
|
// }
|
|
// }
|
|
// },
|
|
// },
|
|
navToDetailPage(item) {
|
|
navToDetailPage(item) {
|
|
|
|
+ console.log(11111)
|
|
// if (index == 1) {
|
|
// if (index == 1) {
|
|
if(item.customerTypeFlag==1){
|
|
if(item.customerTypeFlag==1){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|