|
@@ -106,6 +106,7 @@
|
|
|
<operation-button
|
|
|
:type="2"
|
|
|
title="是否要终止审批?"
|
|
|
+ v-if="record.status == 2"
|
|
|
@confirm="handleStop(record)">终止审批</operation-button>
|
|
|
</template>
|
|
|
</span>
|
|
@@ -490,7 +491,7 @@ export default {
|
|
|
handleStop (record) {
|
|
|
this.$message.info('正在终止审批流程,请勿重复点击')
|
|
|
this.confirmLoading = true
|
|
|
- stopSbInfoScrapForAudit({ id: record.id, processInstanceId: record.processInstanceId })
|
|
|
+ stopSbInfoScrapForAudit({ auditModelKey: record.remark, id: record.id, processInstanceId: record.processInstanceId })
|
|
|
.then(() => {
|
|
|
this.$message.info('已成功终止审批流程,可以重新发起审批')
|
|
|
this.confirmLoading = false
|