|
|
@@ -119,8 +119,8 @@ angular.module('app.business')
|
|
119
|
119
|
});
|
|
120
|
120
|
|
|
121
|
121
|
// 编辑页面获取审核列表列表
|
|
122
|
|
- var btype = 0; // 月报表,1是周报表
|
|
123
|
|
- reportMonthlyService.getAuditList($stateParams.id,0).then(function(res) {
|
|
|
122
|
+ var btype = 0; // 月报表1 周报表0
|
|
|
123
|
+ reportMonthlyService.getAuditList($stateParams.id,1).then(function(res) {
|
|
124
|
124
|
$scope.auditList = res
|
|
125
|
125
|
// console.log($scope.auditList,'auditList')
|
|
126
|
126
|
// console.log(res,'res 获取审核列表成功')
|
|
|
@@ -156,7 +156,7 @@ angular.module('app.business')
|
|
156
|
156
|
console.log(data,"----上报结果");
|
|
157
|
157
|
if(data.status=="success"){
|
|
158
|
158
|
//alert("点击上报后不可再取消,确认上报");
|
|
159
|
|
- reportMonthlyService.updateStatus(id).then(function(data){
|
|
|
159
|
+ reportMonthlyService.updateStatusm(id).then(function(data){
|
|
160
|
160
|
console.log(data,"上报状态修改返回");
|
|
161
|
161
|
if(data.status=="success"){
|
|
162
|
162
|
// $scope.reportMonthly.status = 0
|