diff --git a/src/api/enterpriseStandardLibraryApi.js b/src/api/enterpriseStandardLibraryApi.js index bd6243e6..77c10f33 100644 --- a/src/api/enterpriseStandardLibraryApi.js +++ b/src/api/enterpriseStandardLibraryApi.js @@ -39,6 +39,8 @@ const detailGetUpdateRecord = (params) => getAction('/laws/standard/enterprise/g const detailSubmitQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/QB', params) // 企标详情-企标评价 const detailEvaluate = (standardId, params) => getAction('/laws/standard/enterprise/evaluateDetailForESInfo/' + `${standardId}`, params) +// 企标详情-通过id获取复审信息 +const getRecheckInfoById = (params) => getAction('/enterprise/recheckPlan/getListByStandardId', params) // 企标评审会记录-设置优质标准 const setQualityStandard = (params) => getAction('/enterprise/reviewMeeting/setQualityStandards', params) @@ -83,6 +85,7 @@ export { detailGetUpdateRecord, detailSubmitQuestion, detailEvaluate, + getRecheckInfoById, setQualityStandard, getScoreDetail, diff --git a/src/common/lang/enterpriseStandardLibrary/zh.js b/src/common/lang/enterpriseStandardLibrary/zh.js index 0b421c89..70bebc81 100644 --- a/src/common/lang/enterpriseStandardLibrary/zh.js +++ b/src/common/lang/enterpriseStandardLibrary/zh.js @@ -27,6 +27,9 @@ module.exports = { standardContentOrRequirements: '标准内容或要求', rectificationDepartment: '整改部门', auditContent: '稽查内容', + recheckTime: '复审时间', + recheckConclusion: '复审结论', + processNumber: '流程编号', disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择', pleaseSelectUserOrDepart: '授权部门和授权人员至少需要选择一个', youNot: '您没有', diff --git a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue index fd403106..a1a7bdc1 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue @@ -129,6 +129,29 @@ + +
+
+ 复审信息 +
+
+ + + + +
+
@@ -151,7 +174,7 @@ import '@assets/less/common.less' import { FieldType, StandardSource } from '@/enums/commonEnums' import { downloadFile, getFileAccessHttpUrl } from '@/api/manage' -import { getEnterpriseStandardInfoById, getEnterpriseStandardAddForm } from '@/api/enterpriseStandardLibraryApi' +import { getEnterpriseStandardInfoById, getEnterpriseStandardAddForm, getRecheckInfoById } from '@/api/enterpriseStandardLibraryApi' import UpdateRecordModal from './module/UpdateRecordModal' import SubmitQuestionModal from './module/SubmitQuestionModal' import EnterpriseStandardEvaluateModal from './module/EnterpriseStandardEvaluateModal' @@ -216,6 +239,38 @@ export default { } ], // 稽查内容表格列参数 dataSource: [], // 稽查内容数据 + // 复审信息表格列参数 + recheckColumns: [ + { + title: this.$t('serialNumber'), + dataIndex: '', + key: 'rowIndex', + width: 100, + align: 'center', + customRender: function (t, r, index) { + return parseInt(index) + 1 + } + }, + { // 时间 + title: this.$t('enterpriseStandardLibrary.standard.recheckTime'), + align: 'center', + dataIndex: 'recheckDate', + scopedSlots: { customRender: 'text' } + }, + { // 结论 + title: this.$t('enterpriseStandardLibrary.standard.recheckConclusion'), + align: 'center', + dataIndex: 'recheckAdvice', + scopedSlots: { customRender: 'text' } + }, + { // 流程编号 + title: this.$t('enterpriseStandardLibrary.standard.processNumber'), + align: 'center', + dataIndex: 'prcNum', + scopedSlots: { customRender: 'text' } + } + ], + recheckDataSource: [], image: false, imageUrl: '', showViewAllField: ['auth_dept'], // 需要显示展示查看全部按钮的字段 @@ -253,6 +308,7 @@ export default { if (res.success) { this.detailData = res.result this.dataSource = this.detailData.checkList + this.initRecheckList(this.detailData.id) this.fileField.forEach(item => { if (this.detailData[item]) { const fileList = this.detailData[item].split(',') @@ -271,6 +327,19 @@ export default { } }) }, + // 获取复审信息列表 + initRecheckList (id) { + const params = {} + params.standardId = id + getRecheckInfoById(params).then(res => { + if (res.success) { + // 复审信息 + this.recheckDataSource = res.result + } else { + this.$message.warning(res.message) + } + }) + }, getFileInfo (fileId) { return new Promise(resolve => { let fileInfo