|
@ -153,6 +153,7 @@ export default { |
|
|
async storeChange(e){ |
|
|
async storeChange(e){ |
|
|
let { stadiumList } = this; |
|
|
let { stadiumList } = this; |
|
|
this.curStadium = stadiumList[e.detail.value] || {}; |
|
|
this.curStadium = stadiumList[e.detail.value] || {}; |
|
|
|
|
|
await this.getSceneList(); |
|
|
this.$nextTick(_=>this.refreshList()); |
|
|
this.$nextTick(_=>this.refreshList()); |
|
|
}, |
|
|
}, |
|
|
getRecordLs({ |
|
|
getRecordLs({ |
|
@ -221,11 +222,12 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 场景列表 |
|
|
// 场景列表 |
|
|
getSceneList(){ |
|
|
getSceneList(){ |
|
|
let { optionsQuery } = this; |
|
|
|
|
|
|
|
|
let { optionsQuery, curStadium } = this; |
|
|
return servers.get({ |
|
|
return servers.get({ |
|
|
url: API.consumeCountGetScene, |
|
|
url: API.consumeCountGetScene, |
|
|
data: { |
|
|
data: { |
|
|
key: 'consume_record_scene' |
|
|
|
|
|
|
|
|
brand_id: optionsQuery.brand_id, |
|
|
|
|
|
stadium_id: optionsQuery.stadium_id == 0 ? -1 : curStadium.id, |
|
|
}, |
|
|
}, |
|
|
failMsg: '加载场景列表失败!', |
|
|
failMsg: '加载场景列表失败!', |
|
|
|
|
|
|
|
|