| 
					
				 | 
			
			
				@@ -1,14 +1,22 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div style="display: flex; width: 100%"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div id="listPage" :style="pageStyle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <div style="width: 100%; text-align: center; font-size: 22px; font-weight: bold; margin-bottom: 4px">{{ listTitle }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <div style="width: 100%; display: flex; font-size: 15px; margin-bottom: 8px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div style="width: 50%; text-align: left">统筹区划:{{ setlinfo.insuplcAdmdvsName }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div style="width: 50%; text-align: right">打印日期:{{ nowdate }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div style="width: 100%; text-align: center; font-size: 22px; font-weight: bold; margin-bottom: 8px">{{ listTitle }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div style="width: 100%; display: flex; margin-bottom: 4px; font-size: 12px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%; text-align: left">医疗机构名称:长沙泰和医院</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%">医疗机构编码:H43010500370</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%">医院等级:三级综合</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%; text-align: right">金额单位:元</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <InpatientSetlList v-if="outParam.type === 21" :setlinfo="setlinfo" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <OtherOutpatientSetlList v-if="outParam.type === 11 && !isEmployeeOutpatient" :setlinfo="setlinfo" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <EmployeeOutpatientSetlList v-if="outParam.type === 11 && isEmployeeOutpatient" :setlinfo="setlinfo" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div style="width: 100%; display: flex; margin-bottom: 8px; font-size: 12px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%; text-align: left">统筹区划:{{ setlinfo.insuplcAdmdvsName }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%">{{ patNoType }}:{{ setlinfo.patNo }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%">就诊号:{{ setlinfo.mdtrtId }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div style="width: 25%; text-align: right">打印日期:{{ nowdate }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <InpatientSetlList v-if="outParam.type === 21" :setlinfo="setlinfo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <OtherOutpatientSetlList v-if="outParam.type === 11 && !isEmployeeOutpatient" :setlinfo="setlinfo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <EmployeeOutpatientSetlList v-if="outParam.type === 11 && isEmployeeOutpatient" :setlinfo="setlinfo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div v-if="outParam.type !== 0" style="display: flex;margin-top: 16px;text-align: left;font-size: 13px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div style="width: 30%">患者/家属签字:</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div style="width: 30%">联系电话:</div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -26,7 +34,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-input v-model="outParam.patNo" clearable :placeholder="patNoType"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div style="margin-top: 8px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-select v-model="outParam.label" @focus="getTimesList" placeholder="请选择结算条目" style="width: 230px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-select v-model="outParam.label" @focus="getTimesList" placeholder="结算条目" style="width: 230px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-option v-for="item in timesList" :key="item.setlId" :value="item.label"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <span style="color: #8492a6; font-size: 12px">{{ item.times }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-divider direction="vertical"></el-divider> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -53,16 +61,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { initLodop, getLodop } from '@/utils/c-lodop' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { computed, onMounted, reactive, ref } from 'vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {initLodop, getLodop} from '@/utils/c-lodop' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {computed, onMounted, reactive, ref} from 'vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import store from '@/store' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { ElMessage } from 'element-plus' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {ElMessage} from 'element-plus' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import router from '@/router' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { querySiSetlList, fetchSiTimesList } from '@/api/medical-insurance/si-query' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { getDate } from '@/utils/date' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {querySiSetlList, fetchSiTimesList} from '@/api/medical-insurance/si-query' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {getDate} from '@/utils/date' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import InpatientSetlList from "@/components/medical-insurance/settle-detail-list/InpatientSetlList.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import OtherOutpatientSetlList from "@/components/medical-insurance/settle-detail-list/OtherOutpatientSetlList.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import EmployeeOutpatientSetlList from "@/components/medical-insurance/settle-detail-list/EmployeeOutpatientSetlList.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import EmployeeOutpatientSetlList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  from "@/components/medical-insurance/settle-detail-list/EmployeeOutpatientSetlList.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,7 +84,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const showOperatePane = path === '/medins/qryManage/siSettleDetailList' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const windowSize = store.state.app.windowSize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const pageStyle = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      height: windowSize.h  + 'px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      height: windowSize.h + 'px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       overflowY: 'scroll', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       width: '856px', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       textAlign: 'center', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -88,7 +97,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       label: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const patNoType = computed(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      return outParam.type === 21 ? '请输入住院号' : '请输入门诊ID' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return outParam.type === 21 ? '住院号' : '门诊ID' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const oldPatNo = ref(null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const timesList = ref([]) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -101,13 +110,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       oldPatNo.value = outParam.patNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       fetchSiTimesList(outParam.patNo, outParam.type) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timesList.value = res 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timesList.value = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          outParam.label = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          .then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            timesList.value = res 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          .catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            timesList.value = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            outParam.label = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const setlTypeChange = () => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -168,7 +177,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const prntStyle = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        '<style>table {width: 100%;border-collapse: collapse; font-size: 13px;} td {border: 1px solid black;height: 20px;text-align:center; font-size: 13px;}</style>' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          '<style>table {width: 100%;border-collapse: collapse; font-size: 13px;} td {border: 1px solid black;height: 20px;text-align:center; font-size: 13px;}</style>' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const strFormHtml = prntStyle + '<body>' + document.getElementById('listPage').innerHTML + '</body>' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let LODOP = getLodop() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       LODOP.PRINT_INIT('siSettleDetailList') 
			 |