|
@@ -49,11 +49,67 @@ const list1 = [
|
|
|
}
|
|
|
]
|
|
|
|
|
|
+const list2 = [
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ title: '横琴粤澳深度合作区民生事务局',
|
|
|
+ name: '撒大苏打水水',
|
|
|
+ done: 1,
|
|
|
+ phone: '18702025050',
|
|
|
+ danwei:
|
|
|
+ '为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为为哇饿啊为',
|
|
|
+ file: [
|
|
|
+ {
|
|
|
+ id: 1.1,
|
|
|
+ name: 'xxxxxxxxxxxxxx啊实打实大撒大苏打撒旦苏打xxxx.pdf',
|
|
|
+ src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 1.2,
|
|
|
+ name: '666.jpg',
|
|
|
+ src: ''
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 2,
|
|
|
+ title: '澳门街坊会联合总会广东办事处',
|
|
|
+ name: '撒大苏',
|
|
|
+ done: 2,
|
|
|
+ phone: '18702025050',
|
|
|
+ danwei: '为哇饿啊为为',
|
|
|
+ file: [
|
|
|
+ {
|
|
|
+ id: 2.1,
|
|
|
+ name: 'xxxxxxxxxxxxxx啊实打实大苏打xxxx.pdf',
|
|
|
+ src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 3,
|
|
|
+ title: '澳门街坊会联合总会广东办事处',
|
|
|
+ name: '撒大苏',
|
|
|
+ done: 3,
|
|
|
+ phone: '18702025050',
|
|
|
+ danwei: '为哇饿啊为为',
|
|
|
+ file: [
|
|
|
+ {
|
|
|
+ id: 3.1,
|
|
|
+ name: 'xxxxxxxxxxxxxx啊实打实大苏打xxxx.pdf',
|
|
|
+ src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+]
|
|
|
+
|
|
|
function A6my() {
|
|
|
- const [topAc, setTopAc] = useState('预约申请')
|
|
|
+ const [topAc, setTopAc] = useState(
|
|
|
+ window.location.hash.includes('?m=1') ? '认证申请' : '预约申请'
|
|
|
+ )
|
|
|
|
|
|
// 点击撤回
|
|
|
- const recallFu = useCallback(() => {}, [])
|
|
|
+ const recallFu = useCallback((id: number) => {}, [])
|
|
|
|
|
|
return (
|
|
|
<div className={styles.A6my}>
|
|
@@ -71,6 +127,7 @@ function A6my() {
|
|
|
))}
|
|
|
</div>
|
|
|
|
|
|
+ {/* 预约申请 */}
|
|
|
<div className='A6list' hidden={topAc !== '预约申请'}>
|
|
|
{list1.length ? (
|
|
|
<>
|
|
@@ -135,7 +192,11 @@ function A6my() {
|
|
|
</div>
|
|
|
|
|
|
<div className='A6row3'>
|
|
|
- <MyPopconfirm txtK='撤回' onConfirm={recallFu} Dom={<div>撤回申请</div>} />
|
|
|
+ <MyPopconfirm
|
|
|
+ txtK='撤回'
|
|
|
+ onConfirm={() => recallFu(item.id)}
|
|
|
+ Dom={<div>撤回申请</div>}
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
))}
|
|
@@ -144,6 +205,68 @@ function A6my() {
|
|
|
<div className='A6No'>暂无预约申请</div>
|
|
|
)}
|
|
|
</div>
|
|
|
+
|
|
|
+ {/* 认证申请 */}
|
|
|
+ <div className='A6list' hidden={topAc !== '认证申请'}>
|
|
|
+ {list2.length ? (
|
|
|
+ <>
|
|
|
+ {list2.map(item => (
|
|
|
+ <div className='A6_2row' key={item.id}>
|
|
|
+ <div className='A6_2Top'>
|
|
|
+ <p>认证单位</p>
|
|
|
+ <div>{item.title}</div>
|
|
|
+
|
|
|
+ {item.done === 1 ? (
|
|
|
+ <div className='A6row1_1'>待审核</div>
|
|
|
+ ) : (
|
|
|
+ <img src={item.done === 2 ? succImg : errImg} alt='' />
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div className='A6_2main'>
|
|
|
+ <div className='A6_2tit'>负责人信息:</div>
|
|
|
+ <p>
|
|
|
+ <span>负责人姓名:</span>
|
|
|
+ {item.name}
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ <span>联系方式:</span>
|
|
|
+ {item.phone}
|
|
|
+ </p>
|
|
|
+ <div>
|
|
|
+ <span>单位名称:</span>
|
|
|
+ <p>{item.danwei}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div className='A6_2file'>
|
|
|
+ <div className='A6_2file1'>
|
|
|
+ <div className='A6_2file1_1'>授权或同意文件:</div>
|
|
|
+ {item.file.map(item2 => (
|
|
|
+ <div key={item2.id} className='A6_2fileRow'>
|
|
|
+ <div className='A6_2filell'>{item2.name}</div>
|
|
|
+ <a href={item2.src} className='A6_2filerr' download={item2.name}>
|
|
|
+ 下载
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ ))}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div className='A6_2btn'>
|
|
|
+ <MyPopconfirm
|
|
|
+ txtK='撤回'
|
|
|
+ onConfirm={() => recallFu(item.id)}
|
|
|
+ Dom={<div>撤回申请</div>}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ ))}
|
|
|
+ </>
|
|
|
+ ) : (
|
|
|
+ <div className='A6No'>暂无认证申请</div>
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|