sangwenwei 7 mesiacov pred
rodič
commit
f5341087a6

+ 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()