|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
import { useState } from 'react';
|
|
|
|
|
import { App, Button, Form, Input } from 'antd';
|
|
|
|
|
import SearchInput from '@/components/SearchInput';
|
|
|
|
|
import { fetchSalesAgent, fetchSalesAgentWithDD } from '@/actions/CommonActions';
|
|
|
|
|
import { fetchSalesAgentWithDD } from '@/actions/CommonActions';
|
|
|
|
|
import { postAssignConversation } from '@/actions/ConversationActions';
|
|
|
|
|
import useAuthStore from '@/stores/AuthStore';
|
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ const InputAssign = ({ initialValues, ...props }) => {
|
|
|
|
|
<>
|
|
|
|
|
<Form layout={'inline'} form={form} initialValues={initialValues} onFinish={handleSubmit} {...props}>
|
|
|
|
|
<Form.Item label='分配至' name='opi_sn' rules={[{ required: true, message: '请选择分配的顾问' }]}>
|
|
|
|
|
<SearchInput placeholder='搜索顾问, 如Coco' fetchOptions={fetchSalesAgent} allowClear={true} />
|
|
|
|
|
<SearchInput placeholder='搜索顾问, 如Coco' fetchOptions={fetchSalesAgentWithDD} allowClear={true} />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item hidden name='conversationid'>
|
|
|
|
|
<Input />
|
|
|
|
|