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
50c415df
Commit
50c415df
authored
May 14, 2019
by
youjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分公司列表接口
parent
d0cb77f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
index.js
src/api/base_info/branch_company/index.js
+8
-0
index.vue
src/views/baseInfo/companyInfo/index.vue
+3
-2
No files found.
src/api/base_info/branch_company/index.js
View file @
50c415df
...
...
@@ -10,6 +10,14 @@ export function page(query) {
});
}
export
function
allPage
(
query
)
{
return
fetch
({
url
:
'/vehicle/branchCompany/allPage'
,
method
:
'get'
,
params
:
query
});
}
export
function
getObj
(
id
)
{
return
fetch
({
url
:
'/vehicle/branchCompany/'
+
id
,
...
...
src/views/baseInfo/companyInfo/index.vue
View file @
50c415df
...
...
@@ -74,7 +74,8 @@
addObj
,
getObj
,
delObj
,
putObj
putObj
,
allPage
}
from
'api/base_info/branch_company'
;
import
chinaMap
from
'./chinaMap'
;
import
companyMap
from
"./companyMap"
;
...
...
@@ -321,7 +322,7 @@
}
}
this
.
send
=
!
0
;
p
age
(
this
.
listQuery
)
allP
age
(
this
.
listQuery
)
.
then
(
response
=>
{
let
listTemp
=
response
.
data
.
data
;
//一次读入所有涉及地区,防止多次读取
...
...
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