(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d6ae6"],{"741d":function(e,t,a){"use strict";a.r(t),a.d(t,"crudOptions",(function(){return r}));a("14d9"),a("b64b");var l=a("22ce"),r=function(e){return{pageOptions:{compact:!0},options:{tableType:"vxe-table",rowKey:!1,width:"100%",height:"100%"},rowHandle:{width:180,edit:{thin:!0,text:"编辑"},remove:{thin:!0,text:"删除"}},indexRow:{title:"序号",align:"center",width:100},viewOptions:{disabled:!0,componentType:"form"},formOptions:{defaultSpan:24},columns:[{title:"关键词",key:"search",show:!1,disabled:!0,search:{disabled:!1},form:{disabled:!0,component:{placeholder:"请输入关键词"}},view:{disabled:!0}},{title:"ID",key:"id",show:!1,width:90,form:{disabled:!0}},{title:"请求方式",key:"method",sortable:!0,search:{disabled:!1},type:"select",dict:{data:[{label:"GET",value:0},{label:"POST",value:1},{label:"PUT",value:2},{label:"DELETE",value:3}]},form:{rules:[{required:!0,message:"必填项"}],component:{span:12},itemProps:{class:{yxtInput:!0}}}},{title:"接口地址",key:"url",sortable:!0,search:{disabled:!0},type:"select",dict:{url:"/swagger.json",label:"label",value:"value",getData:function(e,t){return Object(l["c"])({url:e}).then((function(e){for(var t=Object.keys(e.paths),a=[],l=0,r=t;l<r.length;l++){var o=r[l],i={};i.label=o,i.value=o,a.push(i)}return a}))}},form:{rules:[{required:!0,message:"必填项"}],component:{span:24,props:{elProps:{allowCreate:!0,filterable:!0,clearable:!0}}},itemProps:{class:{yxtInput:!0}},helper:{render:function(e){return e("el-alert",{attrs:{title:"请正确填写，以免请求时被拦截。匹配单例使用正则,例如:/api/xx/.*?/",type:"warning"}})}}}},{title:"数据权限认证",key:"enable_datasource",search:{disabled:!1},width:150,type:"radio",dict:{data:e.dictionary("button_status_bool")},form:{value:!0,component:{span:12}}},{title:"备注",key:"description",search:{disabled:!0},type:"textarea",form:{component:{placeholder:"请输入内容",showWordLimit:!0,maxlength:"200",props:{type:"textarea"}}}}]}}}}]);