|
@@ -241,6 +241,7 @@
|
|
|
import taskDetail from '@/components/task/taskDetail.vue'
|
|
import taskDetail from '@/components/task/taskDetail.vue'
|
|
|
import TaskCustomizedReleaseDialog from '@/components/task/TaskCustomizedReleaseDialog.vue'
|
|
import TaskCustomizedReleaseDialog from '@/components/task/TaskCustomizedReleaseDialog.vue'
|
|
|
import { getCostProjectDetail } from '@/api/taskCustomizedRelease.js'
|
|
import { getCostProjectDetail } from '@/api/taskCustomizedRelease.js'
|
|
|
|
|
+ import { dictMixin } from '@/mixins/useDict'
|
|
|
export default {
|
|
export default {
|
|
|
name: 'CostAuditManagement',
|
|
name: 'CostAuditManagement',
|
|
|
components: {
|
|
components: {
|
|
@@ -251,8 +252,12 @@
|
|
|
taskDetail,
|
|
taskDetail,
|
|
|
TaskCustomizedReleaseDialog,
|
|
TaskCustomizedReleaseDialog,
|
|
|
},
|
|
},
|
|
|
|
|
+ mixins: [dictMixin],
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ dictData: {
|
|
|
|
|
+ projectProposal: [],
|
|
|
|
|
+ },
|
|
|
// 分页相关
|
|
// 分页相关
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
@@ -317,7 +322,8 @@
|
|
|
auditObject: record.auditedUnitName,
|
|
auditObject: record.auditedUnitName,
|
|
|
auditPeriod: record.auditPeriod,
|
|
auditPeriod: record.auditPeriod,
|
|
|
source: this.getSourceTypeText(record.sourceType),
|
|
source: this.getSourceTypeText(record.sourceType),
|
|
|
- form: this.getAuditTypeText(record.auditType),
|
|
|
|
|
|
|
+ // form: this.getAuditTypeText(record.auditType),
|
|
|
|
|
+ form: record.auditTypeName,
|
|
|
status: this.getStatusText(record.status),
|
|
status: this.getStatusText(record.status),
|
|
|
statusName: record.statusName,
|
|
statusName: record.statusName,
|
|
|
isSubTask: record.pid !== '0',
|
|
isSubTask: record.pid !== '0',
|
|
@@ -362,12 +368,7 @@
|
|
|
|
|
|
|
|
// 获取来源类型文本
|
|
// 获取来源类型文本
|
|
|
getSourceTypeText(type) {
|
|
getSourceTypeText(type) {
|
|
|
- const typeMap = {
|
|
|
|
|
- 1: '年度计划内',
|
|
|
|
|
- 2: '年度计划外',
|
|
|
|
|
- // 可根据实际需求补充其他类型
|
|
|
|
|
- }
|
|
|
|
|
- return typeMap[type] || type
|
|
|
|
|
|
|
+ return this.getDictName('projectProposal', type)
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 获取审核类型文本
|
|
// 获取审核类型文本
|