update 稽查延期申请
This commit is contained in:
+11
-4
@@ -95,7 +95,7 @@
|
||||
</div>
|
||||
<!-- 人员信息 -->
|
||||
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
|
||||
<process-detail-list>
|
||||
<process-detail-list :process-key="processKey">
|
||||
<template #personnelInfo>
|
||||
<personnel-info ref="personnelInfo" :data="personnelInfoData" :current-node="currentNodeName" />
|
||||
</template>
|
||||
@@ -162,6 +162,8 @@ export default {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 22 }
|
||||
},
|
||||
// 流程key
|
||||
processKey: ProcessKey.ES_INSPECTION_PLAN.value,
|
||||
// 当前流程信息
|
||||
EsInspectionPlan,
|
||||
info: {},
|
||||
@@ -234,9 +236,14 @@ export default {
|
||||
this.currentNode = nodeId || EsInspectionPlan.initiate.value
|
||||
this.currentNodeName = taskName || EsInspectionPlan.initiate.text
|
||||
this.projectId = projectId
|
||||
this.btn = EsInspectionPlan.propertyOfValue('btn', this.currentNode)
|
||||
this.btn = EsInspectionPlan.propertyOfValue('btn', this.currentNode) || 0
|
||||
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
|
||||
if (nodeId && !EsInspectionPlan.keyOfValue(nodeId)) {
|
||||
// 审批和同意按钮
|
||||
this.btn = 24
|
||||
}
|
||||
// 查询人员信息
|
||||
this.getPersonInfoStructure(ProcessKey.ES_INSPECTION_PLAN.value, () => {
|
||||
this.getPersonInfoStructure(this.processKey, () => {
|
||||
this.initPersonInfoData(this.currentNode === EsInspectionPlan.initiate.value)
|
||||
})
|
||||
// 如果是待办进来,就获取详情数据
|
||||
@@ -315,7 +322,7 @@ export default {
|
||||
}
|
||||
// 通过表格中的所属部门人员获取稽查征求意见对象
|
||||
const userList = this.$refs.inspectionPlanTable.dataSource.map(item => item.objectOfConsultation.split(',')).flat(Infinity)
|
||||
personnelObj.opinionFillList = Array.from(new Set(userList))
|
||||
personnelObj.opinionFillList = Array.from(new Set(userList)).filter(item => item)
|
||||
}
|
||||
return personnelObj
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user