Commit fbcaf1fa authored by liboyang's avatar liboyang

禁用传参id

parent 18113a5b
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<div class="input-group-addon"> <div class="input-group-addon">
<i class="fa fa-calendar"></i> <i class="fa fa-calendar"></i>
</div> </div>
<input type="text" class="form-control pull-right" ng-value="choseDate" id="datepicker" readonly/> <input type="text" class="form-control pull-right" id="datepicker" readonly/>
<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span> <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
</div> </div>
</td> </td>
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
<td>{{item.FILE_NAME}}</td> <td>{{item.FILE_NAME}}</td>
<td>{{item.ANALYSIS_DATE | myDateFilter}}</td> <td>{{item.ANALYSIS_DATE | myDateFilter}}</td>
<td>{{item.RECORD_NUMBER}}</td> <td>{{item.RECORD_NUMBER}}</td>
<td>{{item.PUCOUNT}}</td> <td>{{item.COMMON_CARD_COUNT}}</td>
<td>{{item.YOUCOUNT}}</td> <td>{{item.POST_CARD_COUNT}}</td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -24,7 +24,7 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa ...@@ -24,7 +24,7 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa
$($($(this).parent()).prev()).val(""); $($($(this).parent()).prev()).val("");
}) })
// $scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd");
$scope.paginationConf = { $scope.paginationConf = {
currentPage: 1, currentPage: 1,
...@@ -34,6 +34,7 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa ...@@ -34,6 +34,7 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa
$scope.getAnalyseLog = function(){ $scope.getAnalyseLog = function(){
console.log($('#datepicker').val());
HttpService.selectAnalyseLogCount($scope.oldPackageName,$("#datepicker").val(),function (data) { HttpService.selectAnalyseLogCount($scope.oldPackageName,$("#datepicker").val(),function (data) {
$scope.paginationConf.totalItems = data; $scope.paginationConf.totalItems = data;
console.log($scope.paginationConf.totalItems) console.log($scope.paginationConf.totalItems)
......
...@@ -31,6 +31,7 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm ...@@ -31,6 +31,7 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
$scope.isHistory=0; $scope.isHistory=0;
$scope.searchCurrent = function(){ $scope.searchCurrent = function(){
$rootScope.cardsTotal = 0;
$scope.isHistory=0; $scope.isHistory=0;
HttpService.getTaskListToCreate($('#datepicker').val(),function(data){ HttpService.getTaskListToCreate($('#datepicker').val(),function(data){
$scope.cycleSheetData = data; $scope.cycleSheetData = data;
...@@ -232,6 +233,7 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm ...@@ -232,6 +233,7 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
$scope.searchCurrent(); $scope.searchCurrent();
$scope.selected=[]; $scope.selected=[];
$rootScope.selectedGroup=[]; $rootScope.selectedGroup=[];
$rootScope.cardsTotal = 0;
}) })
}else{ }else{
MessageService.showAlert("请选择创建任务单的组") MessageService.showAlert("请选择创建任务单的组")
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</ul> </ul>
</a> </a>
</li> </li>
<li class="pull-right" style="padding-right: 20px;"><h5>已选择数量:{{cardsTotal}}</h5></li> <li class="pull-right" style="padding-right: 20px;"><h4>已选择数量:{{cardsTotal}}</h4></li>
</ul> </ul>
</div> </div>
<div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index"> <div ng-repeat="type in cycleSheetData track by $index" class="table-responsive mailbox-messages" ng-show="currentTab==$index">
......
...@@ -24,8 +24,10 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -24,8 +24,10 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd"); $scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd");
$scope.isHistory=0; $scope.isHistory=0;
$scope.searchTaskList = function(){ $scope.searchTaskList = function(){
$rootScope.cardsTotal = 0;
$scope.isHistory=0; $scope.isHistory=0;
HttpService.getTaskListByProcess(function(data){ HttpService.getTaskListByProcess(function(data){
$scope.cycleSheetData = data; $scope.cycleSheetData = data;
...@@ -178,6 +180,7 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -178,6 +180,7 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
HttpService.updateTaskListProcess(json,function(data){ HttpService.updateTaskListProcess(json,function(data){
$scope.searchTaskList(); $scope.searchTaskList();
MessageService.showAlert("下发完成") MessageService.showAlert("下发完成")
$rootScope.cardsTotal = 0;
}) })
}else{ }else{
MessageService.showAlert("请选择下发的任务单") MessageService.showAlert("请选择下发的任务单")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment