This commit is contained in:
2021-12-28 01:21:18 +00:00
parent 41b04f7be0
commit a3fb7e89df
2 changed files with 9 additions and 3 deletions

View File

@@ -285,7 +285,8 @@ export default {
"AyaType", "AyaType",
"Now", "Now",
"DateRangeToday", "DateRangeToday",
"ReportRenderTimeOut" "ReportRenderTimeOut",
"RenderingReport"
], ],
//////////////////////////////////////////////////////// ////////////////////////////////////////////////////////

View File

@@ -66,7 +66,12 @@
<v-card> <v-card>
<v-card-title>{{ $ay.t("RenderingReport") }}</v-card-title> <v-card-title>{{ $ay.t("RenderingReport") }}</v-card-title>
<v-card-text> <v-card-text>
soemthing here <div class="text-center">
<v-progress-circular
indeterminate
color="primary"
></v-progress-circular>
</div>
</v-card-text> </v-card-text>
<v-card-actions> <v-card-actions>
<v-btn text @click="cancelJob" color="primary">{{ <v-btn text @click="cancelJob" color="primary">{{
@@ -144,7 +149,7 @@ export default {
let jobStatus = 1; let jobStatus = 1;
while (this.jobActive == true) { while (this.jobActive == true) {
await window.$gz.util.sleepAsync(500); await window.$gz.util.sleepAsync(1000);
jobStatus = await window.$gz.api.get( jobStatus = await window.$gz.api.get(
`job-operations/status/${jobId}` `job-operations/status/${jobId}`
); );