|  | @@ -3,6 +3,7 @@ import {FormSchema} from '/@/components/Table';
 | 
	
		
			
				|  |  |  import { rules} from '/@/utils/helper/validator';
 | 
	
		
			
				|  |  |  import { render } from '/@/utils/common/renderUtils';
 | 
	
		
			
				|  |  |  import { getWeekMonthQuarterYear } from '/@/utils';
 | 
	
		
			
				|  |  | +import { defHttp } from '/@/utils/http/axios';
 | 
	
		
			
				|  |  |  //列表数据
 | 
	
		
			
				|  |  |  export const columns: BasicColumn[] = [
 | 
	
		
			
				|  |  |    {
 | 
	
	
		
			
				|  | @@ -19,7 +20,7 @@ export const columns: BasicColumn[] = [
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  |      title: '客户(customer)',
 | 
	
		
			
				|  |  |      align:"center",
 | 
	
		
			
				|  |  | -    dataIndex: 'customerId'
 | 
	
		
			
				|  |  | +    dataIndex: 'customerId_dictText'
 | 
	
		
			
				|  |  |     },
 | 
	
		
			
				|  |  |     {
 | 
	
		
			
				|  |  |      title: '备注(notes)',
 | 
	
	
		
			
				|  | @@ -87,19 +88,35 @@ export const formSchema: FormSchema[] = [
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      label: '客户(customer)',
 | 
	
		
			
				|  |  |      field: 'customerId',
 | 
	
		
			
				|  |  | -    component: 'JDictSelectTag',
 | 
	
		
			
				|  |  | -    componentProps:{
 | 
	
		
			
				|  |  | -        dictCode: 'customer',
 | 
	
		
			
				|  |  | -     },
 | 
	
		
			
				|  |  | -     required: true
 | 
	
		
			
				|  |  | +    component: 'ApiSelect',
 | 
	
		
			
				|  |  | +    // componentProps:{
 | 
	
		
			
				|  |  | +    //     dictCode: 'customer',
 | 
	
		
			
				|  |  | +    //  },
 | 
	
		
			
				|  |  | +     required: true,
 | 
	
		
			
				|  |  | +     componentProps: {
 | 
	
		
			
				|  |  | +             // mode: 'multiple',//multiple: 多选;不填写为单选
 | 
	
		
			
				|  |  | +             //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
 | 
	
		
			
				|  |  | +             api: ()=> defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1' }),
 | 
	
		
			
				|  |  | +             //数值转成String
 | 
	
		
			
				|  |  | +             numberToString: false,
 | 
	
		
			
				|  |  | +             //标题字段
 | 
	
		
			
				|  |  | +             labelField: 'name',
 | 
	
		
			
				|  |  | +             //值字段
 | 
	
		
			
				|  |  | +             valueField: 'id',
 | 
	
		
			
				|  |  | +             //请求参数
 | 
	
		
			
				|  |  | +             params:{},
 | 
	
		
			
				|  |  | +             //返回结果字段
 | 
	
		
			
				|  |  | +             resultField:'records'
 | 
	
		
			
				|  |  | +           },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      label: '编码(code)',
 | 
	
		
			
				|  |  |      field: 'code',
 | 
	
		
			
				|  |  |      component: 'Input',
 | 
	
		
			
				|  |  |      componentProps: {
 | 
	
		
			
				|  |  | -      placeholder:'请输入,为空则自动生成'
 | 
	
		
			
				|  |  | +      placeholder:'自动生成'
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    dynamicDisabled:true
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      label: '名称(name)',
 | 
	
	
		
			
				|  | @@ -141,4 +158,4 @@ export const superQuerySchema = {
 | 
	
		
			
				|  |  |  export function getBpmFormSchema(_formData): FormSchema[]{
 | 
	
		
			
				|  |  |    // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
 | 
	
		
			
				|  |  |    return formSchema;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | +}
 |