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