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