Browse Source

医院评审

yuwandanmian 1 year ago
parent
commit
9ce5d2f91c

+ 1 - 0
README.md

@@ -32,6 +32,7 @@ VUE_APP_BASE_API3 = '/bass'
 |:---|:---:|---:|:---:|
 |聚合搜索|hospital-search|是|http://localhost:8083/#/login?preUrl=hospital|
 |聚合指标|embedIndex-home|是|http://localhost:8083/#/login?preUrl=embedIndex|
+|聚合医院评审|reviewIndex-home|是|http://localhost:8083/#/login?preUrl=reviewIndex|
 |医生站聚合搜索|whitelist-search|否|http://localhost:8083/#/whitelist-search|
 
 

+ 14 - 0
src/router/index.js

@@ -352,6 +352,20 @@ export const constantRoutes = [
     ]
   },
 
+  {
+    path: '/reviewIndex',
+    component: AppMain,
+    redirect: '/reviewIndex-home',
+    children: [
+      {
+        path: '/reviewIndex-home',
+        name: 'ReviewIndex',
+        component: () => import('@/views/reviewIndex/index'),
+        meta: { keepAlive: true },
+        hidden: true
+      }
+    ]
+  },
   {
     path: '/whitelist',
     component: AppMain,

+ 5 - 1
src/views/login/index.vue

@@ -130,18 +130,22 @@ export default {
                     bSwitch.push(2)
                   } else if(routes[i].path === '/hospital') {
                     bSwitch.push(1)
+                  } else if(routes[i].path === '/reviewIndex') {
+                    bSwitch.push(3)
                   } else {
                     bSwitch.push(0)
                   }
 
                 }
-                console.log(bSwitch, this.preUrl, 899898)
                 if (bSwitch.includes(1) && this.preUrl === 'hospital') {
                   sessionStorage.setItem('preUrl', 'hospital')
                   this.$router.push({ path: '/hospital'});
                 } else if (bSwitch.includes(2) && this.preUrl === 'embedIndex') {
                   sessionStorage.setItem('preUrl', 'embedIndex')
                   this.$router.push({ path: '/embedIndex' });
+                } else if (bSwitch.includes(3) && this.preUrl === 'reviewIndex') {
+                  sessionStorage.setItem('preUrl', 'reviewIndex')
+                  this.$router.push({ path: '/reviewIndex' });
                 } else {
                   this.$router.push(this.redirect || '/');
                 }

+ 70 - 0
src/views/reviewIndex/index.vue

