|
@@ -103,7 +103,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
// mode: 'multiple',//multiple: 多选;不填写为单选
|
|
|
//请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
|
|
|
- api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list' }),
|
|
|
+ api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list',params:{pageSize: -1}}),
|
|
|
//数值转成String
|
|
|
numberToString: false,
|
|
|
//标题字段
|
|
@@ -146,19 +146,20 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
component: 'ApiSelect',
|
|
|
labelWidth: 180,
|
|
|
componentProps: {
|
|
|
- // mode: 'multiple',//multiple: 多选;不填写为单选
|
|
|
+ // mode: 'multiple',//multiple: 多选;不填写为单选
|
|
|
//请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
|
|
|
- api: () => defHttp.get({ url: 'baseCode/baseProjectArchive/list' }),
|
|
|
+ api: () => defHttp.get({ url: 'baseCode/baseProjectArchive/list',params:{pageSize: -1}}),
|
|
|
//数值转成String
|
|
|
numberToString: false,
|
|
|
//标题字段
|
|
|
- labelField: 'name',
|
|
|
+ labelField: 'code',
|
|
|
//值字段
|
|
|
valueField: 'id',
|
|
|
- //请求参数
|
|
|
- params: { pageSize: -1 },
|
|
|
//返回结果字段
|
|
|
resultField: 'records',
|
|
|
+ filterOption: 'true',
|
|
|
+ optionFilterProp: 'label',
|
|
|
+ showSearch: 'true',
|
|
|
},
|
|
|
},
|
|
|
|