From 7fe7cb1eb40e3e169d821540b24590f76aa374d4 Mon Sep 17 00:00:00 2001 From: guoxin Date: Fri, 5 Jan 2024 10:27:04 +0800 Subject: [PATCH] =?UTF-8?q?fix():=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=86=85bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CallbackSuggestion/index.scss | 6 ++ .../CallbackSuggestion/loadable.jsx | 38 ++++++---- .../Staggered/StaggeredMgm/loadable.jsx | 83 +++++++++++++--------- src/pages/SystemMgm/RoleMgm/loadable.jsx | 2 +- 4 files changed, 78 insertions(+), 51 deletions(-) diff --git a/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/index.scss b/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/index.scss index e3d321d..5a9327e 100644 --- a/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/index.scss +++ b/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/index.scss @@ -385,6 +385,12 @@ $color-primary: var(--color-primary); } } .deal-reason { + .logpTip{ + display: flex; + .redLogo{ + line-height: 44px; + } + } .title { font-family: PingFangSC-Medium, diff --git a/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/loadable.jsx b/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/loadable.jsx index 36d152f..4c1bdcb 100644 --- a/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/loadable.jsx +++ b/src/pages/OperationCenter/CustomerServieMgm/CallbackSuggestion/loadable.jsx @@ -424,7 +424,7 @@ function CallbackSuggestion(props) { item.key = item.id return item }) - setOrderVisible(true) + setOrderVisible(true) setGetDealData({ ...getDealData, data: resDataArr @@ -448,19 +448,19 @@ function CallbackSuggestion(props) { const handleChoose = (value) => { setGetValueList(value) // setSubmitDeploy({ ...submitDeploy, change_content: value }) - if(value){ + if (value) { setSubmitDeploy({ ...submitDeploy, update_value: '', plate_type: '', change_content: value - }) + }) } } const [getAdjustTimeValue, setGetAdjustTimeValue] = useState(1) const handleAdjust = (value) => { setGetAdjustTimeValue(value) - submitDeploy.update_value='' + submitDeploy.update_value = '' } const handleAdjustTime = (v, dateString) => { setSubmitDeploy({ ...submitDeploy, update_value: dateString }) @@ -497,8 +497,9 @@ function CallbackSuggestion(props) { message.error('请输入处理理由') } else if (submitDeploy.change_content === '') { message.error('请选择对应的更改项') - } - else { + }else if (submitDeploy.update_value === '') { + message.error('请输入对应的更改项') + }else { ajax.submitData(data).then(res => { if (res.status === 20000) { setOrderVisible(false) @@ -627,10 +628,10 @@ function CallbackSuggestion(props) {
- -
-
处理理由
+
+
*
+
处理理由
+