/** * 电子合同列表查询 */ import ApiModel from '@/utils/core/apiModel' // 表格信息 const tableList = [ { label: '电子合同编号', prop: 'serialNo', attrs: { width: 'auto' } }, { label: '电子合同名称', prop: 'contractName', attrs: { width: 'auto' } }, { label: '生成流程阶段', prop: 'phaseName', attrs: { width: 'auto' } }, { label: '生成时间', prop: 'createTime', attrs: { width: 'auto' } }, { label: '查看电子合同', prop: 'selectContractButton', type: 'links', links: ['查看电子合同'], attrs: { width: 'auto' } } ] export default options => { // 接口地址,required const api = 'server/qryEContractList' return new ApiModel({ api, tableList, request(params) { return this.post(params) } }) }