| | |
| | | } |
| | | // 拒绝申请 |
| | | const rejectTheApplication = () => { |
| | | // const id = ['2013182736046530562'] |
| | | if(responseData.value.length === 0){ |
| | | return ElMessage.warning('请上传数据') |
| | | } |
| | | const id = [responseData.value.attachId] |
| | | console.log('responseData.value',responseData.value) |
| | | gdSupplyDemandAuditRejectApi({ attachIds:id }).then(() => { |
| | |
| | | } |
| | | // 审核通过 |
| | | const approvedByTheReview = () => { |
| | | if(responseData.value.length === 0){ |
| | | return ElMessage.warning('请上传数据') |
| | | } |
| | | const id = [responseData.value.attachId] |
| | | gdSupplyDemandAuditPassApi({ id }).then(() => { |
| | | ElMessage.success('审核通过成功') |