|
|
@@ -1,4 +1,4 @@
|
|
|
- define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ui-form', 'ngLocal', 'ngTable', 'ngSanitize', 'ngDraggable', 'common/services', 'common/directives', 'common/query/brand', 'common/query/address', 'common/query/return' , 'common/query/change' ,'common/query/component', 'common/query/order', 'common/query/purchase', 'common/query/invoice', 'common/query/property', 'common/query/kind', 'common/query/property', 'common/query/commodity', 'common/query/receipt', 'common/query/logistics' ,'angular-toaster', 'ui-jquery', 'jquery-uploadify','common/query/dateParse' , 'common/query/bankTransfer' ,'common/query/bankInfo', 'common/query/urlencryption', 'common/query/bill', 'common/query/makerDemand', 'common/query/goods', 'common/query/validtime', 'file-upload','file-upload-shim', 'common/query/slideImage', 'common/query/kindAdvice', 'common/query/responseLogistics', 'common/query/search','common/directives/dynamicInput', 'common/query/auditorMail', 'common/query/tradeBasicProperties', 'common/query/exchangeRate', 'common/query/tradeDeliveryDelayTime', 'common/query/payment', 'common/query/kindContrast', 'common/query/crawlTask', 'common/query/afterSale', 'common/query/refund', 'common/query/messageBoard', 'common/query/logisticsPort', 'common/query/storeInfo', 'common/query/cms', 'common/query/help', 'common/query/commonCount', 'common/module/store_admin_violations_module', 'common/query/internalMessage','common/query/user','common/query/secQuestion','common/query/keyWord','common/query/logUsage','common/query/seekQualityBuyer','common/query/loanApply', 'common/query/supplier', 'common/query/seekSalesman', 'common/query/b2bManage', 'common/query/adminNews', 'common/query/seekPurchase'], function(angularAMD) {
|
|
|
+ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ui-form', 'ngLocal', 'ngTable', 'ngSanitize', 'ngDraggable', 'common/services', 'common/directives', 'common/query/brand', 'common/query/address', 'common/query/return' , 'common/query/change' ,'common/query/component', 'common/query/order', 'common/query/purchase', 'common/query/invoice', 'common/query/property', 'common/query/kind', 'common/query/property', 'common/query/commodity', 'common/query/receipt', 'common/query/logistics' ,'angular-toaster', 'ui-jquery', 'jquery-uploadify','common/query/dateParse' , 'common/query/bankTransfer' ,'common/query/bankInfo', 'common/query/urlencryption', 'common/query/bill', 'common/query/makerDemand', 'common/query/goods', 'common/query/validtime', 'file-upload','file-upload-shim', 'common/query/slideImage', 'common/query/kindAdvice', 'common/query/responseLogistics', 'common/query/search','common/directives/dynamicInput', 'common/query/auditorMail', 'common/query/tradeBasicProperties', 'common/query/exchangeRate', 'common/query/tradeDeliveryDelayTime', 'common/query/payment', 'common/query/kindContrast', 'common/query/crawlTask', 'common/query/afterSale', 'common/query/refund', 'common/query/messageBoard', 'common/query/logisticsPort', 'common/query/storeInfo', 'common/query/cms', 'common/query/help', 'common/query/commonCount', 'common/module/store_admin_violations_module', 'common/query/internalMessage','common/query/user','common/query/secQuestion','common/query/keyWord','common/query/logUsage','common/query/seekQualityBuyer','common/query/loanApply', 'common/query/supplier', 'common/query/seekSalesman', 'common/query/b2bManage', 'common/query/adminNews', 'common/query/seekPurchase', 'common/query/lottery'], function(angularAMD) {
|
|
|
'use strict';
|
|
|
|
|
|
/**
|
|
|
@@ -8,7 +8,7 @@
|
|
|
return this.length > 0 ? this[this.length - 1] : null;
|
|
|
};
|
|
|
|
|
|
- var app = angular.module('myApp', [ 'ui.router', 'ui.bootstrap', 'ui.form', 'ng.local', 'ngTable', 'ngSanitize', 'ngDraggable', 'common.services', 'common.directives', 'brandServices', 'addressServices', 'returnServices', 'changeServices', 'componentServices', 'orderServices', 'purchaseServices', 'invoiceServices', 'propertyServices', 'receiptServices', 'logisticsServices', 'common.query.kind', 'toaster','ui.jquery', 'commodityServices', 'dateparseServices', 'bankInfo' , 'bankTransfer', 'urlencryptionServices', 'billServices', 'makerDemand', 'goodsServices', 'validtimeServices', 'angularFileUpload', 'slideImageService', 'common.query.kindAdvice', 'responseLogisticsService', 'searchService', 'ngDynamicInput', 'ReviewerEmailInfoService', 'tradeBasicPropertiesServices', 'exchangeRateModule', 'tradeDeliveryDelayTimeModule', 'PaymentService', 'kindContrastServices', 'crawlTaskServices', 'afterSaleService', 'refundModule', 'messageBoardServices', 'logisticsPortService', 'storeInfoServices', 'cmsService', 'helpServices', 'commonCountServices', 'tool.directives', 'StoreAdminViolationsModule', 'internalMessageServices','common.query.user','secQuestionServices','keyWordServices','logUsageServices','seekQualityBuyerServices', 'loanApplyService', 'supplierServices', 'seekSalesmanServices', 'b2bManageService','adminNewsService', 'seekPurchaseServices']);
|
|
|
+ var app = angular.module('myApp', [ 'ui.router', 'ui.bootstrap', 'ui.form', 'ng.local', 'ngTable', 'ngSanitize', 'ngDraggable', 'common.services', 'common.directives', 'brandServices', 'addressServices', 'returnServices', 'changeServices', 'componentServices', 'orderServices', 'purchaseServices', 'invoiceServices', 'propertyServices', 'receiptServices', 'logisticsServices', 'common.query.kind', 'toaster','ui.jquery', 'commodityServices', 'dateparseServices', 'bankInfo' , 'bankTransfer', 'urlencryptionServices', 'billServices', 'makerDemand', 'goodsServices', 'validtimeServices', 'angularFileUpload', 'slideImageService', 'common.query.kindAdvice', 'responseLogisticsService', 'searchService', 'ngDynamicInput', 'ReviewerEmailInfoService', 'tradeBasicPropertiesServices', 'exchangeRateModule', 'tradeDeliveryDelayTimeModule', 'PaymentService', 'kindContrastServices', 'crawlTaskServices', 'afterSaleService', 'refundModule', 'messageBoardServices', 'logisticsPortService', 'storeInfoServices', 'cmsService', 'helpServices', 'commonCountServices', 'tool.directives', 'StoreAdminViolationsModule', 'internalMessageServices','common.query.user','secQuestionServices','keyWordServices','logUsageServices','seekQualityBuyerServices', 'loanApplyService', 'supplierServices', 'seekSalesmanServices', 'b2bManageService','adminNewsService', 'seekPurchaseServices', 'lotteryServices']);
|
|
|
app.init = function() {
|
|
|
angularAMD.bootstrap(app);
|
|
|
};
|
|
|
@@ -778,41 +778,48 @@
|
|
|
controllerUrl: 'app/controllers/HotifyShipTime',
|
|
|
title: '买家提醒发货时间条件'
|
|
|
})).state('automaticReceiving', angularAMD.route({
|
|
|
- // 买家提醒发货时间条件
|
|
|
- url : '/buyer/automaticReceiving',
|
|
|
- templateUrl: 'static/view/admin/automaticReceiving.html',
|
|
|
- controller: 'AutomaticReceivingCtrl',
|
|
|
- controllerUrl: 'app/controllers/AutomaticReceiving',
|
|
|
- title: '买家提醒发货时间条件'
|
|
|
- })).state('downAllGoodsByEnterprise', angularAMD.route({
|
|
|
- //下架该公司所有的商品
|
|
|
- url : '/product/downAllGoodsByEnterprise',
|
|
|
- templateUrl: 'static/view/admin/product/downGoodsByEnterprise.html',
|
|
|
- controller: 'downGoodsByEnterpriseCtrl',
|
|
|
- controllerUrl: 'app/controllers/product/downGoodsByEnterprise',
|
|
|
- title: '下架公司产品'
|
|
|
- })).state('adsBrand', angularAMD.route({
|
|
|
- //品牌推广
|
|
|
- url : '/ads/brand',
|
|
|
- templateUrl: 'static/view/admin/ads/ads_brand.html',
|
|
|
- controller: 'adsBrandCtrl',
|
|
|
- controllerUrl: 'app/controllers/ads/ads_brand',
|
|
|
- title: '品牌推广'
|
|
|
- })).state('adsComponent', angularAMD.route({
|
|
|
- //品牌推广
|
|
|
- url : '/ads/component',
|
|
|
- templateUrl: 'static/view/admin/ads/ads_component.html',
|
|
|
- controller: 'adsComponentCtrl',
|
|
|
- controllerUrl: 'app/controllers/ads/ads_component',
|
|
|
- title: '器件推广'
|
|
|
- })).state('searchSee', angularAMD.route({
|
|
|
- //搜索预览
|
|
|
- url : '/search/see',
|
|
|
- templateUrl: 'static/view/admin/search/search_See.html',
|
|
|
- controller: 'SearchSeeBrandCtrl',
|
|
|
- controllerUrl: 'app/controllers/search/search_See',
|
|
|
- title: '搜索预览'
|
|
|
- })).state('internalMessage', angularAMD.route({
|
|
|
+ // 买家提醒发货时间条件
|
|
|
+ url : '/buyer/automaticReceiving',
|
|
|
+ templateUrl: 'static/view/admin/automaticReceiving.html',
|
|
|
+ controller: 'AutomaticReceivingCtrl',
|
|
|
+ controllerUrl: 'app/controllers/AutomaticReceiving',
|
|
|
+ title: '买家提醒发货时间条件'
|
|
|
+ })).state('downAllGoodsByEnterprise', angularAMD.route({
|
|
|
+ //下架该公司所有的商品
|
|
|
+ url : '/product/downAllGoodsByEnterprise',
|
|
|
+ templateUrl: 'static/view/admin/product/downGoodsByEnterprise.html',
|
|
|
+ controller: 'downGoodsByEnterpriseCtrl',
|
|
|
+ controllerUrl: 'app/controllers/product/downGoodsByEnterprise',
|
|
|
+ title: '下架公司产品'
|
|
|
+ })).state('adsBrand', angularAMD.route({
|
|
|
+ //品牌推广
|
|
|
+ url : '/ads/brand',
|
|
|
+ templateUrl: 'static/view/admin/ads/ads_brand.html',
|
|
|
+ controller: 'adsBrandCtrl',
|
|
|
+ controllerUrl: 'app/controllers/ads/ads_brand',
|
|
|
+ title: '品牌推广'
|
|
|
+ })).state('adsWinningHistories', angularAMD.route({
|
|
|
+ // 中奖记录
|
|
|
+ url: '/ads/winningHistories',
|
|
|
+ templateUrl: 'static/view/admin/ads/ads_winninghistories.html',
|
|
|
+ controller: 'WinningHistoriesCtrl',
|
|
|
+ controllerUrl: 'app/controllers/ads/winningHistoriesCtrl',
|
|
|
+ title: '中奖纪录'
|
|
|
+ })).state('adsComponent', angularAMD.route({
|
|
|
+ //品牌推广
|
|
|
+ url : '/ads/component',
|
|
|
+ templateUrl: 'static/view/admin/ads/ads_component.html',
|
|
|
+ controller: 'adsComponentCtrl',
|
|
|
+ controllerUrl: 'app/controllers/ads/ads_component',
|
|
|
+ title: '器件推广'
|
|
|
+ })).state('searchSee', angularAMD.route({
|
|
|
+ //搜索预览
|
|
|
+ url : '/search/see',
|
|
|
+ templateUrl: 'static/view/admin/search/search_See.html',
|
|
|
+ controller: 'SearchSeeBrandCtrl',
|
|
|
+ controllerUrl: 'app/controllers/search/search_See',
|
|
|
+ title: '搜索预览'
|
|
|
+ })).state('internalMessage', angularAMD.route({
|
|
|
// 消息列表
|
|
|
url: '/internalMessages',
|
|
|
templateUrl: 'static/view/admin/common/message/internalMessageList.html',
|
|
|
@@ -820,26 +827,26 @@
|
|
|
controllerUrl: 'app/controllers/common/message/internalMessageListCtrl',
|
|
|
title: '消息列表'
|
|
|
})).state('loanApplyList', angularAMD.route({
|
|
|
- // 消息列表
|
|
|
- url: '/fa/loanApply',
|
|
|
- templateUrl: 'static/view/admin/fa/loanApplyList.html',
|
|
|
- controller: 'LoanApplyListCtrl',
|
|
|
- controllerUrl: 'app/controllers/fa/LoanApplyListCtrl',
|
|
|
- title: '消息列表'
|
|
|
- })).state('b2bManage', angularAMD.route({
|
|
|
- // b2b后台管理贷款申请列表
|
|
|
- url: '/b2b/manage',
|
|
|
- templateUrl: 'static/view/admin/b2b/manage.html',
|
|
|
- controller: 'b2bManageCtrl',
|
|
|
- controllerUrl: 'app/controllers/b2b/b2bManageCtrl',
|
|
|
- title: '贷款申请列表'
|
|
|
- })).state('statsData', angularAMD.route({
|
|
|
- // 后台管理数据统计数据
|
|
|
- url: '/statsData',
|
|
|
- templateUrl: 'static/view/admin/stats_data.html',
|
|
|
- controller: 'statsDataCtrl',
|
|
|
- controllerUrl: 'app/controllers/statsDataCtrl',
|
|
|
- title: '数据统计数据'
|
|
|
+ // 消息列表
|
|
|
+ url: '/fa/loanApply',
|
|
|
+ templateUrl: 'static/view/admin/fa/loanApplyList.html',
|
|
|
+ controller: 'LoanApplyListCtrl',
|
|
|
+ controllerUrl: 'app/controllers/fa/LoanApplyListCtrl',
|
|
|
+ title: '消息列表'
|
|
|
+ })).state('b2bManage', angularAMD.route({
|
|
|
+ // b2b后台管理贷款申请列表
|
|
|
+ url: '/b2b/manage',
|
|
|
+ templateUrl: 'static/view/admin/b2b/manage.html',
|
|
|
+ controller: 'b2bManageCtrl',
|
|
|
+ controllerUrl: 'app/controllers/b2b/b2bManageCtrl',
|
|
|
+ title: '贷款申请列表'
|
|
|
+ })).state('statsData', angularAMD.route({
|
|
|
+ // 后台管理数据统计数据
|
|
|
+ url: '/statsData',
|
|
|
+ templateUrl: 'static/view/admin/stats_data.html',
|
|
|
+ controller: 'statsDataCtrl',
|
|
|
+ controllerUrl: 'app/controllers/statsDataCtrl',
|
|
|
+ title: '数据统计数据'
|
|
|
}));
|
|
|
|
|
|
}]);
|