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

病历-普通搜索-出院时间

yuwandanmian 2 éve
szülő
commit
2a4f977aa5
1 módosított fájl, 41 hozzáadás és 12 törlés
  1. 41 12
      src/views/searchSystem/components/BLSearch.vue

+ 41 - 12
src/views/searchSystem/components/BLSearch.vue

@@ -16,15 +16,37 @@
               placeholder="输入关键字搜索"
               placeholder="输入关键字搜索"
               class="input-with-select width500"
               class="input-with-select width500"
             >
             >
-              <el-button
-                slot="append"
-                class="bule"
-                icon="el-icon-search"
-                @click="funQuery(0)"
-                >检索</el-button
-              >
             </el-input>
             </el-input>
           </el-form-item>
           </el-form-item>
+          <el-form-item>
+            <el-date-picker
+              v-model="formData1.startTime"
+              type="date"
+              format="yyyy 年 MM 月 dd 日"
+              value-format="yyyyMMdd"
+              placeholder="出院时间开始"
+		          :picker-options="pickerOptions"
+              :disabled="lock"
+            />
+            <span class="pind10" />
+            <el-date-picker
+              v-model="formData1.endTime"
+              type="date"
+              format="yyyy 年 MM 月 dd 日"
+              value-format="yyyyMMdd"
+              placeholder="出院时间结束"
+		          :picker-options="pickerOptions"
+              :disabled="lock"
+            />
+          </el-form-item>
+          <el-form-item>
+            <el-button
+              class="bule"
+              icon="el-icon-search"
+              @click="funQuery(0)"
+              >检索</el-button
+            >
+          </el-form-item>
         </el-form>
         </el-form>
         <div style="margin: 15px" />
         <div style="margin: 15px" />
       </div>
       </div>
@@ -290,6 +312,7 @@
         <div v-if="onClass == '1'" class="conter">
         <div v-if="onClass == '1'" class="conter">
           <div v-for="(i, j) in item.EMR_BL_BL01" :key="j">
           <div v-for="(i, j) in item.EMR_BL_BL01" :key="j">
             <div class="conter-title">
             <div class="conter-title">
+              <span>{{  paginationData.pageSize * (paginationData.currentPage - 1) + (index+1) }}.{{ j+1 }}</span>
               病历名称:
               病历名称:
               <span v-for="(k, q) in fieldList" :key="q" class="blue">{{
               <span v-for="(k, q) in fieldList" :key="q" class="blue">{{
                 i.BLLB == k.id ? k.name : ""
                 i.BLLB == k.id ? k.name : ""
@@ -300,7 +323,8 @@
             </div>
             </div>
           </div>
           </div>
           <!-- 结账单 -->
           <!-- 结账单 -->
-          <div v-if="item.FeeDetailed.length">
+          <div v-if="item.FeeDetailed.length" style="margin-bottom: 20px;">
+            <span class="conter-title">{{  paginationData.pageSize * (paginationData.currentPage - 1) + (index+1) }}.{{ item.EMR_BL_BL01.length+1 }}</span>
             <el-table
             <el-table
               :data="item.FeeDetailed"
               :data="item.FeeDetailed"
               stripe
               stripe
@@ -323,7 +347,9 @@
             </el-table>
             </el-table>
           </div>
           </div>
           <!-- 医嘱本 -->
           <!-- 医嘱本 -->
-          <div v-if="item.YZB.length">
+          <div v-if="item.YZB.length" style="margin-bottom: 20px;">
+            <span class="conter-title" v-if="!item.FeeDetailed.length">{{  paginationData.pageSize * (paginationData.currentPage - 1) + (index+1) }}.{{ item.EMR_BL_BL01.length+1}}</span>
+            <span class="conter-title" v-else>{{  paginationData.pageSize * (paginationData.currentPage - 1) + (index+1) }}.{{ item.EMR_BL_BL01.length+2}}</span>
             <el-table
             <el-table
               :data="item.YZB"
               :data="item.YZB"
               stripe
               stripe
@@ -355,7 +381,7 @@
 
 
           <div class="conter-num" style="margin-top: 10px;">
           <div class="conter-num" style="margin-top: 10px;">
             病案号:
             病案号:
-            <span class="yeleou">{{ item.AAA28 }}</span>
+            <span class="yeleou" @click="funGoto(item.MED_REC_ID)">{{ item.AAA28 }}</span>
           </div>
           </div>
           <div class="conter-time">
           <div class="conter-time">
             出院时间:{{ item.AAC01 }}
             出院时间:{{ item.AAC01 }}
@@ -664,7 +690,9 @@ export default {
         queryUrl = "normalSearch";
         queryUrl = "normalSearch";
         // 普通检索
         // 普通检索
         pramse.keyword = this.formData0.input; // 关键字
         pramse.keyword = this.formData0.input; // 关键字
-
+        pramse.AAC01_start = this.formData1.startTime;
+        pramse.AAC01_end = this.formData1.endTime;
+        
         this.$axios3.post(queryUrl, pramse).then((res) => {
         this.$axios3.post(queryUrl, pramse).then((res) => {
           this.tableData = res.data.data.list || [];
           this.tableData = res.data.data.list || [];
           this.tableDataDetails = res.data.data.detail || [];
           this.tableDataDetails = res.data.data.detail || [];
@@ -848,7 +876,7 @@ export default {
   width: 295px;
   width: 295px;
 }
 }
 .width500 {
 .width500 {
-  width: 420px;
+  width: 280px;
 }
 }
 .width90 {
 .width90 {
   width: 90px;
   width: 90px;
@@ -932,6 +960,7 @@ export default {
 .yeleou {
 .yeleou {
   font-size: 16px;
   font-size: 16px;
   color: rgb(233, 157, 66);
   color: rgb(233, 157, 66);
+  cursor: pointer;
 }
 }
 .conter-num {
 .conter-num {
   font-size: 15px;
   font-size: 15px;