(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d222944"],{cee1:function(e,t,i){"use strict";i.r(t),i.d(t,"crudOptions",(function(){return n}));var r=i("5530"),n=function(e){return{pageOptions:{compact:!0},options:{tableType:"vxe-table",rowKey:!0,rowId:"id",height:"100%",highlightCurrentRow:!0,events:{"sort-change":function(t){var i=t.field,n=t.order,a="desc"===n?"-":"",o=a+i,s=e.getSearch().getForm(),l=Object(r["a"])({ordering:o},s);e.doSearch(l)}}},rowHandle:{fixed:"right",align:"center",width:"170px",view:{thin:!0,text:""},edit:{thin:!0,text:""},remove:{thin:!0,text:""}},indexRow:{title:"序号",align:"center",resizable:!0,fixed:"left",width:90},viewOptions:{componentType:"form"},formOptions:{defaultSpan:24,width:"35%"},columns:[{title:"ID",key:"id",show:!1,disabled:!0,width:70,form:{disabled:!0}},{title:"客户名称",key:"name",fixed:"left",resizable:!0,minWidth:150,align:"center",search:{width:180,component:{props:{clearable:!0}}},type:"input",form:{rules:[{required:!0,message:"客户名称必填"},{max:30,message:"最长30个字"}],component:{props:{clearable:!0},placeholder:"请输入客户名称"},itemProps:{class:{yxtInput:!0}}}},{title:"联系方式",key:"contact",resizable:!0,align:"center",minWidth:150,search:{width:180,component:{props:{clearable:!0}}},type:"input",form:{rules:[{max:30,message:"最长30个字"}],component:{props:{clearable:!0},placeholder:"请输入联系方式"},itemProps:{class:{yxtInput:!0}}}},{title:"联系地址",key:"address",resizable:!0,align:"center",minWidth:200,showOverflowTooltip:!0,search:{width:180,component:{props:{clearable:!0}}},type:"input",form:{rules:[{max:100,message:"最长100个字"}],component:{props:{clearable:!0},placeholder:"请输入联系地址"},itemProps:{class:{yxtInput:!0}}}},{title:"更新时间",key:"update_datetime",minWidth:170,align:"center",show:!0,type:"datetime",sortable:!0,form:{disabled:!0}},{title:"创建时间",key:"create_datetime",align:"center",minWidth:170,search:{disabled:!0},show:!0,type:"datetime",sortable:!0,form:{disabled:!0}}]}}}}]);