From d487bd6bf436ccd37c61681f4f20d5d3520c0bda Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Fri, 16 Aug 2024 09:55:50 +0800 Subject: [PATCH] 弹窗 --- gz-customerSystem/src/assets/images/index.js | 4 +++- gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx | 3 +++ gz-customerSystem/src/assets/images/closeIcon.png | 0 gz-customerSystem/src/components/MyModal/index.jsx | 6 ++++-- gz-customerSystem/src/api/appUrl.js | 10 +++++----- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/gz-customerSystem/src/api/appUrl.js b/gz-customerSystem/src/api/appUrl.js index cc05266..ef578d3 100644 --- a/gz-customerSystem/src/api/appUrl.js +++ b/gz-customerSystem/src/api/appUrl.js @@ -2,20 +2,20 @@ * @Company: hugeInfo * @Author: ldh * @Date: 2022-02-16 11:25:57 - * @LastEditTime: 2024-08-15 14:23:32 + * @LastEditTime: 2024-08-16 09:32:18 * @LastEditors: dminyi 1301963064@qq.com * @Version: 1.0.0 * @Description: api地址 */ export const debug = { // web服务 - baseUrl: 'http://gz.hugeinfo.com.cn', - // baseUrl: 'http://192.168.3.108:9002', + // baseUrl: 'http://gz.hugeinfo.com.cn', + baseUrl: 'http://192.168.3.108:9002', // baseUrl: 'http://mdqgnh.natappfree.cc', // 附件服务 - // fileUrl: 'http://192.168.3.108:9002', - fileUrl: 'http://gz.hugeinfo.com.cn', + fileUrl: 'http://192.168.3.108:9002', + // fileUrl: 'http://gz.hugeinfo.com.cn', // 文件查看url 后面接附件编号 diff --git a/gz-customerSystem/src/assets/images/closeIcon.png b/gz-customerSystem/src/assets/images/closeIcon.png new file mode 100644 index 0000000..adb4159 --- /dev/null +++ b/gz-customerSystem/src/assets/images/closeIcon.png Binary files differ diff --git a/gz-customerSystem/src/assets/images/index.js b/gz-customerSystem/src/assets/images/index.js index 3e6047c..1d1ecfe 100644 --- a/gz-customerSystem/src/assets/images/index.js +++ b/gz-customerSystem/src/assets/images/index.js @@ -41,6 +41,7 @@ import applyMaterials_active from './applyMaterials_active.png'; import evidenceMaterials from './evidenceMaterials.png'; import evidenceMaterials_active from './evidenceMaterials_active.png'; +import closeIcon from './closeIcon.png'; export { ledger_1, @@ -76,5 +77,6 @@ applyMaterials, applyMaterials_active, evidenceMaterials, - evidenceMaterials_active + evidenceMaterials_active, + closeIcon }; diff --git a/gz-customerSystem/src/components/MyModal/index.jsx b/gz-customerSystem/src/components/MyModal/index.jsx index 1d20e13..b7a4bb6 100644 --- a/gz-customerSystem/src/components/MyModal/index.jsx +++ b/gz-customerSystem/src/components/MyModal/index.jsx @@ -2,14 +2,15 @@ * @Company: hugeInfo * @Author: ldh * @Date: 2022-06-21 10:11:01 - * @LastEditTime: 2023-05-12 20:43:00 - * @LastEditors: lwh + * @LastEditTime: 2024-08-15 18:04:15 + * @LastEditors: dminyi 1301963064@qq.com * @Version: 1.0.0 * @Description: 我的Modal */ import React from 'react'; import PropTypes from 'prop-types'; import { Button, Modal, Space } from 'antd'; +import { CloseCircleFilled, } from '@ant-design/icons'; import './index.less'; const MyModal = ({ @@ -38,6 +39,7 @@ onCancel={onCancel} zIndex={zIndex} centered={centered} + closeIcon={<CloseCircleFilled style={{color:'#86909C'}}/>} > {!!title && ( <div className="myModal-header"> diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx index 3197a9f..1002c5d 100644 --- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx +++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx @@ -79,6 +79,8 @@ }} tip='支持png、 jpg、excel、word、pdf等格式的文件上传,每次上传大小不超过10M' /> + + </FormItem> </Col> </> @@ -518,6 +520,7 @@ rows={5} placeholder='' wrapperStyle={{ width: '100%' }} + defaultValue='识别内容' /> <div style={{ marginTop: '24px' }}><Button type="primary" onClick={() => setScaned(true)}>使用文字</Button></div> </MyModal> -- Gitblit v1.8.0