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) }}
+
+
+ {{scope.row.xjshow==='Y'?'审核通过':scope.row.xjshow==='N'?'审核不通过':'待审核'}}
+
+
+
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: '进行中'},