Bläddra i källkod

待复存样本自定义查询

jianglw 4 år sedan
förälder
incheckning
1ef6fe552e

+ 0 - 1
src/dashoo.cn/frontend_animal/src/pages/samples/stored/index.vue

@@ -25,7 +25,6 @@
                                   v-for="item in searchTemplates"
                                   :key="item.name"
                                   :command="item.template">{{item.name}}</el-dropdown-item>
-
                 <el-dropdown-item divided style="color:black;" command="编辑">自定义</el-dropdown-item>
               </el-dropdown-menu>
             </el-dropdown>

+ 6 - 3
src/dashoo.cn/frontend_animal/src/pages/samples/waitingstore/index.vue

@@ -20,7 +20,10 @@
               <el-dropdown-menu slot="dropdown">
                 <el-dropdown-item command="search">高级查询</el-dropdown-item>
                 <el-dropdown-item command="clear">查询重置</el-dropdown-item>
-                <el-dropdown-item style="color:black;" v-for="item in searchTemplates" :key="item.name" :command="item.template">{{item.name}}</el-dropdown-item>
+                <el-dropdown-item style="color:black;"
+                                  v-for="item in searchTemplates"
+                                  :key="item.name"
+                                  :command="item.template">{{item.name}}</el-dropdown-item>
                 <el-dropdown-item divided style="color:black;" command="编辑">自定义</el-dropdown-item>
               </el-dropdown-menu>
             </el-dropdown>
@@ -725,7 +728,7 @@
           }
           console.log(params)
           service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'SampleSearchByTemplate', params).then(res => {
-            this.List = res.data.list
+            this.list = res.data.list
             this.currentItemCount = res.data.total
           })
           this.currentSearchTemplate = command
@@ -1197,7 +1200,7 @@
             }
           }
           let paramsid = {
-            Id: id
+            id: id
           }
           params = Object.assign(params, paramsid)
         }