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
535e759b
Commit
535e759b
authored
Apr 08, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_mysql' into dev_mysql
parents
644254da
01764c35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+1
-1
edit-organization-modal.ctrl.js
...s/edit-organization-modal/edit-organization-modal.ctrl.js
+10
-2
No files found.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
535e759b
...
...
@@ -2443,7 +2443,7 @@
//加载用户权限list
loadUserRoleList
(
org
.
id
);
generalSelectCompanyText
();
cancelWebChange
();
});
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.ctrl.js
View file @
535e759b
...
...
@@ -125,6 +125,14 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
}
}
//事业部
if
(
$scope
.
selectBusinessUnit
)
{
editModel
.
businessUnitID
=
$scope
.
selectBusinessUnit
.
ID
;
}
//区域
if
(
$scope
.
componentSelectedArea
)
{
editModel
.
areaID
=
$scope
.
selectedAreaId
;
}
if
(
$scope
.
isAdd
)
{
editModel
.
isActive
=
true
;
orgService
.
addOrg
(
editModel
).
success
(
function
(
orgId
)
{
...
...
@@ -158,7 +166,7 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
return
;
}
}
editModel
.
isActive
=
!
editModel
.
isActive
;
//
editModel.isActive = !editModel.isActive;
orgService
.
updateOrg
(
editModel
).
success
(
function
(
data
)
{
if
(
data
&&
!
data
.
result
)
{
//SweetAlert.info("Disable", orgId);
...
...
@@ -338,7 +346,7 @@ controller('editOrganizationModalController', ['$scope', '$log', '$translate', '
return
;
}
};
editModel
.
isActive
=
!
editModel
.
isActive
;
//
editModel.isActive = !editModel.isActive;
orgService
.
updateOrg
(
editModel
).
success
(
function
(
data
)
{
if
(
data
&&
!
data
.
result
)
{
//SweetAlert.info("Disable", orgId);
...
...
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