update 稽查延期申请
This commit is contained in:
+11
-5
@@ -76,7 +76,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>
|
||||
@@ -108,7 +108,7 @@ import ProcessDetailList from '@comp/ProcessDetailList'
|
||||
import InspectionProcessTable
|
||||
from '@views/workCenter/enterpriseStandardInspectionProcess/modules/InspectionProcessTable'
|
||||
import UserSelectModal from '@comp/selection/UserSelectModal'
|
||||
import { EsInspectionProcess, ProcessKey } from '@/enums/commonEnums'
|
||||
import { EsInspectionPlan, EsInspectionProcess, ProcessKey } from '@/enums/commonEnums'
|
||||
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||
import {
|
||||
approvalInspectProcess,
|
||||
@@ -141,6 +141,8 @@ export default {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 22 }
|
||||
},
|
||||
// 流程key
|
||||
processKey: ProcessKey.ES_INSPECTION_PROCESS.value,
|
||||
// 当前流程信息
|
||||
EsInspectionProcess,
|
||||
info: {},
|
||||
@@ -192,9 +194,14 @@ export default {
|
||||
this.currentNode = nodeId || EsInspectionProcess.initiate.value
|
||||
this.currentNodeName = taskName || EsInspectionProcess.initiate.text
|
||||
this.projectId = projectId
|
||||
this.btn = EsInspectionProcess.propertyOfValue('btn', this.currentNode)
|
||||
this.btn = EsInspectionProcess.propertyOfValue('btn', this.currentNode) || 0
|
||||
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
|
||||
if (nodeId && !EsInspectionPlan.keyOfValue(nodeId)) {
|
||||
// 审批和同意按钮
|
||||
this.btn = 24
|
||||
}
|
||||
// 查询人员信息
|
||||
this.getPersonInfoStructure(ProcessKey.ES_INSPECTION_PROCESS.value, () => {
|
||||
this.getPersonInfoStructure(this.processKey, () => {
|
||||
this.initPersonInfoData(this.currentNode === EsInspectionProcess.initiate.value)
|
||||
})
|
||||
// 如果是待办进来,就获取详情数据
|
||||
@@ -225,7 +232,6 @@ export default {
|
||||
*/
|
||||
loadPage () {
|
||||
const { projectId, taskId } = this.$route.query
|
||||
this.btn = EsInspectionProcess.propertyOfValue('btn', this.currentNode)
|
||||
this.loading = true
|
||||
getInspectProcessDetail({
|
||||
projectId,
|
||||
|
||||
Reference in New Issue
Block a user