zdl 1 anno fa
parent
commit
9b5e1d990b

+ 1 - 1
src/App.vue

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

+ 10 - 1
src/views/data/query/adviceSearch.vue

@@ -378,7 +378,16 @@ export default {
   methods: {
   methods: {
     funGoto(val) {
     funGoto(val) {
       this.storageSet('getData', val);
       this.storageSet('getData', val);
-      this.$router.push({ path: '/caseViews' });
+      const { path } = this.$route;
+      let toPath;
+      if (path === '/hospital-search') {
+        toPath = '/hospital-caseViews';
+      } else if (path === '/whitelist-search') {
+        toPath = '/whitelist-caseViews';
+      } else {
+        toPath = '/caseViews';
+      }
+      this.$router.push({ path: toPath, query: { status: 1} })
     },
     },
     indexAdd(index) {
     indexAdd(index) {
       return index + 1 + (this.paginationData.currentPage - 1) * this.paginationData.pageSize;
       return index + 1 + (this.paginationData.currentPage - 1) * this.paginationData.pageSize;

+ 5 - 4
src/views/search/components/ProfessionSearch.vue

@@ -16,7 +16,7 @@
               <el-cascader
               <el-cascader
                 v-model="item.key"
                 v-model="item.key"
                 :options="bl"
                 :options="bl"
-                :show-all-levels="false"
+                :show-all-levels="true"
                 :props="{
                 :props="{
                   label: 'name',
                   label: 'name',
                   value: 'key',
                   value: 'key',
@@ -135,7 +135,8 @@
                   :props="{
                   :props="{
                     label: 'name',
                     label: 'name',
                     value: 'key',
                     value: 'key',
-                    expandTrigger: 'hover'
+                    expandTrigger: 'hover',
+                    multiple: true
                   }">
                   }">
                 </el-cascader>
                 </el-cascader>
               </el-form-item>
               </el-form-item>
@@ -230,9 +231,9 @@ export default {
     // 新增一行
     // 新增一行
     onPlus() {
     onPlus() {
       this.formInline2.field.push({
       this.formInline2.field.push({
-        region: 0,
+        select_type: 0,
         value: '',
         value: '',
-        input: ''
+        key: ''
       })
       })
     },
     },
     // 减一行
     // 减一行