comparison client/src/components/importconfiguration/types/Soundingresults.vue @ 3672:2c92e9cd0889 configuration

import_sounding_results: download meta.json fixed
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 17 Jun 2019 15:24:22 +0200
parents 959312a236a0
children 3c4f6b9acaad
comparison
equal deleted inserted replaced
3670:2c0170be6cf0 3672:2c92e9cd0889
367 }, 367 },
368 Confirm() { 368 Confirm() {
369 return this.$gettext("Confirm"); 369 return this.$gettext("Confirm");
370 }, 370 },
371 dataLink() { 371 dataLink() {
372 if (this.bottleneck && this.depthReference && this.import) { 372 if (
373 this.bottleneck &&
374 this.depthReference &&
375 this.importDate &&
376 this.beamType &&
377 this.projection
378 ) {
373 return ( 379 return (
374 "data:text/json;charset=utf-8," + 380 "data:text/json;charset=utf-8," +
375 encodeURIComponent( 381 encodeURIComponent(
376 JSON.stringify({ 382 JSON.stringify({
377 depthReference: this.depthReference, 383 depthReference: this.depthReference,
378 bottleneck: this.bottleneck.properties.objnam, 384 bottleneck: this.bottleneck.properties.objnam,
379 date: this.importDate, 385 date: this.importDate,
380 beamType: this.beamType 386 beamType: this.beamType,
387 projection: this.projection
381 }) 388 })
382 ) 389 )
383 ); 390 );
384 } 391 }
385 }, 392 },