Browse Source

完善出库申请

zhanglei
yunuo970428 2 years ago
parent
commit
8c409626ad
  1. 26
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

26
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

@ -287,18 +287,22 @@ export default {
} }
}, },
handleRevoke(row) { handleRevoke(row) {
this.$confirm('是否确定撤回该业务', '提示', { if (row.allowModify) {
confirmButtonText: '确定', this.$confirm('是否确定撤回该业务', '提示', {
cancelButtonText: '取消', confirmButtonText: '确定',
type: 'warning' cancelButtonText: '取消',
}).then(() => { type: 'warning'
revokeProcess({ taskId: row.taskId, businessSid: row.sid, instanceId: row.procInstId, userSid: window.sessionStorage.getItem('userSid') }).then((response) => { }).then(() => {
if (response.success) { revokeProcess({ taskId: row.taskId, businessSid: row.sid, instanceId: row.procInstId, userSid: window.sessionStorage.getItem('userSid') }).then((response) => {
this.$message({ showClose: true,type: 'success', message: response.msg }) if (response.success) {
this.getList() this.$message({ showClose: true,type: 'success', message: response.msg })
} this.getList()
}
})
}) })
}) } else {
this.$message({ showClose: true, type: 'error', message: '非本人发起的申请,无权限操作' })
}
}, },
// sid // sid
handleSelectionChange(row) { handleSelectionChange(row) {

Loading…
Cancel
Save