|  | @@ -20,6 +20,7 @@ import AddModel from './modal'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const SafeList: React.FC<{}> = () => {
 | 
	
		
			
				|  |  |    const [ state, setState ] = useListModal(consts.DATA_TYPE.SAFE)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    useEffect(() => {
 | 
	
		
			
				|  |  |      initData()
 | 
	
		
			
				|  |  |    }, [])
 | 
	
	
		
			
				|  | @@ -27,6 +28,7 @@ const SafeList: React.FC<{}> = () => {
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '序号',
 | 
	
		
			
				|  |  |        align: 'center',
 | 
	
		
			
				|  |  | +      width: '5%',
 | 
	
		
			
				|  |  |        // eslint-disable-next-line react/display-name
 | 
	
		
			
				|  |  |        render: (_: string, record: any, i: number) => {
 | 
	
		
			
				|  |  |          return <span>{i + 1}</span>
 | 
	
	
		
			
				|  | @@ -35,6 +37,7 @@ const SafeList: React.FC<{}> = () => {
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '编号',
 | 
	
		
			
				|  |  |        dataIndex: 'code',
 | 
	
		
			
				|  |  | +      width: '10%',
 | 
	
		
			
				|  |  |        // eslint-disable-next-line react/display-name
 | 
	
		
			
				|  |  |        render: (text: string, record) => {
 | 
	
		
			
				|  |  |          return <Link to={{ pathname: '/console/safe/content/detail/info', state: { id: record.id } }}>{text}</Link>
 | 
	
	
		
			
				|  | @@ -42,19 +45,23 @@ const SafeList: React.FC<{}> = () => {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '检查项目',
 | 
	
		
			
				|  |  | -      dataIndex: 'inspection'
 | 
	
		
			
				|  |  | +      dataIndex: 'inspection',
 | 
	
		
			
				|  |  | +      width: '10%'
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '现场检查情况',
 | 
	
		
			
				|  |  | -      dataIndex: 'inspection_detail'
 | 
	
		
			
				|  |  | +      dataIndex: 'inspection_detail',
 | 
	
		
			
				|  |  | +      width: '15%'
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '处理要求及措施',
 | 
	
		
			
				|  |  | -      dataIndex: 'demand'
 | 
	
		
			
				|  |  | +      dataIndex: 'demand',
 | 
	
		
			
				|  |  | +      width: '15%'
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '检查日期',
 | 
	
		
			
				|  |  |        dataIndex: 'createTime',
 | 
	
		
			
				|  |  | +      width: '10%',
 | 
	
		
			
				|  |  |        // eslint-disable-next-line react/display-name
 | 
	
		
			
				|  |  |        render: (text: string) => {
 | 
	
		
			
				|  |  |          return <span>{dayjsFormat(text, 'YYYY-MM-DD')}</span>
 | 
	
	
		
			
				|  | @@ -62,11 +69,13 @@ const SafeList: React.FC<{}> = () => {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '检查人',
 | 
	
		
			
				|  |  | -      dataIndex: 'auditName'
 | 
	
		
			
				|  |  | +      dataIndex: 'auditName',
 | 
	
		
			
				|  |  | +      width: '15%'
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '附件',
 | 
	
		
			
				|  |  |        dataIndex: 'fileCounts',
 | 
	
		
			
				|  |  | +      width: '5%',
 | 
	
		
			
				|  |  |        // eslint-disable-next-line react/display-name
 | 
	
		
			
				|  |  |        render: (text: string, record) => {
 | 
	
		
			
				|  |  |          return (
 | 
	
	
		
			
				|  | @@ -79,6 +88,7 @@ const SafeList: React.FC<{}> = () => {
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |        title: '状态',
 | 
	
		
			
				|  |  |        dataIndex: 'status',
 | 
	
		
			
				|  |  | +      width: '10%',
 | 
	
		
			
				|  |  |        // eslint-disable-next-line react/display-name
 | 
	
		
			
				|  |  |        render: (statu: number) => {
 | 
	
		
			
				|  |  |          return <span className={safeStatus[statu].className}>{safeStatus[statu].text}</span>
 |