From c25bde50c087f7814d88533b46772f94c3373c82 Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Wed, 11 Sep 2024 11:09:05 +0800
Subject: [PATCH] 修改

---
 gz-customerSystem/src/views/register/visit/component/levelDetail.jsx |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/gz-customerSystem/src/views/register/visit/component/levelDetail.jsx b/gz-customerSystem/src/views/register/visit/component/levelDetail.jsx
index c48c6e5..cfdf31f 100644
--- a/gz-customerSystem/src/views/register/visit/component/levelDetail.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/levelDetail.jsx
@@ -2,7 +2,7 @@
  * @Author: dminyi 1301963064@qq.com
  * @Date: 2024-08-27 16:47:12
  * @LastEditors: dminyi 1301963064@qq.com
- * @LastEditTime: 2024-09-08 15:06:05
+ * @LastEditTime: 2024-09-11 10:12:32
  * @FilePath: \gzDyh\gz-customerSystem\src\views\register\visit\component\levelDetail.jsx
  * @Description: 右抽屉提示
  */
@@ -22,7 +22,7 @@
         <MyDrawer
             visible={visible}
             onClose={onClose}
-            title="事件等级指南"
+            title="事件等级"
             width={1000}
             style={{ position: 'absolute' }}
             bodyStyle={{ marginTop: '-8px' }}
@@ -70,7 +70,7 @@
         <MyDrawer
             visible={visible}
             onClose={onClose}
-            title="事项概况指南"
+            title="事项概况"
             width={1000}
             style={{ position: 'absolute' }}
             bodyStyle={{ marginTop: '-8px' }}
@@ -110,7 +110,7 @@
 
 }
 
-const AiQuestion = ({ visible, onClose, aiData, aiLawData }) => {
+const AiQuestion = ({ visible, onClose, aiData, aiLawData,caseDetailAi }) => {
     const [list, setList] = useState([
         // {
         //     id: '1',
@@ -129,10 +129,8 @@
         // },
     ])
     const [caseDetailView, setCaseDetailView] = useState({})
-
     const [modalType, setModalType] = useState('case')
     const [lawDetail, setLawDetail] = useState({})
-
     const [layerList, setLayerList] = useState([
         {
             id: '1',
@@ -180,11 +178,6 @@
         }
     }
 
-
-
-
-
-
     useEffect(() => {
         setList(aiData);
         setLayerList(aiLawData);
@@ -209,7 +202,7 @@
                             <div className='aiBox-case-logo'>
                                 <img src={caselogo} alt='' className='aiBox-case-logo-img' />
                             </div>
-                            <div style={{ flex: 1 }}>刘家健入职吴昆物流公司工作6天,因不适应工作内容、环境等,向吴昆物流公司提出离职申请,但公司称入职1周内因个人原因辞职不予支付工资。刘家健因此向社区调委会申请调解。刘家健希望吴昆物流公司支付6天的工资。经调解,双方达成一致意见,吴昆物流公司同意支付刘家健6天的工资共计1575元。基于这个案件生成合理的调解策略.</div>
+                            <div style={{ flex: 1,marginTop:'4px' }}>{caseDetailAi}</div>
                         </div>
                         <div className='marginLeft'>
                             <div className='marginLeft-title'>相关案例:</div>
@@ -230,7 +223,7 @@
                                     <div className='aiBox-list-item'>
                                         <div className='aiBox-list-item-type'>相关法条</div>
                                         <div className='aiBox-list-item-name'>{item.lawTitle}{item.lawIndex}</div>
-                                        <div className='aiBox-list-item-btn' onClick={() => toggleView('law', item.lawInfoId)}>查看</div>
+                                        <div className='aiBox-list-item-btn' onClick={() => toggleView('law', item.lawInfoId)} >查看</div>
                                     </div>
                                 ))}
                             </div>

--
Gitblit v1.8.0