missing build date added to rate and buk operation component
This commit is contained in:
parent
0c81d5fbda
commit
0da491b3b7
2 changed files with 6 additions and 0 deletions
|
|
@ -166,6 +166,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
buildDate(date) {
|
||||||
|
return `${date[0]}-${date[1].toString().padStart(2, '0')}-${date[2].toString().padStart(2, '0')} ${date[3].toString().padStart(2, '0')}:${date[4].toString().padStart(2, '0')}:${date[5].toString().padStart(2, '0')}`
|
||||||
|
},
|
||||||
async fetchFile(id) {
|
async fetchFile(id) {
|
||||||
logger.info(`Fetching file ${id}`);
|
logger.info(`Fetching file ${id}`);
|
||||||
this.bulkOperationStore.downloadBulkFile(id);
|
this.bulkOperationStore.downloadBulkFile(id);
|
||||||
|
|
|
||||||
|
|
@ -182,6 +182,9 @@ export default {
|
||||||
this.pagination = this.rateType === 'container' ? this.containerRateStore.getPagination : this.matrixRateStore.getPagination;
|
this.pagination = this.rateType === 'container' ? this.containerRateStore.getPagination : this.matrixRateStore.getPagination;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
buildDate(date) {
|
||||||
|
return `${date[0]}-${date[1].toString().padStart(2, '0')}-${date[2].toString().padStart(2, '0')} ${date[3].toString().padStart(2, '0')}:${date[4].toString().padStart(2, '0')}:${date[5].toString().padStart(2, '0')}`
|
||||||
|
},
|
||||||
async fetch(query) {
|
async fetch(query) {
|
||||||
|
|
||||||
query.periodId = this.selectedPeriod;
|
query.periodId = this.selectedPeriod;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue