|
|
|
@ -1,5 +1,9 @@ |
|
|
|
<template> |
|
|
|
<div class="approval-container"> |
|
|
|
<div |
|
|
|
class="approval-container" |
|
|
|
v-loading="approvalLoading" |
|
|
|
element-loading-text="审批提交中..." |
|
|
|
element-loading-background="rgba(255, 255, 255, 0.7)"> |
|
|
|
<!-- 页面标题和统计 --> |
|
|
|
<div class="page-header"> |
|
|
|
<div class="header-left"> |
|
|
|
@ -633,6 +637,7 @@ export default { |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'success' |
|
|
|
}).then(() => { |
|
|
|
this.approvalLoading = true |
|
|
|
// 获取当前节点编码并执行通过操作 |
|
|
|
getCurrentNodeCode({ applyNo: row.applyNo }).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
@ -645,7 +650,6 @@ export default { |
|
|
|
operatorName: this.$store.state.user.userDisplay |
|
|
|
} |
|
|
|
|
|
|
|
this.approvalLoading = true |
|
|
|
approveExpApply(approvalData).then(({data}) => { |
|
|
|
this.approvalLoading = false |
|
|
|
if (data && data.code === 0) { |
|
|
|
@ -659,9 +663,11 @@ export default { |
|
|
|
this.$message.error('审批异常') |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.approvalLoading = false |
|
|
|
this.$message.error('获取节点信息失败') |
|
|
|
} |
|
|
|
}).catch(error => { |
|
|
|
this.approvalLoading = false |
|
|
|
this.$message.error('获取节点信息异常') |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
|