|
|
@@ -65,15 +65,23 @@
|
|
|
></el-image>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="orgLicenseExpire" label="营业执照有效期" min-width="160" show-overflow-tooltip key="3">
|
|
|
+ <el-table-column
|
|
|
+ prop="orgLicenseExpire"
|
|
|
+ label="营业执照有效期"
|
|
|
+ min-width="160"
|
|
|
+ show-overflow-tooltip
|
|
|
+ key="3"
|
|
|
+ >
|
|
|
<template v-slot="{ row }">
|
|
|
<span>{{ row.orgLicenseExpire || '长期' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <el-table-column prop="phone" label="手机" min-width="150" show-overflow-tooltip key="4"> </el-table-column>
|
|
|
- <el-table-column prop="email" label="邮箱" min-width="200" show-overflow-tooltip key="5"> </el-table-column>
|
|
|
+ <el-table-column prop="phone" label="手机" min-width="150" show-overflow-tooltip key="4">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="email" label="邮箱" min-width="200" show-overflow-tooltip key="5">
|
|
|
+ </el-table-column>
|
|
|
</template>
|
|
|
|
|
|
<el-table-column prop="idNo" label="身份证" min-width="200" show-overflow-tooltip> </el-table-column>
|
|
|
@@ -99,8 +107,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="status" label="审核状态" :formatter="statusFormatter" width="120" align="center">
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" align="center" fixed="right" width="150">
|
|
|
+ <el-table-column label="操作" align="center" fixed="right" width="210">
|
|
|
<template slot-scope="{ row }">
|
|
|
+ <el-button @click="repeat(row)" type="success" size="mini" plain> 查重 </el-button>
|
|
|
<el-button @click="pass(row)" type="primary" size="mini" plain v-if="row.status === 'PENDING'">
|
|
|
通过
|
|
|
</el-button>
|
|
|
@@ -131,6 +140,17 @@
|
|
|
>
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
+
|
|
|
+ <el-dialog :visible.sync="showDialog" title="重复列表" width="800px" top="10vh">
|
|
|
+ <el-table :data="list" v-loading="dialogLoading" height="40vh" empty-text="暂无重复">
|
|
|
+ <el-table-column prop="id" label="ID" width="80"></el-table-column>
|
|
|
+ <el-table-column prop="nickname" label="昵称"></el-table-column>
|
|
|
+ <el-table-column prop="phone" label="手机"></el-table-column>
|
|
|
+ <el-table-column prop="createdAt" label="注册时间" min-width="100"></el-table-column>
|
|
|
+ <el-table-column prop="status" label="认证状态" :formatter="statusFormatter"></el-table-column>
|
|
|
+ <el-table-column prop="identityCreatedAt" label="认证时间" min-width="100"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -153,7 +173,10 @@ export default {
|
|
|
{ label: '失败', value: 'FAIL' }
|
|
|
],
|
|
|
status: 'PENDING',
|
|
|
- org: false
|
|
|
+ org: false,
|
|
|
+ showDialog: false,
|
|
|
+ dialogLoading: false,
|
|
|
+ list: []
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -263,6 +286,17 @@ export default {
|
|
|
this.getData();
|
|
|
})
|
|
|
.catch(e => {});
|
|
|
+ },
|
|
|
+ repeat(row) {
|
|
|
+ this.list = [];
|
|
|
+ this.showDialog = true;
|
|
|
+ this.dialogLoading = true;
|
|
|
+ this.$http.post('/identityAuth/repeat', { idNo: row.idNo, userId: row.userId }).then(res => {
|
|
|
+ if (res != '') {
|
|
|
+ this.list = res;
|
|
|
+ }
|
|
|
+ this.dialogLoading = false;
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
};
|