Commit 4430dd6715bc61f3bc15e6585ff41cb89d5b3bf6

Authored by Neeraj Sharma
1 parent 7adcb53626

somethings changes in design and comment all console

src/pages/Account/globalPayment.vue
... ... @@ -262,7 +262,7 @@ export default {
262 262 this.showLoader = false;
263 263 // console.log("getSectionsList=====>", this.addSection);
264 264 })
265   - .catch(err => {
  265 + .catch(error => {
266 266 this.showLoader = false;
267 267 // console.log("err====>", err);
268 268 // this.$router.replace({ path: '/' });
... ... @@ -298,7 +298,7 @@ export default {
298 298 })
299 299 .then(response => {
300 300 this.studentInvoiceData = response.data.data;
301   - console.log("this.studentInvoiceData", this.studentInvoiceData);
  301 + // console.log("this.studentInvoiceData", this.studentInvoiceData);
302 302 this.showLoader = false;
303 303 })
304 304 .catch(err => {
... ...
src/pages/Account/viewInvoice.vue
... ... @@ -129,7 +129,6 @@
129 129  
130 130 <script>
131 131 import http from "@/Services/http.js";
132   -import Util from "@/util";
133 132 import moment from "moment";
134 133  
135 134 export default {
... ...
src/pages/Library/books.vue
... ... @@ -62,7 +62,7 @@
62 62 </v-layout>
63 63 <v-layout>
64 64 <v-flex xs4 class="pt-4 subheading">
65   - <label class="right pr-2">Subject Code:</label>
  65 + <label class="right pr-3">Subject Code:</label>
66 66 </v-flex>
67 67 <v-flex xs8>
68 68 <v-text-field
... ... @@ -73,7 +73,7 @@
73 73 </v-layout>
74 74 <v-layout>
75 75 <v-flex xs4 class="pt-4 subheading">
76   - <label class="right pr-3">Price :</label>
  76 + <label class="right pr-3">Price:</label>
77 77 </v-flex>
78 78 <v-flex xs8>
79 79 <v-text-field
... ... @@ -134,7 +134,7 @@
134 134 <v-layout>
135 135 <v-flex xs5 sm6>
136 136 <h5 class="right my-1">
137   - <b>Name:</b>
  137 + <b>Name :</b>
138 138 </h5>
139 139 </v-flex>
140 140 <v-flex sm6 xs8>
... ... @@ -144,7 +144,7 @@
144 144 <v-layout>
145 145 <v-flex xs5 sm6>
146 146 <h5 class="right my-1">
147   - <b>Author:</b>
  147 + <b>Author :</b>
148 148 </h5>
149 149 </v-flex>
150 150 <v-flex sm6 xs8>
... ... @@ -320,7 +320,7 @@
320 320 </v-layout>
321 321 <v-layout>
322 322 <v-flex xs4 class="pt-4 subheading">
323   - <label class="right">Subject Code :</label>
  323 + <label class="right">Subject Code:</label>
324 324 </v-flex>
325 325 <v-flex xs6 class="ml-3">
326 326 <v-text-field
... ...
src/pages/Students/students.vue
... ... @@ -1048,7 +1048,7 @@
1048 1048 <v-flex xs12 class="pt-4 subheading">
1049 1049 <label>Father Cell No:</label>
1050 1050 </v-flex>
1051   - <v-flex xs12 >
  1051 + <v-flex xs12>
1052 1052 <v-text-field
1053 1053 v-model.trim="parentData.fatherCellNo"
1054 1054 placeholder="fill your father Cell Number"
... ... @@ -1065,7 +1065,7 @@
1065 1065 <v-flex xs12 class="pt-4 subheading">
1066 1066 <label>Parent Email Id:</label>
1067 1067 </v-flex>
1068   - <v-flex xs12 >
  1068 + <v-flex xs12>
1069 1069 <v-text-field
1070 1070 placeholder="fill Parent email"
1071 1071 v-model="parentData.email"
... ... @@ -1112,7 +1112,7 @@
1112 1112 <v-flex xs12 sm6>
1113 1113 <v-layout wrap>
1114 1114 <v-flex xs12 class="pt-4 subheading">
1115   - <label >Mother Cell No:</label>
  1115 + <label>Mother Cell No:</label>
1116 1116 </v-flex>
1117 1117 <v-flex xs12>
1118 1118 <v-text-field
... ... @@ -1130,7 +1130,7 @@
1130 1130 <v-flex xs12 class="pt-4 subheading">
1131 1131 <label>Father Profession:</label>
1132 1132 </v-flex>
1133   - <v-flex xs12 >
  1133 + <v-flex xs12>
1134 1134 <v-text-field
1135 1135 v-model="parentData.fatherProfession"
1136 1136 placeholder="fill your father profession"
... ... @@ -1145,7 +1145,7 @@
1145 1145 <v-flex xs12 class="pt-4 subheading">
1146 1146 <label>Mother Profession:</label>
1147 1147 </v-flex>
1148   - <v-flex xs12 >
  1148 + <v-flex xs12>
1149 1149 <v-text-field
1150 1150 v-model="parentData.motherProfession"
1151 1151 placeholder="fill your mother profession"
... ... @@ -1182,7 +1182,7 @@
1182 1182 </v-flex>
1183 1183 </v-form>
1184 1184 </v-flex>
1185   - <v-flex xs12 sm12 class="hidden-xs-only hidden-sm-only">
  1185 + <v-flex xs12 sm12 class="hidden-xs-only hidden-sm-only">
1186 1186 <v-form ref="parentForm" v-model="valid" lazy-validation>
1187 1187 <v-layout wrap>
1188 1188 <v-flex xs12 sm6>
... ... @@ -2021,7 +2021,6 @@ export default {
2021 2021 .then(response => {
2022 2022 this.desserts = response.data.data;
2023 2023 this.showLoader = false;
2024   - console.log("getSectionsList=====>", this.addSection);
2025 2024 })
2026 2025 .catch(err => {
2027 2026 console.log("err====>", err);
... ... @@ -2042,7 +2041,6 @@ export default {
2042 2041 .then(response => {
2043 2042 this.addSection = response.data.data;
2044 2043 this.showLoader = false;
2045   - // console.log("getSectionsList=====>", this.addSection);
2046 2044 })
2047 2045 .catch(err => {
2048 2046 this.showLoader = false;
... ... @@ -2222,10 +2220,9 @@ export default {
2222 2220 http()
2223 2221 .post("/createStudent", addStudent)
2224 2222 .then(response => {
2225   - console.log(addStudent);
2226   - if ((this.snackbar = true)) {
2227   - this.text = "New Student added successfully";
2228   - }
  2223 + // console.log(addStudent);
  2224 + this.snackbar = true;
  2225 + this.text = "New Student added successfully";
2229 2226 // this.getStudentList();
2230 2227 this.clear();
2231 2228 this.loading = false;
... ... @@ -2277,16 +2274,15 @@ export default {
2277 2274 .put("/updateStudent", editStudent)
2278 2275 .then(response => {
2279 2276 this.snackbar = true;
2280   - this.text = "Successfully Student Existing User";
  2277 + this.text = response.data.message;
2281 2278 this.imageUrl = "";
2282 2279 this.findStudents();
2283 2280 this.close();
2284 2281 })
2285 2282 .catch(error => {
2286 2283 // console.log(error);
2287   - if ((this.snackbar = true)) {
2288   - this.text = error.response.data.statusText;
2289   - }
  2284 + this.snackbar = true;
  2285 + this.text = error.response.data.statusText;
2290 2286 });
2291 2287 },
2292 2288 submitParentDetails() {
... ... @@ -2305,19 +2301,16 @@ export default {
2305 2301 .then(response => {
2306 2302 this.parentId = response.data.data.id;
2307 2303 this.e2 = 2;
2308   - if ((this.snackbar = true)) {
2309   - this.text = "successfully";
2310   - }
  2304 + this.snackbar = true;
  2305 + this.text = "successfully";
2311 2306 // this.getStudentList();
2312 2307 this.clear();
2313 2308 this.loading = false;
2314 2309 })
2315 2310 .catch(error => {
2316   - console.log(error.response.data);
2317   - if ((this.snackbar = true)) {
2318   - this.text = error.response.data.message;
2319   - this.text = error.response.data.statusText;
2320   - }
  2311 + this.snackbar = true;
  2312 + this.text = error.response.data.message;
  2313 + this.text = error.response.data.statusText;
2321 2314 this.loading = false;
2322 2315 });
2323 2316 }
... ...