update 项目合规流程
This commit is contained in:
+15
-5
@@ -171,7 +171,7 @@
|
|||||||
:show-btn="false"
|
:show-btn="false"
|
||||||
:value="record.designEngineers"
|
:value="record.designEngineers"
|
||||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.designEngineer')"
|
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.designEngineer')"
|
||||||
type="checkbox"
|
type="radio"
|
||||||
v-if="!record.notInvolved"
|
v-if="!record.notInvolved"
|
||||||
@listChange="value => handleUserChange(value, record, index, 'designEngineers')" />
|
@listChange="value => handleUserChange(value, record, index, 'designEngineers')" />
|
||||||
<div v-else>{{ global.emptyLine }}</div>
|
<div v-else>{{ global.emptyLine }}</div>
|
||||||
@@ -307,7 +307,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--选人-->
|
<!--选人-->
|
||||||
<user-select-modal type="checkbox" ref="userSelectModal" @listChange="handleBatchSelectorOk" @change="continueTransfer" />
|
<user-select-modal :type="userSelectType" ref="userSelectModal" @listChange="handleBatchSelectorOk" @change="continueTransfer" />
|
||||||
<!--不涉及-->
|
<!--不涉及-->
|
||||||
<uninvolved-modal ref="uninvolvedModal" @ok="handleUninvolvedOk" />
|
<uninvolved-modal ref="uninvolvedModal" @ok="handleUninvolvedOk" />
|
||||||
<!--条文内容-->
|
<!--条文内容-->
|
||||||
@@ -727,13 +727,13 @@ export default {
|
|||||||
])
|
])
|
||||||
}
|
}
|
||||||
// 设计工程师评估、模块负责人审批、各部门主管级领导审批、法规工程师归档,及用户新增的审批节点都显示审批节点的表头
|
// 设计工程师评估、模块负责人审批、各部门主管级领导审批、法规工程师归档,及用户新增的审批节点都显示审批节点的表头
|
||||||
const showNode = [ProjectComplianceEvaluationProcessNode.designEngineerEvaluation.value, ProjectComplianceEvaluationProcessNode.moduleOwnerApproval.value, ProjectComplianceEvaluationProcessNode.departLeaderApproval.value, ProjectComplianceEvaluationProcessNode.regulatoryEngineerFiling.value]
|
const showNode = [ProjectComplianceEvaluationProcessNode.designEngineerEvaluation.value, ProjectComplianceEvaluationProcessNode.moduleOwnerApproval.value, ProjectComplianceEvaluationProcessNode.departLeaderApproval.value, ProjectComplianceEvaluationProcessNode.regulatoryEngineerFiling.value, ProjectComplianceEvaluationProcessNode.moduleOwnerModification.value]
|
||||||
if (showNode.includes(this.currentNode) || !ProjectComplianceEvaluationProcessNode.keyOfValue(this.currentNode)) {
|
if (showNode.includes(this.currentNode) || !ProjectComplianceEvaluationProcessNode.keyOfValue(this.currentNode)) {
|
||||||
return this.basicColumns.concat([
|
return this.basicColumns.concat([
|
||||||
// 上一节点处理人
|
// 上一节点处理人
|
||||||
{
|
{
|
||||||
title: this.$t('workCenter.projectComplianceEvaluationProcess.preNodePeople'),
|
title: this.$t('workCenter.projectComplianceEvaluationProcess.preNodePeople'),
|
||||||
dataIndex: 'preNodePeople',
|
dataIndex: 'previousNodeHandler',
|
||||||
width: 150,
|
width: 150,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
@@ -767,6 +767,13 @@ export default {
|
|||||||
// 是否展示抄送人员
|
// 是否展示抄送人员
|
||||||
showCcPerson () {
|
showCcPerson () {
|
||||||
return this.currentNode === ProjectComplianceEvaluationProcessNode.regulatoryEngineerFiling.value
|
return this.currentNode === ProjectComplianceEvaluationProcessNode.regulatoryEngineerFiling.value
|
||||||
|
},
|
||||||
|
// 转办、批量选人的用户弹窗类型
|
||||||
|
userSelectType () {
|
||||||
|
if (this.currentNode === ProjectComplianceEvaluationProcessNode.moduleOwnerIssued.value || this.isTransfer) {
|
||||||
|
return 'radio'
|
||||||
|
}
|
||||||
|
return 'checkbox'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
@@ -811,6 +818,9 @@ export default {
|
|||||||
// 流程审批信息
|
// 流程审批信息
|
||||||
this.approvalInfo = Object.assign({}, draftResult.approvalInfo)
|
this.approvalInfo = Object.assign({}, draftResult.approvalInfo)
|
||||||
} else {
|
} else {
|
||||||
|
// 项目、标准信息回显
|
||||||
|
this.projectDataSource = [result.businessInfoDTO.processProjectAssess]
|
||||||
|
this.standardDataSource = result.businessInfoDTO.processProjectAssessLinkList || []
|
||||||
const dataList = result.businessInfoDTO.processProjectAssessTermList || []
|
const dataList = result.businessInfoDTO.processProjectAssessTermList || []
|
||||||
this.dataSource = dataList.map((item, index) => {
|
this.dataSource = dataList.map((item, index) => {
|
||||||
item.tableRowKey = index
|
item.tableRowKey = index
|
||||||
@@ -908,7 +918,7 @@ export default {
|
|||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/projectLibrary/VehicleItemLibraryDetail',
|
path: '/projectLibrary/VehicleItemLibraryDetail',
|
||||||
query: {
|
query: {
|
||||||
id: project.id,
|
id: project.id || project.projectId,
|
||||||
projectName: project.projectName
|
projectName: project.projectName
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user