|
|
@ -32,7 +32,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
app.controller('addPartnerCtrl', ['$rootScope', '$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'businessStructuresMap', 'upayIndustryMap', 'industryMap', 'stateMap', 'sectorMap', 'countryMap','wechatGoodMcc','$filter', function ($rootScope, $scope, $http, $state, Upload, commonDialog, timezone, businessStructuresMap, upayIndustryMap, industryMap, stateMap, sectorMap, countryMap,wechatGoodMcc,$filter) {
|
|
|
|
app.controller('addPartnerCtrl', ['$rootScope', '$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'businessStructuresMap', 'upayIndustryMap','upayMcc', 'industryMap', 'stateMap', 'sectorMap', 'countryMap','wechatGoodMcc','$filter', function ($rootScope, $scope, $http, $state, Upload, commonDialog, timezone, businessStructuresMap, upayIndustryMap, upayMcc, industryMap, stateMap, sectorMap, countryMap,wechatGoodMcc,$filter) {
|
|
|
|
if ($scope.partner_application) {
|
|
|
|
if ($scope.partner_application) {
|
|
|
|
$scope.partner = angular.copy($scope.partner_application);
|
|
|
|
$scope.partner = angular.copy($scope.partner_application);
|
|
|
|
delete $rootScope.partner_application;
|
|
|
|
delete $rootScope.partner_application;
|
|
|
@ -172,6 +172,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
$scope.industries = industryMap.configs();
|
|
|
|
$scope.industries = industryMap.configs();
|
|
|
|
$scope.wechatMccIndustries = wechatGoodMcc.configs();
|
|
|
|
$scope.wechatMccIndustries = wechatGoodMcc.configs();
|
|
|
|
$scope.upayIndustrys = upayIndustryMap.configs();
|
|
|
|
$scope.upayIndustrys = upayIndustryMap.configs();
|
|
|
|
|
|
|
|
$scope.upayMccs = upayMcc.configs();
|
|
|
|
$scope.states = stateMap.configs();
|
|
|
|
$scope.states = stateMap.configs();
|
|
|
|
$scope.countries = countryMap.configs();
|
|
|
|
$scope.countries = countryMap.configs();
|
|
|
|
$scope.sectors = sectorMap.configs();
|
|
|
|
$scope.sectors = sectorMap.configs();
|
|
|
@ -472,10 +473,11 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
app.controller('partnerEditCtrl2', ['$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'partner','upayIndustryMap','wechatGoodMcc','$filter',
|
|
|
|
app.controller('partnerEditCtrl2', ['$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', 'partner','upayIndustryMap','upayMcc','wechatGoodMcc','$filter',
|
|
|
|
function ($scope, $http, $state, Upload, commonDialog, timezone, partner,upayIndustryMap,wechatGoodMcc,$filter) {
|
|
|
|
function ($scope, $http, $state, Upload, commonDialog, timezone, partner,upayIndustryMap,upayMcc,wechatGoodMcc,$filter) {
|
|
|
|
|
|
|
|
|
|
|
|
$scope.upayIndustrys = upayIndustryMap.configs();
|
|
|
|
$scope.upayIndustrys = upayIndustryMap.configs();
|
|
|
|
|
|
|
|
$scope.upayMccs = upayMcc.configs();
|
|
|
|
$scope.timezones = timezone.configs();
|
|
|
|
$scope.timezones = timezone.configs();
|
|
|
|
$scope.wechatMccIndustries = wechatGoodMcc.configs();
|
|
|
|
$scope.wechatMccIndustries = wechatGoodMcc.configs();
|
|
|
|
$scope.partner = partner.data;
|
|
|
|
$scope.partner = partner.data;
|
|
|
|