DESKTOP-MINPJAU\Administrator 3 лет назад
Родитель
Сommit
bd18a9e92c

+ 52 - 39
src/components/si-sheet-upload/jieSuanDanDaYing.vue

@@ -6,7 +6,7 @@
     <el-affix :offset="100" style="margin-left: 800px">
       <el-button size="small" type="danger" @click="jieSuanDanDaYingDialog = false">退出</el-button>
     </el-affix>
-    <br />
+    <br/>
     <div id="setl">
       <div id="setl1">
         <h2 style="text-align: center"><span style="text-decoration: underline">湖南省</span>长沙市医疗保障基金结算清单</h2>
@@ -57,7 +57,8 @@
             </div>
           </div>
         </div>
-        <div style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8)">
+        <div
+            style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8)">
           <b style="color: #000"> 一、基本信息 </b>
         </div>
         <div class="divBorder" style="padding: 4px; margin-bottom: 4px">
@@ -247,7 +248,8 @@
         </div>
         <!--  二、门诊慢特病诊疗信息    -->
         <div v-if="!zyFlag">
-          <div style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8)">
+          <div
+              style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8)">
             <b style="color: #000"> 二、门诊慢特病诊疗信息 </b>
           </div>
           <div class="divBorder" style="padding: 0 5px">
@@ -292,7 +294,8 @@
           <!--三、住院诊疗信息-->
         </div>
         <div v-if="zyFlag">
-          <div style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8); margin-top: 5px">
+          <div
+              style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8); margin-top: 5px">
             <b style="color: #000"> 三、住院诊疗信息 </b>
           </div>
           <div class="divBorder" style="padding: 0 5px">
@@ -314,7 +317,9 @@
                 <div class="w10">
                   <span>[{{ blankToSpace(setlinfo.admWay) }}]</span>
                 </div>
-                <div>1.急诊 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.门诊&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.其他医疗机构转入&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.其他</div>
+                <div>1.急诊 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.门诊&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.其他医疗机构转入&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+                  9.其他
+                </div>
               </div>
             </div>
             <!--2-->
@@ -416,10 +421,16 @@
                 <th>入院病情</th>
               </tr>
               <tr v-for="(item, index) in diseinfoData">
-                <td>{{ index === 0 ? '主要诊断:' + item.xiYiDisDiagComment : index === 1 ? '其他诊断:' + item.xiYiDisDiagComment : item.xiYiDisDiagComment }}</td>
+                <td>{{
+                    index === 0 ? '主要诊断:' + item.xiYiDisDiagComment : index === 1 ? '其他诊断:' + item.xiYiDisDiagComment : item.xiYiDisDiagComment
+                  }}
+                </td>
                 <td>{{ item.xiYiDisDiag }}</td>
                 <td>{{ getAdmissCond(item.xiYiAdmissCond) }}</td>
-                <td>{{ index === 0 ? '主病:' + item.ZhongYiDiagComment : index === 1 ? '主证:' + item.ZhongYiDiagComment : item.ZhongYiDiagComment }}</td>
+                <td>{{
+                    index === 0 ? '主病:' + item.ZhongYiDiagComment : index === 1 ? '主证:' + item.ZhongYiDiagComment : item.ZhongYiDiagComment
+                  }}
+                </td>
                 <td>{{ item.ZhongYiDisDiag }}</td>
                 <td>{{ getAdmissCond(item.ZhongYiAdmissCond) }}</td>
               </tr>
@@ -485,7 +496,7 @@
                 <div>颅脑损伤患者昏迷时间:</div>
                 <div style="height: 40px; border: 0">
                   <div>入院前 {{ luNeiShiJian(setlinfo.pwcryBfadmComaDura) }}</div>
-                  <br />
+                  <br/>
                   <div>入院后 {{ luNeiShiJian(setlinfo.pwcryAfadmComaDura) }}</div>
                 </div>
               </div>
@@ -494,16 +505,16 @@
             <table>
               <tr>
                 <th>
