|
|
@ -36,7 +36,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
|
|
|
|
$scope.act = {};
|
|
|
|
$scope.act = {};
|
|
|
|
$scope.act.act_id = act.act_id;
|
|
|
|
$scope.act.act_id = act.act_id;
|
|
|
|
$scope.act.is_valid = !act.is_valid;
|
|
|
|
$scope.act.is_valid = !act.is_valid;
|
|
|
|
$http.put('/manager/app/act/' + $scope.act.act_id, $scope.act).then(function (resp) {
|
|
|
|
$http.put('/manager/app/act/published/'+$scope.act.act_id, $scope.act.is_valid).then(function (resp) {
|
|
|
|
commonDialog.alert({title: 'Success', content: '修改成功', type: 'success'});
|
|
|
|
commonDialog.alert({title: 'Success', content: '修改成功', type: 'success'});
|
|
|
|
$scope.loadActAppList(1);
|
|
|
|
$scope.loadActAppList(1);
|
|
|
|
}, function (resp) {
|
|
|
|
}, function (resp) {
|
|
|
|