(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21af1a"],{be56:function(e,t,i){"use strict";i.r(t),i.d(t,"crudOptions",(function(){return o}));i("99af");var o=function(e){return{pageOptions:{compact:!0},options:{tableType:"vxe-table",rowKey:!0,rowId:"id",height:"100%",highlightCurrentRow:!1,treeConfig:{children:"children",hasChild:"hasChildren",expandAll:!0}},rowHandle:{width:230,view:{thin:!0,text:"",disabled:function(){return!e.hasPermissions("Retrieve")}},edit:{thin:!0,text:"",disabled:function(){return!e.hasPermissions("Update")}},remove:{thin:!0,text:"",disabled:function(){return!e.hasPermissions("Delete")}},custom:[{text:" 字典配置",type:"success",size:"small",emit:"dictionaryConfigure"}]},indexRow:{title:"序号",align:"center",width:80},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,disabled:!0,width:90,form:{disabled:!0}},{title:"字典名称",key:"label",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:"value",search:{disabled:!0,component:{props:{clearable:!0}}},type:"input",form:{rules:[{required:!0,message:"字典编号必填项"}],component:{props:{clearable:!0},placeholder:"请输入字典编号"},itemProps:{class:{yxtInput:!0}},helper:{render:function(e){return e("el-alert",{attrs:{title:"使用方法：vm.dictionary('字典编号')",type:"warning"}})}}}},{title:"状态",key:"status",width:90,search:{disabled:!1},type:"radio",dict:{data:e.dictionary("button_status_bool")},component:{props:{options:[]}},form:{rules:[{required:!0,message:"状态必填项"}],value:!0,component:{placeholder:"请选择状态"},itemProps:{class:{yxtInput:!0}}}},{title:"排序",key:"sort",width:90,type:"number",form:{value:1,component:{},itemProps:{class:{yxtInput:!0}}}}].concat(e.commonEndColumns({description:{showForm:!0,showTable:!0}}))}}}}]);