浏览代码

离职调整

sangwenwei 8 月之前
父节点
当前提交
f5341087a6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/jy/humanResources/DimissionList.vue

+ 2 - 2
src/views/jy/humanResources/DimissionList.vue

@@ -397,12 +397,12 @@
 					type: 'warning'
 				}).then(() => {
 					this.dimissionService.queryById(row.id).then((data) => {
-						if (data.type !== '2') { // status的值不等于“审核中”,就弹出提示
+						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
 							this.$message.error('数据已发生改变或不存在,请刷新数据')
 							this.refreshList()
 						} else {
 							processService.revokeProcIns(row.procInsId).then((data) => {
-								let form = {type: '3', id: row.id}
+								let form = {status: '3', id: row.id}
 								this.dimissionService.updateStatusById(form)
 								this.$message.success(data)
 								this.refreshList()