|
|
|
|
7
|
import { getCardList } from '@/services/card'
|
7
|
import { getCardList } from '@/services/card'
|
8
|
import { uploadFiles, fetch } from '@/utils/request'
|
8
|
import { uploadFiles, fetch } from '@/utils/request'
|
9
|
import { API_MARKETING_VISIT } from '@/constants/api'
|
9
|
import { API_MARKETING_VISIT } from '@/constants/api'
|
|
|
10
|
+import { formatDate } from '@/utils/chatDate'
|
10
|
import '@/assets/css/iconfont.css'
|
11
|
import '@/assets/css/iconfont.css'
|
11
|
import './index.scss'
|
12
|
import './index.scss'
|
12
|
|
13
|
|
|
|
|
|
18
|
const [channelCustomer, setChannelCustomer] = useState({})
|
19
|
const [channelCustomer, setChannelCustomer] = useState({})
|
19
|
const [consultantList, setConsultantList] = useState([])
|
20
|
const [consultantList, setConsultantList] = useState([])
|
20
|
const [consultant, setConsultant] = useState()
|
21
|
const [consultant, setConsultant] = useState()
|
21
|
- const [visitDate, setVisitDate] = useState()
|
|
|
|
|
22
|
+ const [visitDate, setVisitDate] = useState(formatDate(Date.now(), 'yyyy-MM-dd'))
|
22
|
const [imageUrl, setImageUrl] = useState()
|
23
|
const [imageUrl, setImageUrl] = useState()
|
23
|
const [remark, setRemark] = useState()
|
24
|
const [remark, setRemark] = useState()
|
24
|
|
25
|
|