course visibility on university select
This commit is contained in:
parent
ec38dd63a5
commit
30bfe54074
@ -179,10 +179,16 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
|
||||
$scope.coursedropdownstatus = true;
|
||||
|
||||
$scope.batchlengh='0';
|
||||
|
||||
$scope.visiblecheck='0';
|
||||
$scope.getUniveId = function (univ) {
|
||||
|
||||
//alert('1')
|
||||
$scope.coursedropdownstatus = false;
|
||||
|
||||
$scope.visiblecheck='1';
|
||||
|
||||
if (univ === '') {
|
||||
$scope.myUnivSearch = "";
|
||||
$scope.searchData.University = '';
|
||||
@ -203,6 +209,14 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
$scope.getStudentList();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// if($scope.courseData.length >0)
|
||||
// {
|
||||
// $scope.batchlengh='1';
|
||||
// }
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -218,8 +232,10 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
$scope.getStudentList = function () {
|
||||
$scope.loader = true;
|
||||
|
||||
//alert('in')
|
||||
|
||||
console.log($scope.searchData);
|
||||
//console.log($scope.courseData.length);
|
||||
//console.log($scope.searchData);
|
||||
var empListreq = {
|
||||
method: 'POST',
|
||||
url: apiPoint.url + 'getStudentList/',
|
||||
@ -2042,7 +2058,12 @@ $scope.allcourselist ='';
|
||||
}
|
||||
$scope.myUnivSearch = "";
|
||||
$scope.coursedropdownstatus = true;
|
||||
|
||||
$scope.visiblecheck='0';
|
||||
$scope.getUniveId = function (univ) {
|
||||
|
||||
|
||||
//alert('2');
|
||||
$scope.coursedropdownstatus = false;
|
||||
let name = JSON.parse(univ);
|
||||
$scope.searchData.University = name.UniversityID;
|
||||
@ -2051,6 +2072,9 @@ $scope.allcourselist ='';
|
||||
$scope.courseData = name.Course;
|
||||
$scope.batchData = name.Batch;
|
||||
$scope.OpenWindowStatus = false;
|
||||
|
||||
$scope.visiblecheck='1';
|
||||
|
||||
$scope.getStudentList();
|
||||
};
|
||||
|
||||
@ -2076,6 +2100,12 @@ $scope.allcourselist ='';
|
||||
$scope.Searchloader = false;
|
||||
$scope.studentListLength = 0;
|
||||
$scope.getStudentList = function () {
|
||||
|
||||
|
||||
//alert('in 2')
|
||||
|
||||
//console.log(localDetails);
|
||||
|
||||
$scope.Searchloader = true;
|
||||
var empListreq = {
|
||||
method: 'POST',
|
||||
|
||||
@ -92,8 +92,8 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
<div class="col-md-3" ng-if="visiblecheck=='1'">
|
||||
<label for="form-field-select-2" >
|
||||
Course
|
||||
</label>
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3" ng-if="visiblecheck=='1'">
|
||||
<label for="form-field-select-2">
|
||||
Status
|
||||
</label>
|
||||
|
||||
@ -132,7 +132,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3" ng-if="visiblecheck=='1'">
|
||||
<label for="form-field-select-2">
|
||||
Course
|
||||
</label>
|
||||
@ -145,7 +145,7 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-3" ng-if="visiblecheck=='1'">
|
||||
<label for="form-field-select-2">
|
||||
Status
|
||||
</label>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user