处理工单
							parent
							
								
									3a13f8feef
								
							
						
					
					
						commit
						a7e95c4219
					
				|  | @ -26,8 +26,12 @@ | ||||||
| 				findings:'', //调查结果 | 				findings:'', //调查结果 | ||||||
| 				results:'', //处理结果 | 				results:'', //处理结果 | ||||||
| 				flag:true, | 				flag:true, | ||||||
|  | 				id:0, //工单id | ||||||
| 			} | 			} | ||||||
| 		}, | 		}, | ||||||
|  | 		onload(op) { | ||||||
|  | 			if(op.id) this.id = op.id; | ||||||
|  | 		}, | ||||||
| 		methods: { | 		methods: { | ||||||
| 			// 提交或取消 | 			// 提交或取消 | ||||||
| 			submitEv(id,type){ | 			submitEv(id,type){ | ||||||
|  | @ -39,7 +43,7 @@ | ||||||
| 						result:this.results, | 						result:this.results, | ||||||
| 						invalid:type | 						invalid:type | ||||||
| 					} | 					} | ||||||
| 					this.$requst.post('/api/opinion/worker-handle',params).then(res => { | 					this.$requst.post('opinion/worker-handle',params).then(res => { | ||||||
| 						if(res.code==0){ | 						if(res.code==0){ | ||||||
| 							this.$toolAll.tools.showToast('提交成功'); | 							this.$toolAll.tools.showToast('提交成功'); | ||||||
| 							// 返回 | 							// 返回 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue