forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-08 d76a1099cbdaf445722089382d56aa617cf11240
fix: 结案申请弹窗bug
1 files modified
14 ■■■■ changed files
gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx 14 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx
@@ -38,7 +38,6 @@
  const [noHandleReason, setNoHandleReason] = useState(false);
  const [radioValue, setRadioValue] = useState(1);
  const [mode, setMode] = useState(false)
  const [visibleType, setVisibleType] = useState(false)
  const tabs = [
    { index: '1', label: '化解成功' },
@@ -117,14 +116,23 @@
    })
    if (res.type) {
      $$.infoSuccess({ content: '提交成功' });
      setVisibleType(false)
      handleOnCancel()
    }
  }
  return (
    <>
      <Modal visible={visibleType || visible} onCancel={handleOnCancel} title='申请结案' centered footer={null} style={{ overflow: 'auto' }}>
      <Modal
        visible={visible}
        onCancel={handleOnCancel}
        title='申请结案'
        centered
        footer={null}
        style={{ overflow: 'auto' }}
        unmountOnExit={true}
        maskClosable={false}
      >
        <div className='caseResult-title'>化解结果</div>
        <div className='caseResult-tabs'>
          {tabs.map((tab) => (