Commit c8eabded authored by Mccoy Z Xia's avatar Mccoy Z Xia

去掉了一些web上的路由以及相关组件

parent ed160875
......@@ -5,7 +5,7 @@ var app = angular.module('app', ['ui.tree', 'ui.bootstrap', 'ui.bootstrap.tpls',
'ngRoute', 'ngCookies', 'ngSanitize', 'ct.ui.router.extras', 'chieffancypants.loadingBar', 'ngDraggable', 'ngFileUpload', 'LocalStorageModule', 'exceptionless',
'app.config', 'app.common', 'app.webservices', 'app.framework', 'app.vat', 'app.invoice', 'app.cit', "app.dataImport", 'app.assetsManage', 'app.taxDocumentManage','app.backlogManage',
'app.taxTaskManage', 'pasvaz.bindonce', 'app.vatDashboard', 'app.vatDongfeng', 'vs-repeat', 'ivh.treeview', 'angular-cache', 'app.cache', 'angularBootstrapNavTree',
'ngAnimate', 'cgNotify', 'dx', 'ngNumeraljs', 'app.noPermissionPage','app.dataImp','app.analysis', 'app.community'])
'ngAnimate', 'cgNotify', 'dx', 'ngNumeraljs', 'app.noPermissionPage','app.dataImp','app.analysis'])
//run blocks are executed after the injector is created and are the first
//methods that are executed in any Angular app.
.run(['$log', '$http', 'CacheFactory', 'userService', 'loginContext', '$rootScope', 'vatSessionService', '$q', function ($log, $http, CacheFactory, userService, loginContext, $rootScope, vatSessionService, $q) {
......
......@@ -407,27 +407,14 @@
"ManualMapping": "手动对应",
"ManufacturingIndustry": "制造业",
"MappingInvoice": "关联管理",
"MenuAMVAT": "资管增值税申报",
"MenuCIT": "企业所得税申报",
"MenuRecordManage": "档案管理",
"MenuBacklogManage": "事项管理",
"MenuAnalysis": "税务分析",
"MenuCashFlow": "税务现金流",
"MenuDeferredTax": "递延所得税",
"MenuIndexAnalytics": "税务指标分析",
"MenuInvoiceManagement": "进项发票管理",
"MenuOverview": "概览",
"MenuRND": "研发优惠解决方案",
"MenuRiskAlert": "税务风险预警",
"MenuStatistics": "数据统计",
"MenuTaxAnalysisPlatform": "税务分析平台",
"MenuTaxDocument": "税务档案管理",
"MenuTaxForecast": "利润预测",
"MenuTaxOperationManagement": "税务运营管理平台",
"MenuTaxPolicyManagement": "税务政策管理平台",
"MenuVAT": "增值税申报",
"MenuListApproval": "报表审批",
"TaxDocumentManagement": "档案管理",
"Calendar" : "Calendar",
"EntityManagement" : "Entity Management",
"Mid": "中",
"MobileManufacturingIndustry": "汽车制造业",
"ModelAlert": "模型异常",
......@@ -699,43 +686,6 @@
"TaskDetailEntity": "适用机构",
"TaskName": "事项名称",
"TaskUnit": "个",
"TaxAccumulativeAmortizationInCurrentYear": "截止本年年底的累计税法摊销金额",
"TaxAccumulativeAmortizationInLastYear": "截止去年年底的累计税法摊销金额",
"TaxAccumulativeDepreciationInLastYear": "截止去年年底的累计税法折旧金额",
"TaxAmortizationInCurrentYear": "本年度税法摊销金额",
"TaxAmortizationUsefulLife(m)": "税法允许摊销月份",
"TaxAmount": "税额",
"TaxAmountDashboard": "赋税额 Top 3",
"TaxAnnualAmountDashboard": "年度赋税总额",
"TaxAuditTitle": "税务稽查",
"TaxBurden": "税负",
"TaxBurdenAmountTop3Config": "赋税额Top3配置",
"TaxBurdenRatio": "税负率",
"TaxCashFlowAnalysis": "税务现金流分析",
"TaxCashFlowAnalysisConfigOTComparison": "预实对比",
"TaxCashFlowAnalysisConfigOTProportion": "返还比例",
"TaxCashFlowAnalysisConfigOTTitle": "税务现金流分析配置",
"TaxCategory": "税(费)种",
"TaxDeclaration": "税务申报",
"TaxDepreciationInCurrentYear": "本年度税法折旧额",
"TaxDepreciationUsefulLife(m)": "税法折旧月份",
"TaxDepreciationincurrentyear": "Tax Depreciation in current year",
"TaxDocumentManage": "税务档案管理",
"TaxForecast": "税务预算",
"TaxForecastResult": "税务预算结果",
"TaxForecastWorkingPaper": "税务预算底稿",
"TaxInspection": "税务自查",
"TaxPayment": "税负金额",
"TaxReturn": "纳税申报表",
"TaxReturnType": "纳税申报表",
"TaxTreatmentRecord": "特殊性税务处理备案",
"TaxType": "税种",
"TaxTypeName": "文档类型",
"TaxUsefullife(m)": "Tax Useful life(m)",
"TaxationAmountbytheendofcurrentperiod": "截止到当前月份赋税总额",
"TaxesSurcharges": "税金及附加",
"TaxforecastVersionA": "税务预算版本A",
"TaxforecastVersionB": "税务预算版本B",
"TemplateDesc": "模板",
"TemplateFormulaDesc": "公式",
"TemplateGroupDesc": "模板组",
......@@ -785,18 +735,6 @@
"UserProfile": "用户属性",
"UserRoleAccess": "用户权限设置",
"UserRoleDesc": "角色",
"VAT": "增值税",
"VATBudget": "增值税预算",
"VATIndex": "VAT Index",
"VATTaxableSales": "增值税应税销售额",
"VATType": "增值税",
"VATTypeDesc": "存在增值税税负率偏高, 未作进项税转出, 收入或视同销售未计提增值税的等税务风险",
"VATTypeDesc1": "存在增值税税负率偏高",
"VATTypeDesc2": "未作进项税转出",
"VATTypeDesc3": "收入或视同销售未计提增值税",
"VATTypeDescDetail1": "可能存在购进没有取得相应的进项发票,无法抵扣进项税额的情况",
"VATTypeDescDetail2": "企业用于内部福利的库存商品、原材料等,存在没有进项税额转出的情况",
"VATTypeDescDetail3": "可能存在增值税应税收入没有计提增值税的情况",
"ValidationException": "校验异常",
"VarianceAmount": "差异额",
"VehicleVesselTax": "车船税",
......@@ -858,73 +796,9 @@
"startsWith": "起始于",
"batchImport": "批处理",
"RecordSize": "记录条数",
"ExtractFile": "抽取类型",
"ExtractTaskId": "任务ID",
"TaxPayerIdNum": "纳税人识别号",
"ExtractDistribution": "抽取分发",
"Log":"日志",
"DataImportRecord":"数据导入记录",
"DataProcessingCheckRecord":"数据处理校验记录",
"BillingRecordAndRevenueTypeMappingConfiguration":"开票记录与收入类型映射配置",
"InputRollOutConfiguration":"进项转出配置",
"FinancialDataExtraction":"财务数据抽取",
"InvoiceDataExtraction":"发票数据抽取",
"ImportDistribution":"发票导入分发",
"FinancialImportDistribution":"财务导入分发",
"CitImportDistribution":"CIT导入分发",
"VATInvoiceRecord":"已开增值税发票记录",
"CertifiedInvoicesList":"已认证发票清单",
"RedLetterVATSpecialInvoiceInfo":"红字增值税专用发票信息表",
"InvoiceInformation":"发票资料",
"CoupaInvoiceReport":"Coupa发票报告",
"AdjustmentTable":"调整表",
"BalanceSheetPRC":"资产负债表PRC",
"IncomeStatementPRC":"利润表PRC",
"CashFlowStatement":"现金流量表",
"OwnerEquityChangeStatement":"所有者权益变动表",
"InvoiceStatistics":"发票统计资料",
"CITAdjustmentJournal":"CIT-调整日记账",
"CITTrialBalance":"CIT-试算平衡表",
"CITDocumentSubjectMappingTable":"CIT-底稿科目Mapping",
"CITBalanceSheetPRC":"CIT-资产负债表(单家PRC)",
"CITProfitStatementPRC":"CIT-利润表(单家PRC)",
"CITEAMAssetDisposalAmountRecord":"CIT-EAM处置金额记录表",
"CITPreClassifiedDataSource":"CIT-预提重分类数据源",
"Configuration":"配置",
"RevenueTypeConfiguration":"收入类型配置",
"DataImport":"数据导入",
"Form":"表格",
"DomesticDataImport":"国内数据",
"InternationalDataImport":"国际税数据",
"TBEBITForm":"TP EBIT 表格",
"ClickEnsureTip": "请点击确定按钮!",
"MenuUnreturnedTax": "税负分析",
"MenuTaxComparison": "返还情况",
"MenuCostAnalysis": "费用分析",
"MenuProfitAndLoss": "利润分析",
"MenuOtherDomesticData": "个税分析",
"MenuDocSituation": "档案归档情况",
"MenuGlobalOverview": "全球概览",
"MenuMexicanTax": "墨西哥税务分析",
"MenuAustralianTax": "澳洲税务分析",
"MenuBrazilianTax": "巴西税务分析",
"MenuOtherCountries": "其他国家税务分析",
"MenuDashboard": "Dashboard",
"ApproveCommitted":"审核中",
"ApproveAgreed":"通过",
"ApproveDisAgreed":"驳回",
"ApproveProjectName":"项目名称",
"ApprovePeriod":"期间",
"ApproveCommiteUser":"提审人",
"ApproveUser":"审批人",
"ApproveStatus":"提审状态",
"ApproveComment":"审批意见",
"ApproveStratTime":"提审时间",
"ApproveEndTime":"审批时间",
"ApproveTaskList":"审批列表",
"ApproveRole":"审批角色",
"true": "是",
"false": "否",
......@@ -937,8 +811,7 @@
"Interaction module" : "交互模块",
"Calendar" : "Calendar",
"EntityManagement" : "Entity Management",
"~MustBeEndOneApp": "I Must be the End One, please!"
}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="106px" height="106px" viewBox="0 0 106 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49.1 (51147) - http://www.bohemiancoding.com/sketch -->
<title>进入</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页2" transform="translate(-187.000000, -512.000000)">
<g id="进入" transform="translate(187.000000, 512.000000)">
<circle id="Oval" stroke="#FF7E41" stroke-width="3.5" cx="53" cy="53" r="51.25"></circle>
<polygon id="Page-1" fill="#919191" points="49.766681 45 48 46.9497728 54.5414921 52.8770275 48 58.8042822 49.766681 60.7540549 58.46 52.8770275"></polygon>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="12px" height="15px" viewBox="0 0 12 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
<title>Triangle</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="p2" transform="translate(-1723.000000, -165.000000)" fill="#333333">
<polygon id="Triangle" transform="translate(1728.901784, 172.500000) rotate(90.000000) translate(-1728.901784, -172.500000) " points="1728.64 166.598216 1736.40178 178.401784 1721.40178 178.401784"></polygon>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -742,10 +742,17 @@ constant.adminPermission = {
queryCode: '01.001.012'
},
financialData: {
queryCode: '01.001.013'
// 企业账套
entityManagement: {
// 查看
queryCode: '01.001.014',
// 添加
addCode: '01.001.015',
// 维护
editCode: '01.001.016'
},
// 企业账套
enterpriseAccountSet: {
// 查看
......@@ -821,56 +828,11 @@ constant.adminPermission = {
},
},
systemConfiguration: {
//报表配置
declarationFormConfigurationCode: '01.003.002',
declarationFormConfiguration: {
queryCode: '01.003.002.001',
addCode: '01.003.002.002',
editCode: '01.003.002.003'
},
//分析模型配置
modelConfiguration: {
queryCode: '01.003.003.001',
editCode: '01.003.003.002',
maintainCustomCode: '01.003.003.003',
maintainModelTreeCode: '01.003.003.004'
},
// 科目对应
subjectCorresponding: {
queryCode: '01.003.001.001',
editCode: '01.003.001.002',
},
ruleEnginee: {
viewRatePayer: '01.004.001.001',
defaultRatePayerAction: '01.004.001.002',
specialRatePayerAction: '01.004.001.003',
//地方税
LocalTax: '01.004.002',
//地方税-城市建设
viewCityBuilding: '01.004.002.001.001',
defaultCityBuildingAction: '01.004.002.001.002',
specialCityBuildingAction: '01.004.002.001.003',
//地方教育
viewLocalEducation: '01.004.002.002.001',
defaultLocalEducationAction: '01.004.002.002.002',
specialLocalEducationAction: '01.004.002.002.003',
//教育费附加税
viewEducationAttach: '01.004.002.003.001',
defaultEducationAttachAction: '01.004.002.003.002',
specialEducationAttachAction: '01.004.002.003.003',
//印花税
viewStampTax: '01.004.002.004.001',
defaultStampTaxAction: '01.004.002.004.002',
specialStampTaxAction: '01.004.002.004.003',
//水利基金
viewWaterFund: '01.004.002.005.001',
defaultWaterFundAction: '01.004.002.005.002',
specialWaterFundAction: '01.004.002.005.003'
},
keyValueConfig: {
viewKey: '01.003.004.001',
keyAction: '01.003.004.002'
calendarSetting: {
queryCode: '01.003.004.001',
addCode: '01.003.004.002',
editCode: '01.003.004.003'
}
}
};
......
<div id="app-approve" class="app-overview ">
<div class="app-overview-left">
<div class="group-operate-icon" style="margin-bottom: 5px;">
<span class="operate-icon left-first" title="机构" ng-click="dimensionOrgShow('','orgName')"><i
class="fa fa-sitemap fa-2x orgName" aria-hidden="true"></i></span>
</div>
<perfect-scrollbar class="scroller" wheel-propagation="true" wheel-speed="1" min-scrollbar-length="20">
<div ui-tree data-drag-enabled="false">
<ul ui-tree-nodes="" ng-model="orgData">
<li ng-repeat="item in orgData track by $index" ui-tree-node ng-include="'tree_view_template'">
</li>
</ul>
</div>
</perfect-scrollbar>
</div>
<div class="app-overview-right">
<div class="row" style="margin:20px; display:none;">
<div class="col-lg-2 col-md-2 col-sm-2">
<span class="textLabelHeader" translate="TotalProjectRecords"></span> <span class="textLabelHeader">{{queryResults.length}}</span>
<span translate="NumberOfTaskes"></span>
</div>
<div class="col-lg-8 col-md-8 col-sm-8">
<span translate="CurrentlyInProgress" class=""> </span> <i
class="badge progressNumberBadges marginRight10">3</i>
<span translate="AlreadyCompleted" class=""> </span> <i
class="badge progressNumberBadges marginRight10">4</i>
<span translate="NotYetStart" class=""> </span> <i
class="badge progressNumberBadges marginRight10 ">5</i>
</div>
<div class="col-lg-2 col-md-2 col-sm-2">
<div id="app-workflow-action-panel" class="pull-right">
<i class="fa fa-calendar red-color" style="font-size:20px;"></i>
<input type="text" class="datepicker"
style="border-width: 0; outline: none; width: 100px; cursor: pointer; z-index: 1000"
readonly="readonly"/>
<i class="fa fa-caret-down red-color" style="font-size:10px;"></i>
</div>
</div>
</div>
<div style="display:none;">
<span translate="AssignmentsList" class="textLabelHeader"></span>
<hr/>
</div>
<div class="new-right-header">
<div class="head-row">
<span class="total-projects">{{'MenuListApproval' | translate}}</span>
</div>
<div class="project-staus">
<span style="padding-right: 10px;" class="result-style">{{projectMsg}}</span>
<span style="padding-right:10px;">{{'ApproveCommitted' | translate}}</span><span class="num-style">{{ongoingNum}}</span>
<span style="padding-right:10px;padding-left:20px;">{{'ApproveAgreed' | translate}}</span><span
class="num-style">{{completedNum}}</span>
<span style="padding-right:10px;padding-left:20px;">{{'ApproveDisAgreed' | translate}}</span><span
class="num-style">{{notBeginNum}}</span>
<span style="padding-right:10px;padding-left:20px;display: none"><a ng-click="startApprove()">StartApprovalDeploy </a></span>
</div>
<div class="task-list">
<span class="taskMsg" ng-show="serviceTypeId !=='12'">{{'ApproveTaskList' | translate}}</span>
</div>
</div>
<div class="new-right-body">
<div class="right-header">
<div class="overview-picker">
<input type="text" id="overviewDatepicker" class="datepicker vat-subheader" style="width:120px;"
readonly="readonly"/>
<i class="fa fa-calendar vat-subheader red-color" style="width:20px;"></i>
</div>
<span class="clear"></span>
</div>
<div id ="approveGridContainer" dx-data-grid="gridOptions" dx-item-alias="approval">
<div data-options="dxTemplate: {name: 'detail'}">
<div class="internal-grid-container">
<div dx-data-grid="gridOptions.detailGridOptions(approval.data)"></div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
frameworkModule.directive('appApprove', ['$log', 'region', 'enums',
function ($log, region, enums) {
'use strict';
$log.debug('appOverview.ctor()...');
return {
restrict: 'E',
templateUrl: '/app/framework/app-approve/app-approve.html' + '?_=' + Math.random(),
replace: true,
scope: {
servicetypeid : '='
},
controller: 'appApproveController',
link: function ($scope, $element, $attr) {
var ele = $(".datepicker");
ele.datepicker({
startDate: $scope.startDate,
endDate: $scope.endDate,
language: region,
viewMode: 1,
minViewMode: 1,
autoclose: true,//选中之后自动隐藏日期选择框
clearBtn: false,//清除按钮
todayBtn: false,//今日按钮
format: $scope.dateFormat//日期格式,详见 http://bootstrap-datepicker.readthedocs.org/en/release/options.html#format
}).on('changeDate', function (e) {
$scope.changeDate(e);
});
ele.datepicker("setDate", $scope.selectedDate);
$scope.elePicker = ele;
}
};
}
]);
\ No newline at end of file
#approveGridContainer {
height: 420px;
margin-left: 20px;
margin-right: 50px;
}
\ No newline at end of file

frameworkModule.directive('communityLayout', ['$log', 'region', 'enums',
function ($log, region, enums) {
'use strict';
$log.debug('community-layout.ctor()...');
return {
restrict: 'E',
templateUrl: '/app/framework/app-community-layout/community-layout.html' + '?_=' + Math.random(),
replace: true,
scope: {},
controller: 'CommunityLayoutController',
link: function ($scope, $element, $attr) {
}
};
}
]);
\ No newline at end of file
@import "~/../../../../app-resources/css/admin-theme.less";
.homepage-video .mask-one {
background: rgba(0, 0, 0, .2);
}
.mask-box {
-webkit-transition: all 0ms ease;
-o-transition: 0ms all ease;
transition: all 0ms ease;
-webkit-transition-duration: 0ms;
-o-transition-duration: 0ms;
transition-duration: 0ms;
position: absolute;
left: 55%;
top: 77%;
width: 23.4%;
height: -23px;
padding: 23.4% 0 0;
border-radius: 63%;
margin-left: -17.57%;
margin-top: -17.57%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #fff;
}
.zindx3 {
z-index: 3;
}
.sub-title {
font-size: 26px;
font-weight: 300;
letter-spacing: 1.2px;
margin-top: 6px;
}
.isPc{
position: absolute;
top: 58px;
right: -35%;
cursor: pointer;
}
._taxshare{
font-size: 30px;
color: black;
}
.shareRow{
text-align: center;
}
.share_content{
height: 80%;
}
.content_header{
height: 15%;
}
.content_content{
height: 70%;
}
.content_footer {
height: 15%;
}
.content_100{
height: 100%;
}
.new_content ul li{
font-size: 20px;
color:#ccc;
list-style: none;
margin-bottom: 12%;
}
.new_content ul li div{
font-size: 12px;
line-height: 1.61;
}
.cl, .clearfix {
zoom: 1;
}
.fl{
float: left;
}
.new_content ul li div span{
color: #666;
letter-spacing: 1px;
}
.new_content ul{
float: left;
position: relative;
display: block;
top: 0px;
left: -36px;
list-style-type: disc;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
padding-inline-start: 40px;
width: 400px;
}
.content_import{
font-size: 30px!important;
color: #333;
word-break: break-all;
}
.timer {
font-size:20px;
}
.new_header{
font-size: 31px;
color: black;
}
.new_content {
height: 75%;
}
#didichuxing {
width: 540px;
border-radius: 27x;
/* margin-left: 163px; */
border-radius: 270px;
position: relative;
top: -30px;
}
.font-clamp{
font-size: 18px;
}
.cl a{
font-size: 16px;
position: relative;
float: right;
top: -3px;
color: #ff7f41;
}
.section.fullwidth .parsys.sectionpar{
width: 100%;
padding: 0;
}
.hero-title-textpanel h1{color:#fff;margin:0 0 10px;font-weight:bold}
.hero-title-textpanel h1,.hero-title-textpanel p{font-style:normal}
.hero-title-textpanel--level1 h1{font-size:2.8125rem;line-height:1.3em;font-weight:300 !important;font-family:"PwC ITC Charter",Georgia,Serif}
.hero-title-textpanel--level1 p{font-size:1.125rem;font-weight:300;line-height:1.5em;font-family:"PwC Helvetica Neue",Arial,Sans-Serif}
.hero-title-textpanel--level2 h1{line-height:1.3em !important;font-size:3.375rem !important;font-weight:300 !important;font-family:"PwC ITC Charter",Georgia,Serif}
.hero-title-textpanel--level2 p{line-height:1.5em !important;font-family:"PwC Helvetica Neue",Arial,Sans-Serif}
.hero-title-textpanel--level2 p.sub-heading{font-weight:bold !important;font-size:1.25rem !important}
.hero-title-textpanel--level2 p.lead{line-height:1.5em !important;font-size:1.425rem !important}
.hero-title-textpanel--compaign{min-height:539px !important}
.hero-title-textpanel--compaign h1{line-height:1.3em !important;font-size:2.5rem !important;font-family:"PwC ITC Charter",Georgia,Serif;margin:0 !important}
.hero-title-textpanel--compaign p{font-family:"PwC Helvetica Neue",Arial,Sans-Serif}
.hero-title-textpanel--compaign p.sub-heading{line-height:1.5em !important;font-size:1.25rem !important;font-weight:bold !important;margin:0 !important}
.hero-title-textpanel--compaign p.lead{font-size:1.125rem !important;font-weight:normal !important;margin:0 !important}
.hero-title-textpanel--compaign .compaign-hlight__inner{background:#2d2d2d;-webkit-box-shadow:15px 0 0 #2d2d2d,-15px 0 0 #2d2d2d;box-shadow:15px 0 0 #2d2d2d,-15px 0 0 #2d2d2d;line-height:1.3em;padding-top:4px;padding-bottom:12px;box-decoration-break:clone;-webkit-box-decoration-break:clone;-ms-box-decoration-break:clone}
.hero-title-textpanel--compaign .dpe-component-wrapper.collection-staricon{background:#2d2d2d;-webkit-box-shadow:6px 0 0 #2d2d2d,-15px 0 0 #2d2d2d;box-shadow:6px 0 0 #2d2d2d,-15px 0 0 #2d2d2d;line-height:1.8;padding-top:9px;padding-bottom:11px;margin-top:10px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.hero-title-textpanel--compaign .textColumn,.hero-title-textpanel--compaign .hero-title-textpanel{background:transparent !important}
@media(max-width:767px){.hero-title-textpanel--compaign{min-height:auto !important;margin-top:100px}
}
.hero-title-component .hero-title>.container>.row.hero-title-row--compaign::after{background:0}
.page-dir--rtl .hero-title .container .row{direction:rtl}
.page-dir--rtl .hero-title .container .row .col-sm-8{float:right}
.page-dir--rtl .hero-title-textpanel--compaign .dpe-component-wrapper.collection-staricon{background:#2d2d2d;-webkit-box-shadow:15px 0 0 #2d2d2d,-6px 0 0 #2d2d2d;box-shadow:15px 0 0 #2d2d2d,-6px 0 0 #2d2d2d;line-height:1.8;padding-top:9px;padding-bottom:11px;margin-top:10px}
.hero-title-textpanel{background:#2d2d2d;margin:0;padding:0}
.hero-title-textpanel h1{color:#fff;margin:0 0 10px;font-weight:400}
.hero-title-textpanel p{color:#fff}
.hero-title-textpanel p:last-child{margin-bottom:0}
.hero-title-textpanel p.sub-heading{font-weight:700}
@media(max-width:767px){.hero-title .hero-title-textpanel{margin-top:40px;margin-right:0;margin-left:-15px;padding:30px}
.page-dir--rtl .hero-title .hero-title-textpanel{margin-right:-15px;margin-left:0}
.hero-title-textpanel h1{font-size:2.33rem;line-height:1.3}
.hero-title-textpanel p.sub-heading{font-size:1.33rem;font-weight:700;line-height:1.5}
.hero-title-textpanel p.lead{font-size:1.166rem;font-weight:400;line-height:1.5}
}
@media(min-width:768px){body .hero-title-component .hero-title{background:transparent;display:-webkit-box;display:-ms-flexbox;display:flex;height:500px;max-height:1000px}
.hero-title-component .hero-title>.container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
.hero-title-component .hero-title>.container>.row{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}
.hero-title-component .hero-title>.container>.row:after{content:'';display:block;background:#2d2d2d;height:100%;left:-50vw;/*width:50vw;*/position:absolute}
.page-dir--rtl .hero-title-component .hero-title>.container>.row:after{left:100%}
.hero-title-component .hero-title .textColumn{background:#2d2d2d;position:relative;z-index:100;/*width:66.66%*/ width: 62.66%; left: -27%;}
.hero-title-textpanel{background:#2d2d2d;margin:0;padding:40px 30px 50px 0}
.page-dir--rtl .hero-title-textpanel{padding-right:15px;padding-left:40px}
.hero-title-textpanel h1{color:#fff;font-size:2.714rem;line-height:1.3}
.hero-title-component--lg-h1 .hero-title-textpanel h1{font-size:3.214rem}
.hero-title-component--colour-h1 .hero-title-textpanel h1,body .hero-title-component.hero-title-component--colour-h1 .hero-title-textpanel h1{color:#fff}
.hero-title-textpanel p.sub-heading{font-size:1.429rem;line-height:1.5}
.hero-title-textpanel p.lead{font-size:1.285rem;line-height:1.5}
}
.shuijie_footer{
height: 170px;
background: #833836;
text-align: center;
}
.shuijie_font{
}
.shuijie_col1{
background: url(/app-resources/images/community/_index/tax-icon.jpg) no-repeat;
height: 165px;
position: relative;
left: 15px;
top: 5px;
}
.shuijie_col2{
height: 156px;
position: absolute;
right: 0px;
bottom: 0px;
}
.textColumn{
font-family: Microsoft YaHei New, Microsoft Yahei, 微软雅黑, 宋体, SimSun, STXihei, "华文细黑", Georgia, "Times New Roman";
}
.guojishuizhi{
position: absolute;
right: 0px;
bottom: 100px;
right: 70px;
}
.side-menu-title{
font-size:17px;
}
\ No newline at end of file
frameworkModule
.controller('appDataImportController', ['$scope','$log', 'SweetAlert', '$translate', 'menuService', '$timeout', 'userService', 'loginContext', 'Upload', 'apiInterceptor','$state',
function ($scope,$log, SweetAlert, $translate, menuService, $timeout, userService, loginContext, Upload, apiInterceptor,$state) {
'use strict';
$log.debug('appDataImportController.ctor()...');
$scope.toggleMenu = function () {
$rootScope.$broadcast(enums.adminEvent.layoutChanged);
};
userService.getUserPermission(loginContext.userName).success(function (data) {
$timeout(function () {
menuService.getMenusForDisplay(3, loginContext.userId).success(function (menuData) {
$scope.menuData = menuData;
});
}, 500);
});
$scope.loginUser = loginContext.userName;
$scope.specialUser = $scope.loginUser.toLowerCase();
$scope.logout = function () {
$window.location.href = '/Account/Logout';
};
$scope.convertTo2BitNumber = function (number) {
var str = "" + number;
var pad = "00";
return pad.substring(0, pad.length - str.length) + str;
};
(function initialize() {
$('#_data-import-contents').empty();
$log.debug('appSideBarController.initialize()...');
})();
}
]);
<div id="app-data-import" class="app-data-import ">
<nav class="navbar navbar-custom" style=" width: 300px!important;" role="navigation"
style="margin-bottom: 0; border-radius: 0px; height: 100%;width: 300px">
<div class="sidebar navbarfix" role="navigation" style="height: 100%;">
<div class="sidebar-nav navbar-collapse" id="sidebar-area" >
<div class="app-data-import-side-bar" style="height: 100%">
<perfect-scrollbar class="scroller"
wheel-propagation="true"
wheel-speed="1"
min-scrollbar-length="20"
style="position: relative;height: calc(100% - 50px)!important;width: 300px;">
<ul class="nav" id="sidebar">
<li ng-repeat="menuItem in menuData" ng-include="'menuTree'">
</li>
</ul>
</perfect-scrollbar>
</div>
<script type="text/ng-template" id="menuTree">
<a class="dropdown-collapse" href="{{::menuItem.navigationUrl}}" title="{{::menuItem.name}}"
ng-if="menuItem.isVisible">
<div class="menu-number number-toggler">
<i class="material-icons menu-icons" ng-if="isMenuClosed"
ng-bind-template="{{::menuItem.iconClassName || menu}}"></i>
<i class="material-icons menu-icons" ng-if="!isMenuClosed && !menuItem.parentID"
ng-bind-template="{{::menuItem.iconClassName || menu}}"></i>
<span ng-if="menuItem.parentID"
style="visibility:hidden">{{::convertTo2BitNumber($index + 1)}}</span>
</div>
<span class="side-menu-title">{{menuItem.name | translate}}</span>
<span class="fa arrow custom-arrow"
ng-hide="menuItem.parentID||menuItem.navigationUrl!==''"></span>
</a>
<ul class="nav collapse" ng-if="menuItem.subMenus">
<li ng-repeat="menuItem in menuItem.subMenus" ng-include="'menuTree'"></li>
</ul>
</script>
</div>
</div>
</nav>
<!--<div class="data-import-wrapper">
<div class="data-import-content" ui-view="importContent"></div>
</div>-->
</div>
frameworkModule.directive('appDataImport', ['$log',
function ($log) {
'use strict';
$log.debug('appDataImport.ctor()...');
console.log('appDataImportctor');
return {
restrict: 'E',
templateUrl: '/app/framework/app-data-import/app-data-import.html' + '?_=' + Math.random(),
replace: true,
scope: {
},
controller: 'appDataImportController',
link: function (scope, element, attr) {
$('.nav-element-left a').removeClass('active');
$('.main-contents')[0].style.width = "265px";
$('.main-contents')[0].style.float = "left";
$('.main-contents')[0].style.styleFloat = "left";
$('.main-contents')[0].style.cssFloat = "left";
scope.isMenuClosed = false;
var superiorMenuActiveClass = 'superior-menu-active';
//Top Toggler
var handleSidebarToggler = function () {
var body = $('body');
// handle sidebar show/hide
body.on('click', '.sidebar-toggler', function () {
var sidebarMenuSubs = $('#sidebar .nav-second-level, #sidebar .nav-third-level');
var sidebarPageClass = 'page-sidebar-minified';
//collapse("toggle")
$("#sidebar-area .dropdown-collapse").parent("li").children("ul").css('height', '');
$(".sidebar-search", $('.page-sidebar')).removeClass("open");
if (body.hasClass("sidebar-closed")) {
body.removeClass("sidebar-closed");
scope.isMenuClosed = false;
//代码意图:控制右侧 page-wrapper 宽度以适应菜单栏的变化
$("div.admin-wrapper > div.page-wrapper").removeClass(sidebarPageClass);
sidebarMenuSubs.addClass('collapse');
if ($.cookie) {
$.cookie('sidebar-closed', '0');
}
} else {
body.addClass("sidebar-closed");
scope.isMenuClosed = true;
$("div.admin-wrapper > div.page-wrapper").addClass(sidebarPageClass);
if ($.cookie) {
$.cookie('sidebar-closed', '1');
}
}
$(window).trigger('resize');
});
};
//IE Checker
var isIE = function () {
var undef,
v = 3,
div = document.createElement("div"),
all = div.getElementsByTagName("i");
while (
div.innerHTML = "<!--[if gt IE " + (++v) + "]><i></i><![endif]-->",
all[0]
) {
return v > 4 ? v : undef;
}
};
//side menu toggle (init)
if (isIE() <= 9) {
$('#sidebar').find("li.active").has("ul").children("ul").collapse("show");
$('#sidebar').find("li").not(".active").has("ul").children("ul").collapse("hide");
} else {
$('#sidebar').find("li.active").has("ul").children("ul").addClass("collapse in");
$('#sidebar').find("li").not(".active").has("ul").children("ul").addClass("collapse");
}
//side menu toggle (setting)
$("body").on("click", "#sidebar-area .dropdown-collapse,#sidebar-area a", function () {
var currentClass = $(this).attr('class');
var len = $(this).siblings('ul').children('li').length;
$("#sidebar-area a").removeClass("active");
if (currentClass.indexOf('active') >= 0) {
$(this).removeClass('active');
} else {
$(this).addClass('active');
}
if (len > 0) {
$(this).removeClass('active');
}
$(this).parent("li").children("ul").collapse("toggle");
$(this).children(".fa.arrow").toggleClass('active-arrow');
});
$("body").on({
click: function () {
$(this).children(".logout").children("div").toggle();
}
}, ".profile-name");
handleSidebarToggler();
var width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
if ($.cookie && $.cookie('sidebar-closed') === '1' && !$('body').hasClass("sidebar-closed") && width >= 768) {
$('body').addClass("sidebar-closed");
}
var url = window.location;
var element = $('ul.nav a').filter(function () {
return this.href === url;
}).addClass('active').parent().parent().addClass('in').parent();
if (element.is('li')) {
element.addClass('active');
}
scope.showChangePassword = function () {
$("#changePasswordModal").modal('show');
}
}
};
}
]);
\ No newline at end of file
@import "~/app-resources/css/admin-theme.less";
.data-import-contents {
margin-left: 260px;
background-color: white;
height: 100%;
margin-top: -35px;
}
.main-content{
height: 100%;
}
.side-menu-title {
margin-left: 6px;
color: black;
font-weight: bold;
}
.dropdown-collapse{
padding: 0 6px;
}
.nav > li > a.active{
font-weight: bold;
background-color: #a32020 !important;
text-decoration: none;
}
.nav > li{
display: table;
height: 50px;
list-style: none;
border-bottom: 1px solid #ccc;
position: relative;
vertical-align: middle;
width: 100%;
}
.nav > li > a.active span{
color: #fff;
}
.menu-icons {
color: black !important;
}
.data-import-wrapper {
margin-left: 260px;
background-color: white;
height: 100%;
}
.data-import-wrapper .data-import-content {
height: 100%;
}
.ps-scrollbar-y-rail {
z-index: 9999;
background-color: transparent !important;
}
.ps-scrollbar-y {
background-color: #aaa !important;
}
.app-data-import {
height: 101%;
width: 100%;
background-color: #f2f2f2;
//padding: 0px 15% 0px 5%;
/*.center-title {
height: 20%;
text-align: center;
font-family: 'Microsoft YaHei Bold', 'Microsoft YaHei Regular', 'Microsoft YaHei';
padding: 5%;
}
.import-title {
font-size: 14px;
margin: 0 auto;
margin-top: 20px;
margin-bottom: 10px;
}*/
.navbar-custom-button{
cursor: pointer;
float: right;
padding: 0px 5px;
color: #ffffff;
}
.second-menu-wrapper {
.second-menu {
display: inline-block;
padding: 30px;
text-align: center;
vertical-align: middle;
max-width: 600px;
i {
font-size: 26px;
color: @color-orange4;
}
a {
text-decoration: none;
color: black;
}
.circle {
height: 50px;
width: 50px;
border-radius: 50%;
padding: 12px;
display: inline-block;
background-color: white;
margin-bottom: 20px;
}
}
}
.modal-footer {
padding-left: 104px;
}
.app-data-import-side-bar {
//padding: 10px 0px 0px;
/* margin: auto; */
height: 100%;
min-height: 594px;
/*background-image:url(../../app-resources/images/login-user-below.png);
background-repeat:no-repeat;
-moz-background-size:100% 100%;
filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
background-size:255px 100%; */
.active {
background-color: @color-light-gray-f2;
}
.first-module {
width: 32%;
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 40px;
.menu-wrapper {
.img {
padding: 10px;
}
}
}
/* .menu-width{
width: 160px;
}*/
.popover.bottom > .arrow:after {
border-bottom-color: @color-light-gray-e4;
}
.popover {
background-color: @color-light-gray-e4;
}
a {
text-decoration: none;
b {
color: #ffffff;
}
}
}
#importBasicData {
z-index:9999;
label {
font-weight: normal;
width: 103px;
}
.col-sm-3, .col-sm-6 {
padding-left: 0px;
}
.form-group {
margin-left: -16px;
}
.import-result {
overflow: auto;
max-height: 240px;
font-size: 13px;
word-wrap: normal;
white-space: nowrap;
text-align: left;
line-height: 25px;
border: 1px solid #d4d4d4;
border-radius: 5px;
}
.glyphicon.spinning {
animation: spin 1s infinite linear;
-webkit-animation: spin2 1s infinite linear;
}
.import-progress {
margin-left: 30px;
vertical-align: middle;
font-size:26px;
}
@keyframes spin {
from {
transform: scale(1) rotate(0deg);
}
to {
transform: scale(1) rotate(360deg);
}
}
@-webkit-keyframes spin2 {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
}
}
......@@ -128,14 +128,17 @@ frameworkModule.controller('AppNavController', ['$rootScope', '$scope', '$log',
$scope.adminSettingShow = data[constant.adminPermission.WebAdmin];
$scope.vatShow = data[constant.vatPermission.code];
$scope.menuRecordManageShow = data[constant.menuRecordManagePermission.code];
$scope.menuBacklogManageShow = true;
$scope.menuListApprovalShow = data[constant.menuListApprovalPermission.code];
$scope.batchImportShow = data[constant.batchImportPermisson.batchImportPermissonCode];
$scope.menuCalendarShow = true;
$scope.menuEntityManagementShow = true;
//税享权限
$scope.InteractionShow = data[constant.InteractionPermission.code];
// $scope.vatShow = data[constant.vatPermission.code];
// $scope.menuRecordManageShow = data[constant.menuRecordManagePermission.code];
// $scope.menuListApprovalShow = data[constant.menuListApprovalPermission.code];
// $scope.batchImportShow = data[constant.batchImportPermisson.batchImportPermissonCode];
// //税享权限
// $scope.InteractionShow = data[constant.InteractionPermission.code];
});
......
......@@ -3,7 +3,7 @@
<div class="nav-element-left" style="width:250px;text-align:left;font-size:17px;">
<!--<i class="fa fa-bullseye" style="color:red;font-size:22px;margin-right:10px"></i>-->
<img src="app-resources/images/didi-icon.svg" style="height: 50px;margin-bottom:5px;weight:60px"/> <!---->
<span style="font-weight:bold;">DIDI TAX SYSTEM</span>
<span style="font-weight:bold;">Entity Info Database</span>
</div>
<!--<div class="nav-element-left">
<a ui-sref="summary">
......@@ -16,54 +16,56 @@
<!--<span class="nav-icon-color">{{'MenuTaxPolicyManagement' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<div class="nav-element-left">
<a ui-sref="overviewVat" hover-show="first" ng-if="calendarShow">
<span class="nav-icon-color">{{'Calendar' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="entityManagementShow">
<a ui-sref="overviewCit">
<span class="nav-icon-color">{{'EntityManagement' | translate}}</span>
</a>
</div>
<div class="nav-element-left">
<a ui-sref="overviewVat" hover-show="first" ng-if="vatShow">
<span class="nav-icon-color">{{'MenuVAT' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="citShow">
<a ui-sref="overviewCit">
<span class="nav-icon-color">{{'MenuCIT' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="menuRecordManageShow">
<a ui-sref="taxDocumentManage">
<span class="nav-icon-color">{{'MenuRecordManage' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="menuBacklogManageShow">
<div class="nav-element-left" hover-show="first" ng-if="menuBacklogManageShow">
<a ui-sref="backlogManage">
<span class="nav-icon-color">{{'MenuBacklogManage' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="analysisShow">
<a ui-sref="overviewAnalysis">
<span class="nav-icon-color">{{'MenuAnalysis' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="menuListApprovalShow">
<a ui-sref="listApproval">
<span class="nav-icon-color">{{'MenuListApproval' | translate}}</span>
<div class="nav-element-left">
<a ui-sref="CalendarView" ng-if="menuCalendarShow">
<span class="nav-icon-color">{{'Calendar' | translate}}</span>
</a>
</div>
<div class="nav-element-left" ng-if="InteractionShow">
<a ui-sref="commounity">
<span class="nav-icon-color">{{'Interaction module' | translate}}</span>
<div class="nav-element-left" ng-if="menuEntityManagementShow">
<a ui-sref="entityManagement">
<span class="nav-icon-color">{{'MenuEntityManagement' | translate}}</span>
</a>
</div>
<!-- <div class="nav-element-left">-->
<!-- <a ui-sref="overviewVat" hover-show="first" ng-if="vatShow">-->
<!-- <span class="nav-icon-color">{{'MenuVAT' | translate}}</span>-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="nav-element-left" ng-if="citShow">-->
<!-- <a ui-sref="overviewCit">-->
<!-- <span class="nav-icon-color">{{'MenuCIT' | translate}}</span>-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="nav-element-left" ng-if="menuRecordManageShow">-->
<!-- <a ui-sref="taxDocumentManage">-->
<!-- <span class="nav-icon-color">{{'MenuRecordManage' | translate}}</span>-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="nav-element-left" ng-if="analysisShow">-->
<!-- <a ui-sref="overviewAnalysis">-->
<!-- <span class="nav-icon-color">{{'MenuAnalysis' | translate}}</span>-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="nav-element-left" ng-if="menuListApprovalShow">-->
<!-- <a ui-sref="listApproval">-->
<!-- <span class="nav-icon-color">{{'MenuListApproval' | translate}}</span>-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="nav-element-left" ng-if="InteractionShow">-->
<!-- <a ui-sref="commounity">-->
<!-- <span class="nav-icon-color">{{'Interaction module' | translate}}</span>-->
<!-- </a>-->
<!-- </div>-->
<!--<div class="nav-element-left">-->
<!--<a ui-sref="summaryDashboard" hover-show="second">-->
<!--<span class="nav-icon-color">{{'MenuTaxAnalysisPlatform' | translate}}</span>-->
......@@ -130,80 +132,28 @@
<div class="clear"></div>
</div>
<!--<div class="nav-sub-container first">-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" ui-sref="invoiceManagement.main" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuInvoiceManagement' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuInvoiceManagement' | translate}}</span>-->
<!--</a>-->
<!---->
<!--</div>-->
<div class="nav-sub-container first">
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" ui-sref="outputInvoiceManage.imported" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'OutMenuInvoiceManagement' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'OutMenuInvoiceManagement' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" ui-sref="overviewVat" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuVAT' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuVAT' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" ui-sref="overviewAssetsManage">-->
<!--<span class="nav-sub-icon-color">{{'MenuAMVAT' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--&lt;!&ndash; ng-if="hasQuerySummaryDashboardCode" &ndash;&gt;-->
<!--<a ui-sref-active="active" ui-sref="overviewCit" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuCIT' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuCIT' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" ui-sref="IncomeTax" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuDeferredTax' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuDeferredTax' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" ui-sref="CashFlow" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuCashFlow' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuCashFlow' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" href="app/df/rd/%E4%B8%BB%E9%A1%B5_-_%E5%8A%A0%E8%AE%A1%E6%89%A3%E9%99%A4.html" target="_blank" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuRND' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'MenuRND' | translate}}</span>-->
<!--</a>-->
<!--</div>-->
<!--<div class="element-left">-->
<!--<a ui-sref-active="active" href="{{::tpUrl}}" target="_blank" ng-if="specialUser!=='simon'">-->
<!--<span class="nav-sub-icon-color">{{'TpRpt' | translate}}</span>-->
<!--</a>-->
<!--<a ng-if="specialUser==='simon'">-->
<!--<span class="nav-sub-icon-color">{{'TpRpt' | translate}}</span>-->
<!--</div>-->
<!--</div>-->
<div class="element-left">
<a ui-sref-active="active" ui-sref="invoiceManagement.main" ng-if="specialUser!=='simon'">
<span class="nav-sub-icon-color">{{'MenuInvoiceManagement' | translate}}</span>
</a>
<a ng-if="specialUser==='simon'">
<span class="nav-sub-icon-color">{{'MenuInvoiceManagement' | translate}}</span>
</a>
</div>
<div class="element-left">
<a ui-sref-active="active" ui-sref="outputInvoiceManage.imported" ng-if="specialUser!=='simon'">
<span class="nav-sub-icon-color">{{'OutMenuInvoiceManagement' | translate}}</span>
</a>
<a ng-if="specialUser==='simon'">
<span class="nav-sub-icon-color">{{'OutMenuInvoiceManagement' | translate}}</span>
</a>
</div>
</div>
<!--<div class="nav-sub-container second">-->
......
frameworkModule.directive('appOverview', ['$log', 'region', 'enums',
function ($log, region, enums) {
'use strict';
$log.debug('appOverview.ctor()...');
return {
restrict: 'E',
templateUrl: '/app/framework/app-overview/app-overview.html' + '?_=' + Math.random(),
replace: true,
scope: {
servicetypeid : '='
},
controller: 'appOverviewController',
link: function ($scope, $element, $attr) {
var ele = $(".datepicker");
ele.datepicker({
startDate: $scope.startDate,
endDate: $scope.endDate,
language: region,
viewMode: 1,
minViewMode: 1,
autoclose: true,//选中之后自动隐藏日期选择框
clearBtn: false,//清除按钮
todayBtn: false,//今日按钮
format: $scope.dateFormat//日期格式,详见 http://bootstrap-datepicker.readthedocs.org/en/release/options.html#format
}).on('changeDate', function (e) {
$scope.changeDate(e);
});
ele.datepicker("setDate", $scope.selectedDate);
$scope.elePicker = ele;
}
};
}
]);
\ No newline at end of file
frameworkModule
.controller('appTaxAnalysisController', ['$scope','$log', 'SweetAlert', '$translate', 'menuService', '$timeout', 'userService', 'loginContext', 'Upload', 'apiInterceptor','$state',
function ($scope,$log, SweetAlert, $translate, menuService, $timeout, userService, loginContext, Upload, apiInterceptor,$state) {
'use strict';
$log.debug('appTaxAnalysisController.ctor()...');
$scope.toggleMenu = function () {
$rootScope.$broadcast(enums.adminEvent.layoutChanged);
};
userService.getUserPermission(loginContext.userName).success(function (data) {
$timeout(function () {
menuService.getMenusForDisplay(4, loginContext.userId).success(function (menuData) {
$scope.menuData = menuData;
});
}, 500);
});
$scope.loginUser = loginContext.userName;
$scope.specialUser = $scope.loginUser.toLowerCase();
$scope.convertTo2BitNumber = function (number) {
var str = "" + number;
var pad = "00";
return pad.substring(0, pad.length - str.length) + str;
};
(function initialize() {
$('#_data-import-contents').empty();
})();
}
]);
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