|
|
@@ -4,8 +4,6 @@ import { startFlow, saveDraft } from '@/api/platform/bpmn/bpmInst'
|
|
|
import { saveFormData } from '@/api/platform/data/dataTemplate'
|
|
|
import { changeCompleteTime, replenishSnapshot } from '@/api/platform/bpmn/bpmInstHis'
|
|
|
import Print from '@/utils/print'
|
|
|
-import request from '@/business/platform/form/utils/custom/joinCURD.js'
|
|
|
-import { snapshoot } from '@/api/platform/file/attachment'
|
|
|
|
|
|
export default {
|
|
|
methods: {
|
|
|
@@ -35,7 +33,12 @@ export default {
|
|
|
this.submitFormOpinion = this.getFormOpinionData()
|
|
|
switch (buttonType) {
|
|
|
case 'agree':// 同意
|
|
|
- this.setData()
|
|
|
+ // 判断是否最后一步流程
|
|
|
+ if (this.actionTitle === '同意并结束' || this.actionTitle === '提交并结束') {
|
|
|
+ this.setData('已完成')
|
|
|
+ } else {
|
|
|
+ this.setData()
|
|
|
+ }
|
|
|
// if (this.isHide()) {
|
|
|
this.handleDirectActionEvent(actionName)
|
|
|
// } else {
|