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
a4f61b01
Commit
a4f61b01
authored
Nov 18, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-bg' into base-modify
parents
e97e38e6
c3ee4a48
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
rentVehicle.js
src/api/order/rentVehicle.js
+9
-1
index.vue
src/views/order/tourOrderInfo/index.vue
+2
-1
No files found.
src/api/order/rentVehicle.js
View file @
a4f61b01
import
fetch
from
'utils/fetch'
;
import
fetch
from
'utils/fetch'
;
//获取租车订单
export
function
page
(
query
)
{
export
function
page
(
query
)
{
return
fetch
({
return
fetch
({
url
:
'/api/order/baseOrder/getAll'
,
url
:
'/api/order/baseOrder/getAll'
,
...
@@ -8,6 +8,14 @@ export function page(query) {
...
@@ -8,6 +8,14 @@ export function page(query) {
});
});
}
}
//获取旅游订单
export
function
getOrderList
(
query
)
{
return
fetch
({
url
:
'/api/order/baseOrder/getOrderList'
,
method
:
'get'
,
params
:
query
});
}
/**
/**
* 获取所有分公司
* 获取所有分公司
*/
*/
...
...
src/views/order/tourOrderInfo/index.vue
View file @
a4f61b01
...
@@ -156,6 +156,7 @@
...
@@ -156,6 +156,7 @@
import
tourOrderDetailModal
from
"../modal/tourOrderDetailModal"
;
//租车订单详情
import
tourOrderDetailModal
from
"../modal/tourOrderDetailModal"
;
//租车订单详情
import
{
import
{
page
,
page
,
getOrderList
,
getAllBranchCompany
,
getAllBranchCompany
,
getAllBranchCompanyByZoneId
,
getAllBranchCompanyByZoneId
,
calculate
,
calculate
,
...
@@ -614,7 +615,7 @@ import {getAllCompany } from 'api/base_info/branch_company'
...
@@ -614,7 +615,7 @@ import {getAllCompany } from 'api/base_info/branch_company'
if
(
this
.
listQuery
){
if
(
this
.
listQuery
){
localStorage
.
setItem
(
"tourOrderInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
localStorage
.
setItem
(
"tourOrderInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
}
}
page
(
this
.
listQuery
)
getOrderList
(
this
.
listQuery
)
.
then
(
response
=>
{
.
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
;
this
.
list
=
response
.
data
.
data
;
this
.
total
=
response
.
data
.
totalCount
;
this
.
total
=
response
.
data
.
totalCount
;
...
...
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