瀏覽代碼

专业检索

zdl 1 年之前
父節點
當前提交
c7e2d58351
共有 1 個文件被更改,包括 101 次插入192 次删除
  1. 101 192
      src/views/search/index.vue

+ 101 - 192
src/views/search/index.vue

@@ -208,55 +208,62 @@
       </div>
       </div>
       <div v-for="(item, index) in tableDataDetails" :key="index">
       <div v-for="(item, index) in tableDataDetails" :key="index">
         <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 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">{{ i.BLLB == k.id ? k.name : '' }}</span>
+          <!-- 普通检索、高级检索 -->
+          <div v-if="choice !=2">
+            <div v-for="(i, j) in item.EMR_BL_BL01" :key="j">
+              <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">{{ i.BLLB == k.id ? k.name : '' }}</span>
+              </div>
+              <div class="conter-case">
+                <div v-html="i.HJNR" />
+              </div>
             </div>
             </div>
-            <div class="conter-case">
-              <div v-html="i.HJNR" />
+            <!-- 结账单 -->
+            <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 :data="item.FeeDetailed" stripe style="width: 100%">
+                <el-table-column prop="FYMC" label="费用名称">
+                  <template slot-scope="scope">
+                    <span v-html="scope.row.FYMC[0]"></span>
+                  </template>
+                </el-table-column>
+                <el-table-column prop="JFRQ" label="计费日期"></el-table-column>
+                <el-table-column prop="FYSL" label="费用数量"></el-table-column>
+              </el-table>
+            </div>
+            <!-- 医嘱本 -->
+            <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 :data="item.YZB" stripe style="width: 100%">
+                <el-table-column prop="YZMC" label="医嘱名称">
+                  <template slot-scope="scope">
+                    <!-- 高级搜索 -->
+                    <span v-if="choice" v-html="scope.row.YZMC"></span>
+                    <!-- 普通搜索 -->
+                    <span v-else v-html="scope.row.YZMC[0]"></span>
+                  </template>
+                </el-table-column>
+                <el-table-column prop="BRKS" label="开嘱科室"></el-table-column>
+                <el-table-column prop="KZSJ" label="开嘱时间"></el-table-column>
+                <el-table-column prop="ZJE" label="医嘱期限"></el-table-column>
+              </el-table>
             </div>
             </div>
-          </div>
-          <!-- 结账单 -->
-          <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 :data="item.FeeDetailed" stripe style="width: 100%">
-              <el-table-column prop="FYMC" label="费用名称">
-                <template slot-scope="scope">
-                  <span v-html="scope.row.FYMC[0]"></span>
-                </template>
-              </el-table-column>
-              <el-table-column prop="JFRQ" label="计费日期"></el-table-column>
-              <el-table-column prop="FYSL" label="费用数量"></el-table-column>
-            </el-table>
-          </div>
-          <!-- 医嘱本 -->
-          <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 :data="item.YZB" stripe style="width: 100%">
-              <el-table-column prop="YZMC" label="医嘱名称">
-                <template slot-scope="scope">
-                  <!-- 高级搜索 -->
-                  <span v-if="choice" v-html="scope.row.YZMC"></span>
-                  <!-- 普通搜索 -->
-                  <span v-else v-html="scope.row.YZMC[0]"></span>
-                </template>
-              </el-table-column>
-              <el-table-column prop="BRKS" label="开嘱科室"></el-table-column>
-              <el-table-column prop="KZSJ" label="开嘱时间"></el-table-column>
-              <el-table-column prop="ZJE" label="医嘱期限"></el-table-column>
-            </el-table>
-          </div>
 
 
-          <div class="conter-num" style="margin-top: 10px">
-            病案号:
-            <span class="yeleou" @click="funGoto(item.MED_REC_ID)">{{ item.AAA28 }}</span>
+            <div class="conter-num" style="margin-top: 10px">
+              病案号:
+              <span class="yeleou" @click="funGoto(item.MED_REC_ID)">{{ item.AAA28 }}</span>
+            </div>
+            <div class="conter-time">出院时间:{{ item.AAC01 }}</div>
+          </div>
+          <!-- 专业检索 -->
+          <div v-if="choice == 2">
+            专业检索
           </div>
           </div>
-          <div class="conter-time">出院时间:{{ item.AAC01 }}</div>
         </div>
         </div>
       </div>
       </div>
       <el-pagination
       <el-pagination
