fix: #I6R5EL
parent
8e7581c6cf
commit
4dc24923b3
|
@ -114,7 +114,7 @@ export const formSchema: FormSchema[] = [
|
|||
field: 'leaderUserId',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
options: () => getListSimpleUsers(),
|
||||
api: () => getListSimpleUsers(),
|
||||
labelField: 'nickname',
|
||||
valueField: 'id'
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { BasicColumn, FormSchema, useRender } from '@/components/Table'
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
|
||||
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
|
@ -101,7 +101,7 @@ export const formSchema: FormSchema[] = [
|
|||
component: 'Select',
|
||||
required: true,
|
||||
componentProps: {
|
||||
options: getIntDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE)
|
||||
options: getStrDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue