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
dd49cd21
Commit
dd49cd21
authored
Apr 30, 2019
by
youjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除结束价格
parent
ff225149
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
index.vue
src/views/baseInfo/stockCrowd/index.vue
+8
-7
No files found.
src/views/baseInfo/stockCrowd/index.vue
View file @
dd49cd21
...
@@ -21,12 +21,12 @@
...
@@ -21,12 +21,12 @@
</el-form-item>
</el-form-item>
<el-form-item
style=
"margin-bottom: 3px;"
>
<el-form-item
style=
"margin-bottom: 3px;"
>
<el-select
class=
"filter-item"
style=
"width: 70%;margin-right: 10px;"
v-model=
"listQuery.priceStart"
<el-select
class=
"filter-item"
style=
"width: 70%;margin-right: 10px;"
v-model=
"listQuery.priceStart"
placeholder=
"起点股价"
@
change=
'getStartValue'
>
placeholder=
"股价"
@
change=
'getStartValue'
>
<el-option
v-for=
"item in allStockPrice"
:key=
"item.id"
:label=
"item.name"
:value=
"item"
></el-option>
</el-select>
<el-select
class=
"filter-item"
v-model=
"listQuery.priceEnd"
placeholder=
"结束股价"
@
change=
'getEndValue'
>
<el-option
v-for=
"item in allStockPrice"
:key=
"item.id"
:label=
"item.name"
:value=
"item"
></el-option>
<el-option
v-for=
"item in allStockPrice"
:key=
"item.id"
:label=
"item.name"
:value=
"item"
></el-option>
</el-select>
</el-select>
<!--
<el-select
class=
"filter-item"
v-model=
"listQuery.priceEnd"
placeholder=
"结束股价"
@
change=
'getEndValue'
>
-->
<!--
<el-option
v-for=
"item in allStockPrice"
:key=
"item.id"
:label=
"item.name"
:value=
"item"
></el-option>
-->
<!--
</el-select>
-->
<el-button
@
click=
"getList()"
style=
"height: 35px;margin-left: 10px;"
>
搜索
</el-button>
<el-button
@
click=
"getList()"
style=
"height: 35px;margin-left: 10px;"
>
搜索
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -312,9 +312,10 @@
...
@@ -312,9 +312,10 @@
* @param target
* @param target
*/
*/
getStartValue
()
{
getStartValue
()
{
if
(
this
.
listQuery
.
priceStart
>=
this
.
listQuery
.
priceEnd
)
{
this
.
listQuery
.
priceEnd
=
this
.
listQuery
.
priceStart
;
this
.
listQuery
.
priceEnd
=
undefined
;
// if (this.listQuery.priceStart >= this.listQuery.priceEnd) {
}
// this.listQuery.priceEnd = undefined;
// }
},
},
/**
/**
* 选择股价结束价格
* 选择股价结束价格
...
...
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