|
|
@@ -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)
|
|
|
}
|