[update] 修改UAT问题,企标详情增加企标复审信息板块
This commit is contained in:
@@ -39,6 +39,8 @@ const detailGetUpdateRecord = (params) => getAction('/laws/standard/enterprise/g
|
|||||||
const detailSubmitQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/QB', params)
|
const detailSubmitQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/QB', params)
|
||||||
// 企标详情-企标评价
|
// 企标详情-企标评价
|
||||||
const detailEvaluate = (standardId, params) => getAction('/laws/standard/enterprise/evaluateDetailForESInfo/' + `${standardId}`, 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)
|
const setQualityStandard = (params) => getAction('/enterprise/reviewMeeting/setQualityStandards', params)
|
||||||
@@ -83,6 +85,7 @@ export {
|
|||||||
detailGetUpdateRecord,
|
detailGetUpdateRecord,
|
||||||
detailSubmitQuestion,
|
detailSubmitQuestion,
|
||||||
detailEvaluate,
|
detailEvaluate,
|
||||||
|
getRecheckInfoById,
|
||||||
|
|
||||||
setQualityStandard,
|
setQualityStandard,
|
||||||
getScoreDetail,
|
getScoreDetail,
|
||||||
|
|||||||
@@ -27,6 +27,9 @@ module.exports = {
|
|||||||
standardContentOrRequirements: '标准内容或要求',
|
standardContentOrRequirements: '标准内容或要求',
|
||||||
rectificationDepartment: '整改部门',
|
rectificationDepartment: '整改部门',
|
||||||
auditContent: '稽查内容',
|
auditContent: '稽查内容',
|
||||||
|
recheckTime: '复审时间',
|
||||||
|
recheckConclusion: '复审结论',
|
||||||
|
processNumber: '流程编号',
|
||||||
disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择',
|
disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择',
|
||||||
pleaseSelectUserOrDepart: '授权部门和授权人员至少需要选择一个',
|
pleaseSelectUserOrDepart: '授权部门和授权人员至少需要选择一个',
|
||||||
youNot: '您没有',
|
youNot: '您没有',
|
||||||
|
|||||||
@@ -129,6 +129,29 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 复审信息 -->
|
||||||
|
<div class="detail-page-part">
|
||||||
|
<div class="detail-page-part-title">
|
||||||
|
<span>复审信息</span>
|
||||||
|
</div>
|
||||||
|
<div class="detail-page-part-table">
|
||||||
|
<a-table
|
||||||
|
:scroll="{x: 500}"
|
||||||
|
:columns="recheckColumns"
|
||||||
|
:dataSource="recheckDataSource"
|
||||||
|
:pagination="false"
|
||||||
|
bordered
|
||||||
|
rowKey="id">
|
||||||
|
|
||||||
|
<template slot="text" slot-scope="text">
|
||||||
|
<a-tooltip overlay-class-name="tooltip-style">
|
||||||
|
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||||
|
<div class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
||||||
|
</a-tooltip>
|
||||||
|
</template>
|
||||||
|
</a-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- 企标评价 -->
|
<!-- 企标评价 -->
|
||||||
<enterprise-standard-evaluate-modal ref="enterpriseStandardEvaluateModal"></enterprise-standard-evaluate-modal>
|
<enterprise-standard-evaluate-modal ref="enterpriseStandardEvaluateModal"></enterprise-standard-evaluate-modal>
|
||||||
<!-- 更新记录弹框 -->
|
<!-- 更新记录弹框 -->
|
||||||
@@ -151,7 +174,7 @@
|
|||||||
import '@assets/less/common.less'
|
import '@assets/less/common.less'
|
||||||
import { FieldType, StandardSource } from '@/enums/commonEnums'
|
import { FieldType, StandardSource } from '@/enums/commonEnums'
|
||||||
import { downloadFile, getFileAccessHttpUrl } from '@/api/manage'
|
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 UpdateRecordModal from './module/UpdateRecordModal'
|
||||||
import SubmitQuestionModal from './module/SubmitQuestionModal'
|
import SubmitQuestionModal from './module/SubmitQuestionModal'
|
||||||
import EnterpriseStandardEvaluateModal from './module/EnterpriseStandardEvaluateModal'
|
import EnterpriseStandardEvaluateModal from './module/EnterpriseStandardEvaluateModal'
|
||||||
@@ -216,6 +239,38 @@ export default {
|
|||||||
}
|
}
|
||||||
], // 稽查内容表格列参数
|
], // 稽查内容表格列参数
|
||||||
dataSource: [], // 稽查内容数据
|
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,
|
image: false,
|
||||||
imageUrl: '',
|
imageUrl: '',
|
||||||
showViewAllField: ['auth_dept'], // 需要显示展示查看全部按钮的字段
|
showViewAllField: ['auth_dept'], // 需要显示展示查看全部按钮的字段
|
||||||
@@ -253,6 +308,7 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.detailData = res.result
|
this.detailData = res.result
|
||||||
this.dataSource = this.detailData.checkList
|
this.dataSource = this.detailData.checkList
|
||||||
|
this.initRecheckList(this.detailData.id)
|
||||||
this.fileField.forEach(item => {
|
this.fileField.forEach(item => {
|
||||||
if (this.detailData[item]) {
|
if (this.detailData[item]) {
|
||||||
const fileList = this.detailData[item].split(',')
|
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) {
|
getFileInfo (fileId) {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
let fileInfo
|
let fileInfo
|
||||||
|
|||||||
Reference in New Issue
Block a user