sysConstantConfig-82493a6f.js 1.5 KB

1
  1. import{bk as t,bl as o}from"./index-d3600154.js";const a=[{title:"常量名称",dataIndex:"name"},{title:"常量类型",dataIndex:"type"},{title:"常量编码",dataIndex:"code"},{title:"目录",dataIndex:"cateid"}],l=[{label:"常量名称",field:"name",component:"Input",componentProps:{placeholder:"请输入常量名称"}},{label:"常量编码",field:"code",component:"Input",componentProps:{placeholder:"请输入常量编码"}}],s=[{label:"常量名称",field:"name",required:!0,component:"Input",componentProps:{placeholder:"请输入常量名称"}},{label:"常量类型",field:"type",required:!0,component:"Input",componentProps:{placeholder:"请输入常量类型"}},{label:"常量编码",field:"code",required:!0,component:"Input",componentProps:{placeholder:"请输入常量编码"}},{label:"目录",field:"cateid",required:!0,component:"Input",componentProps:{placeholder:"请输入目录id"}},{label:"备注",field:"remark",component:"InputTextArea",componentProps:{placeholder:"请输入备注"}}],r=[{label:"常量名称",field:"name"},{label:"常量类型",field:"type"},{label:"备注",field:"remark"},{label:"常量编码",field:"code"},{label:"目录id",field:"cateid"}],c=e=>t.post({url:"/sys/constant/config/query/page",params:o(e)}),d=e=>t.get({url:"/sys/constant/config/detail/"+e}),p=e=>t.post({url:"/sys/constant/config/add",params:e}),i=e=>t.post({url:"/sys/constant/config/edit",params:e}),m=e=>t.post({url:"/sys/constant/config/removeByIds",params:e});export{p as a,i as b,m as c,s as d,c as e,a as f,l as g,d as s,r as v};