diff --git a/src/Services/http.js b/src/Services/http.js index bcd38b0..82bc3d0 100644 --- a/src/Services/http.js +++ b/src/Services/http.js @@ -1,10 +1,14 @@ import axios from 'axios' import store from '@/store/store' +const baseDomain = "http://13.234.251.173:8001/v1"; + +const baseURL = `${baseDomain}`; + export default () => { return axios.create({ // baseURL: 'http://192.168.2.221:3002/v1', - baseURL: 'http://13.234.251.173:8001/v1', + baseURL, headers: { Authorization: `Bearer ${store.state.token}` } diff --git a/src/components/ThemeSettings.vue b/src/components/ThemeSettings.vue index 20d6299..6ac0347 100644 --- a/src/components/ThemeSettings.vue +++ b/src/components/ThemeSettings.vue @@ -141,7 +141,7 @@ export default { watch: { themeColor: { handler(val) { - console.log(val); + // console.log(val); this.$vuetify.theme.primary = this.colors[val].base; }, immediate: true diff --git a/src/main.js b/src/main.js index fbb3b38..adf9b83 100644 --- a/src/main.js +++ b/src/main.js @@ -28,7 +28,6 @@ const options = { 'https://unpkg.com/kidlat-css/css/kidlat.css' ] } - Vue.use(VueHtmlToPaper, options); // or, using the defaults with no stylesheet diff --git a/src/pages/Administrator/systemAdmin.vue b/src/pages/Administrator/systemAdmin.vue index ea3104a..a455d7b 100644 --- a/src/pages/Administrator/systemAdmin.vue +++ b/src/pages/Administrator/systemAdmin.vue @@ -991,10 +991,8 @@ export default { this.$refs.image.click(); }, onFilePicked(e) { - // console.log(e) const files = e.target.files; this.upload = e.target.files[0]; - console.log("imageData-upload========>", this.upload); if (files[0] !== undefined) { this.imageName = files[0].name; if (this.imageName.lastIndexOf(".") <= 0) { @@ -1005,9 +1003,6 @@ export default { fr.addEventListener("load", () => { this.imageUrl = fr.result; this.imageFile = files[0]; // this is an image file that can be sent to server... - // this.imageData.imageUrl = URL.createObjectURL(this.imageFile); - // console.log("upload=======>", this.imageData.imageUrl); - console.log("imageFile", this.imageUrl); }); } else { this.imageName = ""; @@ -1028,7 +1023,6 @@ export default { .then(response => { this.desserts = response.data.data; this.showLoader = false; - // console.log("getTeacherList=====>",this.desserts) }) .catch(error => { this.showLoader = false; @@ -1065,7 +1059,6 @@ export default { let deleteTeachers = { teacherId: item._id }; - // console.log("deleteUers",deleteTeachers) http() .delete( "/deleteTeacher", @@ -1074,7 +1067,6 @@ export default { } ) .then(response => { - // console.log("deleteUers",deleteTeachers) if ((this.snackbar = true)) { this.text = "Successfully delete Existing Teacher"; } diff --git a/src/pages/Report/progressCardReport.vue b/src/pages/Report/progressCardReport.vue index 499c127..d6f0571 100644 --- a/src/pages/Report/progressCardReport.vue +++ b/src/pages/Report/progressCardReport.vue @@ -147,7 +147,7 @@ RollNo - + : {{ value[0].studentId.rollNo }} @@ -157,7 +157,7 @@ Class - + : {{value[0].classId.classNum }} diff --git a/src/pages/Section/section.vue b/src/pages/Section/section.vue index 5a3c05c..d5e8c23 100644 --- a/src/pages/Section/section.vue +++ b/src/pages/Section/section.vue @@ -105,17 +105,10 @@ close - - - - - - - @@ -184,10 +177,10 @@ :search="search" > - {{ props.index + 1}} - {{ props.item.classData.classNum}} - {{ props.item.name}} - {{ props.item.session}} + {{ props.index + 1 }} + {{ props.item.classData.classNum }} + {{ props.item.name }} + {{ props.item.session }} @@ -340,7 +333,8 @@