Commit 901a6f17 authored by dahai's avatar dahai

Merge remote-tracking branch 'origin/dev' into dev

parents e2e27668 48c31f4a
...@@ -281,8 +281,8 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin ...@@ -281,8 +281,8 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
LODOP.SET_PRINT_STYLEA(0, "Alignment", 2); LODOP.SET_PRINT_STYLEA(0, "Alignment", 2);
LODOP.SET_PRINT_STYLEA(0, "FontSize", 15); LODOP.SET_PRINT_STYLEA(0, "FontSize", 15);
LODOP.PREVIEW(); // LODOP.PREVIEW();
// LODOP.PRINT(); LODOP.PRINT();
}) })
}) })
}; };
......
...@@ -194,6 +194,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -194,6 +194,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
for (var i=0;i<checks.length;i++){ for (var i=0;i<checks.length;i++){
arr.push(checks[i].value) arr.push(checks[i].value)
} }
if(arr.length>0){
var json = { var json = {
workGroup:groupSelected, workGroup:groupSelected,
taskIdList:arr taskIdList:arr
...@@ -202,6 +203,10 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -202,6 +203,10 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
console.log(data) console.log(data)
$scope.searchTaskList(); $scope.searchTaskList();
}) })
}else{
MessageService.showAlert("请选择要更新的任务单")
}
} }
$scope.goes = function(){ $scope.goes = function(){
......
...@@ -112,8 +112,6 @@ ...@@ -112,8 +112,6 @@
<button class="btn btn-primary" ng-click="goes()">转出任务单</button> <button class="btn btn-primary" ng-click="goes()">转出任务单</button>
</div> </div>
</div> </div>
</div>
</div>
<!-- /.mail-box-messages --> <!-- /.mail-box-messages -->
<div ng-if="cycleSheetData.length==0"> <div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4> <h4>暂无数据</h4>
......
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