styling..

This commit is contained in:
Cüneyt Şentürk
2021-05-30 17:17:37 +03:00
parent 1d3cbadcb5
commit 03fce57394
4 changed files with 371 additions and 340 deletions

View File

@ -1,5 +1,5 @@
<template>
<div v-if="is_loaded">
<div>
<h1 class="text-white">{{ translations.finish.title }}</h1>
<div class="card">
<div class="card-header wizard-header p-3">
@ -87,57 +87,61 @@
import { Step, Steps } from "element-ui";
export default {
name: "Finish",
components: {
[Step.name]: Step,
[Steps.name]: Steps,
},
created() {
window
.axios({
method: "PATCH",
url: url + "/wizard/finish",
})
.then((response) => {
if (response.status == "200") {
this.is_loaded = true;
name: "Finish",
components: {
[Step.name]: Step,
[Steps.name]: Steps,
},
props: {
modules: {
type: [Object, Array],
},
translations: {
type: [Object, Array],
}
})
.catch((error) => {
this.$notify({
message: this.translations.finish.error_message,
timeout: 1000,
icon: "fas fa-bell",
type: 0
},
data() {
return {
active: 3,
route_url: url,
};
},
created() {
window.axios({
method: "PATCH",
url: url + "/wizard/finish",
})
.then((response) => {
})
.catch((error) => {
this.$notify({
message: this.translations.finish.error_message,
timeout: 1000,
icon: "fas fa-bell",
type: 0
});
this.prev();
});
this.prev();
});
},
props: {
modules: {
type: [Object, Array],
},
translations: {
type: [Object, Array],
}
},
data() {
return {
active: 3,
route_url: url,
is_loaded: false
};
},
methods: {
prev() {
if (this.active-- > 2);
this.$router.push("/wizard/taxes");
},
finish() {
window.location.href = url;
methods: {
prev() {
this.active--;
if (this.active > 2) {
this.$router.push("/wizard/taxes");
}
},
finish() {
window.location.href = url;
},
},
},
};
</script>