260728_02_ENH: SID String으로 교체
This commit is contained in:
@@ -124,7 +124,7 @@ const ContactEventSection = ({
|
||||
const isContactType = resultCodeType === ResultCodeType.CONTACT
|
||||
|
||||
const historyQuery = useListEventHistoryQuery(prjctIdx, sid, true)
|
||||
const ctiLastCallHistId = useCtiLastCallHistId(prjctIdx, Number(sid))
|
||||
const ctiLastCallHistId = useCtiLastCallHistId(prjctIdx, sid)
|
||||
const listCallHistIdx = isContactType ? ctiLastCallHistId : null
|
||||
|
||||
const handleResultCdChange = (next: string) => {
|
||||
@@ -309,7 +309,7 @@ const ListContactEventPanel = ({
|
||||
|
||||
await addListEventMutation.mutateAsync({
|
||||
prjctIdx,
|
||||
sid: Number(sid),
|
||||
sid,
|
||||
resultCodeType,
|
||||
resultCd,
|
||||
listCallHistIdx,
|
||||
@@ -321,7 +321,7 @@ const ListContactEventPanel = ({
|
||||
})
|
||||
|
||||
if (resveDt) {
|
||||
await reserveMutation.mutateAsync({ prjctIdx, sid: Number(sid), userId, resveDt })
|
||||
await reserveMutation.mutateAsync({ prjctIdx, sid, userId, resveDt })
|
||||
}
|
||||
|
||||
alert('등록되었습니다.')
|
||||
|
||||
@@ -156,7 +156,7 @@ const ListContactInfoPanel = ({
|
||||
}
|
||||
|
||||
if (!telNum) return
|
||||
ctiClient.makeCall({ dialNumber: telNum, prjctIdx, sid: Number(sid), listHderId, aniNumber: callerTelNum ?? '' })
|
||||
ctiClient.makeCall({ dialNumber: telNum, prjctIdx, sid, listHderId, aniNumber: callerTelNum ?? '' })
|
||||
}
|
||||
|
||||
const handlePickFile = (listHderId: number) => {
|
||||
|
||||
Reference in New Issue
Block a user