| 
					
				 | 
			
			
				@@ -59,9 +59,19 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div v-else class="code">{{ hisWjwMatchEntity.wjwCode }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-button v-if="currentHisRow.wjwCode || (currentHisRow.chargeCode && currentHisRow.chargeCode.length > 0)" icon="Close" type="danger" @click="revokeMatch">撤销匹配</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-button v-if="currentHisRow.wjwCode || (currentHisRow.chargeCode && currentHisRow.chargeCode.length > 0)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                       icon="Close" type="danger" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                       @click="revokeMatch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              撤销匹配 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div style="margin-top: 4px"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-button v-if="!currentHisRow.wjwCode" icon="Check" type="success" @click="executeMatch" :disabled="manageMatchState"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              匹配 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div style="margin-top: 4px"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-button v-if="!currentHisRow.wjwCode" icon="Check" type="success" @click="executeMatch" :disabled="manageMatchState">匹配 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-button v-if="hisWjwMatchEntity.label === 'surgery_chargeCode' && currentStatus === 1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                       icon="Download" type="warning" @click="exportExcel"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              导出 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -105,6 +115,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import {selectMatchableDataByLabel, executeMatchAction, fetchSimilarities} from '@/api/dictionary/his-wjw-match' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import {ElMessage} from 'element-plus' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PageLayer from "@/layout/PageLayer"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {Export} from "@/utils/ExportExcel"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 let wjwTableRef = $ref(null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -295,6 +306,16 @@ const revokeMatch = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const exportExcel = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const fields = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    code: '手术操作编码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    name: '手术操作名称', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    chargeCodeString: '匹配收费编码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    chargeNameString: '匹配收费名称', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  Export(filterHisList.value, fields, '已匹配数据') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 onMounted(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   fetchDataByLabel() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }) 
			 |