-                  重症监护病房类型 (CCU、NICU、ECU、SICU、<br />
-                  PICU、RICU、ICU(综合)、其 <br />
+                  重症监护病房类型 (CCU、NICU、ECU、SICU、<br/>
+                  PICU、RICU、ICU(综合)、其 <br/>
                   他)
                 </th>
                 <th>
-                  进重症监护室时间 <br />
+                  进重症监护室时间 <br/>
                   (_年_月_日_时_分)
                 </th>
                 <th>
-                  出重症监护室时间<br />
+                  出重症监护室时间<br/>
                   (_年_月_日_时_分)
                 </th>
                 <th>合计( 时 分)</th>
@@ -578,7 +589,8 @@
               </div>
             </div>
 
-            <div class="tanXingHeZiHeng div-border-bottom" style="margin-bottom: 4px">3.转社区、转卫生院机构, 4.非医嘱离院 5.死亡 9.其他</div>
+            <div class="tanXingHeZiHeng div-border-bottom" style="margin-bottom: 4px">3.转社区、转卫生院机构, 4.非医嘱离院 5.死亡 9.其他
+            </div>
 
             <div class="tanXingHeZiHeng div-border-bottom">
               <div class="wen-zi">
@@ -633,7 +645,8 @@
       </div>
 
       <div id="setl3">
-        <div style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8); margin-top: 5px">
+        <div
+            style="border: 1px solid #000; line-height: 20px; text-align: center; background-color: rgba(127, 187, 236, 0.8); margin-top: 5px">
           <b style="color: #000"> 四、医疗收费信息</b>
         </div>
 
@@ -695,7 +708,7 @@
             <table :style="geRenZhiFuTableHeight">
               <tr>
                 <th colspan="2">医保统筹基金支付</th>
-                <th style="width: 90px">{{ payinfoData['310100'].fundPayamt }}</th>
+                <th style="width: 90px">{{ setlinfo.fundPaySumamt }}</th>
               </tr>
               <tr>
                 <th rowspan="3">补充医疗保险支付</th>
@@ -712,7 +725,7 @@
               </tr>
               <tr>
                 <th colspan="2">医疗救助支付</th>
-                <td>{{ payinfoData['610100'].fundPayamt }}</td>
+                <td>{{ setlinfo.mafPay }}</td>
               </tr>
               <tr>
                 <th :rowspan="3 + qiTaPayinfoData.length">补充医疗保险支付</th>
@@ -803,9 +816,9 @@
 </template>
 
 <script name="jieSuanDanDaYing" setup>
