fix 79311
This commit is contained in:
@@ -204,7 +204,7 @@ export default {
|
||||
// 发起、草稿进来没有nodeId,就默认发起节点
|
||||
this.currentNode = nodeId || PostMeetingManage.initiate.value
|
||||
this.currentNodeName = taskName || PostMeetingManage.initiate.text
|
||||
this.projectId = projectId
|
||||
this.projectId = projectId || ''
|
||||
this.btn = PostMeetingManage.propertyOfValue('btn', this.currentNode) || []
|
||||
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
|
||||
if (nodeId && !PostMeetingManage.keyOfValue(nodeId)) {
|
||||
@@ -414,8 +414,6 @@ export default {
|
||||
this.loading = true
|
||||
this.getPageParams().then(res => {
|
||||
console.log(res)
|
||||
// 审批意见
|
||||
res.processApprovalRecord.commitFlag = ApprovalOpinions.AGREE.value
|
||||
return startPostMeetingManage(res)
|
||||
}).then(res => {
|
||||
if (res.success) {
|
||||
@@ -438,14 +436,18 @@ export default {
|
||||
if (this.loading) return
|
||||
this.loading = true
|
||||
this.getPageParams().then(res => {
|
||||
res.map.pass = true
|
||||
res.notAttend = false
|
||||
// 不是提交按钮 且 如果没有填写注释,就默认同意
|
||||
if (!isSubmitBtn && !res.processApprovalRecord.commitText) {
|
||||
res.processApprovalRecord.commitText = '同意'
|
||||
// 不是提交按钮
|
||||
if (!isSubmitBtn) {
|
||||
// 不是提交按钮就一直传true 同意
|
||||
res.map.pass = true
|
||||
// 没有填写注释,就默认同意
|
||||
if (!res.processApprovalRecord.commitText) {
|
||||
res.processApprovalRecord.commitText = '同意'
|
||||
}
|
||||
// 审批意见
|
||||
res.processApprovalRecord.commitFlag = ApprovalOpinions.AGREE.value
|
||||
}
|
||||
// 审批意见
|
||||
res.processApprovalRecord.commitFlag = ApprovalOpinions.AGREE.value
|
||||
return approvalPostMeetingManage(res)
|
||||
}).then(res => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user