From 50ba671adf55ee75f2c81daba02133e56e42eb45 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Mon, 31 Mar 2025 10:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/projectinfo/projectInfo.js | 2 +- .../modules/customCase/pro-add-or-update.vue | 2 +- src/views/modules/customCase/project-case.vue | 17 +++++++++++------ src/views/modules/customCase/xj-case.vue | 3 +-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/api/projectinfo/projectInfo.js b/src/api/projectinfo/projectInfo.js index f802b38..8c3b726 100644 --- a/src/api/projectinfo/projectInfo.js +++ b/src/api/projectinfo/projectInfo.js @@ -13,5 +13,5 @@ export const getCaseTaskList = data => createAPI(`caseTask/getCaseTaskList`,'POS export const caseTaskSave = data => createAPI(`caseTask/save`,'POST',data) -export const manageAuditData = data => createAPI(`projectCase/manageAudit`,'POST',data) +export const manageAudit = data => createAPI(`projectCase/manageAudit`,'POST',data) diff --git a/src/views/modules/customCase/pro-add-or-update.vue b/src/views/modules/customCase/pro-add-or-update.vue index 834a445..10dbdc0 100644 --- a/src/views/modules/customCase/pro-add-or-update.vue +++ b/src/views/modules/customCase/pro-add-or-update.vue @@ -283,7 +283,7 @@ export default { formData.append('encapsulate',this.dataForm.encapsulate) formData.append('description',this.dataForm.description) formData.append('status',status) - formData.append('xjshow',this.dataForm.manageAudit==='Y'?'N':'Y') + formData.append('xjshow',this.dataForm.manageAudit==='Y'?'':'Y') //片接文件 for (let i = 0; i < this.fileList.length; i++) { formData.append("file", this.fileList[i].raw) diff --git a/src/views/modules/customCase/project-case.vue b/src/views/modules/customCase/project-case.vue index 1e32c77..dd39fbf 100644 --- a/src/views/modules/customCase/project-case.vue +++ b/src/views/modules/customCase/project-case.vue @@ -77,16 +77,14 @@ @click="manageAuditButton(scope.row.caseId)">审核 - + - - + @@ -97,12 +95,19 @@ {{statusFrom(scope.row.status) }} + + + + import { - getCaseList,manageAuditData + getCaseList,manageAudit } from '@/api/projectinfo/projectInfo.js' import { searchFunctionButtonList @@ -294,7 +299,7 @@ export default { }) return false } - manageAuditData(this.manageAuditResult).then(({data}) => { + manageAudit(this.manageAuditResult).then(({data}) => { if (data && data.code === 0) { this.getDataList() this.manageAuditFlag = false diff --git a/src/views/modules/customCase/xj-case.vue b/src/views/modules/customCase/xj-case.vue index ca58052..8774875 100644 --- a/src/views/modules/customCase/xj-case.vue +++ b/src/views/modules/customCase/xj-case.vue @@ -147,11 +147,10 @@ export default { showAuthCustomerReportFlag: false, dataForm: { projectName: '', - dateRange: '' + dateRange: '', }, dataList: [], statusList: [ - {key: 10, value: '草稿'}, {key: 20, value: '待受理'}, {key: 30, value: '已受理'}, {key: 40, value: '进行中'},