Commit 95ab5840 authored by gary's avatar gary

1、添加vatpreview默认路由

parent d3db70e6
......@@ -562,9 +562,10 @@ var vatModule = angular.module('app.vat', ['ui.grid', 'ui.grid.selection', 'ui.g
url: '/previewData',
views: {
'@vat': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
controller: ['$scope', '$stateParams', 'appTranslation','$state',
function ($scope, $stateParams, appTranslation,$state) {
appTranslation.load([appTranslation.vat]);
$state.go('vat.previewData.trialBalance');
}],
template: '<vat-import-layout></vat-import-layout>',
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment