|
@@ -9,7 +9,11 @@
|
|
|
</el-button> -->
|
|
</el-button> -->
|
|
|
</page-title>
|
|
</page-title>
|
|
|
<div class="filters-container">
|
|
<div class="filters-container">
|
|
|
- <el-select v-model="status" clearable placeholder="状态" @change="getData">
|
|
|
|
|
|
|
+ <el-select v-model="org" @change="getData" class="filter-item">
|
|
|
|
|
+ <el-option label="个人" :value="false"></el-option>
|
|
|
|
|
+ <el-option label="企业" :value="true"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ <el-select v-model="status" clearable placeholder="状态" @change="getData" class="filter-item">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in statusOptions.slice(1, 4)"
|
|
v-for="item in statusOptions.slice(1, 4)"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -41,10 +45,11 @@
|
|
|
<el-table-column v-if="multipleMode" align="center" type="selection" width="50"> </el-table-column>
|
|
<el-table-column v-if="multipleMode" align="center" type="selection" width="50"> </el-table-column>
|
|
|
<el-table-column prop="id" label="ID" width="100"> </el-table-column>
|
|
<el-table-column prop="id" label="ID" width="100"> </el-table-column>
|
|
|
<el-table-column prop="userId" label="用户ID" width="100"> </el-table-column>
|
|
<el-table-column prop="userId" label="用户ID" width="100"> </el-table-column>
|
|
|
- <el-table-column prop="realName" label="姓名" min-width="100" show-overflow-tooltip> </el-table-column>
|
|
|
|
|
- <el-table-column prop="phone" label="手机" min-width="150" show-overflow-tooltip> </el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="realName" :label="org ? '法人' : '姓名'" min-width="100" show-overflow-tooltip>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column prop="phone" label="手机" min-width="150" show-overflow-tooltip> </el-table-column>
|
|
|
<el-table-column prop="email" label="邮箱" min-width="200" show-overflow-tooltip> </el-table-column>
|
|
<el-table-column prop="email" label="邮箱" min-width="200" show-overflow-tooltip> </el-table-column>
|
|
|
- <el-table-column prop="idNo" label="身份证" min-width="200" show-overflow-tooltip> </el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="idNo" label="身份证" min-width="200" show-overflow-tooltip> </el-table-column>
|
|
|
<el-table-column prop="idFront" label="身份正面照" width="120" align="center">
|
|
<el-table-column prop="idFront" label="身份正面照" width="120" align="center">
|
|
|
<template v-slot="{ row }">
|
|
<template v-slot="{ row }">
|
|
|
<el-image
|
|
<el-image
|
|
@@ -120,7 +125,8 @@ export default {
|
|
|
{ label: '已认证', value: 'SUCCESS' },
|
|
{ label: '已认证', value: 'SUCCESS' },
|
|
|
{ label: '失败', value: 'FAIL' }
|
|
{ label: '失败', value: 'FAIL' }
|
|
|
],
|
|
],
|
|
|
- status: 'PENDING'
|
|
|
|
|
|
|
+ status: 'PENDING',
|
|
|
|
|
+ org: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -137,7 +143,7 @@ export default {
|
|
|
return '';
|
|
return '';
|
|
|
},
|
|
},
|
|
|
beforeGetData() {
|
|
beforeGetData() {
|
|
|
- return { search: this.search, query: { del: false, status: this.status } };
|
|
|
|
|
|
|
+ return { search: this.search, query: { del: false, status: this.status, org: this.org } };
|
|
|
},
|
|
},
|
|
|
toggleMultipleMode(multipleMode) {
|
|
toggleMultipleMode(multipleMode) {
|
|
|
this.multipleMode = multipleMode;
|
|
this.multipleMode = multipleMode;
|