|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
// 获取列表数据 |
|
|
// 获取列表数据 |
|
|
getListData() { |
|
|
getListData() { |
|
|
console.log(this.$cloneDeep(this.queryParams), "this.queryParams"); |
|
|
|
|
|
if (this.cutTab == "parkServices") { |
|
|
if (this.cutTab == "parkServices") { |
|
|
this.getListApi( |
|
|
this.getListApi( |
|
|
getParkServiceProduct, |
|
|
getParkServiceProduct, |
|
|
|
|
|
|
|
|
// console.log(this.$cloneDeep(data),key) |
|
|
// console.log(this.$cloneDeep(data),key) |
|
|
this[key] = data.list; |
|
|
this[key] = data.list; |
|
|
this.queryParams.total = data.total; |
|
|
this.queryParams.total = data.total; |
|
|
console.log(data.total, "res.total"); |
|
|
|
|
|
} else if (res.data.status === 102) { |
|
|
} else if (res.data.status === 102) { |
|
|
this.$router.push("/login"); |
|
|
this.$router.push("/login"); |
|
|
} else { |
|
|
} else { |