yuwandanmian %!s(int64=2) %!d(string=hai) anos
pai
achega
59d1b61a2d

+ 20 - 1
src/router/index.js

@@ -196,10 +196,29 @@ export const constantRoutes = [
   // 医院大数据自助查询系统
   {
     path: '/hospital-search',
-    name: 'SearchSystem',
+    name: 'HospitalSearch',
     component: () => import('@/views/searchSystem/index'),
+    meta: { keepAlive:true },
     hidden: true
   },
+  {
+    path: '/hospital-caseViews',
+    name: 'HospitalCaseViews',
+    component: () => import('@/views/allcase/caseViews'),
+    hidden: true
+  },
+  {
+    path: '/hospital-details',
+    name: 'HospitalDetails',
+    component: () => import('@/views/data/query/details'),
+    hidden: true
+  },
+  {
+    path: '/hospital-chargeDetails',
+    name: 'HospitalChargeDetails',
+    hidden: true,
+    component: () => import('@/views/data/query/ChargeDetails')
+  },
 ];
 
 const createRouter = () =>

+ 6 - 3
src/views/allcase/caseViews.vue

@@ -100,9 +100,12 @@
           <newContFile :text="text" :name="name_title" v-if="update"></newContFile>
         </div>
       </div>
-      <!-- 住院病案质控 -->
-      <ErrorMsg v-if="is_active == 0" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score" @ss="getBlankIndexss"></ErrorMsg>
-      <ErrorMsg2 v-if="is_active == 292" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score"></ErrorMsg2>
+      <!-- status 不存在 意味着不脱敏、医院自助查询 -->
+      <template v-if="!$route.query.status">
+        <!-- 住院病案质控 -->
+        <ErrorMsg v-if="is_active == 0" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score" @ss="getBlankIndexss"></ErrorMsg>
+        <ErrorMsg2 v-if="is_active == 292" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score"></ErrorMsg2>
+      </template>
     </div>
   </div>
 </template>

+ 16 - 78
src/views/data/query/details.vue

@@ -1,9 +1,11 @@
 <template>
   <div id="MyDiv" :class="{'nocopy': $route.query.status }">
     <div class="header">
-      <el-button type="success" v-if="!ifFile" @click="funEdit">编辑</el-button>
-      <el-button type="warning" v-if="ifFile" @click="funNext">保存</el-button>
-      <el-button type="primary">导出详情</el-button>
+      <!-- status 不存在 意味着不脱敏、医院自助查询 -->
+      <template v-if="!$route.query.status">
+        <el-button type="success" v-if="!ifFile" @click="funEdit">编辑</el-button>
+        <el-button type="warning" v-if="ifFile" @click="funNext">保存</el-button>
+      </template>
       <el-button @click="getback">返回</el-button>
     </div>
     <div class="cont_container">
@@ -14,10 +16,6 @@
         <!--  -->
         <div class="cont-title">
           <div></div>
-          <!-- <div>
-            <span>医疗机构</span>
-            <span ref="UNT_ID">(组织机构代码:{{ data.UNT_ID }})</span>
-          </div> -->
           <div class="refachInput">
             <span ref="AAA28">病案号:</span>
             <span v-if="!ifFile">{{ data.AAA28 }}</span>
@@ -805,11 +803,6 @@
             <tr>
               <td class="table-value" colspan="3" style="font-weight: bold; border-right: 0" ref="BYQK">变异情况:</td>
               <td class="table-value" colspan="7" style="border-left: 0">{{ data.BYQK }}1.有 2.无</td>
-              <!-- <td class="table-value" colspan="6" style="border-left: 0;" v-if="ifFile">
-                <div style="display:flex;align-items: center;justify-content: center;">
-                 <el-input class="width100 tableReach"  v-model="data.AEL01" placeholder="请输入内容"></el-input>
-                </div>
-              </td> -->
             </tr>
 
             <tr>
@@ -835,7 +828,6 @@
                 <span ref="AEJ06">分</span>
               </td>
               <td class="table-value" colspan="5" style="border-left: 0" v-if="!ifFile"></td>
-              <!-- <td class="table-value" colspan="5" style="border-left: 0" v-if="ifFile"></td> -->
             </tr>
             <tr>
               <td class="table-labelon" colspan="3" ref="IS_MAIN_WAY">
@@ -867,7 +859,6 @@
               </td>
               <td class="table-value" colspan="2" v-if="!ifFile">{{ data.HJ }}</td>
               <td class="table-value" colspan="2" v-if="ifFile">
-                <!-- <el-input class="width100 tableReach" v-model="data.AEL01" placeholder="请输入内容"></el-input> -->
               </td>
             </tr>
             <!--  -->
@@ -886,9 +877,6 @@
                       <span style="width: 700px">医嘱转社区卫生服务机构乡镇卫生院,拟接收医疗机构名称:</span>
                       <el-input class="width200 tableReach" v-model="data.AEM02" placeholder="请输入内容"></el-input>
                     </div>
