From 0d40ce565cdc87668f83dbeddbf1246536986f9e Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sat, 14 Sep 2024 18:02:36 +0800
Subject: [PATCH] fix: 样式、自行排查

---
 gz-customerSystem/src/views/register/visit/preview.jsx |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/gz-customerSystem/src/views/register/visit/preview.jsx b/gz-customerSystem/src/views/register/visit/preview.jsx
index 308a020..1e608dc 100644
--- a/gz-customerSystem/src/views/register/visit/preview.jsx
+++ b/gz-customerSystem/src/views/register/visit/preview.jsx
@@ -2,7 +2,7 @@
  * @Author: dminyi 1301963064@qq.com
  * @Date: 2024-08-13 15:19:57
  * @LastEditors: dminyi 1301963064@qq.com
- * @LastEditTime: 2024-09-04 15:00:02
+ * @LastEditTime: 2024-09-12 11:42:43
  * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\preview.jsx
  * @Description: 预览信息
  */
@@ -12,6 +12,7 @@
 import { ApplyDialog, AgentDialog, Respondent, Company } from './component/previewTable'
 import FileTable from "../matterDetail/FileTable";
 import { link } from '@/assets/images';
+import PreviewImage from '@/components/PreviewImage';
 
 const Preview = (props) => {
   const [data, setData] = useState({})
@@ -145,9 +146,7 @@
         <Col span={8}>
           <div ><div className="title-text">问题属地</div></div>
           <div>
-            {props.data?.queProvName ?
-              `${props.data.queProvName}/${props.data.queCityName}/${props.data.queAreaName}/${props.data.queRoadName}`
-              : '-'
+            {props.data?.queAreaName ? `${props.data.queAreaName}/${props.data.queRoadName}` : '-'
             }
           </div>
         </Col>
@@ -161,7 +160,7 @@
         </Col>
         <Col span={8}>
           <div ><div className="title-text">事项来源</div></div>
-          <div>大厅来访</div>
+          <div>{props.data?.canalName}</div>
         </Col>
         <Col span={16}>
           <div ><div className="title-text">来访形式</div></div>
@@ -201,9 +200,9 @@
           </tr>
           <tr>
             <th bgcolor="#F7F8FA" className="table-title" width="120">受理时间</th>
-            <td width='380'>2024-7-1 10:00</td>
+            <td width='380'>{$$.minuteFormat(props.transactResult?.acceptTime) || '-'}</td>
             <th bgcolor="#F7F8FA" className="table-title" width="120">办结时间</th>
-            <td width='380'>{props.transactResult?.fileTime || '-'}</td>
+            <td width='380'>{$$.minuteFormat(props.transactResult?.closeTime) || '-'}</td>
           </tr>
           <tr>
             <th bgcolor="#F7F8FA" className="table-title" width="120">办理意见</th>
@@ -221,10 +220,11 @@
             <th bgcolor="#F7F8FA" className="table-title" width="120">协议文书</th>
             <td colspan='3'>
               {props.transactResult?.fileInfoBaseDTOList?.map((item, index) => {
-                return <a href="your-link-here.html" target="_blank">
-                  <img src={link} alt="" className="title-file" />{item.trueName}
-                  {index !== props.transactResult.fileInfoBaseDTOList.length - 1 && <>,</>}
-                </a>
+                console.log(item);
+                return <div style={{ display: 'inline-block' }}>
+                  <PreviewImage name={item.name} src={item.showUrl} />
+                  {index !== props.transactResult?.fileInfoBaseDTOList.length - 1 && <>,</>}
+                </div>
               })}
             </td>
           </tr>

--
Gitblit v1.8.0