| 
					
				 | 
			
			
				@@ -23,6 +23,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-button type="primary" icon="Search" @click="getSetlInfos">检索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-button type="primary" icon="Coin" @click="bfrChkSetl">对总账</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-button type="primary" icon="DataAnalysis" @click="setlDtlCheck">明细对账</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-button type="warning" icon="Download" @click="exportExcel">导出Excel</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <template #main> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table :data="cptSetlinfos.slice(pageSize * (currentPage - 1), pageSize * currentPage)" stripe 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -185,7 +186,7 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   queryBlInfo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from '@/api/medical-insurance/si-manage' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { querySettlementInfo, querySiSetlList } from '@/api/medical-insurance/si-query' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { formatDate, getDate } from '@/utils/date' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {formatDate, formatYear, getDate} from '@/utils/date' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Setlinfo from '../../../components/medical-insurance/setlinfo/Index.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import InpatientSetlList from '@/components/medical-insurance/settle-detail-list/InpatientSetlList.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import OtherOutpatientSetlList from '@/components/medical-insurance/settle-detail-list/OtherOutpatientSetlList.vue' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -193,6 +194,7 @@ import EmployeeOutpatientSetlList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   from '@/components/medical-insurance/settle-detail-list/EmployeeOutpatientSetlList.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import JyjcPage from '@/components/medical-insurance/inspect/InspectionReport.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PageLayer from "@/layout/PageLayer"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {Export} from "@/utils/ExportExcel"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -375,6 +377,38 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const exportExcel = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (cptSetlinfos.value.length === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ElMessage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: '没有可以导出的数据。', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: 'warning', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          duration: 2500, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          showClose: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const title = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        patNo: '住院号/门诊号', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        times: '次数', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        psnName: '姓名', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gendName: '性别', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        brdy: '出生日期', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        insutypeName: '险种类型', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        psnTypeName: '人员类别', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mdtrtId: '就诊ID', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        setlId: '结算ID', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        setlTime: '结算时间', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        medTypeName: '医疗类别', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        medfeeSumamt: '总费用', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fundPaySumamt: '报销金额', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        acctPay: '个人账户支出', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        psnCashPay: '个人现金支出', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        clrOptinsName: '清算机构', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const prefix = slctSetlPrm.stmtBegndate + '至' + slctSetlPrm.stmtEnddate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Export(cptSetlinfos.value, title, `【${prefix}】结算与对账导出`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // -----------------------查询结算单明细---------------------------- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const setlDetails = ref([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const showSetlPrescription = ref(false) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -509,6 +543,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       blInfoList, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       showJyjc, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       jyjcInfo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      exportExcel, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       selectJyjcInfo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       selectBlInfo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       handleCurrentChange, 
			 |