Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
ka-op-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
ka-op-ui
Commits
121b6a4e
Commit
121b6a4e
authored
Sep 17, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对渠道用户的订单查询选项进行限制
parent
8c385007
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
index.vue
src/views/channel/index.vue
+1
-3
index.vue
src/views/order/index.vue
+7
-8
No files found.
src/views/channel/index.vue
View file @
121b6a4e
...
@@ -165,10 +165,8 @@ export default {
...
@@ -165,10 +165,8 @@ export default {
if
(
res
.
data
)
{
if
(
res
.
data
)
{
this
.
channels
=
res
.
data
.
content
this
.
channels
=
res
.
data
.
content
this
.
count
=
res
.
data
.
totalElements
this
.
count
=
res
.
data
.
totalElements
if
(
this
.
channels
.
length
>
0
)
{
this
.
$refs
.
myTable
.
setCurrentRow
(
this
.
channels
[
0
])
this
.
$refs
.
myTable
.
setCurrentRow
(
this
.
channels
[
0
])
}
}
}
})
})
},
},
...
...
src/views/order/index.vue
View file @
121b6a4e
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<div
class=
"filter-container"
style=
"padding-bottom:20px"
>
<div
class=
"filter-container"
style=
"padding-bottom:20px"
>
<el-input
v-model=
"listQuery.channelOrderNumber"
placeholder=
"订单号"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-model=
"listQuery.channelOrderNumber"
placeholder=
"订单号"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-model=
"listQuery.channelId"
placeholder=
"渠道号"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-model=
"listQuery.channelId"
placeholder=
"渠道号"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-model=
"listQuery.loanId"
placeholder=
"loanId"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-
if=
"isShow"
v-
model=
"listQuery.loanId"
placeholder=
"loanId"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-model=
"listQuery.applyNo"
placeholder=
"授信申请号"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<el-input
v-
if=
"isShow"
v-
model=
"listQuery.applyNo"
placeholder=
"授信申请号"
clearable
style=
"width: 200px;"
class=
"filter-item"
@
keyup.enter.native=
"getOrders"
/>
<!--
<el-select
v-model=
"listQuery.channelId"
placeholder=
"渠道号"
clearable
style=
"width: 200px"
class=
"filter-item"
>
<!--
<el-select
v-model=
"listQuery.channelId"
placeholder=
"渠道号"
clearable
style=
"width: 200px"
class=
"filter-item"
>
<el-option
v-for=
"item in channelOptions"
:key=
"item.key"
:label=
"item.display_name"
:value=
"item.key"
/>
<el-option
v-for=
"item in channelOptions"
:key=
"item.key"
:label=
"item.display_name"
:value=
"item.key"
/>
</el-select>
-->
</el-select>
-->
...
@@ -210,10 +210,7 @@ export default {
...
@@ -210,10 +210,7 @@ export default {
getOrders
(
this
.
listQuery
).
then
(
res
=>
{
getOrders
(
this
.
listQuery
).
then
(
res
=>
{
this
.
orders
=
res
.
data
.
content
this
.
orders
=
res
.
data
.
content
this
.
count
=
res
.
data
.
totalElements
this
.
count
=
res
.
data
.
totalElements
if
(
this
.
orders
.
length
>
0
)
{
this
.
$refs
.
myTable
.
setCurrentRow
(
this
.
orders
[
0
])
this
.
$refs
.
myTable
.
setCurrentRow
(
this
.
orders
[
0
])
}
// for test
// for test
// for (const o in this.orders) {
// for (const o in this.orders) {
...
@@ -223,8 +220,10 @@ export default {
...
@@ -223,8 +220,10 @@ export default {
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
if
(
val
)
{
this
.
order
=
val
this
.
order
=
val
this
.
handleClick
()
this
.
handleClick
()
}
},
},
handleOption
(
data
,
opt
)
{
handleOption
(
data
,
opt
)
{
...
...
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