From 86df4b74f1a78a286c1265584e94389b7dfd98eb Mon Sep 17 00:00:00 2001 From: amber Date: Thu, 22 Oct 2020 16:28:38 +0530 Subject: [PATCH] add student bug --- index.html | 8 +- src/pages/Students/students.vue | 614 ++++++++++++++++++++++++++++++---------- src/pages/Teachers/teachers.vue | 248 ++++++++++++---- 3 files changed, 666 insertions(+), 204 deletions(-) diff --git a/index.html b/index.html index a313ce9..d9d0259 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,8 @@ - + School Management @@ -14,6 +15,11 @@ + + + + + - + - cancel + cancel - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - + + >Permanent Address: - + + >Present Address: - + - - + + - + @@ -425,7 +508,11 @@ - + @@ -444,7 +531,14 @@ - Save + Save @@ -456,19 +550,41 @@ - + - cancel + cancel - + - - + + @@ -782,7 +898,10 @@ - + @@ -829,7 +948,7 @@ add Find + >Find @@ -945,7 +1065,8 @@ dark :loading="loading" class="add-button" - >Find + >Find @@ -958,29 +1079,37 @@ > - Your search for "{{ search }}" found no results. + Your search for "{{ search }}" found no results. - + @@ -1035,8 +1166,17 @@ cancel + @click=" + $refs.parentForm.reset(); + $refs.parentFormLgScr.reset(); + $refs.form.reset(); + e2 = 1; + addStudentDialog = false; + showNext = false; + showParent = true; + " + >cancel @@ -1044,25 +1184,36 @@ - Fill parent Details + Fill parent Details Fill Student Details - - + + + + - - + + @@ -1091,6 +1244,7 @@ + + @@ -1108,6 +1264,7 @@ + @@ -1122,6 +1280,7 @@ + - + @@ -1140,11 +1300,15 @@ - - + + + @@ -1162,6 +1327,7 @@ @@ -1169,7 +1335,9 @@ + + @@ -1177,12 +1345,14 @@ + @@ -1190,6 +1360,7 @@ @@ -1197,7 +1368,8 @@ - + + + Add + >Add Next + >Next + Change No - + @@ -1250,7 +1455,7 @@ - + + @@ -1278,6 +1485,7 @@ + @@ -1295,6 +1504,7 @@ + @@ -1309,6 +1520,7 @@ - - + + + - + @@ -1357,13 +1577,17 @@ + - + @@ -1377,7 +1601,9 @@ Add + >Add Next + >Next + Change No - @@ -1421,15 +1661,29 @@ :loading="loading" v-show="showParent" class="add-button" - >Add + >Add Next - + >Next + Change No + --> @@ -1443,7 +1697,10 @@ class="text-xs-center text-sm-center text-md-center text-lg-center" > - + @@ -1464,10 +1721,14 @@ - + + >Class: - + + >Section: - + + >Name: - + + >D.O.B: @@ -1641,10 +1916,14 @@ - + + >Mobile: @@ -1669,10 +1948,14 @@ - + + >Country: - + + >Blood: - + + >Roll No: - + + >Medical: - + + >Uplaod : - + + >Year: - + @@ -1862,7 +2169,11 @@ - + @@ -1875,10 +2186,17 @@ - + - + @@ -1921,7 +2239,13 @@ - Back + Back Add + >Add @@ -1952,7 +2277,8 @@ :vertical="mode === 'vertical'" v-model="snackbar" :color="color" - >{{ text }} + >{{ text }}
@@ -2510,13 +2836,13 @@ export default { if (this.text === "Data not found!") { this.showNext = false; this.showParent = true; - this.parentData.email = ""; - this.parentData.fatherName = ""; - this.parentData.motherName = ""; - this.parentData.motherCellNo = ""; - this.parentData.fatherProfession = ""; - this.parentData.motherProfession = ""; - this.parentData.password = ""; + // this.parentData.email = ""; + // this.parentData.fatherName = ""; + // this.parentData.motherName = ""; + // this.parentData.motherCellNo = ""; + // this.parentData.fatherProfession = ""; + // this.parentData.motherProfession = ""; + // this.parentData.password = ""; } this.showLoader = false; }); diff --git a/src/pages/Teachers/teachers.vue b/src/pages/Teachers/teachers.vue index 348c352..4fa1012 100644 --- a/src/pages/Teachers/teachers.vue +++ b/src/pages/Teachers/teachers.vue @@ -1,36 +1,49 @@