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
4a469f75
Commit
4a469f75
authored
May 07, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分公司入股
parent
51627703
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
313 additions
and
4 deletions
+313
-4
index.js
src/router/index.js
+1
-1
index.vue
src/views/baseInfo/stockCrowd/index.vue
+17
-3
stockCrowd.vue
src/views/baseInfo/stockCrowd/stockCrowd.vue
+295
-0
No files found.
src/router/index.js
View file @
4a469f75
...
@@ -34,7 +34,7 @@ export const constantRouterMap = [{
...
@@ -34,7 +34,7 @@ export const constantRouterMap = [{
},
},
{
{
path
:
'/stockCrowd'
,
path
:
'/stockCrowd'
,
component
:
_import
(
'baseInfo/stockCrowd/
index
'
),
component
:
_import
(
'baseInfo/stockCrowd/
stockCrowd
'
),
name
:
'分公司入股'
,
name
:
'分公司入股'
,
hidden
:
true
hidden
:
true
// authority: 'stockCrowd'
// authority: 'stockCrowd'
...
...
src/views/baseInfo/stockCrowd/index.vue
View file @
4a469f75
...
@@ -12,9 +12,11 @@
...
@@ -12,9 +12,11 @@
<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.addrProvince"
<el-select
class=
"filter-item"
style=
"width: 70%;margin-right: 10px;"
v-model=
"listQuery.addrProvince"
placeholder=
"请选择省份(直辖市)"
@
change=
'getValue'
>
placeholder=
"请选择省份(直辖市)"
@
change=
'getValue'
>
<el-option
:key=
"undefined"
label=
"无"
:value=
"undefined"
></el-option>
<el-option
v-for=
"item in provinceRegions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in provinceRegions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-select>
<el-select
class=
"filter-item"
v-model=
"listQuery.addrCity"
placeholder=
"请选择城市"
>
<el-select
class=
"filter-item"
v-model=
"listQuery.addrCity"
placeholder=
"请选择城市"
>
<el-option
:key=
"undefined"
label=
"无"
:value=
"undefined"
></el-option>
<el-option
v-for=
"item in cityRegions4Query"
:key=
"item.id"
:label=
"item.name"
<el-option
v-for=
"item in cityRegions4Query"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
:value=
"item.id"
></el-option>
</el-select>
</el-select>
...
@@ -22,6 +24,7 @@
...
@@ -22,6 +24,7 @@
<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
:key=
"undefined"
label=
"无"
:value=
"undefined"
></el-option>
<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-select
class=
"filter-item"
v-model=
"listQuery.priceEnd"
placeholder=
"结束股价"
@
change=
'getEndValue'
>
-->
...
@@ -169,6 +172,7 @@
...
@@ -169,6 +172,7 @@
addrTown
:
undefined
addrTown
:
undefined
},
},
inline
:
true
,
inline
:
true
,
send
:
!
1
,
//是否已发送请求
}
}
},
},
computed
:
{
computed
:
{
...
@@ -285,10 +289,10 @@
...
@@ -285,10 +289,10 @@
console
.
log
(
"scroll"
);
console
.
log
(
"scroll"
);
let
isLoading
=
false
;
let
isLoading
=
false
;
window
.
onscroll
=
()
=>
{
window
.
onscroll
=
()
=>
{
// 距离底部
20
0px时加载一次
// 距离底部0px时加载一次
let
ss
=
document
.
documentElement
.
offsetHeight
-
document
.
documentElement
.
scrollTop
-
window
.
innerHeight
;
let
ss
=
document
.
documentElement
.
offsetHeight
-
document
.
documentElement
.
scrollTop
-
window
.
innerHeight
;
console
.
log
(
ss
);
console
.
log
(
ss
);
let
bottomOfWindow
=
document
.
documentElement
.
offsetHeight
-
document
.
documentElement
.
scrollTop
-
window
.
innerHeight
<
=
0
;
let
bottomOfWindow
=
document
.
documentElement
.
offsetHeight
-
document
.
documentElement
.
scrollTop
-
window
.
innerHeight
=
=
0
;
if
(
bottomOfWindow
)
{
if
(
bottomOfWindow
)
{
this
.
getListReachBottom
();
this
.
getListReachBottom
();
}
}
...
@@ -298,7 +302,7 @@
...
@@ -298,7 +302,7 @@
goBack
()
{
goBack
()
{
console
.
log
(
this
.
optionName
);
console
.
log
(
this
.
optionName
);
let
that
=
this
;
let
that
=
this
;
this
.
$router
.
push
({
path
:
'/companyInfo'
})
//
this.$router.push({path: '/companyInfo'})
},
},
/**
/**
* 选择省份
* 选择省份
...
@@ -337,12 +341,16 @@
...
@@ -337,12 +341,16 @@
*/
*/
getListReachBottom
:
function
()
{
getListReachBottom
:
function
()
{
var
that
=
this
;
var
that
=
this
;
if
(
this
.
send
){
return
;
}
if
(
this
.
nomore
)
{
if
(
this
.
nomore
)
{
return
false
return
false
}
}
let
allList
=
this
.
list
;
let
allList
=
this
.
list
;
this
.
nomore
=
false
;
this
.
nomore
=
false
;
this
.
nodata
=
false
;
this
.
nodata
=
false
;
this
.
send
=
!
0
;
debugger
stockSearchPage
(
this
.
listQuery
)
stockSearchPage
(
this
.
listQuery
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
...
@@ -363,6 +371,7 @@
...
@@ -363,6 +371,7 @@
this
.
nodata
=
true
;
this
.
nodata
=
true
;
}
}
}
}
this
.
send
=
!
1
;
});
});
},
},
/**
/**
...
@@ -370,11 +379,15 @@
...
@@ -370,11 +379,15 @@
*/
*/
getList
:
function
()
{
getList
:
function
()
{
var
that
=
this
;
var
that
=
this
;
if
(
this
.
send
){
return
;
}
this
.
nomore
=
false
;
this
.
nomore
=
false
;
this
.
nodata
=
false
;
this
.
nodata
=
false
;
this
.
list
=
[];
this
.
list
=
[];
this
.
listQuery
.
page
=
1
;
this
.
listQuery
.
page
=
1
;
let
allList
=
this
.
list
;
let
allList
=
this
.
list
;
this
.
send
=
!
0
;
stockSearchPage
(
this
.
listQuery
)
stockSearchPage
(
this
.
listQuery
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
...
@@ -395,6 +408,7 @@
...
@@ -395,6 +408,7 @@
this
.
nodata
=
true
;
this
.
nodata
=
true
;
}
}
}
}
this
.
send
=
!
1
;
debugger
});
});
},
},
}
}
...
...
src/views/baseInfo/stockCrowd/stockCrowd.vue
0 → 100644
View file @
4a469f75
This diff is collapsed.
Click to expand it.
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