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
4530a491
Commit
4530a491
authored
Oct 18, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单管理
parent
51cc6deb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
12 deletions
+43
-12
index.vue
src/views/order/memberOrderInfo/index.vue
+18
-11
index.vue
src/views/order/rentVehicleInfo/index.vue
+16
-1
index.vue
src/views/order/tourOrderInfo/index.vue
+9
-0
No files found.
src/views/order/memberOrderInfo/index.vue
View file @
4530a491
...
@@ -188,6 +188,10 @@
...
@@ -188,6 +188,10 @@
}
}
},
},
created
()
{
created
()
{
let
query
=
localStorage
.
getItem
(
"memberOrderInfo"
);
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
}
this
.
getList
();
this
.
getList
();
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
},
},
...
@@ -297,16 +301,19 @@
...
@@ -297,16 +301,19 @@
if
(
this
.
listQuery
.
endTime
){
if
(
this
.
listQuery
.
endTime
){
this
.
listQuery
.
endTime
=
this
.
listQuery
.
endTime
.
getTime
();
this
.
listQuery
.
endTime
=
this
.
listQuery
.
endTime
.
getTime
();
}
}
if
(
this
.
listQuery
.
name
==
'1'
)
{
// if(this.listQuery.name == '1') {
this
.
listQuery
.
name
=
"普通会员"
// this.listQuery.name = "普通会员"
}
else
// } else
if
(
this
.
listQuery
.
name
==
'2'
)
{
// if(this.listQuery.name == '2') {
this
.
listQuery
.
name
=
"黄金会员"
// this.listQuery.name = "黄金会员"
}
else
// } else
if
(
this
.
listQuery
.
name
==
'3'
)
{
// if(this.listQuery.name == '3') {
this
.
listQuery
.
name
=
"钻石会员"
// this.listQuery.name = "钻石会员"
}
else
{
// } else {
this
.
listQuery
.
name
=
null
// this.listQuery.name = null
// }
if
(
this
.
listQuery
){
localStorage
.
setItem
(
"memberOrderInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
}
}
page
(
this
.
listQuery
)
page
(
this
.
listQuery
)
.
then
(
response
=>
{
.
then
(
response
=>
{
...
...
src/views/order/rentVehicleInfo/index.vue
View file @
4530a491
...
@@ -643,6 +643,12 @@ export default {
...
@@ -643,6 +643,12 @@ export default {
};
};
},
},
created
()
{
created
()
{
let
query
=
localStorage
.
getItem
(
"rentVehicleInfo"
);
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
this
.
listQuery
.
zoneId
=
undefined
;
this
.
listQuery
.
startCompanyId
=
undefined
;
}
this
.
getList
();
this
.
getList
();
this
.
btn_del
=
this
.
elements
[
"branchCompany/stockApply:btn_delete"
];
this
.
btn_del
=
this
.
elements
[
"branchCompany/stockApply:btn_delete"
];
this
.
order_btn_order_violcation_save
=
this
.
elements
[
this
.
order_btn_order_violcation_save
=
this
.
elements
[
...
@@ -1066,6 +1072,9 @@ export default {
...
@@ -1066,6 +1072,9 @@ export default {
// if(this.listQuery.endTime){
// if(this.listQuery.endTime){
// this.listQuery.endTime = this.listQuery.endTime.getTime();
// this.listQuery.endTime = this.listQuery.endTime.getTime();
// }
// }
if
(
this
.
listQuery
){
localStorage
.
setItem
(
"rentVehicleInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
}
page
(
this
.
listQuery
).
then
(
response
=>
{
page
(
this
.
listQuery
).
then
(
response
=>
{
if
(
response
.
data
.
data
)
{
if
(
response
.
data
.
data
)
{
response
.
data
.
data
.
map
(
function
(
el
)
{
response
.
data
.
data
.
map
(
function
(
el
)
{
...
@@ -1098,6 +1107,9 @@ export default {
...
@@ -1098,6 +1107,9 @@ export default {
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
listQuery
.
limit
=
val
;
this
.
listQuery
.
limit
=
val
;
if
(
this
.
listQuery
){
localStorage
.
setItem
(
"rentVehicleInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
}
this
.
getList
();
this
.
getList
();
},
},
dateFormat
(
timestamp
)
{
dateFormat
(
timestamp
)
{
...
@@ -1106,6 +1118,9 @@ export default {
...
@@ -1106,6 +1118,9 @@ export default {
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
listQuery
.
page
=
val
;
this
.
listQuery
.
page
=
val
;
if
(
this
.
listQuery
){
localStorage
.
setItem
(
"rentVehicleInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
}
this
.
getList
();
this
.
getList
();
},
},
...
...
src/views/order/tourOrderInfo/index.vue
View file @
4530a491
...
@@ -286,6 +286,12 @@
...
@@ -286,6 +286,12 @@
}
}
},
},
created
()
{
created
()
{
let
query
=
localStorage
.
getItem
(
"tourOrderInfo"
);
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
this
.
listQuery
.
zoneId
=
undefined
;
this
.
listQuery
.
startCompanyId
=
undefined
;
}
this
.
getList
();
this
.
getList
();
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
},
},
...
@@ -424,6 +430,9 @@
...
@@ -424,6 +430,9 @@
// if(this.listQuery.endTime){
// if(this.listQuery.endTime){
// this.listQuery.endTime = this.listQuery.endTime.getTime();
// this.listQuery.endTime = this.listQuery.endTime.getTime();
// }
// }
if
(
this
.
listQuery
){
localStorage
.
setItem
(
"tourOrderInfo"
,
JSON
.
stringify
(
this
.
listQuery
));
}
page
(
this
.
listQuery
)
page
(
this
.
listQuery
)
.
then
(
response
=>
{
.
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
;
this
.
list
=
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