|
|
@@ -1540,7 +1540,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
};
|
|
|
}]);
|
|
|
|
|
|
- app.controller('TodoCtrl', ['$scope', 'SnapshotService', 'BaseService', '$rootScope', function ($scope, SnapshotService, BaseService, $rootScope) {
|
|
|
+ app.controller('TodoCtrl', ['$scope', 'SnapshotService', 'BaseService', '$rootScope', '$modal',
|
|
|
+ function ($scope, SnapshotService, BaseService, $rootScope, $modal) {
|
|
|
BaseService.scrollBackToTop();
|
|
|
SnapshotService.getTodo(function (data) {
|
|
|
$scope.todo = data;
|
|
|
@@ -1576,6 +1577,19 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
$rootScope.tenderActive = active;
|
|
|
window.location.hash = '#/purc/tender';
|
|
|
}
|
|
|
+ $modal.open({
|
|
|
+ templateUrl: 'static/tpl/index/home/modal/notice.html',
|
|
|
+ controller: 'NotifyCtrl',
|
|
|
+ size: 'lg'
|
|
|
+ }).result.then(function (s) {
|
|
|
+ });
|
|
|
+ }]);
|
|
|
+
|
|
|
+ app.controller('NotifyCtrl', ['$scope', '$modalInstance',
|
|
|
+ function($scope, $modalInstance) {
|
|
|
+ $scope.close = function() {
|
|
|
+ $modalInstance.close();
|
|
|
+ }
|
|
|
}]);
|
|
|
// header
|
|
|
app.controller('HeaderCtrl', ['$scope', 'SnapshotService', function ($scope, SnapshotService) {
|