|
|
@ -153,10 +153,10 @@ export const Counter = useCrudSchemas( |
|
|
|
field: 'nextStage', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
form:{ |
|
|
|
form: { |
|
|
|
component: 'Select', |
|
|
|
componentProps: { |
|
|
|
options:[], |
|
|
|
options: [], |
|
|
|
optionsAlias: { |
|
|
|
labelField: 'stage', |
|
|
|
valueField: 'stage' |
|
|
@ -167,6 +167,25 @@ export const Counter = useCrudSchemas( |
|
|
|
width: 140 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否可用', |
|
|
|
field: 'available', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
isSearch: true, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
} |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 110 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
|
field: 'createTime', |
|
|
@ -231,7 +250,7 @@ export const Counter = useCrudSchemas( |
|
|
|
width: 150 |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
field: 'action', |
|
|
|