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
bff1ff2e
Commit
bff1ff2e
authored
Jul 05, 2019
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed main page-- frank
parent
1ba97ecc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
10 deletions
+21
-10
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+10
-3
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+1
-1
organization-manage.js
.../infrastructure/organizationManage/organization-manage.js
+9
-5
organization-manage.less
...nfrastructure/organizationManage/organization-manage.less
+1
-1
No files found.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
bff1ff2e
...
...
@@ -5,7 +5,7 @@
$scope
.
expanded
=
false
;
$scope
.
showOrgs
=
true
;
$scope
.
ShowSingle
=
false
;
$scope
.
ShowSingle
=
false
;
$scope
.
startDate
=
new
Date
(
2019
,
0
,
1
);
$scope
.
endDate
=
new
Date
(
2019
,
11
,
31
);
...
...
@@ -1990,7 +1990,7 @@
// console.log($scope.DataGridSource);
// console.log($scope.orgUserGridOptions);
$scope
.
oldData
=
angular
.
copy
(
data
);
//
$scope.setGridHeight();
$scope
.
setGridHeight
();
}
});
};
...
...
@@ -3240,7 +3240,7 @@
bindingOptions
:
{
dataSource
:
'DataGridSource'
},
height
:
700
,
//
height:700,
showBorders
:
true
,
paging
:
{
pageSize
:
constant
.
page
.
logPageSize
...
...
@@ -3828,8 +3828,15 @@
//showUserTab();
checkUserPermission
();
loadDatagrid
();
$scope
.
location
=
$scope
.
$root
.
currentLanguage
;
$timeout
(
function
()
{
$scope
.
isLoadComplete
=
true
;
if
(
$scope
.
location
)
{
$scope
.
showHeader
=
false
;
}
else
{
$scope
.
showHeader
=
true
;
}
},
500
);
})();
}
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
bff1ff2e
<div
class=
"system-manage"
>
<div
class=
"menu-header"
>
<div
class=
"menu-header"
ng-if=
"showHeader"
>
<div
class=
"menu-title"
>
{{'OrganizationManage' | translate}}
</div>
<div
class=
"menu-log"
>
<!--<a class="btn btn-not-important" href="javascript:void(0)" ng-click="showOperateLogPop()"> </a>-->
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.js
View file @
bff1ff2e
...
...
@@ -21,8 +21,12 @@
var
contentHeaderHeight
=
parseInt
(
$
(
contentHeader
).
css
(
'height'
).
replace
(
'px'
,
''
));
var
pageHeight
=
parseInt
(
$
(
pageWrapSelector
).
css
(
'height'
).
replace
(
'px'
,
''
));
var
menuHeight
=
parseInt
(
$
(
menuSelector
).
css
(
'height'
).
replace
(
'px'
,
''
));
var
height
=
pageHeight
-
menuHeight
-
contentHeaderHeight
-
40
+
'px'
;
var
menuHeight
=
0
;
if
(
!
scope
.
location
)
{
menuHeight
=
parseInt
(
$
(
menuSelector
).
css
(
'height'
).
replace
(
'px'
,
''
));
}
var
height
=
pageHeight
-
menuHeight
-
contentHeaderHeight
-
50
+
'px'
;
$
(
dxGridSelctor
).
css
(
'max-height'
,
height
);
};
...
...
@@ -40,13 +44,13 @@
// $rootScope.$broadcast(enums.vatEvent.layoutChanged, {});
//}, 700);
}
})
})
}
};
}
]);
infrastructureModule
.
directive
(
'taxPayerNumberUnique'
,
[
'$q'
,
'orgService'
,
function
(
$q
,
orgService
)
{
infrastructureModule
.
directive
(
'taxPayerNumberUnique'
,
[
'$q'
,
'orgService'
,
function
(
$q
,
orgService
)
{
return
{
require
:
'ngModel'
,
link
:
function
(
scope
,
elm
,
attrs
,
ctrl
)
{
...
...
@@ -78,7 +82,7 @@ infrastructureModule.directive('taxPayerNumberUnique', ['$q','orgService',functi
}
}]);
infrastructureModule
.
directive
(
'codeUnique'
,
[
'$q'
,
'orgService'
,
function
(
$q
,
orgService
)
{
infrastructureModule
.
directive
(
'codeUnique'
,
[
'$q'
,
'orgService'
,
function
(
$q
,
orgService
)
{
return
{
require
:
'ngModel'
,
link
:
function
(
scope
,
elm
,
attrs
,
ctrl
)
{
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.less
View file @
bff1ff2e
...
...
@@ -10,7 +10,7 @@
@orange-color: #D55C1B;
@org-content-min-height: 664px;
@orgpage-tree-container-heght: 500px;
@orgpage-tree-container-max-heght: 7
0
0px;
@orgpage-tree-container-max-heght: 7
8
0px;
@container-margin: 5px;
@left-container: 273px;
@gutter-width: 25px;
...
...
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