Răsfoiți Sursa

修改 半小时改为12小时

yuwandanmian 2 ani în urmă
părinte
comite
07560d0b2f
2 a modificat fișierele cu 25 adăugiri și 2 ștergeri
  1. 1 1
      src/App.vue
  2. 24 1
      src/views/allcase/components/CaseIndexAnalysisListTable.vue

+ 1 - 1
src/App.vue

@@ -12,7 +12,7 @@ export default {
     return {
       lastTime: null,
       currentTime: null,
-      timeOut: 30 * 60 * 1000,
+      timeOut: 12 * 3600000,
       token: '',
       timer: '',
     };

+ 24 - 1
src/views/allcase/components/CaseIndexAnalysisListTable.vue

@@ -17,6 +17,15 @@
         prop="AAA28"
         label="住院号"
         width="160">
+        <template slot-scope="scope">
+          <span class="blue" @click="funGoto(scope.row)">
+            <template>
+              <div class="link">
+                {{ scope.row.AAA28 }}
+              </div>
+            </template>
+          </span>
+        </template>
       </el-table-column>
       <el-table-column
         prop="AAA01"
@@ -72,7 +81,17 @@ import Title from '@/components/Title';
     methods: {
       onExport() {
         this.$emit('export')
-      }
+      },
+      funGoto(row) {
+        this.storageSet('getData', row.MED_REC_ID);
+        let path
+        if (this.$route.path === '/embedIndex-caseIndexAnalysisList') {
+          path = '/embedIndex-caseViews'
+        } else {
+          path = '/caseViews'
+        }
+        this.goto(path);
+      },
     }
   }
 </script>
@@ -97,4 +116,8 @@ import Title from '@/components/Title';
 ::v-deep.el-table .el-table__header tr th:nth-child(3) {
   border-radius: 0px 5px 5px 0px;
 }
+.blue {
+  color: #185da6;
+  cursor: pointer;
+}
 </style>