Commit 080d885477da0f1837cda4340a54b0f21ee38e03

Authored by Shikha Mishra
1 parent c8fc8e42e9

issues solved

... ... @@ -26,6 +26,7 @@
26 26 "lodash.truncate": "^4.4.2",
27 27 "moment": "^2.24.0",
28 28 "nprogress": "^0.2.0",
  29 + "papaparse": "^5.1.1",
29 30 "quill": "^1.3.6",
30 31 "save": "^2.4.0",
31 32 "underscore": "^1.9.1",
... ...
src/pages/Administrator/bulkImport.vue
... ... @@ -403,7 +403,7 @@ export default {
403 403 let _this = this;
404 404 reader.onload = function(e) {
405 405 var data = new Uint8Array(e.target.result);
406   - var workbook = XLSX.read(data, { type: "array" });
  406 + var workbook = XLSX.read(data, { type: "array", cellDates: true });
407 407 let sheetName = workbook.SheetNames[0];
408 408 // /* DO SOMETHING WITH workbook HERE */
409 409 let worksheet = workbook.Sheets[sheetName];
... ... @@ -515,6 +515,7 @@ export default {
515 515 importStudent() {
516 516 this.studentLoading = true;
517 517 var studentfile = {};
  518 + console.log('this.studentFileJson', this.studentFileJson);
518 519 studentfile.studentData = this.studentFileJson;
519 520 http()
520 521 .post("/importStudentData", studentfile, {
... ...
src/pages/Authentication/Login.vue
... ... @@ -93,6 +93,7 @@ export default {
93 93 mode: "",
94 94 timeout: 3000,
95 95 text: "",
  96 + append: "",
96 97 e1: true,
97 98 loading: false,
98 99 remember: false,
... ...
src/pages/Exam/exam.vue
... ... @@ -450,12 +450,14 @@ export default {
450 450 .then(response => {
451 451 this.snackbar = true;
452 452 this.text = "Successfully Delete Exam ";
  453 + this.text = response.data.message;
  454 + this.color = "green";
453 455 this.getExamList();
454 456 })
455 457 .catch(error => {
456 458 this.snackbar = true;
457 459 this.text = error.response.data.message;
458   - this.color = "error";
  460 + this.color = "red";
459 461 });
460 462 },
461 463 close() {
... ... @@ -472,7 +474,7 @@ export default {
472 474 this.color = "green";
473 475 this.addExamDialog = false;
474 476 this.getExamList();
475   - this.color = "succses";
  477 + this.color = "success";
476 478 this.loading = false;
477 479 this.clear();
478 480 })
... ...
src/pages/Students/students.vue
... ... @@ -517,7 +517,7 @@
517 517 </b>
518 518 </v-flex>
519 519 <v-flex sm8 xs6>
520   - <h5 class="my-1">{{ editedItem.dob }}</h5>
  520 + <h5 class="my-1">{{ dates(editedItem.dob) }}</h5>
521 521 </v-flex>
522 522 </v-layout>
523 523 </v-flex>
... ... @@ -1891,6 +1891,7 @@ export default {
1891 1891 y: "top",
1892 1892 x: "right",
1893 1893 mode: "",
  1894 + append: "",
1894 1895 timeout: 3000,
1895 1896 text: "",
1896 1897 show: true,
... ... @@ -2113,7 +2114,8 @@ export default {
2113 2114 this.$refs.editDataImage.click();
2114 2115 },
2115 2116 dates: function(date) {
2116   - return moment(date).format("MMM DD, YYYY");
  2117 + return moment(date).format("MMMM DD, YYYY");
  2118 + return date
2117 2119 },
2118 2120 onFilePicked(e) {
2119 2121 // console.log(e)
... ...
src/pages/TimeTable/timeTable.vue
... ... @@ -528,7 +528,7 @@
528 528 style="cursor:pointer; width:20px; height:20px; "
529 529 class="mr-3"
530 530 @click="editItem(props.item)"
531   - src="/static/icon/dashboard icons-50.png"
  531 + src="/static/icon/edit.png"
532 532 />
533 533 <span>Edit</span>
534 534 </v-tooltip>
... ...
static/css/custom.css
... ... @@ -145,6 +145,13 @@ h4 {
145 145 padding: 8px;
146 146 }
147 147  
  148 +.apexcharts-canvas {
  149 + width: 100% !important;
  150 +}
  151 +.apexcharts-canvas > svg{
  152 + width: 100% !important;
  153 +}
  154 +
148 155 #dialog {
149 156 height: 550px;
150 157 }
... ...