From 39778aeae60fc28ada17e07d0e56454d759c6e8c Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Jun 2022 10:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BC=B9=E7=AA=97=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/customerservice/support/conversation/index.jsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/customerservice/support/conversation/index.jsx b/src/pages/customerservice/support/conversation/index.jsx index 2d6e13f..1649100 100644 --- a/src/pages/customerservice/support/conversation/index.jsx +++ b/src/pages/customerservice/support/conversation/index.jsx @@ -442,6 +442,13 @@ useEffect(() => { isRateModalVisible={isRateModalVisible} closeWin={()=>{ if(sessionStorage.getItem('CUSTOMERSERVICE_CONVERSATIONID')!=null && sessionStorage.getItem('CUSTOMERSERVICE_CONVERSATIONID')!='EMPTY'){ + let conversationId = sessionStorage.getItem('CUSTOMERSERVICE_CONVERSATIONID') + API.estimate({id: conversationId, endTime: moment(new Date()).format('yyyy-MM-DD HH:mm:ss')}).then(res=>{ + if (res && res.success) { + }else{ + //message.warn(res && res.message) + } + }) setIsRateModalVisible(true) } setShow(false)