4
0
فهرست منبع

修改已归档样本分页查询接口调用

jianglw 4 سال پیش
والد
کامیت
d9823d4719

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

@@ -45,7 +45,7 @@
         </el-form>
       </div>
 
-      <el-table ref="multipleTable" :data="donorsList" bordertooltip-effect="dark" border height="calc(100vh - 230px)"
+      <el-table ref="multipleTable" :data="list" bordertooltip-effect="dark" border height="calc(100vh - 230px)"
         style="width: 100%;" @selection-change="handleSelectionChange" @header-dragend="header_dragend">
         <el-table-column type="selection" width="55"></el-table-column>
         <el-table-column label="操作" width="80" align="center" fixed>
@@ -536,7 +536,7 @@
         }
         store.set('samplestoredseach', params)
         _this.getAllSearchTab()
-        this.$axios.get('/sampleinput/animallist', {
+        this.$axios.get('/samplesfiles/animallist', {
           params
         })
           .then(res => {
@@ -803,7 +803,7 @@
           }
           console.log(params)
           service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'SampleSearchByTemplate', params).then(res => {
-            this.donorsList = res.data.list
+            this.list = res.data.list
             this.currentItemCount = res.data.total
           })
           this.currentSearchTemplate = command

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

@@ -40,7 +40,7 @@
         </el-form>
       </div>
 
-       <el-table ref="multipleTable" :data="List" bordertooltip-effect="dark" border height="calc(100vh - 230px)" style="width: 100%;"
+       <el-table ref="multipleTable" :data="list" bordertooltip-effect="dark" border height="calc(100vh - 230px)" style="width: 100%;"
         @selection-change="handleSelectionChange" @header-dragend="header_dragend">
         <el-table-column type="selection" width="55"></el-table-column>
         <el-table-column label="操作" width="80" align="center" fixed>