Forráskód Böngészése

违规费用分析。

xiaochan 4 éve
szülő
commit
736c6c3357

+ 58 - 53
src/components/inpatient/WeiGuiFeiYongFenXi.vue

@@ -21,6 +21,7 @@
             highlight-current-row
             stripe
           >
+            <el-table-column label="排序" type="index"></el-table-column>
             <el-table-column label="项目编码" prop="chargeCodeMx"></el-table-column>
             <el-table-column label="项目名称" prop="name"></el-table-column>
           </el-table>
@@ -44,6 +45,7 @@
             stripe
             @cell-click="zhenShuFeiYong"
           >
+            <el-table-column label="排序" type="index"></el-table-column>
             <el-table-column label="流水号" prop="detailSn"></el-table-column>
             <el-table-column label="项目编码" prop="chargeCodeMx"></el-table-column>
             <el-table-column label="收费时间" prop="chargeDate"></el-table-column>
@@ -71,59 +73,62 @@
       </el-tabs>
     </el-main>
     <el-drawer title="费用修正" v-model="feiYongXiuZhenDrawer" size="50%" :before-close="shiFouBaoCun">
-      <el-descriptions title="费用信息" border>
-        <el-descriptions-item label="项目名称">{{ fuShuFeiYongXinXi.chargeCodeName }}</el-descriptions-item>
-        <el-descriptions-item label="金额">{{ fuShuFeiYongXinXi.chargeFee }}</el-descriptions-item>
-        <el-descriptions-item label="数量">{{ fuShuFeiYongXinXi.chargeAmount }}</el-descriptions-item>
-        <el-descriptions-item label="执行科室">{{ fuShuFeiYongXinXi.execUnitName }}</el-descriptions-item>
-        <el-descriptions-item label="录入人">{{ fuShuFeiYongXinXi.opIdCode }}</el-descriptions-item>
-        <el-descriptions-item label="操作">
-          <el-button size="small" type="success" @click="PiPeiClick">保存</el-button>
-        </el-descriptions-item>
-      </el-descriptions>
-      <br />
-      录入日期:<el-date-picker
-        type="daterange"
-        v-model="dateRange"
-        placeholder="选择日期"
-        style="width: 280px"
-        range-separator="至"
-        start-placeholder="开始日期"
-        end-placeholder="结束日期"
-        :shortcuts="shortcuts"
-      ></el-date-picker>
-      <el-button
-        @click="riQiPaiXu === 'DESC' ? (riQiPaiXu = 'ASC') : (riQiPaiXu = 'DESC')"
-        type="success"
-        :icon="riQiPaiXu === 'DESC' ? 'el-icon-caret-bottom' : 'el-icon-caret-top'"
-        >{{ riQiPaiXu === 'DESC' ? '日期降序' : '日期升序' }}</el-button
-      >
-      <el-button @click="zhenShuFeiYong(fuShuFeiYongXinXi)">查询</el-button>
-      <el-table
-        highlight-current-row
-        stripe
-        :data="keYiPiPeiDeZhenShu.data.slice((keYiPiPeiDeZhenShu.currentPage - 1) * keYiPiPeiDeZhenShu.pageSize, keYiPiPeiDeZhenShu.pageSize * keYiPiPeiDeZhenShu.currentPage)"
-        :height="WinHeight / 1.39"
-        @selection-change="handleSelectionChange"
-        class="eltable"
-      >
-        <el-table-column type="selection"></el-table-column>
-        <el-table-column label="流水号" prop="detailSn" width="70"></el-table-column>
-        <el-table-column label="时间" prop="chargeDate" width="70"></el-table-column>
-        <el-table-column label="项目编码" prop="chargeCodeMx"></el-table-column>
-        <el-table-column label="金额" prop="chargeFee"></el-table-column>
-        <el-table-column label="数量" prop="chargeAmount"></el-table-column>
-      </el-table>
-      <el-pagination
-        @current-change="keYiPiPeiDeZhenShuCurrentPage"
-        @size-change="keYiPiPeiDeZhenShuSizeChange"
-        :current-page="keYiPiPeiDeZhenShu.currentPage"
-        :page-size="keYiPiPeiDeZhenShu.pageSize"
-        layout=" prev, pager, next,total,sizes"
-        :total="keYiPiPeiDeZhenShu.data.length"
-        style="margin-top: 5px"
-        background
-      ></el-pagination>
+      <div style="margin: auto 20px auto 20px">
+        <el-descriptions title="费用信息" border>
+          <el-descriptions-item label="项目名称">{{ fuShuFeiYongXinXi.chargeCodeName }}</el-descriptions-item>
+          <el-descriptions-item label="金额">{{ fuShuFeiYongXinXi.chargeFee }}</el-descriptions-item>
+          <el-descriptions-item label="数量">{{ fuShuFeiYongXinXi.chargeAmount }}</el-descriptions-item>
+          <el-descriptions-item label="执行科室">{{ fuShuFeiYongXinXi.execUnitName }}</el-descriptions-item>
+          <el-descriptions-item label="录入人">{{ fuShuFeiYongXinXi.opIdCode }}</el-descriptions-item>
+          <el-descriptions-item label="操作">
+            <el-button size="small" type="success" @click="PiPeiClick">保存</el-button>
+          </el-descriptions-item>
+        </el-descriptions>
+        <br />
+        录入日期:<el-date-picker
+          type="daterange"
+          v-model="dateRange"
+          placeholder="选择日期"
+          style="width: 280px"
+          range-separator="至"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+          :shortcuts="shortcuts"
+        ></el-date-picker>
+        <el-button
+          @click="riQiPaiXu === 'DESC' ? (riQiPaiXu = 'ASC') : (riQiPaiXu = 'DESC')"
+          type="success"
+          :icon="riQiPaiXu === 'DESC' ? 'el-icon-caret-bottom' : 'el-icon-caret-top'"
+          >{{ riQiPaiXu === 'DESC' ? '日期降序' : '日期升序' }}</el-button
+        >
+        <el-button @click="zhenShuFeiYong(fuShuFeiYongXinXi)">查询</el-button>
+        <el-table
+          highlight-current-row
+          stripe
+          :data="keYiPiPeiDeZhenShu.data.slice((keYiPiPeiDeZhenShu.currentPage - 1) * keYiPiPeiDeZhenShu.pageSize, keYiPiPeiDeZhenShu.pageSize * keYiPiPeiDeZhenShu.currentPage)"
+          :height="WinHeight / 1.39"
+          @selection-change="handleSelectionChange"
+          class="eltable"
+        >
+          <el-table-column type="selection"></el-table-column>
+          <el-table-column label="排序" type="index"></el-table-column>
+          <el-table-column label="流水号" prop="detailSn" width="70"></el-table-column>
+          <el-table-column label="时间" prop="chargeDate" width="70"></el-table-column>
+          <el-table-column label="项目编码" prop="chargeCodeMx"></el-table-column>
+          <el-table-column label="金额" prop="chargeFee"></el-table-column>
+          <el-table-column label="数量" prop="chargeAmount"></el-table-column>
+        </el-table>
+        <el-pagination
+          @current-change="keYiPiPeiDeZhenShuCurrentPage"
+          @size-change="keYiPiPeiDeZhenShuSizeChange"
+          :current-page="keYiPiPeiDeZhenShu.currentPage"
+          :page-size="keYiPiPeiDeZhenShu.pageSize"
+          layout=" prev, pager, next,total,sizes"
+          :total="keYiPiPeiDeZhenShu.data.length"
+          style="margin-top: 5px"
+          background
+        ></el-pagination>
+      </div>
     </el-drawer>
     <el-dialog v-model="chaoZuoZhiNan" title="操作指南">
       一、未匹配 <br />

