yangkai 6 years ago
parent 7d7ee28a4b
commit b5b6a8b286

@ -77,7 +77,7 @@
</a> </a>
</div> </div>
<div ng-if="'partner_analysis'|withModule" class="col-sm-2 col-xs-6"> <div ng-if="'partner_analysis'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_transaction.partners_analysis" ui-sref-opts="{reload:true}"> <a ui-sref="partners_analysis" ui-sref-opts="{reload:true}">
<div class="description-block"> <div class="description-block">
<img src="/static/images/main_menu/merchant_statistics.png"/> <img src="/static/images/main_menu/merchant_statistics.png"/>
<div class="description-text"> <div class="description-text">
@ -87,7 +87,7 @@
</a> </a>
</div> </div>
<div ng-if="'clientrate'|withModule" class="col-sm-2 col-xs-6"> <div ng-if="'clientrate'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_monitoring.client_rates" ui-sref-opts="{reload:true}"> <a ui-sref="client_rates" ui-sref-opts="{reload:true}">
<div class="description-block"> <div class="description-block">
<img src="/static/images/main_menu/merchant_activity_1.png"/> <img src="/static/images/main_menu/merchant_activity_1.png"/>
<div class="description-text"> <div class="description-text">
@ -148,61 +148,11 @@
</a> </a>
</div> </div>
<div ng-if="('transAnalysis'|withModule)" class="col-sm-2 col-xs-6"> <div ng-if="('transAnalysis'|withModule)" class="col-sm-2 col-xs-6">
<a ui-sref="transanalysis" ui-sref-opts="{reload:true}"> <a ui-sref="analysis_transaction" ui-sref-opts="{reload:true}">
<div class="description-block"> <div class="description-block">
<img src="/static/images/main_menu/transaction_original_statistics.png"/> <img src="/static/images/main_menu/transaction_original_statistics.png"/>
<div class="description-text"> <div class="description-text">
<span class="description-text">交易数据</span> <span class="description-text">原统计</span>
</div>
</div>
</a>
</div>
<div ng-if="('dashboard'|withModule)" class="col-sm-2 col-xs-6">
<a ui-sref="gateway" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/transaction_original_statistics.png"/>
<div class="description-text">
<span class="description-text">Gateway统计</span>
</div>
</div>
</a>
</div>
<div ng-if="('customer_analysis'|withModule)" class="col-sm-2 col-xs-6">
<a ui-sref="customers_analysis_manage" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/transaction_original_statistics.png"/>
<div class="description-text">
<span class="description-text">消费者统计</span>
</div>
</div>
</a>
</div>
<div ng-if="('refundAnalysisApp'|withModule)" class="col-sm-2 col-xs-6">
<a ui-sref="refundAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/transaction_original_statistics.png"/>
<div class="description-text">
<span class="description-text">退款统计</span>
</div>
</div>
</a>
</div>
<div ng-if="('channels_Analysis'|withModule)" class="col-sm-2 col-xs-6">
<a ui-sref="channelsAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/transaction_original_statistics.png"/>
<div class="description-text">
<span class="description-text">支付通道</span>
</div>
</div>
</a>
</div>
<div ng-if="('dashboard'|withModule)&&(currentUser.org_id==null)" class="col-sm-2 col-xs-6">
<a ui-sref="amountlsAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/transaction_original_statistics.png"/>
<div class="description-text">
<span class="description-text">交易金额分析</span>
</div> </div>
</div> </div>
</a> </a>

@ -6,8 +6,8 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
var app = angular.module('channelsAnalysisApp', ['ui.bootstrap', 'ui.router', 'frapontillo.bootstrap-switch']); var app = angular.module('channelsAnalysisApp', ['ui.bootstrap', 'ui.router', 'frapontillo.bootstrap-switch']);
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090']; var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('channelsAnalysis', { $stateProvider.state('analysis_transaction.channelsAnalysis', {
url: '/analysis/transaction/channelsAnalysis', url: '/channelsAnalysis',
templateUrl: '/static/analysis/templates/channels_analysis.html', templateUrl: '/static/analysis/templates/channels_analysis.html',
controller: 'channelsCtrl' controller: 'channelsCtrl'
}) })

