Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
1a2de475
Commit
1a2de475
authored
Aug 16, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改后台用户列表,编辑
parent
15b155f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
index.vue
src/views/admin/user/index.vue
+7
-4
index.vue
src/views/baseInfo/branchCompany/index.vue
+1
-0
No files found.
src/views/admin/user/index.vue
View file @
1a2de475
...
@@ -274,6 +274,7 @@
...
@@ -274,6 +274,7 @@
getAll
()
getAll
()
.
then
(
response
=>
{
.
then
(
response
=>
{
this
.
allCompaniesArr
=
response
.
data
;
this
.
allCompaniesArr
=
response
.
data
;
this
.
allBranchCompany
=
response
.
data
;
})
})
getAllCompany
(
codeAndBranchCompany
=>
{
getAllCompany
(
codeAndBranchCompany
=>
{
this
.
allCompanies
=
codeAndBranchCompany
;
this
.
allCompanies
=
codeAndBranchCompany
;
...
@@ -299,9 +300,10 @@
...
@@ -299,9 +300,10 @@
'elements'
'elements'
]),
]),
getAllZoneList
()
{
getAllZoneList
()
{
console
.
log
(
'getAllZoneList'
)
// console.log('getAllZoneList')
this
.
allZoneArr
=
getAllZone
();
let
allZone
=
getAllZone
();
return
getAllZone
();
this
.
allZoneArr
=
allZone
;
return
allZone
;
},
},
},
},
methods
:
{
methods
:
{
...
@@ -325,6 +327,7 @@
...
@@ -325,6 +327,7 @@
* 所属分公司
* 所属分公司
* */
* */
handleSelectSubordinate
(
item
)
{
handleSelectSubordinate
(
item
)
{
this
.
form
.
companyId
=
item
.
id
;
this
.
form
.
companyId
=
item
.
id
;
this
.
form
.
companyName
=
item
.
name
;
this
.
form
.
companyName
=
item
.
name
;
},
},
...
@@ -419,7 +422,7 @@
...
@@ -419,7 +422,7 @@
});
});
this
.
dialogFormVisible
=
true
;
this
.
dialogFormVisible
=
true
;
this
.
dialogStatus
=
'update'
;
this
.
dialogStatus
=
'update'
;
console
.
log
(
this
.
form
);
//
console.log(this.form);
// console.log(JSON.stringify(this.form))
// console.log(JSON.stringify(this.form))
});
});
});
});
...
...
src/views/baseInfo/branchCompany/index.vue
View file @
1a2de475
...
@@ -405,6 +405,7 @@
...
@@ -405,6 +405,7 @@
'companyStatusAndCode'
'companyStatusAndCode'
]),
]),
getAllZoneList
(){
getAllZoneList
(){
this
.
allZoneArr
=
getAllZone
();
this
.
allZoneArr
=
getAllZone
();
return
getAllZone
();
return
getAllZone
();
},
},
...
...
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