(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c9557"],{5963:function(e,t,l){"use strict";l.r(t),l.d(t,"crudOptions",(function(){return a}));var i=l("22ce"),a=function(e){return{pageOptions:{compact:!0},options:{height:"100%"},viewOptions:{componentType:"row"},formOptions:{defaultSpan:12},columns:[{title:"编码",key:"id",width:90,form:{disabled:!0}},{title:"单选本地",key:"select1",sortable:!0,search:{disabled:!0},type:"table-selector",dict:{url:"/api/system/user/",value:"id",label:"name",getData:function(e,t,l){l.form;var a=l.component;return Object(i["c"])({url:e,params:{page:1,limit:1}}).then((function(e){return a._elProps.page=e.data.page,a._elProps.limit=e.data.limit,a._elProps.total=e.data.total,e.data.data}))}},form:{component:{span:12,props:{multiple:!0},elProps:{pagination:!0,columns:[{field:"name",title:"名称"},{field:"username",title:"账号"},{field:"role",title:"角色Id"},{field:"dept",title:"部门Id"}]}}}},{title:"头像",key:"image",type:"avatar-uploader",width:150,align:"left",form:{component:{props:{elProps:{multiple:!1,limit:5},sizeLimit:51200},span:24},helper:"限制文件大小不能超过50k"}},{title:"图片",key:"files",type:"image-uploader",width:150,align:"left",form:{component:{props:{elProps:{multiple:!1,limit:5},sizeLimit:51200},span:24},helper:"限制文件大小不能超过50k"}},{title:"多选,本地,自动染色",key:"select2",sortable:!0,width:180,search:{disabled:!1,title:"多选"},type:"select",form:{title:"多选本地",component:{props:{filterable:!0,multiple:!0,clearable:!0}}},dict:{data:[{value:"sz",label:"深圳"},{value:"gz",label:"广州"},{value:"wh",label:"武汉"},{value:"sh",label:"上海"}]},component:{props:{color:"auto"}}}]}}}}]);