3 files added
9 files modified
| | |
| | | import ledger_9 from "./ledger_9.svg"; |
| | | import ledger_10 from "./ledger_10.png"; |
| | | import ledger_11 from "./ledger_11.png"; |
| | | import ledger_12 from "./ledger_12.png"; |
| | | import ledger_13 from "./ledger_13.png"; |
| | | import mediateBigData_1 from "./mediateBigData_1.png"; |
| | | import mediateBigData_2 from "./mediateBigData_2.png"; |
| | | import mediateBigData_3 from "./mediateBigData_3.png"; |
| | |
| | | ledger_9, |
| | | ledger_10, |
| | | ledger_11, |
| | | ledger_12, |
| | | ledger_13, |
| | | mediateBigData_1, |
| | | mediateBigData_2, |
| | | mediateBigData_3, |
| | |
| | | fold, |
| | | down, |
| | | tip |
| | | }; |
| | | }; |
| | |
| | | .arco-upload-list { |
| | | display: flex; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | } |
| | | .arco-upload-list-item { |
| | | width: calc(50% - 17px); |
| | | margin-top: 24px; |
| | | margin-left: 17px; |
| | | .doubleFile { |
| | | .arco-upload-list { |
| | | display: flex; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | } |
| | | |
| | | &:nth-child(2n+1) { |
| | | .arco-upload-list-item { |
| | | width: calc(50% - 17px); |
| | | margin-right: 17px; |
| | | margin-left: 0px; |
| | | margin-top: 24px; |
| | | margin-left: 17px; |
| | | |
| | | &:nth-child(2n+1) { |
| | | width: calc(50% - 17px); |
| | | margin-right: 17px; |
| | | margin-left: 0px; |
| | | } |
| | | } |
| | | } |
| | |
| | | import React, { useEffect, useState } from 'react'; |
| | | import { Tooltip, Space } from 'antd'; |
| | | import Icon, { PaperClipOutlined, RollbackOutlined, EllipsisOutlined } from '@ant-design/icons'; |
| | | import { feedback, ledger_8, ledger_7 } from '../../assets/images'; |
| | | import { ledger_8, ledger_7, ledger_12, ledger_13 } from '../../assets/images'; |
| | | import NameCard from '../NameCard'; |
| | | import * as $$ from '../../utils/utility'; |
| | | import FilesDrawer from '../FilesDrawer'; |
| | |
| | | const iconMap = { |
| | | 1: ledger_8, |
| | | 2: ledger_7, |
| | | 3: ledger_12, |
| | | 4: ledger_13 |
| | | } |
| | | |
| | | // 已处理列表第一个元素 |
| | |
| | | <div key={t + 1}> |
| | | <div className="myStep-item"> |
| | | {t === progressData.length - 1 ? null : <div className={`${!x.handleContent ? 'myStep-item-divider' : x.fileInfoList?.length > 0 ? 'myStep-item-divider2' : "myStep-item-divider1"} ${x.status === '2' && 'myStep-item-divider-success'}`} />} |
| | | <div className={`myStep-item-icon1 myStep-item-${x.status === '2' ? 'success1' : 'noStarted1'}`}> |
| | | <div className={`myStep-item-icon1 myStep-item-${x.status === '1' ? 'noStarted1' : 'success1'}`}> |
| | | <div className="myStep-item-title">{x.taskNodeName}</div> |
| | | <img className='myStep-item-img' src={iconMap[x.status]} alt="" /> |
| | | </div> |
| | |
| | | [ |
| | | { |
| | | label: '身份证明材料', |
| | | value: <a href="your-link-here.html" target="_blank"> |
| | | <img src={link} alt="" className="title-file" />李晓明身份证明材料.pdf |
| | | </a>, |
| | | isFile: true |
| | | value: '', |
| | | isFile: true, |
| | | field: 'file', |
| | | }, |
| | | ], |
| | | ] |
| | |
| | | value: <a href="your-link-here.html" target="_blank"> |
| | | <img src={link} alt="" className="title-file" />广东好又多餐饮有限公司营业执照.pdf |
| | | </a>, |
| | | isFile: true |
| | | isFile: true, |
| | | field: 'file', |
| | | }, |
| | | { |
| | | label: '法定代表人身份证明材料', |
| | | value: <a href="your-link-here.html" target="_blank"> |
| | | <img src={link} alt="" className="title-file" />江照月个人身份.pdf |
| | | </a>, |
| | | isFile: true |
| | | isFile: true, |
| | | field: 'file1', |
| | | }, |
| | | ], |
| | | ] |
| | |
| | | value: <a href="your-link-here.html" target="_blank"> |
| | | <img src={link} alt="" className="title-file" />广东好又多餐饮有限公司营业执照.pdf |
| | | </a>, |
| | | isFile: true |
| | | isFile: true, |
| | | field: 'file', |
| | | }, |
| | | { |
| | | label: '机构代表人身份证明材料', |
| | | value: <a href="your-link-here.html" target="_blank"> |
| | | <img src={link} alt="" className="title-file" />江照月个人身份.pdf |
| | | </a>, |
| | | isFile: true |
| | | isFile: true, |
| | | field: 'file1', |
| | | }, |
| | | ], |
| | | ] |
| | |
| | | <img src={link} alt="" className="title-file" />广东好又多餐饮有限公司营业执照.pdf |
| | | </a>, |
| | | isFile: true, |
| | | field: 'file', |
| | | }, |
| | | { |
| | | label: '代理人授权委托书', |
| | |
| | | <img src={link} alt="" className="title-file" />江照月个人身份.pdf |
| | | </a>, |
| | | isFile: true, |
| | | field: 'file1', |
| | | }, |
| | | ], |
| | | ] |
| | |
| | | newList = mapList.map(item => { |
| | | return item.map(res => { |
| | | if (res.isFile) { |
| | | return res |
| | | return { |
| | | ...res, |
| | | value: <> |
| | | {data[res.field].map(item => { |
| | | return <a target="_blank"> |
| | | <img src={link} alt="" className="title-file" />{item.name} |
| | | </a> |
| | | })} |
| | | </> |
| | | } |
| | | } |
| | | if (res.isName) { |
| | | return { |
| | |
| | | <div style={{marginBottom: '16px'}}> |
| | | <div><span>来访总数: </span><span style={{ color: '#1a6fb8' }}>{visitMap.visitTotal}</span> 次</div> |
| | | <div><span>来访渠道: </span>{visitMap.channelList.map((item, index) => { |
| | | return <span>{index !== 0 && '、'}{item.name}<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | return <span key={index}>{index !== 0 && '、'}{item.name}<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | })}</div> |
| | | <div><span>来访身份:</span>{visitMap.identityList.map((item, index) => { |
| | | return <span>{index !== 0 && '、'}{item.name}:<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | return <span key={index}>{index !== 0 && '、'}{item.name}:<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | })}</div> |
| | | </div> |
| | | <TableView |
New file |
| | |
| | | import React from 'react' |
| | | import { Form, Input, Button, Radio, Select, Modal, Cascader, Upload, Message } from '@arco-design/web-react'; |
| | | |
| | | export default function BackModel(props) { |
| | | const handleSubmit = () => { |
| | | |
| | | } |
| | | return ( |
| | | <div> |
| | | <div className='dialogFooter'> |
| | | <Button |
| | | type="primary" |
| | | className="dialogPrimary" |
| | | onClick={handleSubmit} |
| | | > |
| | | 提交 |
| | | </Button> |
| | | </div> |
| | | </div> |
| | | ) |
| | | } |
| | |
| | | import React from 'react'; |
| | | import { Button } from '@arco-design/web-react'; |
| | | import React, { useState } from 'react'; |
| | | import { Button, Modal } from '@arco-design/web-react'; |
| | | import { Space } from 'antd'; |
| | | import ProgressStep from '@/components/ProgressStep/VisitStep'; |
| | | import BackModel from "./BackModel"; |
| | | |
| | | const fakeData = [ |
| | | { |
| | |
| | | }, |
| | | { |
| | | handlerUserName: '白云区新市街市场监管所', |
| | | finishTime: new Date().getTime() - 11 * 60 * 60 * 1000, // 半天前的时间 |
| | | finishTime: new Date().getTime() - 10 * 60 * 60 * 1000, // 半天前的时间 |
| | | handleResult: '1', |
| | | status: '3', |
| | | taskNodeName: '事件回退', |
| | | mediResult: '22_00025-1', |
| | | // handleContent: '已签收', |
| | | operationName: '赵菲菲' |
| | | }, |
| | | { |
| | | handlerUserName: '白云区新市街综治中心', |
| | | finishTime: new Date().getTime() - 9 * 60 * 60 * 1000, // 半天前的时间 |
| | | handleResult: '1', |
| | | status: '2', |
| | | taskNodeName: '回退审核', |
| | | mediResult: '22_00025-1', |
| | | handleContent: '通过', |
| | | operationName: '赵菲菲' |
| | | }, |
| | | { |
| | |
| | | ]; |
| | | |
| | | export default function EventFlow(props) { |
| | | const [backVisible, setBackVisible] = useState(false) |
| | | const tabs = [ |
| | | { index: '1', label: '承办部门' }, |
| | | { index: '2', label: '配合部门' }, |
| | | { index: '1', label: '流转进度' }, |
| | | { index: '2', label: '督办信息' }, |
| | | ]; |
| | | return ( |
| | | <div className='dataSync'> |
| | |
| | | <div className="dataSync-excel"> |
| | | <Space size="large" style={{ margin: '4px 14px' }}> |
| | | <Button type="primary" >受理</Button> |
| | | <Button type='outline' status='danger'>回退</Button> |
| | | <Button type="primary" >提交</Button> |
| | | <Button type="primary" >自行受理</Button> |
| | | <Button type='outline' status='danger' onClick={() => setBackVisible(true)}>回退</Button> |
| | | <Button type='outline'>交办</Button> |
| | | <Button type='outline'>上报</Button> |
| | | <Button type='secondary' >返回上级页面</Button> |
| | | </Space> |
| | | </div> |
| | | <Modal |
| | | title='回退' |
| | | visible={backVisible} |
| | | onOk={() => setBackVisible(false)} |
| | | onCancel={() => { setBackVisible(false) }} |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <BackModel /> |
| | | </Modal> |
| | | </div> |
| | | ) |
| | | } |
| | |
| | | scrollToFirstError |
| | | > |
| | | <Row gutter={[32, 0]} style={{ margin: '0 -10px' }}> |
| | | <Col span={24}> |
| | | <Col span={24} className="doubleFile"> |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`, |
| | |
| | | handleDelFile={handleDelFile} |
| | | /> |
| | | </Col> |
| | | <Col span={24}> |
| | | <Col span={24} className="doubleFile"> |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`, |
| | |
| | | //自然人 |
| | | return ( |
| | | <> |
| | | <Col span={24}> |
| | | <Col span={24} className="doubleFile"> |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`, |
| | |
| | | let isLegal = type === '09_01001-2' |
| | | return ( |
| | | <> |
| | | <Col span={24}> |
| | | <Col span={24} className="doubleFile"> |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`, |
| | |
| | | handleDelFile={handleDelFile} |
| | | /> |
| | | </Col> |
| | | <Col span={24}> |
| | | <Col span={24} className="doubleFile"> |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`, |
| | |
| | | useEffect(() => { |
| | | if (routeData.id) { |
| | | getDeatil(routeData.id) |
| | | setId(routeData.id) |
| | | } else { |
| | | getAppId() |
| | | } |