|
@@ -120,6 +120,24 @@ export const createCrudOptions = function ({crudExpose}: CreateCrudOptionsProps)
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ /* search:{
|
|
|
|
+ title: '标签名称',
|
|
|
|
+ search: {
|
|
|
|
+ show: true,
|
|
|
|
+ component: {
|
|
|
|
+ props: {
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
|
|
+ placeholder: '请输入标签名称',
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ form: {
|
|
|
|
+ show: false,
|
|
|
|
+ },
|
|
|
|
+ column: {
|
|
|
|
+ show: false,
|
|
|
|
+ },
|
|
|
|
+ }, */
|
|
name: {
|
|
name: {
|
|
title: '标签名称',
|
|
title: '标签名称',
|
|
search: {
|
|
search: {
|
|
@@ -240,7 +258,7 @@ export const createCrudOptions = function ({crudExpose}: CreateCrudOptionsProps)
|
|
status: {
|
|
status: {
|
|
title: '状态',
|
|
title: '状态',
|
|
search: {
|
|
search: {
|
|
- show: true,
|
|
|
|
|
|
+ show: false,
|
|
},
|
|
},
|
|
type: 'dict-radio',
|
|
type: 'dict-radio',
|
|
dict: dict({
|
|
dict: dict({
|
|
@@ -250,16 +268,20 @@ export const createCrudOptions = function ({crudExpose}: CreateCrudOptionsProps)
|
|
],
|
|
],
|
|
}),
|
|
}),
|
|
form: {
|
|
form: {
|
|
|
|
+ show: false,
|
|
value: true,
|
|
value: true,
|
|
component: {
|
|
component: {
|
|
|
|
+ show: false,
|
|
span: 24,
|
|
span: 24,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
column: {
|
|
column: {
|
|
|
|
+ show: false,
|
|
width: 160, formatter: (context: any) => {
|
|
width: 160, formatter: (context: any) => {
|
|
return context.row.status ? '启用' : '禁用';
|
|
return context.row.status ? '启用' : '禁用';
|
|
},
|
|
},
|
|
component: {
|
|
component: {
|
|
|
|
+
|
|
name: 'el-tag',
|
|
name: 'el-tag',
|
|
props: (context: any) => {
|
|
props: (context: any) => {
|
|
return {
|
|
return {
|