Commit d74fd13d authored by neo's avatar neo

[dev] hide import menu

parent 32f90781
......@@ -119,9 +119,8 @@ vatDongfengModule.controller('navBarController', ['$scope', '$rootScope', '$log'
if ($scope.type === 1) { //递延所得税
$('.vat-import-menu').show();
$scope.serviceTitle = $translate.instant('DeferrIncomeTitle');
$scope.menus = [{
name: '数据导入', num: 1, permission: '02.001', url: '#/vat/importData/balanceSheet', fileName: 'deferredTaxNEW.html' + '?_=' + Math.random()
},
$scope.menus = [
// { name: '数据导入', num: 1, permission: '02.001', url: '#/vat/importData/balanceSheet', fileName: 'deferredTaxNEW.html' + '?_=' + Math.random() },
{ name: '数据核算', num: 2, permission: '02.002', url: '#/vat/previewData/balanceSheet', fileName: 'deferredTaxNEWWorkingPaper.html' + '?_=' + Math.random() },
{ name: '数据分析', num: 3, permission: '02.003', url: '#/vat/previewData/balanceSheet', fileName: 'DFModleIndex.html' + '?_=' + Math.random() },
//{ name: '变动分析', num: 4, permission: '02.003', url: '#/vat/previewData/balanceSheet', fileName: 'DFModleIndex3.html' + '?_=' + Math.random() }
......
......@@ -33,7 +33,9 @@ function ($scope, $rootScope, $q, $log, $timeout, $state, $translate, projectSer
};
$rootScope.$on('$stateChangeStart', function (event, toState, toParams, fromState, fromParams, options) {
var mainMenu = ['vat.importData', 'vat.previewData', 'vat.reductionData', 'vat.analyzeLayout'];
var mainMenu = [
// 'vat.importData',
'vat.previewData', 'vat.reductionData', 'vat.analyzeLayout'];
if (vatSessionService.dataChanged) {
event.preventDefault();
SweetAlert.swal(msgboxOptions, function (isConfirm) {
......
This diff is collapsed.
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