|
@@ -120,10 +120,12 @@
|
|
|
</template>
|
|
|
<template #photo="{ col, row }">
|
|
|
<t-image
|
|
|
+ v-if="row[col.colKey]"
|
|
|
:src="row[col.colKey]"
|
|
|
fit="contain"
|
|
|
- :style="{ width: '100px', height: '100px' }"
|
|
|
+ :style="{ width: '80px', height: '80px' }"
|
|
|
></t-image>
|
|
|
+ <span v-else>-</span>
|
|
|
</template>
|
|
|
<template #roles="{ col, row }">
|
|
|
{{ row[col.colKey].map((item) => item.roleName).join(',') }}
|
|
@@ -295,16 +297,16 @@ const columns = [
|
|
|
fixed: 'left',
|
|
|
},
|
|
|
{ colKey: 'code', title: '档案流水号', width: 200 },
|
|
|
- { colKey: 'name', title: '姓名', width: 120 },
|
|
|
+ { colKey: 'name', title: '姓名', width: 80 },
|
|
|
{ colKey: 'province', title: '省份' },
|
|
|
{ colKey: 'city', title: '城市' },
|
|
|
{ colKey: 'area', title: '区县' },
|
|
|
{ colKey: 'gender', title: '性别', cell: 'gender', width: 70 },
|
|
|
{ colKey: 'age', title: '年龄', width: 70 },
|
|
|
- { colKey: 'identity', title: '身份证号', width: 160 },
|
|
|
- { colKey: 'education', title: '学历', cell: 'education' },
|
|
|
- { colKey: 'mobileNumber', title: '手机号', width: 120 },
|
|
|
- { colKey: 'email', title: '电子邮箱' },
|
|
|
+ { colKey: 'identity', title: '身份证号', width: 190 },
|
|
|
+ { colKey: 'education', title: '学历', cell: 'education', width: 110 },
|
|
|
+ { colKey: 'mobileNumber', title: '手机号', width: 140 },
|
|
|
+ { colKey: 'email', title: '电子邮箱', minWidth: 200 },
|
|
|
{ colKey: 'basePhotoPreviewPath', title: '底照', cell: 'photo', width: 120 },
|
|
|
{ colKey: 'supplierName', title: '供应商' },
|
|
|
{
|
|
@@ -324,13 +326,13 @@ const columns = [
|
|
|
colKey: 'authenticationValidTime',
|
|
|
title: '认证有效期',
|
|
|
cell: 'valid-time',
|
|
|
- width: 180,
|
|
|
+ width: 170,
|
|
|
},
|
|
|
{
|
|
|
colKey: 'remainValidDay',
|
|
|
title: '剩余有效天数',
|
|
|
cell: 'remain-day',
|
|
|
- width: 80,
|
|
|
+ width: 120,
|
|
|
},
|
|
|
{ colKey: 'authenticationStatus', title: '认证状态', cell: 'status' },
|
|
|
{ colKey: 'remark', title: '备注' },
|