@ -3,7 +3,7 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./transaction/an
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090']; var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
var app = angular.module('customersAnalysisManage', ['ui.bootstrap', 'ui.router', 'ngEcharts']); var app = angular.module('customersAnalysisManage', ['ui.bootstrap', 'ui.router', 'ngEcharts']);
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('customers_analysis_manage', { $stateProvider.state('analysis_transaction.customers_analysis_manage', {
url: '/analysis/customers', url: '/analysis/customers',
templateUrl: '/static/analysis/templates/manage_customers_orders.html', templateUrl: '/static/analysis/templates/manage_customers_orders.html',
controller: 'customersAnalysisCtrl' controller: 'customersAnalysisCtrl'

@ -6,10 +6,10 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
'use strict'; 'use strict';
var app = angular.module('preRefundApp', ['ui.router']); var app = angular.module('preRefundApp', ['ui.router']);
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('pre_refund', { $stateProvider.state('analysis_monitoring.pre_refund', {
controller: 'preRefundCtrl', controller: 'preRefundCtrl',
templateUrl: '/static/analysis/templates/pre_refund.html', templateUrl: '/static/analysis/templates/pre_refund.html',
url: '/analysis/monitoring/pre_refund' url: '/pre_refund'
}) })
}]); }]);

@ -3,8 +3,8 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
var app = angular.module('refundAnalysisApp', ['ui.bootstrap', 'ui.router', 'frapontillo.bootstrap-switch']); var app = angular.module('refundAnalysisApp', ['ui.bootstrap', 'ui.router', 'frapontillo.bootstrap-switch']);
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090']; var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('refundAnalysis', { $stateProvider.state('analysis_transaction.refundAnalysis', {
url: '/analysis/transaction/refunds', url: '/refunds',
templateUrl: '/static/analysis/templates/refund_analysis.html', templateUrl: '/static/analysis/templates/refund_analysis.html',
controller: 'refundListCtrl' controller: 'refundListCtrl'
}) })

@ -7,7 +7,7 @@
text-align: center; text-align: center;
} }
</style> </style>
<section class="content-header"> <!--<section class="content-header">
<h1>Channels Analysis</h1> <h1>Channels Analysis</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -15,7 +15,7 @@
</li> </li>
<li class="active">Channels</li> <li class="active">Channels</li>
</ol> </ol>
</section> </section>-->
<section class="content"> <section class="content">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">

@ -7,7 +7,7 @@
text-align: center; text-align: center;
} }
</style> </style>
<section class="content-header"> <!--<section class="content-header">
<h1>Customers Analysis</h1> <h1>Customers Analysis</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -15,7 +15,7 @@
</li> </li>
<li class="active">Customers</li> <li class="active">Customers</li>
</ol> </ol>
</section> </section>-->
<div class="content"> <div class="content">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">

@ -1,4 +1,4 @@
<section class="content-header"> <!--<section class="content-header">
<h1>Pre Refund</h1> <h1>Pre Refund</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -6,7 +6,7 @@
</li> </li>
<li class="active">Pre Refund</li> <li class="active">Pre Refund</li>
</ol> </ol>
</section> </section>-->
<section class="content"> <section class="content">
<div class="row"> <div class="row">
<div class="box"> <div class="box">

@ -7,7 +7,7 @@
text-align: center; text-align: center;
} }
</style> </style>
<section class="content-header"> <!--<section class="content-header">
<h1>Refund Analysis</h1> <h1>Refund Analysis</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -15,7 +15,7 @@
</li> </li>
<li class="active">Refund</li> <li class="active">Refund</li>
</ol> </ol>
</section> </section>-->
<div class="content"> <div class="content">
<div class="content"> <div class="content">
<div class="box-solid"> <div class="box-solid">

@ -7,7 +7,7 @@
text-align: center; text-align: center;
} }
</style> </style>
<section class="content-header"> <!--<section class="content-header">
<h1>Transaction Data</h1> <h1>Transaction Data</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -15,7 +15,7 @@
</li> </li>
<li class="active">Transaction Data</li> <li class="active">Transaction Data</li>
</ol> </ol>
</section> </section>-->
<div class="content"> <div class="content">
<div class="row"> <div class="row">
<div style="text-align: right" class="col-sm-12"> <div style="text-align: right" class="col-sm-12">

@ -7,7 +7,7 @@
text-align: center; text-align: center;
} }
</style> </style>
<section class="content-header"> <!--<section class="content-header">
<h1>Transaction Data</h1> <h1>Transaction Data</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -15,7 +15,7 @@
</li> </li>
<li class="active">Transaction Data</li> <li class="active">Transaction Data</li>
</ol> </ol>
</section> </section>-->
<div class="content"> <div class="content">
<div class="row"> <div class="row">
<div style="text-align: right" class="col-sm-12"> <div style="text-align: right" class="col-sm-12">

