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
7826801b
Commit
7826801b
authored
Apr 17, 2020
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租车订单筛选
parent
062f9627
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
25 deletions
+23
-25
index.vue
src/views/order/rentVehicleInfo/index.vue
+23
-25
No files found.
src/views/order/rentVehicleInfo/index.vue
View file @
7826801b
...
...
@@ -35,15 +35,11 @@
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"手机号"
>
<el-input
v-model=
"listQuery.phone"
placeholder=
"请输入手机号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"listQuery.realName"
placeholder=
"请输入客户姓名"
></el-input>
<el-form-item
label=
"手机号或姓名"
>
<el-input
v-model=
"listQuery.keywords"
placeholder=
"请输入手机号或者姓名"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"5"
>
...
...
@@ -57,27 +53,28 @@
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"
订单
状态"
>
<el-select
class=
"filter-item"
v-model=
"listQuery.s
tatus"
placeholder=
"请选择状态"
>
<el-form-item
label=
"状态"
>
<el-select
v-model=
"listQuery.orderS
tatus"
placeholder=
"请选择状态"
>
<!--"0--删除"+"1--创建订单" +"2--取消" +"3--待付款" +"4--待出行" +"5--出行中(进行中)" +"6--已完成"-->
<el-option
:key=
"null"
label=
"全部订单"
:value=
"null"
></el-option>
<el-option
:key=
"3"
label=
"待付款"
:value=
"3"
></el-option>
<el-option
:key=
"4"
label=
"待出行"
:value=
"4"
></el-option>
<el-option
:key=
"5"
label=
"出行中"
:value=
"5"
></el-option>
<el-option
:key=
"6"
label=
"已完成"
:value=
"6"
></el-option>
<el-option
:key=
"2"
label=
"已取消"
:value=
"2"
></el-option>
<el-option
:key=
"-1"
label=
"定损中"
:value=
"-1"
></el-option>
<el-option
:key=
"7"
label=
"押金状态"
:value=
"7"
></el-option>
<el-option
:key=
"1"
label=
"订单状态"
:value=
"1"
></el-option>
<el-option
:key=
"2"
label=
"押金状态"
:value=
"2"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
v-if=
"listQuery.status == 7"
>
<el-form-item
label=
"违章押金"
>
<el-select
class=
""
v-model=
"listQuery.refundStatus"
placeholder=
"请选择状态"
>
<!--"0--删除"+"1--创建订单" +"2--取消" +"3--待付款" +"4--待出行" +"5--出行中(进行中)" +"6--已完成"-->
<el-option
:key=
"2"
label=
"违章待退"
:value=
"2"
></el-option>
<el-option
:key=
"3"
label=
"违章已退"
:value=
"3"
></el-option>
<el-col
:span=
"5"
>
<el-form-item
label=
"订单押金"
>
<el-select
class=
""
v-model=
"listQuery.status"
placeholder=
"请选择状态"
>
<el-option
:key=
"null"
label=
"全部订单"
:value=
"null"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==1"
:key=
"3"
label=
"待付款"
:value=
"3"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==1"
:key=
"4"
label=
"待出行"
:value=
"4"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==1"
:key=
"5"
label=
"出行中"
:value=
"5"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==1"
:key=
"6"
label=
"已完成"
:value=
"6"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==1"
:key=
"2"
label=
"已取消"
:value=
"2"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==1"
:key=
"-1"
label=
"定损中"
:value=
"-1"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==2"
:key=
"7"
label=
"违章待退"
:value=
"7"
></el-option>
<el-option
v-if=
"listQuery.orderStatus ==2"
:key=
"8"
label=
"违章已退"
:value=
"8"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -736,6 +733,8 @@ export default {
type
:
1
,
no
:
null
,
status
:
null
,
keywords
:
null
,
orderStatus
:
null
,
refundStatus
:
null
,
startTime
:
undefined
,
endTime
:
undefined
,
...
...
@@ -1523,6 +1522,8 @@ export default {
type
:
1
,
no
:
null
,
status
:
null
,
keywords
:
null
,
orderStatus
:
null
,
refundStatus
:
null
,
startTime
:
undefined
,
endTime
:
undefined
,
...
...
@@ -1555,9 +1556,6 @@ export default {
JSON
.
stringify
(
this
.
listQuery
)
)
}
if
(
this
.
listQuery
.
status
==
7
)
{
this
.
listQuery
.
status
=
null
;
}
page
(
this
.
listQuery
).
then
(
response
=>
{
if
(
response
.
data
.
data
)
{
response
.
data
.
data
.
map
(
function
(
el
)
{
...
...
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