|  | @@ -7,7 +7,7 @@ import { contractStore, tenderStore } from '@/store/mobx'
 | 
												
													
														
															|  |  import { ContractTree, iModalProps } from '@/types/contract'
 |  |  import { ContractTree, iModalProps } from '@/types/contract'
 | 
												
													
														
															|  |  import { contractTreeBaseId } from '@/utils/common/constStatus'
 |  |  import { contractTreeBaseId } from '@/utils/common/constStatus'
 | 
												
													
														
															|  |  import consts from '@/utils/consts'
 |  |  import consts from '@/utils/consts'
 | 
												
													
														
															|  | -import { Button, message, Tooltip } from 'antd'
 |  | 
 | 
												
													
														
															|  | 
 |  | +import { Button, message, Popconfirm, Tooltip } from 'antd'
 | 
												
													
														
															|  |  import React, { useState, useEffect } from 'react'
 |  |  import React, { useState, useEffect } from 'react'
 | 
												
													
														
															|  |  import { apiResfulContract, apiResfulContractTree } from './api'
 |  |  import { apiResfulContract, apiResfulContractTree } from './api'
 | 
												
													
														
															|  |  import ContractModal from './components/Modal'
 |  |  import ContractModal from './components/Modal'
 | 
												
											
												
													
														
															|  | @@ -135,7 +135,15 @@ const Income: React.FC<RouteComponentProps> = (props) => {
 | 
												
													
														
															|  |                    {
 |  |                    {
 | 
												
													
														
															|  |                      !row.children?.length && row.depth !== 1 ?
 |  |                      !row.children?.length && row.depth !== 1 ?
 | 
												
													
														
															|  |                        <Tooltip title="删除">
 |  |                        <Tooltip title="删除">
 | 
												
													
														
															|  | -                        <Button type="text" icon={<SvgIcon type="xxh-times" style={{ color: '#007bff', fontSize: 12 }} />} onClick={() => treeResfulApiHandler('del', { id: row.id, bidsectionId: row.bidsectionId })} />
 |  | 
 | 
												
													
														
															|  | 
 |  | +                        <Popconfirm
 | 
												
													
														
															|  | 
 |  | +                          title="确定删除"
 | 
												
													
														
															|  | 
 |  | +                          onConfirm={() => treeResfulApiHandler('del', { id: row.id, bidsectionId: row.bidsectionId })}
 | 
												
													
														
															|  | 
 |  | +                          okText="确认"
 | 
												
													
														
															|  | 
 |  | +                          cancelText="取消"
 | 
												
													
														
															|  | 
 |  | +                          okButtonProps={{ danger: true }}
 | 
												
													
														
															|  | 
 |  | +                          >
 | 
												
													
														
															|  | 
 |  | +                          <Button type="text" icon={<SvgIcon type="xxh-times" style={{ color: '#007bff', fontSize: 12 }} />} />
 | 
												
													
														
															|  | 
 |  | +                        </Popconfirm>
 | 
												
													
														
															|  |                        </Tooltip>
 |  |                        </Tooltip>
 | 
												
													
														
															|  |                        : <span className="pi-width-32 pi-height-32 pi-pd-tb-4 pi-flex-row-center"><SvgIcon type="xxh-times" style={{ color: '#9a9a9a', fontSize: 12 }} /></span>
 |  |                        : <span className="pi-width-32 pi-height-32 pi-pd-tb-4 pi-flex-row-center"><SvgIcon type="xxh-times" style={{ color: '#9a9a9a', fontSize: 12 }} /></span>
 | 
												
													
														
															|  |                    }
 |  |                    }
 |