| 
					
				 | 
			
			
				@@ -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) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |