Mercurial > gemma
diff client/src/components/importconfiguration/ScheduledImports.vue @ 5367:1695e17c5a83 extented-report
Adds schedualbility for reports as an import.
In order to enable the sysadmin to schedule the automatic reports on dataquality
there is now a new import type established. This import allows to edit the
schedule for issuing the report.
Besides: The layout for the usermanagement is now x-scrollable when overflown.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 23 Jun 2021 14:46:14 +0200 |
parents | 8d19d4701f0c |
children | 755ed195fdc3 23a330c5b10d |
line wrap: on
line diff
--- a/client/src/components/importconfiguration/ScheduledImports.vue Wed Jun 23 12:10:25 2021 +0200 +++ b/client/src/components/importconfiguration/ScheduledImports.vue Wed Jun 23 14:46:14 2021 +0200 @@ -912,6 +912,10 @@ } if (this.waitRetry) data["wait-retry"] = this.waitRetry; if (this.trys) data["trys"] = Number(this.trys); + + if (this.import_ === this.$options.IMPORTTYPES.REPORT) { + data["name"] = "default"; + } data["send-email"] = this.eMailNotification; this.triggerActive = false; const type = @@ -1003,6 +1007,9 @@ } if (this.waitRetry) config["wait-retry"] = this.waitRetry; if (this.trys) config["trys"] = Number(this.trys); + if (this.import_ === this.$options.IMPORTTYPES.REPORT) { + config["name"] = "default"; + } config["send-email"] = this.eMailNotification; if (!this.id) { data["config"] = config;