@ -1,4 +1,4 @@
<section class="content-header"> <!--<section class="content-header">
<h1>Transaction Amount Analysis</h1> <h1>Transaction Amount Analysis</h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li> <li>
@ -6,7 +6,7 @@
</li> </li>
<li class="active">Transaction Amount</li> <li class="active">Transaction Amount</li>
</ol> </ol>
</section> </section>-->
<div class="content"> <div class="content">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">

@ -3,7 +3,7 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./transaction/an
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090']; var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
var app = angular.module('transAnalysisMonthly', ['ui.bootstrap', 'ui.router', 'ngEcharts']); var app = angular.module('transAnalysisMonthly', ['ui.bootstrap', 'ui.router', 'ngEcharts']);
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('transanalysis_monthly', { $stateProvider.state('analysis_transaction.transanalysis_monthly', {
url: '/analysis/transaction_monthly', url: '/analysis/transaction_monthly',
templateUrl: '/static/analysis/templates/trans_analysis_monthly.html', templateUrl: '/static/analysis/templates/trans_analysis_monthly.html',
controller: 'transAnalysisMonthlyCtrl' controller: 'transAnalysisMonthlyCtrl'
@ -15,12 +15,12 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./transaction/an
{ {
key: 'day', key: 'day',
label: '按日统计', label: '按日统计',
sref:"transanalysis" sref:"analysis_transaction.transanalysis"
}, },
{ {
key: 'month', key: 'month',
label: '按月统计', label: '按月统计',
sref:"transanalysis_monthly" sref:"analysis_transaction.transanalysis_monthly"
} }
]; ];
$scope.currentScalekey = 'month'; $scope.currentScalekey = 'month';

@ -3,7 +3,7 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./transaction/an
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090']; var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
var app = angular.module('transAnalysis', ['ui.bootstrap', 'ui.router', 'ngEcharts']); var app = angular.module('transAnalysis', ['ui.bootstrap', 'ui.router', 'ngEcharts']);
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('transanalysis', { $stateProvider.state('analysis_transaction.transanalysis', {
url: '/analysis/transaction', url: '/analysis/transaction',
templateUrl: '/static/analysis/templates/trans_analysis.html', templateUrl: '/static/analysis/templates/trans_analysis.html',
controller: 'transAnalysisCtrl' controller: 'transAnalysisCtrl'
@ -15,12 +15,12 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts','./transaction/an
{ {
key: 'day', key: 'day',
label: '按日统计', label: '按日统计',
sref:"transanalysis" sref:"analysis_transaction.transanalysis"
}, },
{ {
key: 'month', key: 'month',
label: '按月统计', label: '按月统计',
sref:"transanalysis_monthly" sref:"analysis_transaction.transanalysis_monthly"
} }
]; ];
$scope.currentScalekey = 'day'; $scope.currentScalekey = 'day';

@ -6,17 +6,16 @@ define(['angular', 'uiBootstrap', 'uiRouter', 'angularEcharts'], function (angul
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090']; var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
var app = angular.module('analysisTransaction', ['ui.bootstrap', 'ui.router', 'ngEcharts']); var app = angular.module('analysisTransaction', ['ui.bootstrap', 'ui.router', 'ngEcharts']);
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
// $stateProvider.state('analysis_transaction', { $stateProvider.state('analysis_transaction', {
// url: '/analysis/transaction', url: '/analysis/transaction',
// templateUrl: '/static/analysis/transaction/templates/analysis_transaction.html', templateUrl: '/static/analysis/transaction/templates/analysis_transaction.html',
// controller: 'analysisTransactionCtrl' controller: 'analysisTransactionCtrl'
// }) }).state('analysis_transaction.gateway', {
$stateProvider.state('gateway', { url: '/gateway',
url: '/analysis/transaction/gateway',
templateUrl: '/static/dashboard/templates/dashboard_gateway.html', templateUrl: '/static/dashboard/templates/dashboard_gateway.html',
controller: 'gatewayTransCtrl' controller: 'gatewayTransCtrl'
}).state('amountlsAnalysis', { }).state('analysis_transaction.amountlsAnalysis', {
url: '/analysis/transaction/amountRangeAnalysis', url: '/amountRangeAnalysis',
templateUrl: '/static/analysis/templates/transaction_amount_Analysis.html', templateUrl: '/static/analysis/templates/transaction_amount_Analysis.html',
controller: 'transactionAmountCtrl' controller: 'transactionAmountCtrl'
}) })

@ -7,7 +7,7 @@
text-align: center; text-align: center;
} }
</style> </style>
<section class="content-header"> <section class="content-header" ng-if="dashboardPage">
<h1> <h1>
Gateway Analysis Gateway Analysis
</h1> </h1>

Loading…
Cancel
Save