/* * @Author: lixiong * @Date: 2019-08-21 14:35:07 * @Last Modified by: lixiong * @Last Modified time: 2019-09-06 17:47:35 */ /** * 贷款申请查询 */ import ApiModel from '@/utils/core/apiModel' // 表单信息 const formList = [ { type: 'input', label: '客服工号:', value: '', name: 'csId', attrs: ['readonly'] // disabled readonly }, { type: 'input', label: '客服名称:', value: '', name: 'csName' }, { 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) } }) }