(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a7c5"],{bc5c:function(e,t,o){"use strict";o.r(t),o.d(t,"crudOptions",(function(){return i}));o("99af");var i=function(e){return{pageOptions:{compact:!0},options:{tableType:"vxe-table",rowKey:!0,rowId:"id",height:"100%",highlightCurrentRow:!1},rowHandle:{view:{thin:!0,text:"",disabled:function(){return!e.hasPermissions("Retrieve")}},width:230,edit:{thin:!0,text:"",disabled:function(){return!e.hasPermissions("Update")}},remove:{thin:!0,text:"",disabled:function(){return!e.hasPermissions("Delete")}},custom:[{show:function(e,t){return!0},disabled:function(){return!e.hasPermissions("Update")},text:"权限管理",type:"warning",size:"small",emit:"createPermission"}]},indexRow:{title:"序号",align:"center",width:100},viewOptions:{componentType:"form"},formOptions:{defaultSpan:24,width:"35%"},columns:[{title:"关键词",key:"search",show:!1,disabled:!0,search:{disabled:!1},form:{disabled:!0,component:{props:{clearable:!0},placeholder:"请输入关键词"}},view:{disabled:!0}},{title:"ID",key:"id",show:!1,width:90,form:{disabled:!0}},{title:"角色名称",key:"name",sortable:!0,search:{disabled:!1,component:{props:{clearable:!0}}},type:"input",form:{rules:[{required:!0,message:"角色名称必填项"}],component:{props:{clearable:!0},placeholder:"请输入角色名称"},itemProps:{class:{yxtInput:!0}}}},{title:"权限标识",key:"key",sortable:!0,form:{rules:[{required:!0,message:"权限标识必填项"}],component:{props:{clearable:!0},placeholder:"请输入标识字符"},itemProps:{class:{yxtInput:!0}}}},{title:"排序",key:"sort",sortable:!0,width:80,type:"number",form:{value:1,component:{placeholder:"请输入排序"}}},{title:"是否管理员",key:"admin",sortable:!0,type:"radio",dict:{data:e.dictionary("button_whether_bool")},form:{value:!1,component:{placeholder:"请选择是否管理员"}}},{title:"状态",key:"status",sortable:!0,search:{disabled:!1},type:"radio",dict:{data:e.dictionary("button_status_bool")},form:{value:!0,component:{placeholder:"请选择状态"}},component:{props:{color:"auto"}}}].concat(e.commonEndColumns())}}}}]);