manage student1142

This commit is contained in:
sriramv 2019-01-03 13:37:15 +05:30
parent ce81393e6d
commit 99dda23da4
2 changed files with 13 additions and 7 deletions

View File

@ -181,13 +181,13 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams",
$scope.batchlengh='0';
$scope.visiblecheck='0';
$scope.visiblecheck='1';
$scope.getUniveId = function (univ) {
//alert('1')
$scope.coursedropdownstatus = false;
$scope.visiblecheck='1';
$scope.visiblecheck='0';
if (univ === '') {
$scope.myUnivSearch = "";
@ -2059,7 +2059,7 @@ $scope.allcourselist ='';
$scope.myUnivSearch = "";
$scope.coursedropdownstatus = true;
$scope.visiblecheck='0';
$scope.visiblecheck='1';
$scope.getUniveId = function (univ) {
@ -2073,7 +2073,7 @@ $scope.allcourselist ='';
$scope.batchData = name.Batch;
$scope.OpenWindowStatus = false;
$scope.visiblecheck='1';
$scope.visiblecheck='0';
$scope.getStudentList();
};

View File

@ -132,7 +132,7 @@
</div>
<div class="col-md-3" ng-if="visiblecheck=='1'">
<div class="col-md-3" ">
<label for="form-field-select-2">
Course
</label>
@ -143,9 +143,12 @@
<option value="" selected>Select Course</option>
<option ng-repeat="itemCourse in courseData" value="{{itemCourse.CourseID}}">{{itemCourse.CourseName}}<span ng-show="itemCourse.CourseCode != ''">(<strong>{{itemCourse.CourseCode}}</strong>)</span></option>
</select>
<label for="form-field-select-2" style="color: red;" ng-if="visiblecheck=='0'">
Please select University
</label>
</div>
<div class="col-md-3" ng-if="visiblecheck=='1'">
<div class="col-md-3" ">
<label for="form-field-select-2">
Status
</label>
@ -155,7 +158,7 @@
<option value="1">Active</option>
<option value="0">Deactive</option>
</select>
<!--<label for="form-field-select-2">
<!--<label for="form-field-select-2"> ng-if="visiblecheck=='1'
Search
</label>
<input class="form-control" type="text" ng-model="search" id="search" autofocus tabindex="1" placeholder="Search" /><br><br>
@ -174,6 +177,9 @@
<option value="" selected>Select Batch</option>
<option ng-repeat="item in batchData" value="{{item.BatchCode}}"><!-- {{item.BatchName}} --><span ng-show="item.BatchCode != ''"><strong>{{item.BatchCode}}</strong></span></option>
</select>
<label for="form-field-select-2" style="color: red;" ng-if="visiblecheck=='0'">
Please select University
</label>
</div>
</div>