Merge branch '20220413-zjl-公共服务平台' into 'master-20220527'
5.27 公共服务平台对接 See merge request eshop/fe_service_ebtp_frontend!88
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import { isEmpty } from '@/utils/CommonUtils';
|
||||
import { checkObjectId } from '@/utils/DownloadUtils';
|
||||
import SeleApprovalProcess from '@/utils/SeleApprovalProcess';
|
||||
import { getApprProcessList } from '@/utils/SeleApprovalProcess/service';
|
||||
@ -351,6 +352,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
失败公告提交审批
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
<Popconfirm
|
||||
title="确定要删除吗?"
|
||||
onConfirm={() => toDelete(record)}
|
||||
@ -373,6 +375,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
<Button type="text" key="9" onClick={() => toApprovalFor(record)} hidden={!checkObjectId(record.id)}>
|
||||
查看审批流程
|
||||
</Button>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
<Popconfirm
|
||||
title="确定要删除吗?"
|
||||
onConfirm={() => toDelete(record)}
|
||||
@ -405,6 +408,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
发布失败公告
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
<Popconfirm
|
||||
title="确定要删除吗?"
|
||||
onConfirm={() => toDelete(record)}
|
||||
@ -437,6 +441,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
失败公告提交审批
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
<Popconfirm
|
||||
title="确定要删除吗?"
|
||||
onConfirm={() => toDelete(record)}
|
||||
@ -462,6 +467,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
<Button type="text" key="4" onClick={() => toTakeEffect(record)} hidden={btnAuthority(["ebtp-agency-project-manager", "ebtp-purchase"])}>
|
||||
生效
|
||||
</Button>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
</>
|
||||
) : record.status == 0 && record.sendMessageStatus == 6 ? ( //草稿-公告发布失败
|
||||
<>
|
||||
@ -484,6 +490,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
发布失败公告
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
<Popconfirm
|
||||
title="确定要删除吗?"
|
||||
onConfirm={() => toDelete(record)}
|
||||
@ -506,6 +513,7 @@ const ExceptionHandling: React.FC<ExceptionHandlingProps> = (props) => {
|
||||
<Button type="text" key="9" onClick={() => toApprovalFor(record)} hidden={!checkObjectId(record.id)}>
|
||||
查看审批流程
|
||||
</Button>
|
||||
<Button hidden={isEmpty(record.hasCtpsp) || !record.hasCtpsp} type="text" key="common" onClick={() => window.open('/PublicPlatform' + '?id=' + record.sendMessageId)}>公共服务平台</Button>
|
||||
</>
|
||||
) : null,
|
||||
},
|
||||
|
Reference in New Issue
Block a user