@@ -0,0 +1,70 @@
+<template>
+  <div class="box">
+    <div class="box_wrapper">
+      <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
+        <el-tab-pane label="指标分析" name="0">
+          <CaseIndexAnalysis />
+        </el-tab-pane>
+        <el-tab-pane label="评审指标" name="1">
+          <CaseIndex />
+        </el-tab-pane>
+      </el-tabs>
+      <el-button class="layout-btn" @click="onLayout">
+        退出
+      </el-button>
+    </div>
+  </div>
+</template>
+
+<script>
+import { setToken } from '@/utils/auth';
+import CaseIndexAnalysis from '@/views/yyps/analysis/index.vue'
+import CaseIndex from '@/views/yyps/index/index.vue'
+
+export default {
+  components: {
+    CaseIndexAnalysis,
+    CaseIndex
+  },
+  data() {
+    return {
+      activeName: '0'
+    };
+  },
+  methods: {
+    handleClick(tab, event) {
+      this.activeName = tab.name
+    },
+    onLayout() {
+      setToken('');
+      sessionStorage.removeItem("route")
+      this.$router.push(`/login`);
+    }
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+::v-deep .el-tabs__nav-scroll{
+	width: 320px;
+	margin:0 auto
+}
+.box {
+  user-select: none;
+  padding: 16px;
+  .box_wrapper {
+    padding: 16px;
+    padding: 16px;
+    background: #fff;
+    border-radius: 5px;
+    position: relative;
+  }
+  .layout-btn {
+    position: absolute;
+    --size: 16px;
+    top: var(--size);
+    right: var(--size);
+    z-index: 99;
+  }
+}
+</style>

+ 22 - 6
src/views/search/components/ProfessionSearch.vue

@@ -109,14 +109,14 @@
               <el-form-item label="年龄">
                 <el-input placeholder="起始年龄" v-model="formInline2.ageStart" style="width: 220px; margin-right: 10px;">
                   <el-select v-model="formInline2.ageType" slot="append" placeholder="请选择">
-                    <el-option label="天" value="1"></el-option>
-                    <el-option label="岁" value="2"></el-option>
+                    <el-option label="天" :value="1"></el-option>
+                    <el-option label="岁" :value="2"></el-option>
                   </el-select>
                 </el-input>
                 <el-input placeholder="终止年龄" v-model="formInline2.ageEnd" style="width: 220px;">
                   <el-select v-model="formInline2.ageType" slot="append" placeholder="请选择">
-                    <el-option label="天" value="1"></el-option>
-                    <el-option label="岁" value="2"></el-option>
+                    <el-option label="天" :value="1"></el-option>
+                    <el-option label="岁" :value="2"></el-option>
                   </el-select>
                 </el-input>
               </el-form-item>
@@ -140,7 +140,7 @@
             </el-form>
           </div>
         </el-collapse-transition>
-        <el-button type="primary" class="search-btn">检 索</el-button>
+        <el-button type="primary" class="search-btn" @click="onSearch">检 索</el-button>
       </div>
     </div>
   </div>
@@ -392,7 +392,7 @@ export default {
         AAC04_END: '',
         ageStart: '',// 自定义需根据ageType转化相应字段
         ageEnd: '',// 自定义需根据ageType转化相应字段
-        ageType: '1',
+        ageType: 2,
         TIWEN_START: '',
         TIWEN_END: '',
         field: [{
@@ -426,6 +426,22 @@ export default {
     // 减一行
     onMinus(index) {
       this.formInline2.field.splice(index, 1)
+    },
+    // 搜索
+    onSearch() {
+      const { ageType, ageStart, ageEnd } = this.formInline2
+      if (ageType === 1) {
+        this.formInline2.AAA40_START = ageStart
+        this.formInline2.AAA40_END = ageEnd
+      } else if (ageType === 2) {
+        this.formInline2.AAA04_START = ageStart
+        this.formInline2.AAA04_END = ageEnd
+      }
+      const params = {
+        ...this.formInline,
+        ...this.formInline2
+      }
+      this.$emit('search', params)
     }
   }
 }

+ 177 - 2
src/views/search/index.vue

@@ -165,7 +165,7 @@
         <el-button class="btn2" @click="searchBtn(1)">检索</el-button>
       </div>
       <!-- 专业检索 -->
-      <ProfessionSearchVue v-if="choice == 2" />
+      <ProfessionSearchVue v-if="choice == 2" @search="handleProfessionSearch" />
     </div>
     <div class="tableBox">
       <div class="flextab" style="margin: 0; margin-bottom: 30px; display: block">
@@ -286,7 +286,7 @@ export default {
   components: {
     Title,
     mPagination,
-    ProfessionSearchVue
+    ProfessionSearchVue,
   },
   computed: {
     ...mapGetters(['name']),
@@ -635,6 +635,181 @@ export default {
         Object.assign(this.$data.formData1, this.$options.data().formData1);
       }
     },
+    // 专业检索
+    handleProfessionSearch(params) {
+      const res = {
+        data: {
+          total: 9,
+          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: '00258520',
+              ZYH: 796346,
+              AAB01: '2023-05-27 02:35:00',
+              AAC01: '2023-06-08 07:52:00',
+              AAA04: 66,
+              AAC11N: '呼吸与危重症医学科',
+            },
+          ],
+          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',
+            },
+            {
+              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',
+            },
+          ],
+        },
+      };
+
+      this.tableData = res.data.list || [];
+      this.tableDataDetails = res.data.detail || [];
+      this.paginationData.total = res.data.total;
+      // this.$axios3.post('/bl/serach', params).then(res => {
+      //   this.tableData = res.data.list || [];
+      //   this.tableDataDetails = res.data.detail || [];
+      //   this.paginationData.total = res.data.total;
+      // });
+    },
   },
 };
 </script>