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
c31b439d
Commit
c31b439d
authored
Sep 03, 2020
by
rencs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9.3 门店接口
parent
566f9ebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
company.js
src/api/company.js
+4
-4
No files found.
src/api/company.js
View file @
c31b439d
...
...
@@ -84,7 +84,7 @@ export function upd_company(query) {
export
function
del_store
(
query
)
{
return
fetch
({
url
:
"vehicle/admin/branchCompany/de
l
?id="
+
query
.
id
,
url
:
"vehicle/admin/branchCompany/de
tele
?id="
+
query
.
id
,
method
:
"delete"
,
});
}
...
...
@@ -92,7 +92,7 @@ export function del_store(query) {
//添加门店
export
function
add_store
(
query
)
{
return
fetch
({
url
:
"vehicle/admin/branchCompany"
,
url
:
"vehicle/admin/branchCompany
/saveOrUpd
"
,
method
:
"post"
,
data
:
query
,
});
...
...
@@ -102,8 +102,8 @@ export function add_store(query) {
//修改门店
export
function
update_store
(
id
,
query
)
{
return
fetch
({
url
:
"vehicle/admin/branchCompany/
"
+
id
,
method
:
"p
u
t"
,
url
:
"vehicle/admin/branchCompany/
saveOrUpd"
,
method
:
"p
os
t"
,
data
:
query
,
});
}
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