Ensure pacode being appended to links in ajax generated tables

This commit is contained in:
Björn Fromme
2019-10-24 14:14:38 +02:00
parent c9c03abcde
commit 9fa7529fc2
3 changed files with 12 additions and 9 deletions
@@ -93,7 +93,10 @@
this.detailShow = false;
axios({
url: this.uris['dates'],
method: 'post'
method: 'post',
data: {
paCode: this.$store.state.config.paCode
}
}).then(response => {
const json = response.data;
if (json.dates.length === 1) {
@@ -131,6 +134,7 @@
this.detailShow = false;
let query = {};
query[this.argumentPrefix + '[date]'] = dateUid;
query[this.argumentPrefix + '[paCode]'] = this.$store.state.config.paCode;
axios({
url: this.uris['pricetable'],
method: 'post',