@@ -146,16 +162,14 @@
-
+
@@ -170,10 +184,7 @@
@@ -188,9 +199,7 @@
-
-
- PENGURUS CAWANGAN MEMBUAT PERMOHONAN WANG DARIPADA PKB.
+
@@ -198,7 +207,7 @@
|
-
+
@@ -366,14 +375,27 @@ export default {
data(){
return{
mohonid: this.$route.params.mohonid,
+ statusdescription:{},
+ permohonan:{},
+ cawangan: 'KB2',
+ loadstatus: false
}
},
created(){
- console.log(this.mohonid);
+ this.GetStatusData(this.mohonid,this.cawangan);
},
methods:{
-
- }
+ async GetStatusData(mohonid,cawangan){
+ await this.axios.get(this.$hostname + '/admin/permohonan/description/' + mohonid).then(response => {
+ this.statusdescription = response.data;
+ });
+ await this.axios.get(this.$hostname + '/admin/permohonan/get/' + cawangan + '/' + mohonid).then(response => {
+ this.permohonan = response.data;
+
+ });
+ this.loadstatus = true;
+ }
+ }
}