Browse Source

在三位经理全部审批通过并进入计划员排产节点时,向计划员发送与下达时相同的邮件,并向试验负责人发送审批通过通知

ecss-tx
han\hanst 3 weeks ago
parent
commit
033ce1623b
  1. 10
      src/views/modules/erf/expApplyApproval.vue

10
src/views/modules/erf/expApplyApproval.vue

@ -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(() => {

Loading…
Cancel
Save