From d9cfc78063fd297137fcbad3d299f8f135f99e4b Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Sun, 15 Sep 2024 12:17:37 +0800 Subject: [PATCH] 1、地域js顺序修改,2、自行受理跳转修改 --- gz-customerSystem/src/views/register/visit/preview.jsx | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/preview.jsx b/gz-customerSystem/src/views/register/visit/preview.jsx index 4d96783..1e608dc 100644 --- a/gz-customerSystem/src/views/register/visit/preview.jsx +++ b/gz-customerSystem/src/views/register/visit/preview.jsx @@ -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> @@ -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