@@ -639,163 +646,65 @@ export default {
     handleProfessionSearch(params) {
     handleProfessionSearch(params) {
       const res = {
       const res = {
         data: {
         data: {
-          total: 9,
+          total: 70,
           list: [
           list: [
             {
             {
-              AAA28: '00129306',
-              ZYH: 711776,
-              AAB01: '2022-02-09 14:34:00',
-              AAC01: '2022-02-17 07:57:00',
-              AAA04: 71,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00012209',
-              ZYH: 795922,
-              AAB01: '2023-05-24 10:13:00',
-              AAC01: '2023-06-02 08:02:00',
-              AAA04: 68,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00227844',
-              ZYH: 710803,
-              AAB01: '2022-02-06 09:21:00',
-              AAC01: '2022-02-09 16:54:00',
-              AAA04: 59,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00251830',
-              ZYH: 777765,
-              AAB01: '2023-02-26 14:43:00',
-              AAC01: '2023-03-05 08:21:00',
-              AAA04: 66,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00249154',
-              ZYH: 770179,
-              AAB01: '2023-01-13 15:09:00',
-              AAC01: '2023-01-21 08:19:00',
-              AAA04: 56,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00044970',
-              ZYH: 771382,
-              AAB01: '2023-01-25 11:23:00',
-              AAC01: '2023-02-12 08:09:00',
-              AAA04: 80,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00044600',
-              ZYH: 589553,
-              AAB01: '2020-01-08 10:39:00',
-              AAC01: '2020-01-19 10:20:00',
-              AAA04: 87,
-              AAC11N: '呼吸与危重症医学科',
-            },
-            {
-              AAA28: '00144308',
-              ZYH: 744326,
-              AAB01: '2022-08-17 14:36:00',
-              AAC01: '2022-08-22 07:43:00',
-              AAA04: 56,
-              AAC11N: '呼吸与危重症医学科',
+              AAA28: '00248061',
+              ZYH: 767053,
+              AAB01: '2022-12-29 13:31:00',
+              AAC01: '2023-01-11 11:00:00',
+              AAA04: 96,
+              AAC11N: '内分泌代谢病科',
             },
             },
             {
             {
-              AAA28: '00258520',
-              ZYH: 796346,
-              AAB01: '2023-05-27 02:35:00',
-              AAC01: '2023-06-08 07:52:00',
-              AAA04: 66,
-              AAC11N: '呼吸与危重症医学科',
+              AAA28: '00066452',
+              ZYH: 768823,
+              AAB01: '2023-01-06 17:16:00',
+              AAC01: '2023-01-15 11:20:00',
+              AAA04: 81,
+              AAC11N: '呼吸与危重症医学科2',
             },
             },
           ],
           ],
           detail: [
           detail: [
             {
             {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>永洋",
-              RYJL_ZHS: "<font color='red'>咳</font><font color='red'>嗽</font>1周",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,配偶体健,育有1子,体健。",
-              RYJL_CBZB_FIRST: '社区获得性肺炎',
-              AAA28: '00129306',
-              AAC01: '2022-02-17 07:57:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>敬法",
-              RYJL_ZHS: "<font color='red'>咳</font><font color='red'>嗽</font>1周。",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,配��健在,育有1子1女,健在。",
-              RYJL_CBZB_FIRST: '社区获得性肺炎',
-              AAA28: '00012209',
-              AAC01: '2023-06-02 08:02:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>同香",
-              RYJL_ZHS: "<font color='red'>咳</font><font color='red'>嗽</font>、咳痰2月。",
-              RYJL_YJJHYS: "15岁月经初潮,月经周期28-30天,经期3-7天,约50岁绝经。<font color='red'>已</font><font color='red'>婚</font>,22岁结婚,现有子1女1,配偶体健。",
-              RYJL_CBZB_FIRST: '咳嗽原因待查',
-              AAA28: '00227844',
-              AAC01: '2022-02-09 16:54:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>士滨",
-              RYJL_ZHS: "<font color='red'>咳</font><font color='red'>嗽</font>5年,喘憋2个月。",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,育有1子,配偶及儿子体健。",
-              RYJL_CBZB_FIRST: '慢性阻塞性肺病?',
-              AAA28: '00251830',
-              AAC01: '2023-03-05 08:21:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>继芳",
-              RYJL_ZHS: "<font color='red'>咳</font><font color='red'>嗽</font>20天,加重10天。",
-              RYJL_YJJHYS:
-                "16岁月经初潮,月经周期25-27天,经期3-5天,约54岁绝经,经量适中,无痛经,否认异常阴道流血史,白带正常,<font color='red'>已</font><font color='red'>婚</font>,24岁结婚,育有1子,配偶体健。",
-              RYJL_CBZB_FIRST: '肺占位性病变',
-              AAA28: '00249154',
-              AAC01: '2023-01-21 08:19:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>永龙",
-              RYJL_ZHS: "发热、<font color='red'>咳</font><font color='red'>嗽</font>、喘憋、纳差7天。",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,22岁结婚,配偶患帕金森,育1子1女,子女体健。",
-              RYJL_CBZB_FIRST: '社区获得性肺炎?',
-              AAA28: '00044970',
-              AAC01: '2023-02-12 08:09:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>其慎",
-              RYJL_ZHS: "<font color='red'>咳</font><font color='red'>嗽</font>、咳痰、喘憋20余年,加重1周。",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,22岁结婚,配偶已故,具体不详,育2子2女,子女体健。",
-              RYJL_CBZB_FIRST: '慢性阻塞性肺疾病(急性加重期)',
-              AAA28: '00044600',
-              AAC01: '2020-01-19 10:20:00',
-            },
-            {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>德胜",
-              RYJL_ZHS: "慢性<font color='red'>咳</font><font color='red'>嗽</font>、咳痰伴喘憋3年,加重3月。",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,现有1女,配偶及女儿均体健。",
-              RYJL_CBZB_FIRST: '慢性阻塞性肺疾病急性加重期',
-              AAA28: '00144308',
-              AAC01: '2022-08-22 07:43:00',
+              ryjl: {
+                RYJL_ZHS: "发热、<font color='red'>咳</font><font color='red'>嗽</font>1周。",
+                RYJL_YJJHYS: "患者高龄,听力减退,月经史不详,<font color='red'>已</font><font color='red'>婚</font>,育有1子3女,子女体健。",
+                RYJL_CBZD: ["<font color='red'>肺</font><font color='red'>炎</font>", '帕金森病', '左肺占位', '便秘'],
+              },
+              bcjl_scbc: {
+                BCJL_SCBC_ZLJH: [
+                  "患者入院诊断为<font color='red'>肺</font><font color='red'>炎</font>,请示金勇君主任医师,制定诊疗计划如下:\r",
+                  '1.护理计划:内科护理常规,一级护理,普通饮食,吸氧,监测血压;\r',
+                  '2.检查计划:完善相关辅助检查,进一步协助诊治,包括肝功、肾功、甲功等,给予呼吸科会诊,协助诊治;胸外科会诊,指导占位诊治。\r',
+                  "3.治疗计划:口服莫沙比利促进胃肠动力,首荟通便胶囊改善便秘;待呼吸科会诊意见,指导<font color='red'>肺</font><font color='red'>炎</font>用药。\r",
+                  '4.健康知识宣教:饮食宣教,心理疏导。',
+                ],
+              },
+              patient_info: {
+                AAA28: '00248061',
+                AAC01: '2023-01-11 11:00:00',
+              },
             },
             },
             {
             {
-              AAC11N: "<font color='red'>呼吸与危重症医学科</font>",
-              AAA01: "<font color='red'>陈</font>少敏",
-              RYJL_ZHS: "间断<font color='red'>咳</font><font color='red'>嗽</font>、咯血30余年,发热6天,加重1天。",
-              RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,子女体健。。",
-              RYJL_CBZB_FIRST: '支气管扩张伴咯血',
-              AAA28: '00258520',
-              AAC01: '2023-06-08 07:52:00',
+              ryjl: {
+                RYJL_ZHS: "发热伴<font color='red'>咳</font><font color='red'>嗽</font>5天。",
+                RYJL_YJJHYS: "<font color='red'>已</font><font color='red'>婚</font>,育有子女3人,配偶及子女体健。",
+                RYJL_CBZD: ["社区获得性<font color='red'>肺</font><font color='red'>炎</font>", '高血压病?'],
+              },
+              bcjl_scbc: {
+                BCJL_SCBC_ZLJH: [
+                  '1.护理计划:呼吸内科护理常规,一级护理,半流质饮食,留陪人,吸氧,监测血压;\r',
+                  '2.检查计划:完善血气��析、血分析、CRP、降钙素原、肝肾功能、呼吸道感染病原体、血培养、白介素、粪便、尿液分析等相关辅助检查,协助诊治;\r',
+                  "3.治疗计划:给予地塞米松磷酸钠注射液抗病毒,低分子肝素钙注射液抗凝,盐酸氨溴索注射液化痰,抽取血培养+药敏,为覆盖<font color='red'>肺</font><font color='red'>炎</font>链球菌、流感嗜血杆菌注等,给予头孢哌酮钠舒巴坦钠抗感染治疗。                             \r",
+                  '4.健康知识宣教:卫生宣教,心理治疗。\r',
+                  "5.患者诊断<font color='red'>肺</font><font color='red'>炎</font>,纳入临床路径。",
+                ],
+              },
+              patient_info: {
+                AAA28: '00066452',
+                AAC01: '2023-01-15 11:20:00',
+              },
             },
             },
           ],
           ],
         },
         },