Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
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
front-end-dev
techbook
Commits
e2694620
Commit
e2694620
authored
Oct 31, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重置
parent
ca75e02b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
searchList.vue
src/components/mobile/searchList.vue
+23
-6
proselectScreen.vue
src/views/mobile/proselectScreen.vue
+1
-0
No files found.
src/components/mobile/searchList.vue
View file @
e2694620
...
...
@@ -48,7 +48,9 @@
</ul>
</mt-loadmore>
<noData
v-if=
"hasData"
:nodata=
"true"
></noData>
<selectScreen
v-if=
"isVisible"
@
active=
"groupdata"
></selectScreen>
<selectScreen
v-if=
"isVisible&&$route.query.tab==2"
@
active=
"groupdata"
></selectScreen>
<selectScreenProject
v-if=
"isVisible&&$route.query.tab==1"
@
active=
"groupdataProject"
></selectScreenProject>
</div>
</
template
>
...
...
@@ -56,11 +58,13 @@
import
api
from
'../../views/bigbusiness/api/api'
;
import
noData
from
'../../views/mobile/searchempty'
;
import
selectScreen
from
'../../views/mobile/selectScreen'
import
selectScreenProject
from
'../../views/mobile/proselectScreen'
export
default
{
name
:
"searchList"
,
components
:{
noData
,
selectScreen
selectScreen
,
selectScreenProject
},
props
:{
isMargin
:{
...
...
@@ -79,6 +83,7 @@
allLoaded
:
false
,
flags
:
false
,
stateData
:{},
stateProjectData
:{},
fullscreenLoading
:
false
,
whichTab
:
0
,
isSelect
:
false
,
...
...
@@ -91,8 +96,14 @@
this
.
stateData
=
val
;
this
.
page
=
1
;
this
.
fullscreenLoading
=
true
;
if
(
this
.
$route
.
query
.
tab
==
1
)
this
.
getProjectList
();
else
if
(
this
.
$route
.
query
.
tab
==
2
||
this
.
isMargin
)
this
.
getInitList
();
this
.
getInitList
();
},
groupdataProject
(
val
){
this
.
stateProjectData
=
val
;
this
.
page
=
1
;
this
.
fullscreenLoading
=
true
;
this
.
getProjectList
();
},
isScreenVisible
(
data
){
...
...
@@ -101,14 +112,14 @@
getProjectList
(
param
){
if
(
!
this
.
isMargin
){
this
.
stateData
.
context
=
window
.
sessionStorage
.
getItem
(
"keyword"
)?
window
.
sessionStorage
.
getItem
(
"keyword"
):
undefined
;
this
.
state
Project
Data
.
context
=
window
.
sessionStorage
.
getItem
(
"keyword"
)?
window
.
sessionStorage
.
getItem
(
"keyword"
):
undefined
;
}
let
params
=
{
pagination
:{
numberOfPages
:
this
.
page
,
number
:
this
.
pageSize
},
search
:
this
.
stateData
search
:
this
.
state
Project
Data
};
this
.
fullscreenLoading
=
true
;
api
.
selectProjectAxios
(
params
).
then
(
res
=>
{
...
...
@@ -251,6 +262,12 @@
globalMsg
.
$on
(
"isShowScreen"
,(
data
)
=>
{
this
.
isSelect
=
data
;
})
document
.
addEventListener
(
'touchmove'
,
function
(
event
)
{
event
.
preventDefault
();
},
false
);
document
.
addEventListener
(
'touchmove'
,
function
(
event
)
{
window
.
event
.
returnValue
=
false
;
},
false
);
},
}
</
script
>
...
...
src/views/mobile/proselectScreen.vue
View file @
e2694620
...
...
@@ -194,6 +194,7 @@
this
.
projectstateSet
();
this
.
cooperationwaySet
();
this
.
selectBigBusinessLevelOneSet
();
this
.
resetClik
();
}
}
...
...
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