Browse Source

添加链接

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1317 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
luoq 10 years ago
parent
commit
0b2e8363b2
1 changed files with 8 additions and 4 deletions
  1. 8 4
      src/main/webapp/resources/js/index/app.js

+ 8 - 4
src/main/webapp/resources/js/index/app.js

@@ -34,7 +34,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
 			url : "/sale",
 			views : {
 				"left-view" : {
-					templateUrl : "static/tpl/index/sale/left.html"
+					templateUrl : "static/tpl/index/sale/left.html",
+					controller: 'LeftCtrl'
 				},
 				"right-view" : {
 					templateUrl : "static/tpl/index/sale/right.html"
@@ -148,7 +149,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
 			url : "/account",
 			views : {
 				"left-view" : {
-					templateUrl : "static/tpl/index/account/left.html"
+					templateUrl : "static/tpl/index/account/left.html",
+					controller: 'LeftCtrl'
 				},
 				"right-view" : {
 					templateUrl : "static/tpl/index/account/right.html"
@@ -156,10 +158,12 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
 			}
 		}).state('account.index', {
 			url : "",
-			templateUrl : "static/tpl/index/account/index.html"
+			templateUrl : "static/tpl/index/account/index.html",
+			controller: 'RightCtrl'
 		}).state('account.home', {
 			url : "/",
-			templateUrl : "static/tpl/index/account/index.html"
+			templateUrl : "static/tpl/index/account/index.html",
+			controller: 'RightCtrl'
 		}).state('account.enterprise', {
 			url : "/enterprise",
 			templateUrl : "static/tpl/index/account/enterprise.html",