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
f30165c9
Commit
f30165c9
authored
Jul 02, 2019
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed org -- frank
parent
da552a57
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
160 additions
and
29 deletions
+160
-29
RegionMapper.xml
.../src/main/resources/pwc/taxtech/atms/dao/RegionMapper.xml
+0
-0
DimensionValueOrgExtendsMapper.xml
...xtech/atms/dao/extends/DimensionValueOrgExtendsMapper.xml
+118
-0
app.js
atms-web/src/main/webapp/Scripts/app.js
+9
-9
organization-list-view.ctrl.js
...cture/organizationListView/organization-list-view.ctrl.js
+4
-3
organization-list-view.html
...tructure/organizationListView/organization-list-view.html
+9
-10
organization-list-view.less
...tructure/organizationListView/organization-list-view.less
+13
-0
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+0
-0
organization-view-infrastructure.ctrl.js
...ewInfrastructure/organization-view-infrastructure.ctrl.js
+1
-1
edit-organization-modal.ctrl.js
...s/edit-organization-modal/edit-organization-modal.ctrl.js
+6
-6
No files found.
atms-dao/src/main/resources/pwc/taxtech/atms/dao/RegionMapper.xml
0 → 100644
View file @
f30165c9
This diff is collapsed.
Click to expand it.
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/DimensionValueOrgExtendsMapper.xml
0 → 100644
View file @
f30165c9
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.dao.DimensionValueOrgMapper"
>
<resultMap
id=
"UnionDimensionValueOrg"
type=
"pwc.taxtech.atms.dto.dimension.UnionDimensionValueOrg"
>
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"DIMENSION_VALUE_ID"
jdbcType=
"VARCHAR"
property=
"dimensionValueId"
/>
<result
column=
"ORGANIZATION_ID"
jdbcType=
"VARCHAR"
property=
"organizationId"
/>
<result
column=
"DIMENSION_ID"
jdbcType=
"VARCHAR"
property=
"dimensionId"
/>
<result
column=
"DIMENSION_VALUE_NAME"
jdbcType=
"VARCHAR"
property=
"dimensionValueName"
/>
</resultMap>
<select
id=
"selectUnionDimensionValueOrgByDimension"
parameterType=
"pwc.taxtech.atms.dto.DimensionParamDto"
resultMap=
"UnionDimensionValueOrg"
>
SELECT
*
FROM
(
SELECT
#{organizationStructureId} AS ID,
structure_id AS DIMENSION_VALUE_ID,
id AS ORGANIZATION_ID
FROM
organization
UNION
SELECT
#{businessUnitId} AS ID,
business_unit_id AS DIMENSION_VALUE_ID,
id AS ORGANIZATION_ID
FROM
organization
UNION
SELECT
#{areaId} AS ID,
area_id AS DIMENSION_VALUE_ID,
id AS ORGANIZATION_ID
FROM
organization
UNION
SELECT
id as ID,
dimension_value_id as DimensionValueID,
organization_id as OrganizationID
FROM
dimension_value_org
)
Q
JOIN
(
SELECT
id AS DIMENSION_VALUE_ID,
name AS DIMENSION_VALUE_NAME,
is_active AS IS_ACTIVE,
#{organizationStructureId} AS DIMENSION_ID,
create_time AS CREATE_TIME,
update_time AS UPDATE_TIME
FROM
organization_structure
WHERE
is_active=1
UNION
SELECT
id AS DIMENSION_VALUE_ID,
name AS DIMENSION_VALUE_NAME,
is_active AS IS_ACTIVE,
#{businessUnitId} AS DIMENSION_ID,
create_time AS CREATE_TIME,
update_time AS UPDATE_TIME
FROM
business_unit
WHERE
is_active=1
UNION
SELECT
id AS DIMENSION_VALUE_ID,
name AS DIMENSION_VALUE_NAME,
is_active AS IS_ACTIVE,
#{areaId} AS DIMENSION_ID,
SYSDATE() AS CREATE_TIME,
SYSDATE() AS UPDATE_TIME
FROM
area
WHERE
is_active=1
UNION
SELECT
id AS DIMENSION_VALUE_ID,
name AS DIMENSION_VALUE_NAME,
is_active AS IS_ACTIVE,
dimension_id AS DIMENSION_ID,
create_time AS CREATE_TIME,
update_time AS UPDATE_TIME
FROM
dimension_value
WHERE
is_active=1
)
P
ON
P.dimension_value_id = Q.dimension_value_id
JOIN
dimension R
ON
R.is_active = 1
AND P.dimension_id = R.id
</select>
</mapper>
\ No newline at end of file
atms-web/src/main/webapp/Scripts/app.js
View file @
f30165c9
...
...
@@ -360,15 +360,15 @@ var app = angular.module('app', ['ui.tree', 'ui.bootstrap', 'ui.bootstrap.tpls',
};
$rootScope
.
changeLanguage
(
region
);
waterMark
({
systemId
:
'2500'
,
//当前用户ID
userId
:
loginContext
.
localName
,
textStyle
:
'rgba(0,0,0,0.05)'
,
imgHeightDis
:
230
,
imgWidthDis
:
230
,
containerEl
:
document
.
querySelector
(
'body'
)
});
//
waterMark({
//
systemId: '2500',
//
//当前用户ID
//
userId: loginContext.localName,
//
textStyle: 'rgba(0,0,0,0.05)',
//
imgHeightDis: 230,
//
imgWidthDis: 230,
//
containerEl: document.querySelector('body')
//
});
// publish unbeforeunload event to child scopes
$scope
.
onbeforeunload
=
function
()
{
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationListView/organization-list-view.ctrl.js
View file @
f30165c9
...
...
@@ -313,7 +313,8 @@
$log
.
error
(
e
);
}
}
},
{
},
{
dataField
:
"code"
,
allowHeaderFiltering
:
false
,
caption
:
$translate
.
instant
(
'OrganizationCode'
)
...
...
@@ -780,7 +781,7 @@
}
],
masterDetail
:
{
enabled
:
tru
e
,
enabled
:
fals
e
,
template
:
"detail"
},
onContentReady
:
function
(
e
)
{
...
...
@@ -826,7 +827,7 @@
cancel
:
$translate
.
instant
(
'Cancel'
),
ok
:
$translate
.
instant
(
'Confirm'
),
emptyValue
:
$translate
.
instant
(
'Empty'
),
selectAllText
:
$translate
.
instant
(
'SelectAll'
)
,
selectAllText
:
$translate
.
instant
(
'SelectAll'
)
}
}
//columnHidingEnabled: true, //自定义显示列
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationListView/organization-list-view.html
View file @
f30165c9
...
...
@@ -52,21 +52,20 @@
</div>
<div
class=
"user-grid"
style=
"margin-top: 10px;"
>
<span
style=
"margin-left:30px; position: absolute;left: 249px;top: 132px;z-index: 999;"
>
{{'TotalHave'| translate}}
<span
style=
"color:red; padding:0px 2px
"
>
{{totalCount}}
</span>
{{'Records'| translate}}
</span>
<span
class=
"totalHave"
>
{{'TotalHave'| translate}}
<span
class=
"totalCount
"
>
{{totalCount}}
</span>
{{'Records'| translate}}
</span>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"orgGridContainer"
dx-data-grid=
"orgUserGridOptions"
dx-item-alias=
"orgInfo"
style=
"margin-top: -9px;"
>
<
div
data-options=
"dxTemplate: {name: 'detail'}"
>
<
div
dx-data-grid=
"getDetailGridSettings(orgInfo)"
></div
>
<
/div
>
<
!--<div data-options="dxTemplate: {name: 'detail'}">--
>
<
!--<div dx-data-grid="getDetailGridSettings(orgInfo)"></div>--
>
<
!--</div>--
>
</div>
<!--分页栏 方便搜索机构,前台分页-->
<!--<div class="form-group page-form-group">
<
div class="page-footer"
>
<
ack-pagination page-options="pagingOptions" refresh-table="pagingService.refreshOrgDataGrid()" hide-page-size-selector="true"></ack-pagination
>
<
/div
>
</div>-->
<!--<div class="form-group page-form-group">
-->
<
!--<div class="page-footer">--
>
<
!--<ack-pagination page-options="pagingOptions" refresh-table="pagingService.refreshOrgDataGrid()" hide-page-size-selector="true"></ack-pagination>--
>
<
!--</div>--
>
<
!--<
/div>-->
</div>
</div>
</div>
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationListView/organization-list-view.less
View file @
f30165c9
...
...
@@ -94,6 +94,19 @@
border-radius: 5px;*/
margin-bottom: 6px;
.totalHave{
margin-left:30px;
position: absolute;
left: 249px;
top: 132px;
z-index: 999;
}
.totalCount{
color:red;
padding:0px 2px;
}
.master-detail-caption {
padding: 0 0 5px 10px;
font-size: 14px;
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
f30165c9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
atms-web/src/main/webapp/app/admin/infrastructure/organizationViewInfrastructure/organization-view-infrastructure.ctrl.js
View file @
f30165c9
...
...
@@ -54,7 +54,7 @@
id
:
i
,
color
:
tabColor
[
row
.
dimensionType
],
isEdit
:
true
,
data
:
row
,
data
:
row
};
// 变成灰色
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.ctrl.js
View file @
f30165c9
...
...
@@ -69,11 +69,11 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
}
$scope
.
orgAccountList
=
[];
//
$scope.orgAccountList = [];
$scope
.
serviceList
=
[];
$scope
.
isCheckedServiceList
=
[];
$scope
.
OrgAccountRowIndex
=
1
;
$scope
.
newOrgAccountRow
();
//
$scope.OrgAccountRowIndex = 1;
//
$scope.newOrgAccountRow();
$scope
.
selfDimensionModel
=
getAddOrgSetDimension
();
// initIsCheckedServiceList();
...
...
@@ -895,13 +895,13 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
// 添加一行账套设置
$scope
.
newOrgAccountRow
=
function
()
{
var
index
=
$scope
.
OrgAccountRowIndex
;
var
enterpriseAccountSetList
=
copyArray
(
$scope
.
enterpriseAccountSetList
);
//
var enterpriseAccountSetList = copyArray($scope.enterpriseAccountSetList);
var
d
=
new
Date
();
var
now
=
d
.
formatDateTime
(
'yyyy-MM'
);
var
row
=
{
enterpriseAccountSetList
:
enterpriseAccountSetList
,
enterpriseAccountSetSelect
:
null
,
//
enterpriseAccountSetList: enterpriseAccountSetList,
//
enterpriseAccountSetSelect: null,
startDate
:
null
,
endDate
:
null
,
fromID
:
'orgFrom'
+
index
,
...
...
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