From 86d82927381c21c538d25e55380cbe7c86acd811 Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Thu, 22 Aug 2024 14:11:53 +0800 Subject: [PATCH] 提交 --- gz-customerSystem/src/views/register/visit/index.jsx | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/index.jsx b/gz-customerSystem/src/views/register/visit/index.jsx index 14f6af8..2521a76 100644 --- a/gz-customerSystem/src/views/register/visit/index.jsx +++ b/gz-customerSystem/src/views/register/visit/index.jsx @@ -2,7 +2,7 @@ * @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-21 16:57:16 * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx * @Description: 来访登记 */ @@ -64,6 +64,23 @@ setIsReview(!isReview) } + function selfAcceptance() { + $$.modalInfo({ + title: '自行受理确认', + content: '确定自行受理本次登记事项吗?自行受理成功后事项将直接进入到本单位办理流程', + okText: '确定受理', + cancelText: '我再想想', + onOk: async () => { + console.log('1111111') + }, + }); + + } + + function submit() { + $$.info({ type: 'warning', content: '您没有预约记录,暂时无法提交' }) + } + return ( <div style={{ position: 'relative' }}> @@ -78,15 +95,16 @@ {isReview ? <Preview /> : <VisitorRegister formRef={formRef} />} <div className="dataSync-excel"> <Space size="large" style={{ margin: '4px 14px' }}> - <Button type="primary" style={{ backgroundColor: '#1A6FB8' }} onClick={handleSave} >保存信息</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="primary" style={{ backgroundColor: '#1A6FB8' }} onClick={handleSave} >保存</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' }} onClick={() => selfAcceptance()}>自行受理</Button> <Button type='secondary' onClick={handleReview}>返回上级页面</Button> </Space> </div> </Fragment> } + {/* {preview && <Preview />} */} </NewPage> </div> -- Gitblit v1.8.0