|
@@ -214,9 +214,19 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
},
|
|
|
credit_rating: {
|
|
|
title: '信用评级',
|
|
|
- search: { show: false },
|
|
|
- type: 'input',
|
|
|
+ search: { show: true },
|
|
|
+ type: 'dict-select',
|
|
|
column: { minWidth: 100 },
|
|
|
+ dict: dict({
|
|
|
+ data: [
|
|
|
+ { label: 'A', value: 'A' },
|
|
|
+ { label: 'B', value: 'B' },
|
|
|
+ { label: 'C', value: 'C' },
|
|
|
+ { label: 'D', value: 'D' },
|
|
|
+ { label: 'E', value: 'E' },
|
|
|
+ { label: 'F', value: 'F' },
|
|
|
+ ],
|
|
|
+ }),
|
|
|
form: {
|
|
|
component: { placeholder: '请输入信用评级' },
|
|
|
rules: [{ required: false, message: '请输入信用评级' }],
|