吉安感知网项目-前端
张含笑
2026-01-20 b2026e1f6734ff976036805c07d4df9e1059e5cc
feat:修改
1 files modified
11 ■■■■■ changed files
applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue 11 ●●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue
@@ -398,7 +398,7 @@
// 拒绝申请
const rejectTheApplication = () => {
    if (!responseData.value) {
    if (uploadedFiles.value.length === 0) {
        return ElMessage.warning('请上传数据')
    }
    // 打开拒绝申请弹框
@@ -407,7 +407,9 @@
// 处理拒绝申请确认
const handleRejectionConfirm = reason => {
    const id = [responseData.value.attachId]
    // 从 uploadedFiles.value 中提取所有 attachId
    const id = uploadedFiles.value.map(file => file.attachId)
    gdSupplyDemandAuditRejectApi({ attachIds: id, auditOpinion: reason, demandId: demandId.value })
        .then(() => {
            ElMessage.success('拒绝申请成功')
@@ -422,10 +424,11 @@
}
// 审核通过
const approvedByTheReview = () => {
    if (!responseData.value) {
    if (uploadedFiles.value.length === 0) {
        return ElMessage.warning('请上传数据')
    }
    const id = [responseData.value.attachId]
    // 从 uploadedFiles.value 中提取所有 attachId
    const id = uploadedFiles.value.map(file => file.attachId)
    gdSupplyDemandAuditPassApi({ attachIds: id, demandId: demandId.value }).then(() => {
        ElMessage.success('审核通过成功')
        visible.value = false