Przeglądaj źródła

查看检查项目

lmx 10 miesięcy temu
rodzic
commit
b938fdf367

+ 2 - 2
admin-ui/src/views/work/check/window.vue

@@ -165,7 +165,7 @@ export default {
     // 获取当前患者的所有检查项目,同时生成菜单栏需要的时间数据
     getObrAllListAndGenerateTime() {
       // this.testPatId要改为this.$props.param.id
-      this.$props.param.id = this.testPatId //后续数据库更新后需要把这行代码注释掉
+      // this.$props.param.id = this.testPatId //后续数据库更新后需要把这行代码注释掉
       service({
         url: `/work/request/patid/${this.$props.param.id}`,
       }).then((response) => {
@@ -177,7 +177,7 @@ export default {
     // 获取所有检查项目的所有检测结果,通过检测项目标识obrId来取出对应检测结果,默认获取第一页的数据
     getObxAllList() {
       // this.testPatId要改为this.$props.param.id
-      this.$props.param.id = this.testPatId //后续数据库更新后需要把这行代码注释掉
+      // this.$props.param.id = this.testPatId //后续数据库更新后需要把这行代码注释掉
       service({
         url: `/work/result/patid/${this.$props.param.id}`,
         params: {

+ 2 - 1
admin-ui/src/views/work/visit/search.vue

@@ -21,7 +21,7 @@
                   <template slot="title">
                     <span>{{month}}月</span>
                   </template>
-                  <el-menu-item v-for="item in days" @click="getCard(item.id); activePatient(2); getDgList()" :key="item.id" :index="item.id.toString()">
+                  <el-menu-item v-for="item in days" @click="getCard(item.id)" :key="item.id" :index="item.id.toString()">
                     {{item.day}}日 {{item.HH}}:{{item.MM}}:{{item.SS}}
                   </el-menu-item>
                 </el-submenu>
@@ -207,6 +207,7 @@ export default {
     },
     /** 查询某一次的就诊信息 */
     getCard(id){
+      this.activePatient(2);
       if(id === this.pvList.id){
         return;
       }