[update] 法规符合性评估库
This commit is contained in:
+8
-3
@@ -91,7 +91,7 @@
|
||||
<!-- 节点2、各部门接口人分发 -->
|
||||
<interface-person-delivery-base-info v-if="currentNode === 2" ref="baseInfoRef" :disabled="isLook"></interface-person-delivery-base-info>
|
||||
<!-- 节点3、主排查人分发 -->
|
||||
<main-finder-distributes-base-info v-if="currentNode === 3" ref="baseInfoRef" :disabled="isLook"></main-finder-distributes-base-info>
|
||||
<main-finder-distributes-base-info v-if="currentNode === 3" ref="baseInfoRef" :disabled="isLook" @disabledReject="disabledReject"></main-finder-distributes-base-info>
|
||||
<!-- 节点4、设计工程师评估 -->
|
||||
<design-engineer-evaluation v-if="currentNode === 4" ref="baseInfoRef" :disabled="isLook"></design-engineer-evaluation>
|
||||
<!-- 节点5、主排查人单线审核 -->
|
||||
@@ -149,7 +149,7 @@
|
||||
<!-- 主排查人分发,设计工程师评估 -->
|
||||
<template v-else-if="[3, 4].includes(currentNode)">
|
||||
<!-- 驳回 -->
|
||||
<a-button type="danger" ghost :loading="loading" @click="handleReject" icon="close">{{ $t('reject') }}</a-button>
|
||||
<a-button type="danger" ghost :loading="loading" @click="handleReject" icon="close" :disabled="rejectDisabled">{{ $t('reject') }}</a-button>
|
||||
<!-- 转办 -->
|
||||
<a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
|
||||
<!-- 保存 -->
|
||||
@@ -386,7 +386,8 @@ export default {
|
||||
formInline: {},
|
||||
approvalInfoForm: this.$form.createForm(this), // 审批信息表单
|
||||
personnelInfoData: [],
|
||||
isLook: false
|
||||
isLook: false,
|
||||
rejectDisabled: false // 主排查人分发是否不可以驳回
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -464,6 +465,10 @@ export default {
|
||||
this.processInfoForm.setFieldsValue(pick(param, 'processName'))
|
||||
})
|
||||
},
|
||||
// 不可驳回的回调
|
||||
disabledReject () {
|
||||
this.rejectDisabled = true
|
||||
},
|
||||
// 保存
|
||||
handleSave () {
|
||||
if (this.loading) {
|
||||
|
||||
+4
@@ -538,6 +538,10 @@ export default {
|
||||
this.dataSourceEvaluate = JSON.parse(JSON.stringify(data.detailInfoList))
|
||||
}
|
||||
this.dataSourceCopy = JSON.parse(JSON.stringify(data.detailInfoList))
|
||||
// 部分分发后主排查人收到的新待办不可驳回
|
||||
if (this.formInline.lockDistributeFlag) {
|
||||
this.$emit('disabledReject')
|
||||
}
|
||||
this.isGetDataAfter = true
|
||||
},
|
||||
// 外层要获取数据
|
||||
|
||||
Reference in New Issue
Block a user