|
|
|
@ -60,6 +60,16 @@ export const modalFormSchema: FormSchema[] = [ |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'channelType', |
|
|
|
label: '渠道来源', |
|
|
|
defaultValue: 1, |
|
|
|
colProps: { span: 8 }, |
|
|
|
component: 'Select', |
|
|
|
componentProps: { |
|
|
|
options: channelList, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'birthYear', |
|
|
|
label: '出生年份', |
|
|
|
@ -171,21 +181,21 @@ export const modalFormSchema: FormSchema[] = [ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'domicilePlace', |
|
|
|
label: '户口所在地', |
|
|
|
colProps: { span: 8 }, |
|
|
|
component: 'Cascader', |
|
|
|
componentProps: () => { |
|
|
|
return { |
|
|
|
options: domicilePlaceList.value, |
|
|
|
onChange: (_: any, v: any) => { |
|
|
|
basicInfoData.value.domicilePlaceProvinceName = v?.[0]?.label |
|
|
|
basicInfoData.value.domicilePlaceCityName = v?.[1]?.label |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// field: 'domicilePlace',
|
|
|
|
// label: '户口所在地',
|
|
|
|
// colProps: { span: 8 },
|
|
|
|
// component: 'Cascader',
|
|
|
|
// componentProps: () => {
|
|
|
|
// return {
|
|
|
|
// options: domicilePlaceList.value,
|
|
|
|
// onChange: (_: any, v: any) => {
|
|
|
|
// basicInfoData.value.domicilePlaceProvinceName = v?.[0]?.label
|
|
|
|
// basicInfoData.value.domicilePlaceCityName = v?.[1]?.label
|
|
|
|
// },
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
field: 'hometown', |
|
|
|
label: '家乡', |
|
|
|
|