|
@@ -1,32 +0,0 @@
|
|
|
-export default {
|
|
|
- listFileds: [
|
|
|
- { label: "名称", name: "name", filter: true, placeholder: "输入名字" },
|
|
|
- { label: "图标", name: "image", formater: "image" },
|
|
|
- { label: "别名", name: "alias", filter: true, placeholder: "输入别名" },
|
|
|
- { label: "类型", name: "type", placeholder: "选择类型", formater: "dict:journal_type" },
|
|
|
- { label: "排序", name: "number" }
|
|
|
- ],
|
|
|
- formFiled: [
|
|
|
- { label: "图标", name: "image", formater: "selectFile" },
|
|
|
- { label: "名称", name: "name", placeholder: "输入名字" },
|
|
|
- { label: "别名", name: "alias", placeholder: "输入别名" },
|
|
|
- { label: "类型", name: "type", placeholder: "选择类型", formater: 'dict:journal_type' },
|
|
|
- { label: "排序", name: "number", formater: "number" },
|
|
|
- { label: "显示/隐藏", name: "visible", formater: 'switch', activeValue: '0', inactiveValue: '1' },
|
|
|
- { label: "描述", name: "description", placeholder: "输入描述", formater: "textarea" },
|
|
|
- ],
|
|
|
- operation: [
|
|
|
- { name: 'itemadd', label: '新增', icon: 'el-icon-plus' },
|
|
|
- { name: 'edit', label: '修改', icon: 'el-icon-edit' },
|
|
|
- { name: 'delete', label: '删除', icon: 'el-icon-delete' }
|
|
|
- ],
|
|
|
- options: {
|
|
|
- 'tree-props': {
|
|
|
- hasChildren: 'hasChildren', children: 'children'
|
|
|
- },
|
|
|
- 'default-expand-all': false,
|
|
|
- 'row-key': "termId",
|
|
|
- treeId: 'termId'
|
|
|
- },
|
|
|
- pagination: false,
|
|
|
- };
|