forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-17 f62d77d4b1eb8b6a751d99fe761af2b056bb4ac1
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-15 11:46:01
 * @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' }}>
@@ -81,12 +98,13 @@
                        <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='outline' style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} onClick={() => selfAcceptance()}>自行受理</Button>
                        <Button type='secondary' onClick={handleReview}>返回上级页面</Button>
                     </Space>
                  </div>
               </Fragment>
            }
            {/* {preview && <Preview />} */}
         </NewPage>
      </div>