|
@@ -20,12 +20,22 @@
|
|
|
<el-table v-loading="loading" :data="customerList">
|
|
<el-table v-loading="loading" :data="customerList">
|
|
|
<el-table-column label="客户号" width="120" align="center" prop="custid" />
|
|
<el-table-column label="客户号" width="120" align="center" prop="custid" />
|
|
|
<el-table-column label="姓名" align="center" prop="name" :show-overflow-tooltip="true" />
|
|
<el-table-column label="姓名" align="center" prop="name" :show-overflow-tooltip="true" />
|
|
|
- <el-table-column label="证件类型" align="center" prop="idtype" :show-overflow-tooltip="true" >
|
|
|
|
|
|
|
+ <el-table-column label="证件类型" align="center" >
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <span>身份证</span>
|
|
|
|
|
|
|
+ <span v-if="scope.row.idcard && scope.row.idcard!=''">身份证</span>
|
|
|
|
|
+ <span v-else-if="scope.row.passport && scope.row.passport!=''">护照</span>
|
|
|
|
|
+ <span v-else-if="scope.row.dlicense && scope.row.dlicense!=''">驾驶证</span>
|
|
|
|
|
+ <span v-else></span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="证件号码" width="160" align="center" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span v-if="scope.row.idcard && scope.row.idcard!=''">{{scope.row.idcard}}</span>
|
|
|
|
|
+ <span v-else-if="scope.row.passport && scope.row.passport!=''">{{scope.row.passport}}</span>
|
|
|
|
|
+ <span v-else-if="scope.row.dlicense && scope.row.dlicense!=''">{{scope.row.dlicense}}</span>
|
|
|
|
|
+ <span v-else></span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="证件号码" width="160" align="center" prop="idcard" :show-overflow-tooltip="true" />
|
|
|
|
|
<el-table-column label="性别" align="center" prop="gender" width="70">
|
|
<el-table-column label="性别" align="center" prop="gender" width="70">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.gender == 0">男</span>
|
|
<span v-if="scope.row.gender == 0">男</span>
|