diff --git a/clients/home/pages/new-approvals/my-applies/index.tsx b/clients/home/pages/new-approvals/my-applies/index.tsx index 099a69fa1..760fb779a 100644 --- a/clients/home/pages/new-approvals/my-applies/index.tsx +++ b/clients/home/pages/new-approvals/my-applies/index.tsx @@ -13,7 +13,7 @@ import { APPROVAL, FILL_IN, listData } from '../constant'; // handle type : ALL,REVIEW, WRITE, READ, OTHER const status = [ { label: '全部', value: 'ALL' }, - { label: '待补充', value: 'SEND_BACK' }, + // { label: '待补充', value: 'SEND_BACK' }, { label: '进行中', value: 'REVIEW' }, { label: '已拒绝', value: 'REFUSE' }, { label: '已通过', value: 'AGREE' }, diff --git a/clients/home/pages/new-approvals/util.ts b/clients/home/pages/new-approvals/util.ts index 6425feeae..34324f05b 100644 --- a/clients/home/pages/new-approvals/util.ts +++ b/clients/home/pages/new-approvals/util.ts @@ -449,7 +449,7 @@ export const getApplyParams = (query: any)=>{ let NodeResult; let TaskResult; if (query.status === 'REVIEW' || query.status === 'Pending') { NodeResult = 'Pending'; - } else if (query.status === 'REFUSE' || query.status === 'AGREE' || query.status === 'Finish' ) { + } else if (query.status === 'REFUSE' || query.status === 'AGREE' || query.status === 'CANCEL' || query.status === 'Finish' ) { NodeResult = 'Finish'; if (query.status === 'REFUSE') { TaskResult = 'reject'; @@ -457,6 +457,10 @@ export const getApplyParams = (query: any)=>{ if (query.status === 'AGREE') { TaskResult = 'agree'; } + + if (query.status === 'CANCEL') { + TaskResult = 'recall'; + } } const res = { page: query.page,