Bläddra i källkod

流程提示调整

sangwenwei 9 månader sedan
förälder
incheckning
24139c166d
31 ändrade filer med 940 tillägg och 893 borttagningar
  1. 30 30
      src/views/jy/borrowMoney/BorrowForm.vue
  2. 30 30
      src/views/jy/borrowMoney/RefundForm.vue
  3. 30 30
      src/views/jy/daily/MeetingRoomForm.vue
  4. 30 30
      src/views/jy/drive/DriveAccountForm.vue
  5. 30 30
      src/views/jy/drive/DriveApplyForm.vue
  6. 30 30
      src/views/jy/driveMaintain/DriveMaintainAddForm.vue
  7. 30 30
      src/views/jy/evection/EvectionForm.vue
  8. 30 30
      src/views/jy/finance/InvoiceFormTask.vue
  9. 30 30
      src/views/jy/finance/InvoiceFormTaskInvalid.vue
  10. 30 30
      src/views/jy/goOut/GoOutForm.vue
  11. 30 30
      src/views/jy/holiday/HolidayForm.vue
  12. 30 30
      src/views/jy/humanResources/DimissionForm.vue
  13. 30 30
      src/views/jy/humanResources/EntryForm.vue
  14. 30 30
      src/views/jy/humanResources/HeirForm.vue
  15. 52 52
      src/views/jy/humanResources/RegularForm.vue
  16. 30 30
      src/views/jy/inscription/InscriptionForm.vue
  17. 20 20
      src/views/jy/notify/NotifyTaskForm.vue
  18. 30 30
      src/views/jy/payment/PaymentForm.vue
  19. 30 30
      src/views/jy/project/OutInstanceForm.vue
  20. 30 30
      src/views/jy/project/ProjectArchiveForm.vue
  21. 30 30
      src/views/jy/project/ProjectAuditForm.vue
  22. 30 30
      src/views/jy/project/ProjectEiaForm.vue
  23. 30 30
      src/views/jy/project/ProjectForm.vue
  24. 50 4
      src/views/jy/project/ProjectList.vue
  25. 30 30
      src/views/jy/reimbursement/ReimbursementForm.vue
  26. 32 31
      src/views/jy/workContractInfo/WorkContractForm.vue
  27. 24 24
      src/views/materialManagement/collect/CollectForm.vue
  28. 24 24
      src/views/materialManagement/collect/CollectReturnForm.vue
  29. 24 24
      src/views/materialManagement/purchase/PurchaseForm.vue
  30. 30 30
      src/views/materialManagement/userSeal/SignetAddForm.vue
  31. 24 24
      src/views/materialManagement/wareHouse/WareHouseUpdateForm.vue

+ 30 - 30
src/views/jy/borrowMoney/BorrowForm.vue

