This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
:loading="jobActive"
|
||||
>{{ $ay.t("StartJob") }}</v-btn
|
||||
>
|
||||
|
||||
</v-expansion-panel-content>
|
||||
</v-expansion-panel>
|
||||
</template>
|
||||
@@ -37,8 +36,7 @@ export default {
|
||||
data: () => ({
|
||||
jobActive: false,
|
||||
rights: window.$gz.role.defaultRightsObject(),
|
||||
available: false,
|
||||
notes: null
|
||||
available: false
|
||||
}),
|
||||
methods: {
|
||||
goHelp() {
|
||||
@@ -101,9 +99,8 @@ export default {
|
||||
jobStatus = jobStatus.data;
|
||||
if (jobStatus == 4 || jobStatus == 0) {
|
||||
if (jobStatus == 4) {
|
||||
|
||||
vm.notes = res.data;
|
||||
}
|
||||
//emit job id and event to parent for log viewing
|
||||
vm.$emit("ext-show-job-log", jobId);
|
||||
}
|
||||
throw new Error("Job failed");
|
||||
}
|
||||
@@ -117,7 +114,6 @@ export default {
|
||||
} catch (error) {
|
||||
vm.jobActive = false;
|
||||
|
||||
// vm.notes = window.$gz.errorHandler.errorToString(error);
|
||||
//window.$gz.errorHandler.handleFormError(error, vm);
|
||||
window.$gz.eventBus.$emit("notify-error", vm.$ay.t("JobFailed"));
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<ExtensionExport :dataListSelection="dataListSelection" />
|
||||
<ExtensionDelete
|
||||
v-on:ext-close-refresh="close({ refresh: true })"
|
||||
v-on:ext-show-job-log="handleError(e)"
|
||||
v-on:ext-show-job-log="handleError($event)"
|
||||
:dataListSelection="dataListSelection"
|
||||
/>
|
||||
</v-expansion-panels>
|
||||
|
||||
Reference in New Issue
Block a user