diff --git a/src/components/pay/SelectOutlet.vue b/src/components/pay/SelectOutlet.vue
index aa895f7..4b6802f 100644
--- a/src/components/pay/SelectOutlet.vue
+++ b/src/components/pay/SelectOutlet.vue
@@ -19,9 +19,9 @@
- Cancel
+
-
+
@@ -62,12 +65,21 @@ export default {
console.log(value);
this.selectRadio = value;
},
+ clickCancelButton() {
+ this.$router.push({
+ name: "detail",
+ params: {
+ lelongId: localStorage.getItem("lelong_id"),
+ statusPayment: null,
+ },
+ });
+ },
clickNextButton() {
this.nextButton = true;
},
backIsClick(value) {
this.nextButton = value;
- }
+ },
},
};
\ No newline at end of file
diff --git a/src/components/result/ResultDetail.vue b/src/components/result/ResultDetail.vue
index bd223da..a8b1e09 100644
--- a/src/components/result/ResultDetail.vue
+++ b/src/components/result/ResultDetail.vue
@@ -20,6 +20,7 @@
>
Keputusan Tarikh Lelong: {{ tarikhLelong }}
Bayar
- | Muat Turun Penyata |
+
+ Muat Turun Penyata
+
+
+ |
@@ -121,8 +127,15 @@ export default {
lists: [],
tarikhLelong: "",
loading: false,
+ lelongId: "",
+ statusPayment: "",
};
},
+ created() {
+ console.log(this.$route.params.lelongId);
+ this.lelongId = this.$route.params.lelongId;
+ this.statusPayment = this.$route.params.statusPayment;
+ },
mounted: function () {
this.liveData();
},
@@ -135,7 +148,7 @@ export default {
localStorage.getItem("id") +
// "/1",
"/" +
- localStorage.getItem("lelong_id"),
+ this.lelongId,
{
headers: {
Authorization: "Bearer " + localStorage.getItem("token"),
diff --git a/src/components/result/ResultMain.vue b/src/components/result/ResultMain.vue
index f830b83..bb6dc51 100644
--- a/src/components/result/ResultMain.vue
+++ b/src/components/result/ResultMain.vue
@@ -10,24 +10,26 @@
Status |
-
-
- | 1 |
- 'tarikh' |
- |
- Belum Selesai |
+
+
+ | {{ index + 1 }} |
+
+ {{ data.tarikh_lelong }}
+ |
+ RM{{ data.jumlah }} |
+ Selesai |
+
+ Belum Selesai
+ |
+
+
- | 1 |
- |
- |
- |
-
-
- | 1 |
- |
- |
- |
+ Tiada Data |
@@ -35,11 +37,49 @@
\ No newline at end of file