@@ -200,13 +200,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.borrowService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -216,11 +216,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.borrowService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						if (this.$refs.uploadComponent.checkProgress()) {
 							this.loading = false
@@ -241,19 +241,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.borrowService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -342,11 +342,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.borrowService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -366,22 +366,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.borrowService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.borrowService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/borrowMoney/RefundForm.vue

@@ -214,13 +214,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.borrowService.queryById(this.inputForm.id).then((data) => {
-						if (data.refundStatus !== '0' && data.refundStatus !== '1' && data.refundStatus !== '3' && data.refundStatus !== '5' && data.refundStatus !== '' && data.refundStatus !== null && data.refundStatus !== undefined) { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.refundStatus !== '0' && data.refundStatus !== '1' && data.refundStatus !== '3' && data.refundStatus !== '5' && data.refundStatus !== '' && data.refundStatus !== null && data.refundStatus !== undefined) { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -230,11 +230,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.borrowService.queryById(this.inputForm.id).then((data) => {
-					if (data.refundStatus !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.refundStatus !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '5'
 						let param = {status: this.inputForm.status, id: this.inputForm.id}
 						this.borrowService.updateRefundById(param).then(() => {
@@ -243,19 +243,19 @@
 						}).catch(() => {
 							this.loading = false
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.borrowService.queryById(this.inputForm.id).then((data) => {
-					if (data.refundStatus !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.refundStatus !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -330,11 +330,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.borrowService.queryById(this.inputForm.id).then((data) => {
-						if (data.refundStatus !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.refundStatus !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -354,22 +354,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.borrowService.queryById(this.inputForm.id).then((data) => {
-						if (data.refundStatus !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.refundStatus !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.borrowService.updateRefundById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/daily/MeetingRoomForm.vue

@@ -206,13 +206,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.meetingRoomServie.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -222,11 +222,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.meetingRoomServie.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 							this.inputForm.status= '5'
 						let param = {status: this.inputForm.status, id: this.inputForm.id}
 						this.inputForm=JSON.stringify(this.inputForm)
@@ -236,19 +236,19 @@
 						}).catch(() => {
 							this.loading = false
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.meetingRoomServie.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -374,11 +374,11 @@
 				this.loading = true
 					if (type === 'reject' || type === 'reback') {
 						this.meetingRoomServie.queryById(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -398,22 +398,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.meetingRoomServie.queryById(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.meetingRoomServie.updateStatusById(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 

+ 30 - 30
src/views/jy/drive/DriveAccountForm.vue

@@ -324,13 +324,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.driveService.queryById(this.inputForm.id).then((data) => {
-						if (data.accountStatus !== '0' && data.accountStatus !== '1' && data.accountStatus !== '3' && data.accountStatus !== '' && data.accountStatus !== null && data.accountStatus !== undefined) { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.accountStatus !== '0' && data.accountStatus !== '1' && data.accountStatus !== '3' && data.accountStatus !== '' && data.accountStatus !== null && data.accountStatus !== undefined) { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -340,11 +340,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.driveService.queryById(this.inputForm.id).then((data) => {
-					if (data.accountStatus !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.accountStatus !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '5'
 						this.inputForm.applyId=this.inputForm.id
 						let param = {status: this.inputForm.status, applyId: this.inputForm.applyId}
@@ -355,19 +355,19 @@
 						}).catch(() => {
 							this.loading = false
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.driveService.queryById(this.inputForm.id).then((data) => {
-					if (data.accountStatus !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.accountStatus !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -449,11 +449,11 @@
 				this.inputForm.applyId=this.inputForm.id
 				if (type === 'reject' || type === 'reback') {
 					this.driveService.queryById(this.inputForm.id).then((data) => {
-						if (data.accountStatus !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.accountStatus !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -473,15 +473,15 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.driveService.queryById(this.inputForm.id).then((data) => {
-						if (data.accountStatus !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.accountStatus !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							this.inputForm.applyId=this.inputForm.id
 							let param = {status: '1', applyId: this.inputForm.applyId}
@@ -489,7 +489,7 @@
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/drive/DriveApplyForm.vue

@@ -247,13 +247,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.driveService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -263,11 +263,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.driveService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data)=>{
 							if (this.commonJS.isNotEmpty(data)) {
@@ -284,19 +284,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.driveService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -416,11 +416,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.driveService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -440,22 +440,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.driveService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.driveService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/driveMaintain/DriveMaintainAddForm.vue

@@ -194,13 +194,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.driveMaintainService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -210,11 +210,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.driveMaintainService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data)=>{
 							if (this.commonJS.isNotEmpty(data)) {
@@ -231,19 +231,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.driveMaintainService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -337,11 +337,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.driveMaintainService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -361,22 +361,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.driveMaintainService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.driveMaintainService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/evection/EvectionForm.vue

@@ -268,13 +268,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.evectionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -284,11 +284,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.evectionService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data)=>{
 							if (this.commonJS.isNotEmpty(data)) {
@@ -305,19 +305,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.evectionService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -418,11 +418,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.evectionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -442,22 +442,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.evectionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.evectionService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/finance/InvoiceFormTask.vue

@@ -1090,13 +1090,13 @@
 			this.loading = true
 			if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 				financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.doSubmit('start', callback)
-					}
+					// }
 				})
 			} else {
 				this.doSubmit('start', callback)
@@ -1106,11 +1106,11 @@
 			console.log('进入方法')
 			this.loading = true
 			 financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-				 if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-					this.loading = false
-					this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					throw new Error()
-				} else {
+				//  if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+				// 	this.loading = false
+				// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+				// 	throw new Error()
+				// } else {
 					 this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=> {
 						 if (this.commonJS.isNotEmpty(da)) {
 							 if (da === '财务审核') {
@@ -1182,20 +1182,20 @@
 						 })
 					 })
 
-				}
+				// }
 			})
 
 		},
 		reapplyForm(callback) {
 			this.loading = true
 			financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-				if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-					this.loading = false
-					this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-				} else {
+				// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+				// 	this.loading = false
+				// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+				// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+				// } else {
 					this.doSubmit('reapply', callback)
-				}
+				// }
 			})
 		},
 		// 表单提交
@@ -1594,11 +1594,11 @@
 			} else {
 				if (type === 'reject' || type === 'reback') {
 					financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -1618,22 +1618,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							financeInvoiceService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 			}

+ 30 - 30
src/views/jy/finance/InvoiceFormTaskInvalid.vue

@@ -801,37 +801,37 @@
       startForm (callback) {
         this.loading = true
         financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-          if (data.status !== '5') { // status的值不等于“审批完成”(发票作废只有发票申请通过后才可以发起),就弹出提示
-            this.loading = false
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.status !== '5') { // status的值不等于“审批完成”(发票作废只有发票申请通过后才可以发起),就弹出提示
+          //   this.loading = false
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.doSubmit('start', callback)
-          }
+          // }
         })
       },
       agreeForm (callback) {
         this.loading = true
         financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-          if (data.status !== '6') { // status的值不等于“审核中”,就弹出提示
-            this.loading = false
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.status !== '6') { // status的值不等于“审核中”,就弹出提示
+          //   this.loading = false
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.doSubmit('agree', callback)
-          }
+          // }
         })
       },
       reapplyForm (callback) {
         this.loading = true
         financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-          if (data.status !== '8') { // 审核状态不是“驳回”,就弹出提示
-            this.loading = false
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.status !== '8') { // 审核状态不是“驳回”,就弹出提示
+          //   this.loading = false
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.doSubmit('reapply', callback)
-          }
+          // }
         })
       },
       // 表单提交
@@ -1198,11 +1198,11 @@
         } else {
           if (type === 'reject' || type === 'reback') {
             financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-              if (data.status !== '6') { // status的值不等于“审核中”,就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '6') { // status的值不等于“审核中”,就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 if (type === 'agree') {
                   // 同意
                   this.inputForm.status = '9'
@@ -1224,22 +1224,22 @@
                     callback()
                   })
                 }
-              }
+              // }
             })
           } else if (type === 'hold') {
             financeInvoiceService.queryById(this.inputForm.id).then((data) => {
-              if (data.status !== '8') { // status的值不等于“驳回”就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '8') { // status的值不等于“驳回”就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 // 终止
                 let param = {status: '5', id: this.inputForm.id}
                 financeInvoiceService.updateStatusById(param).then(() => {
                   this.loading = false
                   callback()
                 })
-              }
+              // }
             })
           }
         }

+ 30 - 30
src/views/jy/goOut/GoOutForm.vue

@@ -268,13 +268,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.goOutService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -284,11 +284,11 @@
 				console.log('进入方法')
 				this.loading = true
 				 this.goOutService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data)=>{
 							if (this.commonJS.isNotEmpty(data)) {
@@ -305,19 +305,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.goOutService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -421,11 +421,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.goOutService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -445,22 +445,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.goOutService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.goOutService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/holiday/HolidayForm.vue

@@ -247,13 +247,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.holidayService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -263,11 +263,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.holidayService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						if (this.inputForm.days >= 2){
 							this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=>{
@@ -297,19 +297,19 @@
 							})
 						}
 
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.holidayService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -421,11 +421,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.holidayService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -445,22 +445,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.holidayService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.holidayService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/humanResources/DimissionForm.vue

@@ -186,13 +186,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.dimissionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -202,11 +202,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.dimissionService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 							this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=>{
 								if (this.commonJS.isNotEmpty(da)) {
@@ -223,19 +223,19 @@
 									this.loading = false
 								})
 							})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.dimissionService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -321,11 +321,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.dimissionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -345,22 +345,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.dimissionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.dimissionService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/humanResources/EntryForm.vue

@@ -633,13 +633,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.entryService.queryById(this.inputForm.id).then((data) => {
-						if (data.type !== '0' && data.type !== '1' && data.type !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.type !== '0' && data.type !== '1' && data.type !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -657,11 +657,11 @@
 				this.inputForm.professional = this.$refs.professional.getDataList()
 				this.inputForm.resignation = this.$refs.resignation.getDataList()
 				await this.entryService.queryById(this.inputForm.id).then((data) => {
-					if (data.type !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.type !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.type= '2'
 							this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=>{
 								if (this.commonJS.isNotEmpty(da)) {
@@ -679,19 +679,19 @@
 								})
 							})
 
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.entryService.queryById(this.inputForm.id).then((data) => {
-					if (data.type !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.type !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -898,11 +898,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.entryService.queryById(this.inputForm.id).then((data) => {
-						if (data.type !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.type !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -922,22 +922,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.entryService.queryById(this.inputForm.id).then((data) => {
-						if (data.type !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.type !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {type: '1', id: this.inputForm.id}
 							this.entryService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/humanResources/HeirForm.vue

@@ -222,13 +222,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.dimissionService.findHeirById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -238,11 +238,11 @@
 				console.log('进入方法')
 				this.loading = true
 				 this.dimissionService.findHeirById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=>{
 							if (this.commonJS.isNotEmpty(da)) {
@@ -259,19 +259,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.dimissionService.findHeirById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -334,11 +334,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.dimissionService.findHeirById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -358,22 +358,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.dimissionService.findHeirById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.dimissionService.updateHeirStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 52 - 52
src/views/jy/humanResources/RegularForm.vue

@@ -284,30 +284,30 @@
 				}
 				await this.entryService.queryByApplyId(this.inputForm.id).then((data) => {
 					console.log('data',data.status)
-					if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-						if (data.status === '4'){
-							this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=>{
-								if (this.commonJS.isNotEmpty(da)) {
-									if (da === '人事管理员审核') {
-										this.inputForm.status = '5'
-									}
-								}
-								let param = {status: this.inputForm.status, id: this.inputForm.id}
-								this.inputForm=JSON.stringify(this.inputForm)
-								this.entryService.saveApplyForm(this.inputForm).then((item) => {
-									console.log('this.inputForm',this.inputForm)
-									callback(data.businessTable, data.businessId, this.inputForm,'',item.isPass,item.isEmploy)
-									this.loading = false
-								}).catch(() => {
-									this.loading = false
-								})
-							})
-						}else {
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						}
-					} else {
+					// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+					// 	if (data.status === '4'){
+					// 		this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((da)=>{
+					// 			if (this.commonJS.isNotEmpty(da)) {
+					// 				if (da === '人事管理员审核') {
+					// 					this.inputForm.status = '5'
+					// 				}
+					// 			}
+					// 			let param = {status: this.inputForm.status, id: this.inputForm.id}
+					// 			this.inputForm=JSON.stringify(this.inputForm)
+					// 			this.entryService.saveApplyForm(this.inputForm).then((item) => {
+					// 				console.log('this.inputForm',this.inputForm)
+					// 				callback(data.businessTable, data.businessId, this.inputForm,'',item.isPass,item.isEmploy)
+					// 				this.loading = false
+					// 			}).catch(() => {
+					// 				this.loading = false
+					// 			})
+					// 		})
+					// 	}else {
+					// 		this.loading = false
+					// 		// this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 		throw new Error()
+					// 	}
+					// } else {
 						this.inputForm.status= '2'
 						this.inputForm.createTime = ''
 						if (this.inputForm.isPass ==='0'){
@@ -360,19 +360,19 @@
 
 						}
 
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.entryService.queryByApplyId(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -447,19 +447,19 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.entryService.queryByApplyId(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							if (data.status === '4'){
-								this.inputForm.status = '4'
-								let param = {status: this.inputForm.status, id: this.inputForm.id}
-								this.entryService.updateStatusByApplyId(param).then(() => {
-									this.loading = false
-									callback()
-								})
-							}
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	if (data.status === '4'){
+						// 		this.inputForm.status = '4'
+						// 		let param = {status: this.inputForm.status, id: this.inputForm.id}
+						// 		this.entryService.updateStatusByApplyId(param).then(() => {
+						// 			this.loading = false
+						// 			callback()
+						// 		})
+						// 	}
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -479,22 +479,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.entryService.queryByApplyId(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
-							this.entryService.saveApplyForm(this.inputForm).then(() => {
+							this.entryService.updateStatusByApplyId(param).then(() => {
 								this.loading = false
 								callback(data.businessTable, data.businessId, this.inputForm)
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/inscription/InscriptionForm.vue

@@ -293,13 +293,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.inscriptionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -309,11 +309,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.inscriptionService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						// if (this.commonJS.isEmpty(this.inputForm.examiner) && this.commonJS.isNotEmpty(this.inputForm.minister)){
 						// 	this.inputForm.examiner=this.$store.state.user.id
@@ -341,19 +341,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.inscriptionService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -451,11 +451,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.inscriptionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -475,22 +475,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.inscriptionService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.inscriptionService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 20 - 20
src/views/jy/notify/NotifyTaskForm.vue

@@ -390,22 +390,22 @@
       },
       agreeForm (callback) {
         this.notifyService.queryById(this.inputForm.id).then((data) => {
-          if (data.status !== '2') { // 审核状态不是“待审核”,就弹出提示
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error()
-          } else {
+          // if (data.status !== '2') { // 审核状态不是“待审核”,就弹出提示
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error()
+          // } else {
             this.doSubmit('agree', callback)
-          }
+          // }
         })
       },
       reapplyForm (callback) {
         this.notifyService.queryById(this.inputForm.id).then((data) => {
-          if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.doSubmit('reapply', callback)
-          }
+          // }
         })
       },
       // 表单提交
@@ -512,10 +512,10 @@
         } else {
           if (type === 'reject' || type === 'reback') {
             this.notifyService.queryById(this.inputForm.id).then((data) => {
-              if (data.status !== '2') { // status的值不等于“审核中”就弹出提示
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '2') { // status的值不等于“审核中”就弹出提示
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 if (type === 'reject') {
                   // 驳回
                   this.inputForm.status = '4'
@@ -531,21 +531,21 @@
                     callback()
                   })
                 }
-              }
+              // }
             })
           } else if (type === 'hold') {
             this.notifyService.queryById(this.inputForm.id).then((data) => {
-              if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 // 终止
                 let param = {status: '1', id: this.inputForm.id}
                 this.notifyService.updateStatusById(param).then(() => {
 					this.loading = false
                   	callback()
                 })
-              }
+              // }
             })
           }
         }

+ 30 - 30
src/views/jy/payment/PaymentForm.vue

@@ -420,13 +420,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.paymentService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -436,11 +436,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.paymentService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						if (this.$refs.uploadComponent.checkProgress()) {
 							this.loading = false
@@ -461,19 +461,19 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				this.paymentService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -584,11 +584,11 @@
 				this.loading = true
 				if (type === 'reject' || type === 'reback') {
 					this.paymentService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// if (type === 'agree') {
 							//   // 同意
 							//   this.inputForm.status = '5'
@@ -608,22 +608,22 @@
 									callback()
 								})
 							}
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.paymentService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							// 终止
 							let param = {status: '1', id: this.inputForm.id}
 							this.paymentService.updateStatusById(param).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 

+ 30 - 30
src/views/jy/project/OutInstanceForm.vue

@@ -444,13 +444,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.projectInfoService.findByIdOut(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			saveForm (callback) {
@@ -460,13 +460,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.projectInfoService.findByIdOut(this.inputForm.id).then((data) => {
-						if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -478,13 +478,13 @@
 			async agreeForm (callback) {
 				this.loading = true
 				await this.projectInfoService.findByIdOut(this.inputForm.id).then((data) => {
-					if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.doSubmit('agree', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -548,11 +548,11 @@
 				// } else {
 					if (type === 'reject' || type === 'reback') {
 						this.projectInfoService.findByIdOut(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -581,22 +581,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.projectInfoService.findByIdOut(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.projectInfoService.updateStatusByOutId(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				// }

+ 30 - 30
src/views/jy/project/ProjectArchiveForm.vue

@@ -443,13 +443,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.projectInfoService.findByIdArchive(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			saveForm (callback) {
@@ -459,13 +459,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.projectInfoService.findByIdArchive(this.inputForm.id).then((data) => {
-						if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -477,11 +477,11 @@
 			async agreeForm (callback) {
 				this.loading = true
 				await this.projectInfoService.findByIdArchive(this.inputForm.id).then((data) => {
-					if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status = '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data)=> {
 							if (this.commonJS.isNotEmpty(data)) {
@@ -492,7 +492,7 @@
 							this.doSubmit('agree', callback)
 						})
 
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -562,11 +562,11 @@
 				// } else {
 					if (type === 'reject' || type === 'reback') {
 						this.projectInfoService.findByIdArchive(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -595,22 +595,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.projectInfoService.findByIdArchive(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.projectInfoService.updateStatusByArchiveId(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				// }

+ 30 - 30
src/views/jy/project/ProjectAuditForm.vue

@@ -376,13 +376,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.projectInfoService.findByIdAudit(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			saveForm (callback) {
@@ -392,13 +392,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.projectInfoService.findByIdAudit(this.inputForm.id).then((data) => {
-						if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -410,13 +410,13 @@
 			async agreeForm (callback) {
 				this.loading = true
 				await this.projectInfoService.findByIdAudit(this.inputForm.id).then((data) => {
-					if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.doSubmit('agree', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -491,11 +491,11 @@
 				} else {
 					if (type === 'reject' || type === 'reback') {
 						this.projectInfoService.findByIdAudit(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -524,22 +524,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.projectInfoService.findByIdAudit(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.projectInfoService.updateStatusByAuditId(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				}

+ 30 - 30
src/views/jy/project/ProjectEiaForm.vue

@@ -408,13 +408,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.projectInfoService.findByIdEia(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			saveForm (callback) {
@@ -424,13 +424,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.projectInfoService.findByIdEia(this.inputForm.id).then((data) => {
-						if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '6') { // 审核状态不是“未发起”或“暂存”或“撤回”或"超期未发起",就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -442,13 +442,13 @@
 			async agreeForm (callback) {
 				this.loading = true
 				await this.projectInfoService.findByIdEia(this.inputForm.id).then((data) => {
-					if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.doSubmit('agree', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -509,11 +509,11 @@
 				// } else {
 					if (type === 'reject' || type === 'reback') {
 						this.projectInfoService.findByIdEia(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -542,22 +542,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.projectInfoService.findByIdEia(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.projectInfoService.updateStatusByEiaId(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				// }

+ 30 - 30
src/views/jy/project/ProjectForm.vue

@@ -628,13 +628,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.projectInfoService.findById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			saveForm (callback) {
@@ -644,13 +644,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.projectInfoService.findById(this.inputForm.id).then((data) => {
-						if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -665,11 +665,11 @@
 				this.$refs['inputForm'].validate(async (valid) => {
 					if (valid) {
 						await this.projectInfoService.findById(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								this.loading = true
 								this.inputForm.files = this.$refs.uploadComponent.getDataList()
 								if (this.$store.state.user.office.name ==='总经办'){
@@ -686,7 +686,7 @@
 									this.$refs.inputForm.resetFields()
 									this.loading = false
 								})
-							}
+							// }
 						})
 					} else {
 						this.loading = false
@@ -776,11 +776,11 @@
 				} else {
 					if (type === 'reject' || type === 'reback') {
 						this.projectInfoService.findById(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -800,22 +800,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.projectInfoService.findById(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.projectInfoService.updateStatusById(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				}

+ 50 - 4
src/views/jy/project/ProjectList.vue

@@ -250,8 +250,9 @@
 							<el-button v-if="scope.row.firstInstanceStatus==='2' && checkIsAuditFirst(scope.row)" text type="primary"   @click="examineFirst(scope.row)">一级校审审核</el-button>
 <!--							&lt;!&ndash; 一级校审  被驳回后当前申请人重新调整&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id))&&scope.row.firstInstanceStatus === '4'" text type="primary"   @click="adjustFirst(scope.row)">驳回调整</el-button>
-
-<!--							&lt;!&ndash; 二级校审  发起&ndash;&gt;-->
+<!--								管理员撤回-->
+							<el-button v-if="hasPermission('admin:edit') && isJyAdmin && scope.row.firstInstanceStatus==='5'" text type="primary"  @click="backFirst(scope.row)">一级校审撤回</el-button>
+							<!--							&lt;!&ndash; 二级校审  发起&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id))&&(scope.row.firstInstanceStatus === '5' || scope.row.firstInstanceStatus === '7')&&(scope.row.secondInstanceStatus === '0'||scope.row.secondInstanceStatus === '1'||scope.row.secondInstanceStatus === '3')" text type="primary"  @click="secondAuditPush(scope.row)">二级校审</el-button>
 <!--							&lt;!&ndash; 二级校审  撤回&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&scope.row.secondInstanceStatus === '2'&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id))" type="text"  @click="secondAuditReback(scope.row)">校审撤回</el-button>
@@ -259,8 +260,10 @@
 							<el-button v-if="scope.row.secondInstanceStatus==='2' && checkIsAuditSecond(scope.row)" text type="primary"  @click="examineSecond(scope.row)">二级校审审核</el-button>
 <!--							&lt;!&ndash; 二级校审  被驳回后当前申请人重新调整&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id))&&scope.row.secondInstanceStatus === '4'" text type="primary"  @click="adjustSecond(scope.row)">驳回调整</el-button>
+<!--							管理员撤回-->
+							<el-button v-if="hasPermission('admin:edit') && isJyAdmin && scope.row.secondInstanceStatus==='5'" text type="primary"  @click="backSecond(scope.row)">二级校审撤回</el-button>
 
-<!--							&lt;!&ndash; 三级校审  发起&ndash;&gt;-->
+							<!--							&lt;!&ndash; 三级校审  发起&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id))&&scope.row.secondInstanceStatus === '5' &&(scope.row.thirdInstanceStatus === '0'||scope.row.thirdInstanceStatus === '1'||scope.row.thirdInstanceStatus === '3')" text type="primary"  @click="thirdAuditPush(scope.row)">三级校审</el-button>
 <!--							&lt;!&ndash; 三级校审  撤回&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.thirdInstanceStatus === '2'" text type="primary"  @click="thirdAuditReback(scope.row)">校审撤回</el-button>
@@ -268,7 +271,8 @@
 							<el-button v-if="scope.row.thirdInstanceStatus==='2' && checkIsAuditThird(scope.row)" text type="primary"   @click="examineThird(scope.row)">三级校审审核</el-button>
 <!--							&lt;!&ndash; 三级校审  被驳回后当前申请人重新调整&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id))&&scope.row.thirdInstanceStatus === '4'" text type="primary"   @click="adjustThird(scope.row)">驳回调整</el-button>
-
+							<!--							管理员撤回-->
+							<el-button v-if="hasPermission('admin:edit') && isJyAdmin && scope.row.thirdInstanceStatus==='5'" text type="primary"  @click="backThird(scope.row)">三级校审撤回</el-button>
 							<!--							&lt;!&ndash;报告签发发起&ndash;&gt;-->
 							<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.createBy === $store.state.user.id ||haveProjectIds.includes(scope.row.id)) &&scope.row.thirdInstanceStatus === '5' && (scope.row.reportIssuance === null ||scope.row.reportIssuance === undefined ||scope.row.reportIssuance === '' ||scope.row.reportIssuance === '0' || scope.row.reportIssuance === '1'|| scope.row.reportIssuance === '3')" text type="primary"  @click="reportIssuanceSubmit(scope.row)">报告签发</el-button>
 							<!--							&lt;!&ndash;报告签发撤回&ndash;&gt;-->
@@ -925,6 +929,20 @@ export default {
 				})
 			})
 		},
+		//管理员撤回一级校审
+		backFirst(row){
+			this.$confirm(`确定要撤回该申请吗?`, '提示', {
+				confirmButtonText: '确定',
+				cancelButtonText: '取消',
+				type: 'warning'
+			}).then(async () => {
+				let form = {status: '1', id: row.auditId1}
+				this.projectInfoService.updateStatusByAuditId(form).then(()=>{
+					this.$message.success('撤回成功')
+					this.refreshList()
+				})
+			})
+		},
 		// 查询当前登录人是否是数据的审核人  二级校审
 		checkIsAuditSecond (row) {
 			let loginUserId = this.$store.state.user.id  // 获取当前登录用户id
@@ -1015,6 +1033,20 @@ export default {
 				})
 			})
 		},
+		//管理员撤回二级校审
+		backSecond(row){
+			this.$confirm(`确定要撤回该申请吗?`, '提示', {
+				confirmButtonText: '确定',
+				cancelButtonText: '取消',
+				type: 'warning'
+			}).then(async () => {
+				let form = {status: '1', id: row.auditId2}
+				this.projectInfoService.updateStatusByAuditId(form).then(()=>{
+					this.$message.success('撤回成功')
+					this.refreshList()
+				})
+			})
+		},
 		// 驳回后调整  二级校审
 		adjustSecond (row) {
 			this.projectInfoService.findByIdAudit(row.auditId2).then((data) => {
@@ -1135,6 +1167,20 @@ export default {
 				})
 			})
 		},
+		//管理员撤回三级校审
+		backThird(row){
+			this.$confirm(`确定要撤回该申请吗?`, '提示', {
+				confirmButtonText: '确定',
+				cancelButtonText: '取消',
+				type: 'warning'
+			}).then(async () => {
+				let form = {status: '1', id: row.auditId3}
+				this.projectInfoService.updateStatusByAuditId(form).then(()=>{
+					this.$message.success('撤回成功')
+					this.refreshList()
+				})
+			})
+		},
 		// 驳回后调整  三级校审
 		adjustThird (row) {
 			this.projectInfoService.findByIdAudit(row.auditId3).then((data) => {

+ 30 - 30
src/views/jy/reimbursement/ReimbursementForm.vue

@@ -791,26 +791,26 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.reimbursementService.findById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					//}
 				})
 			},
 			startForm (callback) {
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.reimbursementService.findById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -851,11 +851,11 @@
 			async agreeForm (callback) {
 				this.loading = true
 				this.reimbursementService.findById(this.inputForm.id).then((data) => {
-					if (data.status !== '2') { // 审核状态不是“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '2') { // 审核状态不是“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.$refs['inputForm'].validate(async (valid) => {
 							if (valid) {
 								this.loading = true
@@ -886,7 +886,7 @@
 								this.loading = false
 							}
 						})
-					}
+					// }
 				})
 			},
 			// 修改状态
@@ -894,32 +894,32 @@
 				if (type === 'reject') {
 					this.loading = true
 					this.reimbursementService.findById(this.inputForm.id).then((data) => {
-						if (data.status !== '2') { // 审核状态不是“审核中”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (data.status !== '2') { // 审核状态不是“审核中”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.inputForm.status = '4'
 							this.reimbursementService.updateStatusById(this.inputForm).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				} else if (type === 'hold') {
 					this.loading = true
 					this.reimbursementService.findById(this.inputForm.id).then((data) => {
-						if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.inputForm.status = '1'
 							this.reimbursementService.updateStatusById(this.inputForm).then(() => {
 								this.loading = false
 								callback()
 							})
-						}
+						// }
 					})
 				}
 			},

+ 32 - 31
src/views/jy/workContractInfo/WorkContractForm.vue

@@ -990,13 +990,14 @@
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					console.log('id',this.inputForm.id)
 					this.contractService.findContractById(this.inputForm.id).then((data) => {
-						if (this.commonJS.isNotEmpty(data.filedType) && data.filedType !== '0' && data.filedType !== '1' && data.filedType !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
-							this.startFormTrue(callback)
-						}
+						this.startFormTrue(callback)
+
+						// if (this.commonJS.isNotEmpty(data.filedType) && data.filedType !== '0' && data.filedType !== '1' && data.filedType !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -1060,13 +1061,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.contractService.findContractById(this.inputForm.id).then((data) => {
-					if (data.filedType !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.filedType !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			// 通过
@@ -1075,11 +1076,11 @@
 				this.$refs['inputForm'].validate(async (valid) => {
 					if (valid) {
 						await this.contractService.findContractById(this.inputForm.id).then((data) => {
-							if (data.filedType !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.filedType !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								this.loading = true
 								this.inputForm.workAttachmentList = this.$refs.uploadComponent.getDataList()
 								if (this.isShow){
@@ -1101,7 +1102,7 @@
 									this.$refs.inputForm.resetFields()
 									this.loading = false
 								})
-							}
+							// }
 						})
 					} else {
 						this.loading = false
@@ -1116,11 +1117,11 @@
 				} else {
 					if (type === 'reject' || type === 'reback') {
 						this.contractService.findContractById(this.inputForm.id).then((data) => {
-							if (data.filedType !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.filedType !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -1140,22 +1141,22 @@
 										this.loading = false
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.contractService.findContractById(this.inputForm.id).then((data) => {
-							if (data.filedType !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.filedType !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {filedType: '1', id: this.inputForm.id}
 								this.contractService.updateStatusById(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				}

+ 24 - 24
src/views/materialManagement/collect/CollectForm.vue

@@ -438,13 +438,13 @@
       reapplyForm (callback) {
         this.loading = true
         this.collectService.findById(this.inputForm.id).then((data) => {
-          if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-            this.loading = false
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+          //   this.loading = false
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.startFormTrue(callback)
-          }
+          // }
         })
       },
       startForm (callback) {
@@ -452,13 +452,13 @@
         if (this.commonJS.isNotEmpty(this.inputForm.id)) {
           this.collectService.findById(this.inputForm.id).then((data) => {
             // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-            if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3') {
-              this.loading = false
-              this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-              throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            } else {
+            // if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3') {
+            //   this.loading = false
+            //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+            //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+            // } else {
               this.startFormTrue(callback)
-            }
+            // }
           })
         } else {
           this.startFormTrue(callback)
@@ -585,11 +585,11 @@
         } else {
           if (type === 'reject' || type === 'reback') {
             this.collectService.findById(this.inputForm.id).then((data) => {
-              if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 if (type === 'reject') {
                   // 驳回
                   this.inputForm.status = '4'
@@ -605,22 +605,22 @@
                     callback()
                   })
                 }
-              }
+              // }
             })
           } else if (type === 'hold') {
             this.collectService.findById(this.inputForm.id).then((data) => {
-              if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 // 终止
                 let param = {status: '1', id: this.inputForm.id}
                 this.collectService.updateStatusById(param).then(() => {
                   this.loading = false
                   callback()
                 })
-              }
+              // }
             })
           }
         }

+ 24 - 24
src/views/materialManagement/collect/CollectReturnForm.vue

@@ -432,13 +432,13 @@
       reapplyForm (callback) {
         this.loading = true
         this.collectService.findById(this.inputForm.id).then((data) => {
-          if (data.statusReturn !== '4') { // 审核状态不是“驳回”,就弹出提示
-            this.loading = false
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.statusReturn !== '4') { // 审核状态不是“驳回”,就弹出提示
+          //   this.loading = false
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.startFormTrue(callback)
-          }
+          // }
         })
       },
       startForm (callback) {
@@ -446,13 +446,13 @@
         if (this.commonJS.isNotEmpty(this.inputForm.id)) {
           this.collectService.findById(this.inputForm.id).then((data) => {
             // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-            if (this.commonJS.isNotEmpty(data.statusReturn) && data.statusReturn !== '0' && data.statusReturn !== '1' && data.statusReturn !== '3' && data.statusReturn !== '5') {
-              this.loading = false
-              this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-              throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            } else {
+            // if (this.commonJS.isNotEmpty(data.statusReturn) && data.statusReturn !== '0' && data.statusReturn !== '1' && data.statusReturn !== '3' && data.statusReturn !== '5') {
+            //   this.loading = false
+            //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+            //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+            // } else {
               this.startFormTrue(callback)
-            }
+            // }
           })
         } else {
           this.startFormTrue(callback)
@@ -586,11 +586,11 @@
         } else {
           if (type === 'reject' || type === 'reback') {
             this.collectService.findById(this.inputForm.id).then((data) => {
-              if (data.statusReturn !== '2') { // status的值不等于“审核中”,就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.statusReturn !== '2') { // status的值不等于“审核中”,就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 if (type === 'reject') {
                   // 驳回
                   this.inputForm.statusReturn = '4'
@@ -606,15 +606,15 @@
                     callback()
                   })
                 }
-              }
+              // }
             })
           } else if (type === 'hold') {
             this.collectService.findById(this.inputForm.id).then((data) => {
-              if (data.statusReturn !== '4') { // status的值不等于“驳回”就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.statusReturn !== '4') { // status的值不等于“驳回”就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 // 终止
                 this.collectService.returnRequest({id: this.inputForm.id}).then((data) => {
                   this.loading = false
@@ -626,7 +626,7 @@
                 //   this.loading = false
                 //   callback()
                 // })
-              }
+              // }
             })
           }
         }

+ 24 - 24
src/views/materialManagement/purchase/PurchaseForm.vue

@@ -539,13 +539,13 @@
 			reapplyForm (callback) {
 				this.loading = true
 				this.materialManagementService.findById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.startFormTrue(callback)
-					}
+					// }
 				})
 			},
 			// 暂存
@@ -574,13 +574,13 @@
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.materialManagementService.findById(this.inputForm.id).then((data) => {
 						// 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-						if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3') {
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						} else {
+						// if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3') {
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// } else {
 							this.startFormTrue(callback)
-						}
+						// }
 					})
 				} else {
 					this.startFormTrue(callback)
@@ -695,11 +695,11 @@
 				} else {
 					if (type === 'reject' || type === 'reback') {
 						this.materialManagementService.findById(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								if (type === 'reject') {
 									// 驳回
 									this.inputForm.status = '4'
@@ -715,22 +715,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.materialManagementService.findById(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.materialManagementService.updateStatusById(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				}

+ 30 - 30
src/views/materialManagement/userSeal/SignetAddForm.vue

@@ -276,13 +276,13 @@
 				this.loading = true
 				if (this.commonJS.isNotEmpty(this.inputForm.id)) {
 					this.signetService.queryById(this.inputForm.id).then((data) => {
-						if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
-							this.loading = false
-							this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-							throw new Error()
-						} else {
+						// if (data.status !== '0' && data.status !== '1' && data.status !== '3') { // 审核状态不是“未发起”或“暂存”或“撤回”,就弹出提示
+						// 	this.loading = false
+						// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+						// 	throw new Error()
+						// } else {
 							this.doSubmit('start', callback)
-						}
+						// }
 					})
 				} else {
 					this.doSubmit('start', callback)
@@ -292,11 +292,11 @@
 				console.log('进入方法')
 				this.loading = true
 				await this.signetService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error()
-					} else {
+					// if (data.status !== '2' ) { // status的值不等于“审核中”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error()
+					// } else {
 						this.inputForm.status= '2'
 						this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data)=> {
 							if (this.commonJS.isNotEmpty(data)) {
@@ -313,20 +313,20 @@
 								this.loading = false
 							})
 						})
-					}
+					// }
 				})
 			},
 			reapplyForm(callback) {
 				this.loading = true
 				console.log('this.inputForm.types',this.inputForm.types)
 				this.signetService.queryById(this.inputForm.id).then((data) => {
-					if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-						this.loading = false
-						this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-						throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-					} else {
+					// if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+					// 	this.loading = false
+					// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// 	throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+					// } else {
 						this.doSubmit('reapply', callback)
-					}
+					// }
 				})
 			},
 			// 表单提交
@@ -490,11 +490,11 @@
 				} else {
 					if (type === 'reject' || type === 'reback') {
 						this.signetService.queryById(this.inputForm.id).then((data) => {
-							if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// if (type === 'agree') {
 								//   // 同意
 								//   this.inputForm.status = '5'
@@ -514,22 +514,22 @@
 										callback()
 									})
 								}
-							}
+							// }
 						})
 					} else if (type === 'hold') {
 						this.signetService.queryById(this.inputForm.id).then((data) => {
-							if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-								this.loading = false
-								this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-								throw new Error()
-							} else {
+							// if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+							// 	this.loading = false
+							// 	this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+							// 	throw new Error()
+							// } else {
 								// 终止
 								let param = {status: '1', id: this.inputForm.id}
 								this.signetService.updateStatusById(param).then(() => {
 									this.loading = false
 									callback()
 								})
-							}
+							// }
 						})
 					}
 				}

+ 24 - 24
src/views/materialManagement/wareHouse/WareHouseUpdateForm.vue

@@ -629,13 +629,13 @@
         if (this.commonJS.isNotEmpty(this.inputForm.id)) {
           this.wareHouseService.findById(this.inputForm.id).then((data) => {
             // 审核状态不是“未发起”或“暂存”或“撤回”或“已完成”,就弹出提示
-            if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '5') {
-              this.loading = false
-              this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-              throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            } else {
+            // if (this.commonJS.isNotEmpty(data.status) && data.status !== '0' && data.status !== '1' && data.status !== '3' && data.status !== '5') {
+            //   this.loading = false
+            //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+            //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+            // } else {
               this.startFormTrue(callback)
-            }
+            // }
           })
         } else {
           this.startFormTrue(callback)
@@ -644,13 +644,13 @@
       reapplyForm (callback) {
         this.loading = true
         this.wareHouseService.findById(this.inputForm.id).then((data) => {
-          if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
-            this.loading = false
-            this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-            throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-          } else {
+          // if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
+          //   this.loading = false
+          //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          //   throw new Error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+          // } else {
             this.startFormTrue(callback)
-          }
+          // }
         })
       },
       // 暂存
@@ -791,11 +791,11 @@
         } else {
           if (type === 'reject' || type === 'reback') {
             this.wareHouseService.findById(this.inputForm.id).then((data) => {
-              if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '2') { // status的值不等于“审核中”,就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 if (type === 'reject') {
                   // 驳回
                   this.inputForm.status = '4'
@@ -811,21 +811,21 @@
                     callback()
                   })
                 }
-              }
+              // }
             })
           } else if (type === 'hold') {
             this.wareHouseService.findById(this.inputForm.id).then((data) => {
-              if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
-                this.loading = false
-                this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
-                throw new Error()
-              } else {
+              // if (data.status !== '4') { // status的值不等于“驳回”就弹出提示
+              //   this.loading = false
+              //   this.$message.error('任务数据已发生改变或不存在,请在待办任务中确认此任务是否存在')
+              //   throw new Error()
+              // } else {
                 // 终止
                 this.wareHouseService.backSourceData(this.inputForm.id).then(() => {
                   this.loading = false
                   callback()
                 })
-              }
+              // }
             })
           }
         }