| | |
| | | * @Author: dminyi 1301963064@qq.com |
| | | * @Date: 2024-08-09 09:59:43 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @LastEditTime: 2024-08-13 16:05:42 |
| | | * @LastEditTime: 2024-08-14 15:30:40 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx |
| | | * @Description: 来访登记 |
| | | */ |
| | |
| | | import * as $$ from '../../../utils/utility'; |
| | | import "@arco-design/web-react/dist/css/arco.css"; |
| | | import '../index.less'; |
| | | import { Space } from 'antd'; |
| | | import { message, Space } from 'antd'; |
| | | import {Button } from '@arco-design/web-react'; |
| | | import VisitorRegister from './visitorRegister'; |
| | | import Preview from './preview'; |
| | |
| | | |
| | | //保存信息 |
| | | const handleSubmit = async () => { |
| | | message.success({top:100, content: (<><span style={{fontSize:'16px',fontWeight:'bold'}}>登记成功</span><div>大厅来访登记成功</div></>),}) |
| | | } |
| | | |
| | | //预览信息 |
| | | const handleReview = () => { |
| | | setIsReview(!isReview) |
| | | } |
| | | |
| | | function selfAcceptance() { |
| | | $$.modalInfo({ |
| | | title: '自行受理确认', |
| | | content: '确定自行受理本次登记事项吗?自行受理成功后事项将直接进入到本单位办理流程', |
| | | okText: '确定受理', |
| | | cancelText: '我再想想', |
| | | onOk: async () => { |
| | | console.log('1111111') |
| | | }, |
| | | }); |
| | | |
| | | } |
| | | |
| | | function submit() { |
| | | $$.info({ type: 'warning', content: '您没有预约记录,暂时无法提交' }) |
| | | } |
| | | |
| | | |
| | |
| | | <Button type="primary" style={{ backgroundColor: '#1A6FB8' }} >保存信息</Button> |
| | | <Button type='outline' style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} onClick={handleReview}>预览信息</Button> |
| | | <Button type='outline' style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} onClick={handleSubmit}>提交信息</Button> |
| | | <Button type='outline' style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }}>自行受理</Button> |
| | | <Button type='outline' style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} onClick={() => selfAcceptance()}>自行受理</Button> |
| | | <Button type='secondary' onClick={handleReview}>返回上级页面</Button> |
| | | </Space> |
| | | </div> |
| | | </Fragment> |
| | | } |
| | | {/* {preview && <Preview />} */} |
| | | </NewPage> |
| | | |
| | | </div> |