Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
20b6f4e0
Commit
20b6f4e0
authored
Oct 25, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] add tree and blanc page for approval
parent
841c9a3e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
1 deletion
+68
-1
module-part1.js
atms-web/src/main/webapp/Scripts/module-part1.js
+1
-1
app-approve.ctrl.js
...main/webapp/app/framework/app-approve/app-approve.ctrl.js
+0
-0
app-approve.html
...rc/main/webapp/app/framework/app-approve/app-approve.html
+28
-0
app-approve.js
.../src/main/webapp/app/framework/app-approve/app-approve.js
+39
-0
No files found.
atms-web/src/main/webapp/Scripts/module-part1.js
View file @
20b6f4e0
...
@@ -237,7 +237,7 @@ var frameworkModule = angular.module('app.framework', ['app.webservices', 'app.c
...
@@ -237,7 +237,7 @@ var frameworkModule = angular.module('app.framework', ['app.webservices', 'app.c
function
(
$scope
,
$stateParams
,
appTranslation
)
{
function
(
$scope
,
$stateParams
,
appTranslation
)
{
appTranslation
.
load
([
appTranslation
.
vat
,
appTranslation
.
appPart
]);
appTranslation
.
load
([
appTranslation
.
vat
,
appTranslation
.
appPart
]);
}],
}],
template
:
'<app-
overview
servicetypeid="2"></app-overview>'
,
template
:
'<app-
approve
servicetypeid="2"></app-overview>'
,
}
}
},
},
deepStateRedirect
:
true
,
deepStateRedirect
:
true
,
...
...
atms-web/src/main/webapp/app/framework/app-approve/app-approve.ctrl.js
0 → 100644
View file @
20b6f4e0
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/framework/app-approve/app-approve.html
0 → 100644
View file @
20b6f4e0
<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><span
class=
"operate-icon"
title=
"事业部"
ng-click=
"dimensionOrgShow('businessUnitID','businessUnitName')"
>
<i
class=
"fa fa-bank fa-2x businessUnitName"
aria-hidden=
"true"
></i>
</span><span
class=
"operate-icon"
title=
"区域"
ng-click=
"dimensionOrgShow('areaID','areaName')"
>
<i
class=
"material-icons areaName"
>
place
</i>
</span><span
class=
"operate-icon"
title=
"机构层级"
ng-click=
"dimensionOrgShow('structureID','structureName')"
>
<i
class=
"fa fa-mortar-board fa-2x structureName"
></i>
</span><span
class=
"operate-icon"
title=
"行业"
ng-click=
"dimensionOrgShow('industryID','industryName')"
>
<i
class=
"fa fa-bars fa-2x industryName"
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=
"head-row"
>
报表审批
</div>
<div>
审批列表
</div>
</div>
</div>
\ No newline at end of file
atms-web/src/main/webapp/app/framework/app-approve/app-approve.js
0 → 100644
View file @
20b6f4e0
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment