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