+ 2 - 1
src/components/med-tec-mod/HuanZheFeiYong.vue

@@ -172,6 +172,7 @@ export default {
 
     const weiGuiTuiFeiFenXiDialogOpen = () => {
       weiGuiFeiYongFenXi(props.patient.inpatientNo, props.patient.admissTimes, store.state.user.info.deptCode).then((res) => {
+        console.log(res)
         if (res.weiXieDaiYuanLiuShui.length > 0) {
           weiGuiTuiFeiFenXiDialog.value = true
           weiGuiJiBenXinXi.value.weiPiPei = res.weiPiPei
@@ -196,7 +197,7 @@ export default {
               title: '提示',
               dangerouslyUseHTMLString: true,
               type: 'success',
-              message: ` 该患者没有违规的费用 very nice`,
+              message: `该患者没有本科室违规的费用 very nice`,
             })
           }
         }

+ 49 - 39
src/views/med-tec-mod/QueRenYiZhuShouFei.vue

@@ -76,58 +76,63 @@
       ></el-pagination>
     </el-main>
     <el-drawer v-model="xiangXiYiZhuXinXiDrawer" direction="ltr" size="700" title="患者医嘱的详细信息">
-      <div style="margin-left: 20px">
-        <el-tag type="success" effect="dark"> 住院号:{{ lingShiQueFeiShuJu.inpatientNo }}</el-tag>
-        <el-tag type="warning" effect="dark"> 姓名:{{ lingShiQueFeiShuJu.name }}</el-tag>
-        <el-tag type="success" effect="dark"> 性别:{{ cptSex(lingShiQueFeiShuJu.sex) }}</el-tag>
-        <el-tag type="warning" effect="dark"> 床号{{ lingShiQueFeiShuJu.bedNo }}</el-tag>
-        <el-tag type="success" effect="dark"> 医保身份:{{ lingShiQueFeiShuJu.responceTypeName }}</el-tag>
-        <el-tag type="warning" effect="dark"> 病区:{{ lingShiQueFeiShuJu.wardName }}</el-tag>
-        <el-divider direction="vertical"></el-divider>
-        <el-button type="success" @click="baoCunYiZhuQueFeiClick" icon="el-icon-upload" :disabled="queryTerm.liShi === 1">保存</el-button>
-        <el-divider direction="vertical"></el-divider>
-        <el-button type="danger" @click="xiangXiYiZhuXinXiDrawer = false">关闭</el-button>
+      <div style="margin: auto 20px auto 20px">
+        <el-descriptions title="患者信息" border>
+          <template #extra>
+            <el-button type="success" @click="baoCunYiZhuQueFeiClick" icon="el-icon-upload" :disabled="queryTerm.liShi === 1">保存</el-button>
+          </template>
+          <el-descriptions-item label="住院号">{{ lingShiQueFeiShuJu.inpatientNo }}</el-descriptions-item>
+          <el-descriptions-item label="姓名">{{ lingShiQueFeiShuJu.name }}</el-descriptions-item>
+          <el-descriptions-item label="性别">{{ cptSex(lingShiQueFeiShuJu.sex) }}</el-descriptions-item>
+          <el-descriptions-item label="床号">{{ lingShiQueFeiShuJu.bedNo }}</el-descriptions-item>
+          <el-descriptions-item label="医保身份">{{ lingShiQueFeiShuJu.responceTypeName }}</el-descriptions-item>
+          <el-descriptions-item label="病区">{{ lingShiQueFeiShuJu.wardName }}</el-descriptions-item>
+        </el-descriptions>
         <el-table
           :data="lingShiQueFeiShuJu.list.slice((lingShiQueFeiShuJu.currentPage - 1) * lingShiQueFeiShuJu.pageSize, lingShiQueFeiShuJu.currentPage * lingShiQueFeiShuJu.pageSize)"
           highlight-current-row
           stripe
           :height="winHeight / 1.3"
         >
-          <el-table-column prop="actOrderNo" label="医嘱号"> </el-table-column>
-          <el-table-column prop="occTime" label="医嘱日期" width="80"></el-table-column>
-          <el-table-column prop="chargeCode" label="项目编码"></el-table-column>
-          <el-table-column prop="chargeName" label="项目名称"></el-table-column>
-          <el-table-column prop="docotrName" label="医生"></el-table-column>
-          <el-table-column prop="orderCount" label="数量"></el-table-column>
-          <el-table-column prop="chargeFee" label="单价"></el-table-column>
-          <el-table-column label="金额">
-            <template #default="scope">
-              {{ (scope.row.chargeFee * scope.row.orderCount).toFixed(2) }}
-            </template>
-          </el-table-column>
-          <el-table-column prop="opIdName" label="操作人" v-if="queryTerm.liShi === 1"></el-table-column>
-          <el-table-column prop="opDate" label="操作时间" v-if="queryTerm.liShi === 1"></el-table-column>
-          <el-table-column label="操作" :width="queryTerm.liShi === 0 ? 230 : 50">
-            <template #default="scope">
-              <el-radio-group
-                v-if="queryTerm.liShi === 0"
-                v-model="scope.row.chargeStatus"
-                :fill="scope.row.chargeStatus === '1' ? '#67C23A' : scope.row.chargeStatus === '2' ? '#F56C6C' : '#909399'"
-              >
-                <el-radio-button label="1">确认</el-radio-button>
-                <el-radio-button label="2">取消</el-radio-button>
-                <el-radio-button label="3">不操作</el-radio-button>
-              </el-radio-group>
-              <span v-else v-html="yiZhuZhuangTai(scope.row.chargeStatus)"> </span>
-            </template>
+          <el-table-column label="医嘱信息">
+            <el-table-column prop="actOrderNo" label="医嘱号"> </el-table-column>
+            <el-table-column prop="occTime" label="医嘱日期" width="80"></el-table-column>
+            <el-table-column prop="chargeCode" label="项目编码"></el-table-column>
+            <el-table-column prop="chargeName" label="项目名称"></el-table-column>
+            <el-table-column prop="docotrName" label="医生"></el-table-column>
+            <el-table-column prop="orderCount" label="数量"></el-table-column>
+            <el-table-column prop="chargeFee" label="单价"></el-table-column>
+            <el-table-column label="金额">
+              <template #default="scope">
+                {{ (scope.row.chargeFee * scope.row.orderCount).toFixed(2) }}
+              </template>
+            </el-table-column>
+            <el-table-column prop="opIdName" label="操作人" v-if="queryTerm.liShi === 1"></el-table-column>
+            <el-table-column prop="opDate" label="操作时间" v-if="queryTerm.liShi === 1"></el-table-column>
+            <el-table-column label="操作" :width="queryTerm.liShi === 0 ? 230 : 50">
+              <template #default="scope">
+                <el-radio-group
+                  v-if="queryTerm.liShi === 0"
+                  v-model="scope.row.chargeStatus"
+                  :fill="scope.row.chargeStatus === '1' ? '#67C23A' : scope.row.chargeStatus === '2' ? '#F56C6C' : '#909399'"
+                >
+                  <el-radio-button label="1">确认</el-radio-button>
+                  <el-radio-button label="2">取消</el-radio-button>
+                  <el-radio-button label="3">不操作</el-radio-button>
+                </el-radio-group>
+                <span v-else v-html="yiZhuZhuangTai(scope.row.chargeStatus)"> </span>
+              </template>
+            </el-table-column>
           </el-table-column>
         </el-table>
         <el-pagination
           background
           @current-change="lingShiFanYe"
+          @size-change="handleSizeChange"
           :current-page="lingShiQueFeiShuJu.currentPage"
           :page-size="lingShiQueFeiShuJu.pageSize"
-          layout=" prev, pager, next,total"
+          layout="total, sizes, prev, pager, next, jumper"
+          :page-sizes="[8, 20, 30, 100]"
           :total="lingShiQueFeiShuJu.total"
           style="margin-top: 5px"
           :pager-count="5"
@@ -351,6 +356,10 @@ export default {
       lingShiQueFeiShuJu.value.currentPage = val
     }
 
+    const handleSizeChange = (val) => {
+      lingShiQueFeiShuJu.value.pageSize = val
+    }
+
     onMounted(() => {
       getWard().then((res) => {
         wardData.value = res
@@ -384,6 +393,7 @@ export default {
       yiZhuZhuangTai,
       chaoZuoZhiNan,
       xiangXiYiZhuXinXiDrawer,
+      handleSizeChange,
     }
   },
 }