|
@@ -113,6 +113,18 @@ export const columns: BasicColumn[] = [
|
|
|
return sexMap[text] || '未知';
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '微信类型',
|
|
|
+ dataIndex: 'ctype',
|
|
|
+ width: 120,
|
|
|
+ customRender: ({ record }) => {
|
|
|
+ const typeMap = {
|
|
|
+ 1: '个微',
|
|
|
+ 3: '企微'
|
|
|
+ };
|
|
|
+ return typeMap[record.ctype] || '-';
|
|
|
+ }
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
@@ -156,6 +168,24 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
component: 'Input',
|
|
|
colProps: { span: 8 },
|
|
|
},
|
|
|
+ {
|
|
|
+ field: 'ctype',
|
|
|
+ label: '微信类型',
|
|
|
+ component: 'Select',
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: '个微',
|
|
|
+ value: 1,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '企微',
|
|
|
+ value: 3,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ colProps: { span: 8 },
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
export const formSchema: FormSchema[] = [
|