|
|
@ -51,10 +51,6 @@ define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) {
|
|
|
|
url: '/phone_top_up',
|
|
|
|
url: '/phone_top_up',
|
|
|
|
templateUrl: '/static/config/devtools/templates/phone_top_up.html',
|
|
|
|
templateUrl: '/static/config/devtools/templates/phone_top_up.html',
|
|
|
|
controller: 'phonetopupCtrl'
|
|
|
|
controller: 'phonetopupCtrl'
|
|
|
|
}).state('devtools.orgusertest', {
|
|
|
|
|
|
|
|
url: '/orgusertest',
|
|
|
|
|
|
|
|
templateUrl: '/static/config/devtools/templates/orgusertest.html',
|
|
|
|
|
|
|
|
controller: 'orgusertestCtrl'
|
|
|
|
|
|
|
|
}).state('devtools.aliforexcel', {
|
|
|
|
}).state('devtools.aliforexcel', {
|
|
|
|
url: '/aliforexcel',
|
|
|
|
url: '/aliforexcel',
|
|
|
|
templateUrl: '/static/config/devtools/templates/aliforexcel.html',
|
|
|
|
templateUrl: '/static/config/devtools/templates/aliforexcel.html',
|
|
|
@ -310,7 +306,7 @@ define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
app.controller('orgusertestCtrl', ['$scope', '$http', '$filter','commonDialog', function ($scope, $http, $filter,commonDialog) {
|
|
|
|
/* app.controller('orgusertestCtrl', ['$scope', '$http', '$filter','commonDialog', function ($scope, $http, $filter,commonDialog) {
|
|
|
|
$scope.regist = function () {
|
|
|
|
$scope.regist = function () {
|
|
|
|
|
|
|
|
|
|
|
|
$http.post('/dev/orgusertest',{client_moniker: $scope.company}).then(function (resp) {
|
|
|
|
$http.post('/dev/orgusertest',{client_moniker: $scope.company}).then(function (resp) {
|
|
|
@ -319,7 +315,7 @@ define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) {
|
|
|
|
commonDialog.alert({title: 'Error', content: "商品编号已存在", type: 'Error'})
|
|
|
|
commonDialog.alert({title: 'Error', content: "商品编号已存在", type: 'Error'})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);*/
|
|
|
|
app.controller('aliforexcelCtrl', ['$scope', '$filter', function ($scope, $filter) {
|
|
|
|
app.controller('aliforexcelCtrl', ['$scope', '$filter', function ($scope, $filter) {
|
|
|
|
$scope.params = {};
|
|
|
|
$scope.params = {};
|
|
|
|
var str = $filter('date')(new Date(), 'yyyyMMdd');
|
|
|
|
var str = $filter('date')(new Date(), 'yyyyMMdd');
|
|
|
|