You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
1.5 KiB
JavaScript
2 lines
1.5 KiB
JavaScript
import{u as l}from"./useRender-C6_44OXE.js";import{d as a}from"./dictType-DxUU9T0n.js";const{renderDictTag:o}=l(),c=[{title:"字典标签",dataIndex:"dictLabel"},{title:"标签预览",dataIndex:"cssClass",customRender({record:e}){const{dictValue:t}=e;return o(t,[e])}},{title:"字典键值",dataIndex:"dictValue"},{title:"字典排序",dataIndex:"dictSort"},{title:"备注",dataIndex:"remark"},{title:"创建时间",dataIndex:"createTime"}],n=[{label:"字典类型",field:"dictType",component:"ApiSelect",componentProps:{api:a,labelField:"dictName",valueField:"dictType"}},{label:"字典标签",field:"dictLabel",component:"Input"}],i=[{label:"字典CODE",field:"dictCode",component:"Input",show:!1},{label:"字典类型",field:"dictType",component:"Input",componentProps:{disabled:!0}},{label:"标签样式",field:"listClass",slot:"listClass"},{label:"数据标签",field:"dictLabel",component:"Input",required:!0},{label:"数据键值",field:"dictValue",component:"Input",required:!0},{label:"css类名",field:"cssClass",helpMessage:["标签的css样式, 可添加已经编译的css类名","可添加前置/后置小点效果 前置:dot-before-color 后置: dot-after-color","可使用unocss类名, 需要在src/views/system/dict/data/unocss.vue先注册"],component:"InputTextArea",componentProps:{placeholder:"可使用unocss类名 如bg-blue w-full h-full等"}},{label:"显示排序",field:"dictSort",component:"InputNumber",required:!0},{label:"备注",field:"remark",component:"InputTextArea"}];export{c,n as f,i as m};
|