/* * @Author: Pengjiantian * @Date: 2020-05-29 16:57:18 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-06-03 10:54:42 */ /** * 人脸识别白名单-列表 */ import ApiModel from '@/utils/core/apiModel'; const formList = [ { type: 'input', label: '证件号码', value: '', name: 'certid', }, { type: 'input', label: '姓名', value: '', name: 'customername', }, ]; // 表格信息 const tableList = [ { prop: 'certid', label: '证件号码', }, { label: '证件类型', prop: 'certtypeDesc', attrs: { width: '250px' }, }, { label: '客户名称', prop: 'customername', }, { label: '状态', prop: 'statusDesc', }, { label: '更新人', prop: 'inputuserid', }, { label: '更新时间', prop: 'inputdate', }, { label: '备注', prop: 'remark', }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right', }, type: 'buttons', }, ]; export default (options) => { // 接口地址,required const api = 'faceExcept/queryFaceExceptList'; return new ApiModel({ api, formList, tableList, request(params) { return this.post(params); }, }); };