|  | @@ -165,11 +165,29 @@ const tabsName = (val, index) => {
 | 
	
		
			
				|  |  |    return val
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -const clickSave = () => {
 | 
	
		
			
				|  |  | +const clickSave = async () => {
 | 
	
		
			
				|  |  |    if (youWuXuanZheHuanZhe()) return
 | 
	
		
			
				|  |  |    let data = huanZheXinXi.value
 | 
	
		
			
				|  |  |    data.execDept = store.state.user.info.deptCode
 | 
	
		
			
				|  |  |    data.list = operationApplication.value
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  try {
 | 
	
		
			
				|  |  | +    await ElMessageBox.confirm('是否要生成全排斥医嘱?', '提示', {
 | 
	
		
			
				|  |  | +      type: 'warning',
 | 
	
		
			
				|  |  | +      confirmButtonText: '生成排斥医嘱',
 | 
	
		
			
				|  |  | +      cancelButtonText: '生成处置医嘱',
 | 
	
		
			
				|  |  | +      distinguishCancelAndClose: true
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    data.generateRejectedOrders = true
 | 
	
		
			
				|  |  | +  } catch (e) {
 | 
	
		
			
				|  |  | +    if (e === 'cancel') {
 | 
	
		
			
				|  |  | +      data.generateRejectedOrders = false
 | 
	
		
			
				|  |  | +    } else {
 | 
	
		
			
				|  |  | +      return
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    xinZengShouShuShenQing(data).then((res) => {
 | 
	
		
			
				|  |  |      if (res !== null && res.error !== null) {
 | 
	
		
			
				|  |  |        error.value.dialog = true
 | 
	
	
		
			
				|  | @@ -179,6 +197,8 @@ const clickSave = () => {
 | 
	
		
			
				|  |  |        operationApplication.value = []
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    })
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const removeTab = (targetName) => {
 |