|
@@ -204,80 +204,138 @@ const Clients: React.FC = () => {
|
|
|
// 表格列定义
|
|
// 表格列定义
|
|
|
const columns = [
|
|
const columns = [
|
|
|
{
|
|
{
|
|
|
- title: 'ID',
|
|
|
|
|
- dataIndex: 'id',
|
|
|
|
|
- key: 'id',
|
|
|
|
|
- width: 80,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: '公司名称',
|
|
|
|
|
|
|
+ title: '项目名称',
|
|
|
dataIndex: 'companyName',
|
|
dataIndex: 'companyName',
|
|
|
key: 'companyName',
|
|
key: 'companyName',
|
|
|
|
|
+ width: 200,
|
|
|
|
|
+ ellipsis: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '所在区域',
|
|
|
|
|
|
|
+ title: '省份',
|
|
|
dataIndex: 'areaId',
|
|
dataIndex: 'areaId',
|
|
|
- key: 'areaId',
|
|
|
|
|
|
|
+ key: 'province',
|
|
|
|
|
+ width: 100,
|
|
|
render: (areaId: number) => {
|
|
render: (areaId: number) => {
|
|
|
const area = areas.find(a => a.id === areaId);
|
|
const area = areas.find(a => a.id === areaId);
|
|
|
return area ? area.name : '-';
|
|
return area ? area.name : '-';
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '联系人',
|
|
|
|
|
- dataIndex: 'contactPerson',
|
|
|
|
|
- key: 'contactPerson',
|
|
|
|
|
|
|
+ title: '地区',
|
|
|
|
|
+ dataIndex: 'areaId',
|
|
|
|
|
+ key: 'region',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ render: (areaId: number) => {
|
|
|
|
|
+ const area = areas.find(a => a.id === areaId);
|
|
|
|
|
+ return area ? area.name : '-';
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '联系电话',
|
|
|
|
|
- dataIndex: 'mobile',
|
|
|
|
|
- key: 'mobile',
|
|
|
|
|
|
|
+ title: '登记审核',
|
|
|
|
|
+ dataIndex: 'auditStatus',
|
|
|
|
|
+ key: 'auditStatus',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ render: (status: number) => {
|
|
|
|
|
+ const statusMap = {
|
|
|
|
|
+ 0: { text: '待审核', color: 'orange' },
|
|
|
|
|
+ 1: { text: '已审核', color: 'green' },
|
|
|
|
|
+ 2: { text: '已拒绝', color: 'red' }
|
|
|
|
|
+ };
|
|
|
|
|
+ const config = statusMap[status as keyof typeof statusMap] || { text: '-', color: 'default' };
|
|
|
|
|
+ return <span style={{ color: config.color }}>{config.text}</span>;
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '客户状态',
|
|
|
|
|
- dataIndex: 'status',
|
|
|
|
|
- key: 'status',
|
|
|
|
|
- render: (status: number) => (
|
|
|
|
|
- <span>{status === 1 ? '有效' : '无效'}</span>
|
|
|
|
|
- ),
|
|
|
|
|
|
|
+ title: '主产品/合同估额',
|
|
|
|
|
+ dataIndex: 'description',
|
|
|
|
|
+ key: 'productAmount',
|
|
|
|
|
+ width: 180,
|
|
|
|
|
+ ellipsis: true,
|
|
|
|
|
+ render: (description: string) => description || '-',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '审核状态',
|
|
|
|
|
- dataIndex: 'auditStatus',
|
|
|
|
|
- key: 'auditStatus',
|
|
|
|
|
- render: (status: number) => {
|
|
|
|
|
- switch (status) {
|
|
|
|
|
- case 0: return <span>待审核</span>;
|
|
|
|
|
- case 1: return <span>已审核</span>;
|
|
|
|
|
- case 2: return <span>已拒绝</span>;
|
|
|
|
|
- default: return <span>-</span>;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ title: '投资方',
|
|
|
|
|
+ dataIndex: 'industry',
|
|
|
|
|
+ key: 'investor',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ ellipsis: true,
|
|
|
|
|
+ render: (industry: string) => industry || '-',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '产品大类',
|
|
|
|
|
+ dataIndex: 'customerType',
|
|
|
|
|
+ key: 'productCategory',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ ellipsis: true,
|
|
|
|
|
+ render: (customerType: string) => customerType || '-',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '业务员',
|
|
|
|
|
+ dataIndex: 'responsibleUserId',
|
|
|
|
|
+ key: 'salesperson',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ render: (responsibleUserId: number) => {
|
|
|
|
|
+ // 这里需要根据实际业务关联用户表
|
|
|
|
|
+ return responsibleUserId || '-';
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title: '创建时间',
|
|
|
|
|
- dataIndex: 'createdAt',
|
|
|
|
|
- key: 'createdAt',
|
|
|
|
|
|
|
+ title: '联系人/电话',
|
|
|
|
|
+ key: 'contactPhone',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
- render: (date: string) => new Date(date).toLocaleString(),
|
|
|
|
|
|
|
+ render: (_: any, record: ClientItem) => (
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div>{record.contactPerson || '-'}</div>
|
|
|
|
|
+ <div className="text-gray-500 text-sm">{record.mobile || record.telephone || '-'}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ),
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '预计投标时间',
|
|
|
|
|
+ dataIndex: 'oeDate',
|
|
|
|
|
+ key: 'bidTime',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ render: (date: string) => {
|
|
|
|
|
+ return date ? new Date(date).toLocaleDateString() : '-';
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '更新时间',
|
|
|
|
|
+ dataIndex: 'updatedAt',
|
|
|
|
|
+ key: 'updatedAt',
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ render: (date: string) => new Date(date).toLocaleDateString(),
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '操作员',
|
|
|
|
|
+ dataIndex: 'responsibleUserId',
|
|
|
|
|
+ key: 'operator',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ render: (responsibleUserId: number) => {
|
|
|
|
|
+ // 这里需要根据实际业务关联用户表
|
|
|
|
|
+ return responsibleUserId || '-';
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '操作',
|
|
title: '操作',
|
|
|
key: 'action',
|
|
key: 'action',
|
|
|
- width: 180,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ fixed: 'right' as const,
|
|
|
render: (_: any, record: ClientItem) => (
|
|
render: (_: any, record: ClientItem) => (
|
|
|
- <Space size="middle">
|
|
|
|
|
- <Button
|
|
|
|
|
- type="text"
|
|
|
|
|
- icon={<EditOutlined />}
|
|
|
|
|
|
|
+ <Space size="small">
|
|
|
|
|
+ <Button
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ type="link"
|
|
|
|
|
+ icon={<EditOutlined />}
|
|
|
onClick={() => showModal(record)}
|
|
onClick={() => showModal(record)}
|
|
|
>
|
|
>
|
|
|
编辑
|
|
编辑
|
|
|
</Button>
|
|
</Button>
|
|
|
- <Button
|
|
|
|
|
- type="text"
|
|
|
|
|
- danger
|
|
|
|
|
- icon={<DeleteOutlined />}
|
|
|
|
|
|
|
+ <Button
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ danger
|
|
|
|
|
+ icon={<DeleteOutlined />}
|
|
|
onClick={() => handleDelete(record.id)}
|
|
onClick={() => handleDelete(record.id)}
|
|
|
>
|
|
>
|
|
|
删除
|
|
删除
|
|
@@ -288,47 +346,74 @@ const Clients: React.FC = () => {
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <div className="p-4">
|
|
|
|
|
- <div className="flex justify-between items-center mb-4">
|
|
|
|
|
- <h2 className="text-xl font-bold">客户管理</h2>
|
|
|
|
|
- <Button
|
|
|
|
|
- type="primary"
|
|
|
|
|
- icon={<PlusOutlined />}
|
|
|
|
|
|
|
+ <div className="p-6">
|
|
|
|
|
+ <div className="mb-6 flex justify-between items-center">
|
|
|
|
|
+ <h2 className="text-2xl font-bold text-gray-800">客户管理</h2>
|
|
|
|
|
+ <Button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ icon={<PlusOutlined />}
|
|
|
onClick={() => showModal()}
|
|
onClick={() => showModal()}
|
|
|
|
|
+ className="shadow-sm hover:shadow-md transition-all duration-200"
|
|
|
>
|
|
>
|
|
|
添加客户
|
|
添加客户
|
|
|
</Button>
|
|
</Button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="mb-4">
|
|
|
|
|
- <Input
|
|
|
|
|
- placeholder="搜索公司名称或联系人"
|
|
|
|
|
- prefix={<SearchOutlined />}
|
|
|
|
|
- value={searchText}
|
|
|
|
|
- onChange={(e) => setSearchText(e.target.value)}
|
|
|
|
|
- onPressEnter={handleSearch}
|
|
|
|
|
- style={{ width: 300 }}
|
|
|
|
|
- />
|
|
|
|
|
- <Button type="default" onClick={handleSearch} style={{ marginLeft: 8 }}>
|
|
|
|
|
- 搜索
|
|
|
|
|
- </Button>
|
|
|
|
|
|
|
+ <div className="mb-6 p-4 bg-white rounded-lg shadow-sm">
|
|
|
|
|
+ <div className="flex items-center space-x-4">
|
|
|
|
|
+ <Input
|
|
|
|
|
+ placeholder="搜索项目名称、联系人或电话"
|
|
|
|
|
+ prefix={<SearchOutlined />}
|
|
|
|
|
+ value={searchText}
|
|
|
|
|
+ onChange={(e) => setSearchText(e.target.value)}
|
|
|
|
|
+ onPressEnter={handleSearch}
|
|
|
|
|
+ className="max-w-md"
|
|
|
|
|
+ allowClear
|
|
|
|
|
+ />
|
|
|
|
|
+ <Button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ onClick={handleSearch}
|
|
|
|
|
+ className="hover:shadow-md transition-all duration-200"
|
|
|
|
|
+ >
|
|
|
|
|
+ 搜索
|
|
|
|
|
+ </Button>
|
|
|
|
|
+ <Button onClick={() => {
|
|
|
|
|
+ setSearchText('');
|
|
|
|
|
+ setPagination({ ...pagination, current: 1 });
|
|
|
|
|
+ }}>
|
|
|
|
|
+ 重置
|
|
|
|
|
+ </Button>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <Table
|
|
|
|
|
- columns={columns}
|
|
|
|
|
- dataSource={clientsData?.data || []}
|
|
|
|
|
- rowKey="id"
|
|
|
|
|
- loading={clientsLoading}
|
|
|
|
|
- pagination={{
|
|
|
|
|
- ...pagination,
|
|
|
|
|
- total: clientsData?.pagination.total || 0
|
|
|
|
|
- }}
|
|
|
|
|
- onChange={handleTableChange}
|
|
|
|
|
- bordered
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <div className="bg-white rounded-lg shadow-sm overflow-hidden">
|
|
|
|
|
+ <Table
|
|
|
|
|
+ columns={columns}
|
|
|
|
|
+ dataSource={clientsData?.data || []}
|
|
|
|
|
+ rowKey="id"
|
|
|
|
|
+ loading={clientsLoading}
|
|
|
|
|
+ pagination={{
|
|
|
|
|
+ ...pagination,
|
|
|
|
|
+ total: clientsData?.pagination.total || 0,
|
|
|
|
|
+ showSizeChanger: true,
|
|
|
|
|
+ showQuickJumper: true,
|
|
|
|
|
+ showTotal: (total, range) =>
|
|
|
|
|
+ `显示 ${range[0]}-${range[1]} 条,共 ${total} 条`,
|
|
|
|
|
+ pageSizeOptions: [10, 20, 50, 100],
|
|
|
|
|
+ responsive: true,
|
|
|
|
|
+ }}
|
|
|
|
|
+ onChange={handleTableChange}
|
|
|
|
|
+ bordered={false}
|
|
|
|
|
+ scroll={{ x: 1500 }}
|
|
|
|
|
+ className="w-full"
|
|
|
|
|
+ rowClassName={(record, index) =>
|
|
|
|
|
+ index % 2 === 0 ? 'bg-white hover:bg-gray-50' : 'bg-gray-50 hover:bg-gray-100'
|
|
|
|
|
+ }
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
<Modal
|
|
<Modal
|
|
|
- title={editingKey ? "编辑客户" : "添加客户"}
|
|
|
|
|
|
|
+ title={editingKey ? "编辑项目" : "添加项目"}
|
|
|
open={modalVisible}
|
|
open={modalVisible}
|
|
|
onCancel={handleCancel}
|
|
onCancel={handleCancel}
|
|
|
footer={[
|
|
footer={[
|
|
@@ -342,125 +427,107 @@ const Clients: React.FC = () => {
|
|
|
width={800}
|
|
width={800}
|
|
|
>
|
|
>
|
|
|
<Form form={form} layout="vertical">
|
|
<Form form={form} layout="vertical">
|
|
|
- <Form.Item
|
|
|
|
|
- name="companyName"
|
|
|
|
|
- label="公司名称"
|
|
|
|
|
- rules={[{ required: true, message: '请输入公司名称' }]}
|
|
|
|
|
- >
|
|
|
|
|
- <Input placeholder="请输入公司名称" />
|
|
|
|
|
- </Form.Item>
|
|
|
|
|
-
|
|
|
|
|
<div className="grid grid-cols-2 gap-4">
|
|
<div className="grid grid-cols-2 gap-4">
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="areaId"
|
|
|
|
|
- label="所在区域"
|
|
|
|
|
|
|
+ name="companyName"
|
|
|
|
|
+ label="项目名称"
|
|
|
|
|
+ rules={[{ required: true, message: '请输入项目名称' }]}
|
|
|
>
|
|
>
|
|
|
- <AreaTreeSelect
|
|
|
|
|
- placeholder="请选择区域"
|
|
|
|
|
- value={form.getFieldValue('areaId') || undefined}
|
|
|
|
|
- onChange={(value) => form.setFieldValue('areaId', value)}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <Input placeholder="请输入项目名称" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="square"
|
|
|
|
|
- label="场地面积"
|
|
|
|
|
|
|
+ name="auditStatus"
|
|
|
|
|
+ label="登记审核"
|
|
|
|
|
+ initialValue={0}
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入场地面积" />
|
|
|
|
|
|
|
+ <Select>
|
|
|
|
|
+ <Select.Option value={0}>待审核</Select.Option>
|
|
|
|
|
+ <Select.Option value={1}>已审核</Select.Option>
|
|
|
|
|
+ <Select.Option value={2}>已拒绝</Select.Option>
|
|
|
|
|
+ </Select>
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <Form.Item
|
|
|
|
|
- name="address"
|
|
|
|
|
- label="客户地址"
|
|
|
|
|
- >
|
|
|
|
|
- <Input placeholder="请输入客户地址" />
|
|
|
|
|
- </Form.Item>
|
|
|
|
|
-
|
|
|
|
|
<div className="grid grid-cols-2 gap-4">
|
|
<div className="grid grid-cols-2 gap-4">
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="contactPerson"
|
|
|
|
|
- label="联系人姓名"
|
|
|
|
|
- >
|
|
|
|
|
- <Input placeholder="请输入联系人姓名" />
|
|
|
|
|
- </Form.Item>
|
|
|
|
|
-
|
|
|
|
|
- <Form.Item
|
|
|
|
|
- name="position"
|
|
|
|
|
- label="联系人职位"
|
|
|
|
|
|
|
+ name="areaId"
|
|
|
|
|
+ label="省份/地区"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入联系人职位" />
|
|
|
|
|
|
|
+ <AreaTreeSelect
|
|
|
|
|
+ placeholder="请选择省份/地区"
|
|
|
|
|
+ value={form.getFieldValue('areaId') || undefined}
|
|
|
|
|
+ onChange={(value) => form.setFieldValue('areaId', value)}
|
|
|
|
|
+ />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div className="grid grid-cols-2 gap-4">
|
|
<div className="grid grid-cols-2 gap-4">
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="mobile"
|
|
|
|
|
- label="手机号码"
|
|
|
|
|
|
|
+ name="description"
|
|
|
|
|
+ label="主产品/合同估额"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入手机号码" />
|
|
|
|
|
|
|
+ <Input.TextArea rows={2} placeholder="请输入主产品或合同金额" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="telephone"
|
|
|
|
|
- label="联系电话"
|
|
|
|
|
|
|
+ name="industry"
|
|
|
|
|
+ label="投资方"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入联系电话" />
|
|
|
|
|
|
|
+ <Input placeholder="请输入投资方信息" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div className="grid grid-cols-2 gap-4">
|
|
<div className="grid grid-cols-2 gap-4">
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="email"
|
|
|
|
|
- label="电子邮箱"
|
|
|
|
|
|
|
+ name="customerType"
|
|
|
|
|
+ label="产品大类"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入电子邮箱" />
|
|
|
|
|
|
|
+ <Input placeholder="请输入产品大类" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="zipCode"
|
|
|
|
|
- label="邮政编码"
|
|
|
|
|
|
|
+ name="responsibleUserId"
|
|
|
|
|
+ label="业务员"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入邮政编码" />
|
|
|
|
|
|
|
+ <Input type="number" placeholder="请输入业务员ID" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
+ <Form.Item
|
|
|
|
|
+ name="address"
|
|
|
|
|
+ label="地址"
|
|
|
|
|
+ >
|
|
|
|
|
+ <Input placeholder="请输入详细地址" />
|
|
|
|
|
+ </Form.Item>
|
|
|
|
|
+
|
|
|
<div className="grid grid-cols-2 gap-4">
|
|
<div className="grid grid-cols-2 gap-4">
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="industry"
|
|
|
|
|
- label="所属行业"
|
|
|
|
|
|
|
+ name="contactPerson"
|
|
|
|
|
+ label="联系人"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入所属行业" />
|
|
|
|
|
|
|
+ <Input placeholder="请输入联系人姓名" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="subIndustry"
|
|
|
|
|
- label="所属子行业"
|
|
|
|
|
|
|
+ name="mobile"
|
|
|
|
|
+ label="联系电话"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入所属子行业" />
|
|
|
|
|
|
|
+ <Input placeholder="请输入联系电话" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div className="grid grid-cols-2 gap-4">
|
|
<div className="grid grid-cols-2 gap-4">
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
- name="customerType"
|
|
|
|
|
- label="客户类型"
|
|
|
|
|
|
|
+ name="oeDate"
|
|
|
|
|
+ label="预计投标时间"
|
|
|
>
|
|
>
|
|
|
- <Input placeholder="请输入客户类型" />
|
|
|
|
|
|
|
+ <Input placeholder="请输入预计投标时间" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
- <Form.Item
|
|
|
|
|
- name="source"
|
|
|
|
|
- label="客户来源"
|
|
|
|
|
- >
|
|
|
|
|
- <Input placeholder="请输入客户来源" />
|
|
|
|
|
- </Form.Item>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div className="grid grid-cols-2 gap-4">
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
name="status"
|
|
name="status"
|
|
|
- label="客户状态"
|
|
|
|
|
|
|
+ label="项目状态"
|
|
|
initialValue={1}
|
|
initialValue={1}
|
|
|
>
|
|
>
|
|
|
<Select>
|
|
<Select>
|
|
@@ -468,32 +535,13 @@ const Clients: React.FC = () => {
|
|
|
<Select.Option value={1}>有效</Select.Option>
|
|
<Select.Option value={1}>有效</Select.Option>
|
|
|
</Select>
|
|
</Select>
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
-
|
|
|
|
|
- <Form.Item
|
|
|
|
|
- name="auditStatus"
|
|
|
|
|
- label="审核状态"
|
|
|
|
|
- initialValue={0}
|
|
|
|
|
- >
|
|
|
|
|
- <Select>
|
|
|
|
|
- <Select.Option value={0}>待审核</Select.Option>
|
|
|
|
|
- <Select.Option value={1}>已审核</Select.Option>
|
|
|
|
|
- <Select.Option value={2}>已拒绝</Select.Option>
|
|
|
|
|
- </Select>
|
|
|
|
|
- </Form.Item>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <Form.Item
|
|
|
|
|
- name="description"
|
|
|
|
|
- label="客户详细信息"
|
|
|
|
|
- >
|
|
|
|
|
- <Input.TextArea rows={4} placeholder="请输入客户详细信息" />
|
|
|
|
|
- </Form.Item>
|
|
|
|
|
-
|
|
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
name="remarks"
|
|
name="remarks"
|
|
|
label="备注信息"
|
|
label="备注信息"
|
|
|
>
|
|
>
|
|
|
- <Input.TextArea rows={2} placeholder="请输入备注信息" />
|
|
|
|
|
|
|
+ <Input.TextArea rows={3} placeholder="请输入备注信息" />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
</Form>
|
|
</Form>
|
|
|
</Modal>
|
|
</Modal>
|