-import { getLodop, initLodop } from '@/utils/c-lodop'
-import { jieSuanDanYangShiCss } from '@/data/css-for-print'
-import { daYingShangChuanJieSuanDan } from '@/api/medical-insurance/si-setl-upload'
+import {getLodop, initLodop} from '@/utils/c-lodop'
+import {jieSuanDanYangShiCss} from '@/data/css-for-print'
+import {daYingShangChuanJieSuanDan} from '@/api/medical-insurance/si-setl-upload'
 import {
   brdyName,
   fenLeiZhiFuLeiXing,
@@ -823,7 +836,7 @@ import {
   zhenDuanData,
   zhongZhenJianHu,
 } from './jieSuanDanXiuGai'
-import { stringIsBlank } from '@/utils/blank-utils'
+import {stringIsBlank} from '@/utils/blank-utils'
 
 const props = defineProps({
   data: {},
@@ -899,25 +912,25 @@ onMounted(() => {
 
 const queryJieSuanDan = () => {
   daYingShangChuanJieSuanDan(patNo.value, times.value, ledgerSn.value)
-    .then((res) => {
-      jieSuanDanDaYingDialog.value = true
-      setlinfo.value = res.setlinfo
-      diseinfoData.value = zhenDuanData(res.diseinfo)
-      // 手术
-      oprninfoData.value = getShouShuData(res.oprninfo)
-      //  医疗收费信息
-      iteminfoData.value = getMedChrgitmTypeData(res.iteminfo)
-      icuinfoData.value = zhongZhenJianHu(res.icuinfo)
-      // 门诊慢特病
-      opspdiseinfoData.value = outpatientChronicDisease(res.opspdiseinfo)
-      // 基金支付类型
-      let fenLeiJiJing = fenLeiZhiFuLeiXing(res.payinfo)
-      payinfoData.value = fenLeiJiJing.obj
-      qiTaPayinfoData.value = fenLeiJiJing.qiTa
-    })
-    .catch((e) => {
-      jieSuanDanDaYingDialog.value = false
-    })
+      .then((res) => {
+        jieSuanDanDaYingDialog.value = true
+        setlinfo.value = res.setlinfo
+        diseinfoData.value = zhenDuanData(res.diseinfo)
+        // 手术
+        oprninfoData.value = getShouShuData(res.oprninfo)
+        //  医疗收费信息
+        iteminfoData.value = getMedChrgitmTypeData(res.iteminfo)
+        icuinfoData.value = zhongZhenJianHu(res.icuinfo)
+        // 门诊慢特病
+        opspdiseinfoData.value = outpatientChronicDisease(res.opspdiseinfo)
+        // 基金支付类型
+        let fenLeiJiJing = fenLeiZhiFuLeiXing(res.payinfo)
+        payinfoData.value = fenLeiJiJing.obj
+        qiTaPayinfoData.value = fenLeiJiJing.qiTa
+      })
+      .catch((e) => {
+        jieSuanDanDaYingDialog.value = false
+      })
 }
 
 const blankToSpace = (value) => {

+ 9 - 8
src/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/BianJiJianChaJianYanShenQing.vue

@@ -65,11 +65,10 @@
         <el-col v-if="jianCha" :span="12">
           <el-form-item class="bi_tian" label="临床诊断:" prop="diagCode">
             <!--    TODO  v2 选择器中我绑定了 value 是对象记得搞      -->
-            <el-select-v2 :model-value="bianJiJianChaShuJu.diagCodeObj"
+            <el-select-v2 v-model="bianJiJianChaShuJu.diagCodeObj"
                           :options="linChuangZhenDuanShuJu"
                           filterable
                           remote
-                          value-key="key"
                           :remote-method="linChuangZhenDuanSuoSou"
                           @change="huoQuXiangXiZhenDuan"
                           size="small"/>
@@ -130,6 +129,7 @@ import {ElMessage} from 'element-plus'
 import {stringIsBlank, stringNotBlank} from '@/utils/blank-utils'
 import {biaoBenApi, huoQuLinChuangZhenDuan} from '@/api/zhu-yuan-yi-sheng/jian-yan-jian-cha-shen-qing'
 import {logoutShortcut, xcHotKey} from '@/utils/xckeydown'
+import {clone} from "@/utils/clone";
 
 const props = defineProps({
   jianCha: {
@@ -190,14 +190,14 @@ const daKaiBenDuiHua = async (val, xiaBiao, zhongShu) => {
   index.value = xiaBiao + 1
   count.value = zhongShu
   bianJiJianChaShuJu.value = val
+
   if (stringNotBlank(val.diagCode)) {
     let index = linChuangZhenDuanShuJu.value.findIndex(item => {
-      return item.value === val.diagCode
+      return item.key === val.diagCode
     })
     if (index === -1) {
       linChuangZhenDuanShuJu.value.push({
-        key: val.diagCode,
-        value: val.diagCodeObj,
+        value: JSON.stringify({value: val.diagCode, label: val.diagText}),
         label: val.diagText
       });
     }
@@ -245,9 +245,10 @@ const linChuangZhenDuanSuoSou = (val) => {
 }
 
 const huoQuXiangXiZhenDuan = (val) => {
-  if (!val) {
-    bianJiJianChaShuJu.value.diagText = val.label
-    bianJiJianChaShuJu.value.diagCode = val.value
+  if (val) {
+    let data = JSON.parse(val)
+    bianJiJianChaShuJu.value.diagText = data.label
+    bianJiJianChaShuJu.value.diagCode = data.value
   }
 }