-                    <!-- <div v-else-if="data.AEM01C == '医嘱离院'" style="display: flex; align-items: center; justify-content: center">
-                      <span style="width: auto">医嘱离院</span>
-                    </div> -->
                     <div v-else-if="!ifFile&&data.AEM01C == 4" style="display: flex; align-items: center; justify-content: center">
                       <span style="width: auto">非医嘱离院</span>
                     </div>
@@ -917,30 +905,6 @@
                 </div>
               </td>
             </tr>
-            <!-- <tr>
-              <td class="table-value" colspan="2" ref="AEM01C">离院方式(1.医嘱离院 2.医嘱转院 3.):</td>
-              <td class="table-value" colspan="3">
-                <div v-if="!ifFile">{{ data.AEM01C }}</div>
-                <div v-else style="display:flex;">
-                  <el-input class="width100 tableReach" style="width:80px;" v-model="data.AEM01C" placeholder="请输入"></el-input>
-                  <div v-if="data.AEM01C == 2" style="display:flex;">
-                    <span>医嘱转院,拟接收医疗机构名称:</span>
-                    <el-input class="width100 tableReac1h" v-model="data.AEM02" placeholder="请输入内容"></el-input>
-                  </div>
-                  <div v-else-if="data.AEM01C == 3" style="display:flex;">
-                    医嘱转社区卫生服务机构乡镇卫生院,拟接收医疗机构名称
-                    <el-input class="width100 tableReach" v-model="data.AEM02" placeholder="请输入内容"></el-input>
-                  </div>
-                  
-                </div>
-              </td>
-
-              <td class="table-value" colspan="3" ref="AEM04">是否有出院31天内再住院计划:</td>
-              <td class="table-value" colspan="2">
-                <div v-if="!ifFile">{{ data.AEM04 }}</div>
-                <el-input v-else class="width100 tableReach" v-model="data.AEM04" placeholder="请输入内容"></el-input>
-              </td>
-            </tr> -->
             <!--  -->
             <tr class="tablexs">
               <td class="table-value" colspan="2" style="font-weight: bold">住院费用(总费用):</td>
@@ -1316,43 +1280,9 @@
           </table>
         </div>
       </div>
-      <div class="cont-reight">
+      <!-- status 不存在 意味着不脱敏、医院自助查询 -->
+      <div class="cont-reight" v-if="!$route.query.status">
         <div class="cont-reight-top">
-          <!-- <div class="cont-reight-top-title">KD19</div>
-          <div class="cont-reight-top-cont">
-            <p>
-              DRG名称:
-              <span></span>
-            </p>
-            <p>
-              DRG权重:
-              <span></span>
-            </p>
-            <p>
-              重点跟踪:
-              <span></span>
-            </p>
-            <p>
-              结余预测:
-              <span></span>
-            </p>
-            <p>
-              总费用:
-              <span></span>
-            </p>
-            <p>
-              药材占比:
-              <span></span>
-            </p>
-            <p>
-              耗材占比:
-              <span></span>
-            </p>
-            <p>
-              得分:
-              <span></span>
-            </p>
-          </div> -->
           <div class="cont-reight-btn">病案首页</div>
         </div>
         <!-- 评分 -->
@@ -1477,7 +1407,15 @@ export default {
   },
   methods: {
     jump() {
-      this.$router.push(`/ChargeDetails?MED_REC_ID=${this.data.MED_REC_ID}`);
+      const { path } = this.$route
+      let toPath
+      if (path === '/hospital-details') {
+        toPath = '/hospital-chargeDetails'
+      } else {
+        toPath = '/ChargeDetails'
+      }
+      // status = 1 代表不能复制文本
+      this.$router.push({ path: toPath, query: { MED_REC_ID: this.data.MED_REC_ID }})
     },
     funNext() {
       this.$axios.post('/medicalRecordEdit', this.data).then(res => {

+ 8 - 1
src/views/searchSystem/components/BLSearch.vue

@@ -582,8 +582,15 @@ export default {
       this.storageSet("formData1", JSON.stringify(this.formData1));
       this.storageSet("choice", JSON.stringify(this.choice));
       this.storageSet("getData", val);
+      const { path } = this.$route
+      let toPath
+      if (path === '/hospital-search') {
+        toPath = '/hospital-caseViews'
+      } else {
+        toPath = '/caseViews'
+      }
       // status = 1 代表不能复制文本
-      this.$router.push({ path: '/caseViews', query: { status: 1} })
+      this.$router.push({ path: toPath, query: { status: 1 }})
     },
     funCeal() {
       this.$refs.multipleTable.clearSelection();

+ 8 - 2
src/views/searchSystem/components/CaseHomeSearch.vue

@@ -665,9 +665,15 @@ export default {
     },
     funGoto(val) {
       this.storageSet('getData', val);
-      // this.goto('/details');
+      const { path } = this.$route
+      let toPath
+      if (path === '/hospital-search') {
+        toPath = '/hospital-details'
+      } else {
+        toPath = '/details'
+      }
       // status = 1 代表不能复制文本
-      this.$router.push({ path: '/details', query: { status: 1 }});
+      this.$router.push({ path: toPath, query: { status: 1 }})
 
     },
     funBlur() {