Blame view
src/Services/AllApiCalls.js
1.33 KB
6f7cf8cf5
|
1 2 |
import GetApis from "@/Services/GetApis.js"; import PutApis from "@/Services/PutApis.js"; |
3a557c5ae
|
3 |
|
6f7cf8cf5
|
4 5 6 7 |
export default { mixins: [GetApis, PutApis], data() { return { |
de958fcfc
|
8 9 10 11 12 13 14 |
// UploadPdf.vue emptyPdf: '', // UploadFiles.vue trigger: '', pptFile: "", pptFileName: "", pdfFile: "", |
db965de89
|
15 16 17 |
pdfFileName: "", courseData: [], teachersList: [], |
d802ef837
|
18 19 |
schoolEvents: [], particularEvent: {}, |
6f7cf8cf5
|
20 21 22 23 |
} }, methods: { |
de958fcfc
|
24 25 26 |
/************************** METHODS USED FOR COMMON FILES *********************/ /* METHODS USED FOR UploadPdf.vue */ pdfFileSelected(e, message) { |
34a2a2609
|
27 28 29 30 |
this.pdfFile = e.fileInBase64; this.pdfFileName = e.selectedFileName; this.emptyPdf = e.emptyPdf; |
de958fcfc
|
31 32 33 34 35 36 37 38 |
}, /* METHODS USED FOR UploadFiles.vue */ fileSelected(e, message) { if (message == "uploadPPT") { this.pptFile = e.fileInBase64; this.pptFileName = e.selectedFileName; this.trigger = e.trigger; |
de958fcfc
|
39 40 41 42 43 |
} if (message == "uploadPDF") { this.pdfFile = e.fileInBase64; this.pdfFileName = e.selectedFileName; this.emptyPdf = e.trigger; |
de958fcfc
|
44 45 |
} }, |
6f7cf8cf5
|
46 47 48 49 |
}, } |