[update] 法规符合性评估库

This commit is contained in:
lideqin
2024-07-18 16:42:48 +08:00
parent 3ce0239c93
commit b1a001aa9f
2 changed files with 12 additions and 3 deletions
@@ -91,7 +91,7 @@
<!-- 节点2、各部门接口人分发 --> <!-- 节点2、各部门接口人分发 -->
<interface-person-delivery-base-info v-if="currentNode === 2" ref="baseInfoRef" :disabled="isLook"></interface-person-delivery-base-info> <interface-person-delivery-base-info v-if="currentNode === 2" ref="baseInfoRef" :disabled="isLook"></interface-person-delivery-base-info>
<!-- 节点3、主排查人分发 --> <!-- 节点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、设计工程师评估 --> <!-- 节点4、设计工程师评估 -->
<design-engineer-evaluation v-if="currentNode === 4" ref="baseInfoRef" :disabled="isLook"></design-engineer-evaluation> <design-engineer-evaluation v-if="currentNode === 4" ref="baseInfoRef" :disabled="isLook"></design-engineer-evaluation>
<!-- 节点5、主排查人单线审核 --> <!-- 节点5、主排查人单线审核 -->
@@ -149,7 +149,7 @@
<!-- 主排查人分发,设计工程师评估 --> <!-- 主排查人分发,设计工程师评估 -->
<template v-else-if="[3, 4].includes(currentNode)"> <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> <a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 --> <!-- 保存 -->
@@ -386,7 +386,8 @@ export default {
formInline: {}, formInline: {},
approvalInfoForm: this.$form.createForm(this), // 审批信息表单 approvalInfoForm: this.$form.createForm(this), // 审批信息表单
personnelInfoData: [], personnelInfoData: [],
isLook: false isLook: false,
rejectDisabled: false // 主排查人分发是否不可以驳回
} }
}, },
methods: { methods: {
@@ -464,6 +465,10 @@ export default {
this.processInfoForm.setFieldsValue(pick(param, 'processName')) this.processInfoForm.setFieldsValue(pick(param, 'processName'))
}) })
}, },
// 不可驳回的回调
disabledReject () {
this.rejectDisabled = true
},
// 保存 // 保存
handleSave () { handleSave () {
if (this.loading) { if (this.loading) {
@@ -538,6 +538,10 @@ export default {
this.dataSourceEvaluate = JSON.parse(JSON.stringify(data.detailInfoList)) this.dataSourceEvaluate = JSON.parse(JSON.stringify(data.detailInfoList))
} }
this.dataSourceCopy = JSON.parse(JSON.stringify(data.detailInfoList)) this.dataSourceCopy = JSON.parse(JSON.stringify(data.detailInfoList))
// 部分分发后主排查人收到的新待办不可驳回
if (this.formInline.lockDistributeFlag) {
this.$emit('disabledReject')
}
this.isGetDataAfter = true this.isGetDataAfter = true
}, },
// 外层要获取数据 // 外层要获取数据