/* * @Author: lixiong * @Date: 2019-08-21 14:35:07 * @Last Modified by: lixiong * @Last Modified time: 2020-01-06 15:36:24 */ /** * 贷款申请查询 */ import ApiModel from '@comprehensive/serve/core/ApiModel' // 表单信息 const formList = [ { type: 'input', label: '客服工号', value: '', name: 'csId', attrs: ['readonly'] // disabled readonly }, { type: 'input', label: '客服名称', value: '', name: 'csName', attrs: ['readonly'] }, { type: 'input', label: '机构名称', value: '', name: 'belongOrgName' }, { type: 'input', label: '客服座机号', value: '', name: 'csLandline', rules: ['required'] }, { type: 'input', label: '手机号', value: '', name: 'csCellphone', rules: [{ maxLength: 11 }] }, { type: 'textarea', label: '弹屏服务地址', value: '', name: 'screenUrl' } ] export default options => { // 接口地址,required const api = '/customer-service-staff/saveOrUpdateCss' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }