fix 79311

This commit is contained in:
danshihao
2023-12-19 10:30:14 +08:00
parent 9581db123d
commit 03cdb35e64
7 changed files with 69 additions and 64 deletions
@@ -75,7 +75,7 @@
import '@assets/less/common.less'
import InternalDetailPage from '@comp/InternalDetailPage'
import BaseInfoForm from '@views/workCenter/standardPromotionProcess/modules/BaseInfoForm'
import { ApprovalOpinions, ProcessKey, StandardPromotion } from '@/enums/commonEnums'
import { ProcessKey, StandardPromotion } from '@/enums/commonEnums'
import {
getStandardPromotionDataById, getStandardPromotionDetail,
getStandardPromotionProjectId,
@@ -174,7 +174,7 @@ export default {
// 发起、草稿进来没有nodeId,就默认发起节点
this.currentNode = nodeId || StandardPromotion.initiate.value
this.currentNodeName = taskName || StandardPromotion.initiate.text
this.projectId = projectId
this.projectId = projectId || ''
this.btn = StandardPromotion.propertyOfValue('btn', this.currentNode) || []
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
if (nodeId && !StandardPromotion.keyOfValue(nodeId)) {
@@ -318,8 +318,6 @@ export default {
this.loading = true
this.getPageParams().then(res => {
console.log(res)
// 审批意见
res.processApprovalRecord.commitFlag = ApprovalOpinions.AGREE.value
return startStandardPromotion(res)
}).then(res => {
if (res.success) {