浏览代码

病案首页汇总重置费用

‘chenzhilei’ 2 周之前
父节点
当前提交
258917b55c
共有 2 个文件被更改,包括 45 次插入0 次删除
  1. 7 0
      src/api/case-front-sheet/index.js
  2. 38 0
      src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

+ 7 - 0
src/api/case-front-sheet/index.js

@@ -29,6 +29,13 @@ export function getSheetInfo(data) {
         data,
     })
 }
+export function getPatientInfoReset(data) {
+    return request({
+        url: '/caseFrontSheet/getPatientInfoReset',
+        method: 'post',
+        data,
+    })
+}
 
 export function sheetSearch(data) {
     return request({

+ 38 - 0
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -96,6 +96,9 @@
       <el-button type="danger" icon="Download" @click="showExportPanel"
         >历史病案导出
       </el-button>
+      <el-button type="danger" icon="refresh" @click="fetchSheetInfoReset"
+        >费用重置
+      </el-button>
     </header>
     <div class="layout_main layout_container layout-horizontal">
       <aside class="layout_el-table">
@@ -2185,6 +2188,7 @@ import {
   getAllDictionary,
   getPatientOverview,
   getSheetInfo,
+  getPatientInfoReset,
   getSsfzSurgeriesByIcd,
   getUserWards,
   getYbDiags,
@@ -2471,6 +2475,40 @@ const handleClickOverview = row => {
   fetchSheetInfo(row);
 };
 
+const fetchSheetInfoReset = () => {
+  getPatientInfoReset(currentRow.value).then(res => {
+    patient.value.totalCost = res.totalCost
+    patient.value.selfPay = res.selfPay
+    patient.value.generalMedicalServiceFee = res.generalMedicalServiceFee
+    patient.value.generalTreatmentOperatingFee = res.generalTreatmentOperatingFee
+    patient.value.careFee = res.careFee
+    patient.value.elseFee = res.elseFee
+    patient.value.pathologicDiagFee = res.pathologicDiagFee
+    patient.value.experimentDiagFee = res.experimentDiagFee
+    patient.value.ctDiagFee = res.ctDiagFee
+    patient.value.clinicalDiagFee = res.clinicalDiagFee
+    patient.value.notSurgicalFee = res.notSurgicalFee
+    patient.value.clinicalPhysicalFee = res.clinicalPhysicalFee
+    patient.value.surgicalFee = res.surgicalFee
+    patient.value.anesthetizeFee = res.anesthetizeFee
+    patient.value.surgeryFee = res.surgeryFee
+    patient.value.recoverFee = res.recoverFee
+    patient.value.tcmTreatmentFee = res.tcmTreatmentFee
+    patient.value.westMedicineFee = res.westMedicineFee
+    patient.value.chinesePatentMedicineFee = res.chinesePatentMedicineFee
+    patient.value.chineseHerbalMedicineFee = res.chineseHerbalMedicineFee
+    patient.value.bloodFee = res.bloodFee
+    patient.value.albuminProductsFee = res.albuminProductsFee
+    patient.value.globulinProductsFee = res.globulinProductsFee
+    patient.value.coagulationFactorProductsFee = res.coagulationFactorProductsFee
+    patient.value.cytokineProductsFee = res.cytokineProductsFee
+    patient.value.costOfDisposableMedicalMaterialsForExamination = res.costOfDisposableMedicalMaterialsForExamination
+    patient.value.costOfDisposableMedicalMaterialsForTreatment = res.costOfDisposableMedicalMaterialsForTreatment
+    patient.value.costOfDisposableMedicalMaterialsForOperation = res.costOfDisposableMedicalMaterialsForOperation
+    patient.value.otherFees = res.otherFees
+  });
+};
+
 const fetchSheetInfo = row => {
   if (
     row.bah !== patient.value.bah ||