|
@@ -71,6 +71,7 @@ export default {
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
+ steelcylinderId : null,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -84,14 +85,14 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- const id = this.$route.params && this.$route.params.id;
|
|
|
- this.getList(id);
|
|
|
+ this.steelcylinderId = this.$route.params && this.$route.params.id;
|
|
|
+ this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
/** 查询钢瓶日志列表 */
|
|
|
- getList(id) {
|
|
|
+ getList() {
|
|
|
this.loading = true;
|
|
|
- this.queryParams.steelcylinderId = id
|
|
|
+ this.queryParams.steelcylinderId = this.steelcylinderId
|
|
|
listSteelcylinderLog(this.queryParams).then(response => {
|
|
|
this.listSteelcylinderLog = response.rows;
|
|
|
this.total = response.total;
|