Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
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
华国豪
Athena
Commits
b35a0cf3
Commit
b35a0cf3
authored
Aug 23, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a4b71166
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
10 deletions
+37
-10
FreeHome.vue
src/components/FreeTravel/FreeHome.vue
+1
-1
FreeList.vue
src/components/FreeTravel/FreeList.vue
+20
-7
FreeList2.vue
src/components/FreeTravel/FreeList2.vue
+16
-2
No files found.
src/components/FreeTravel/FreeHome.vue
View file @
b35a0cf3
...
...
@@ -1016,7 +1016,7 @@ export default {
let
data
=
res
.
data
.
data
.
Countries
let
deleteIdiot
=
[]
data
.
map
(
x
=>
{
if
(
x
.
Country_Name
!==
"台湾"
&&
x
.
Country_Name
!==
"香港"
&&
x
.
Country_Name
!==
"澳门"
)
{
if
(
x
.
Country_Name
!==
"台湾"
&&
x
.
Country_Name
!==
"香港"
&&
x
.
Country_Name
!==
"澳门"
&&
x
.
Country_Name
!==
"港澳"
)
{
deleteIdiot
.
push
(
x
)
}
})
...
...
src/components/FreeTravel/FreeList.vue
View file @
b35a0cf3
...
...
@@ -295,7 +295,7 @@
display
:
flex
;
}
.shaixuan-top
{
border
:
1px
dashed
rgba
(
220
,
220
,
220
,
1
);
border
-bottom
:
1px
dashed
rgba
(
220
,
220
,
220
,
1
);
}
.shaixuan-top
>
div
:nth-child
(
2
)
{
flex
:
1
;
...
...
@@ -565,8 +565,10 @@
<el-date-picker
size=
"mini"
v-model=
"value"
type=
"date"
type=
"date
range
"
:picker-options=
"pickerOptions0"
@
change=
"changeDate"
value-format=
"yyyyMMdd"
placeholder=
"选择日期"
>
</el-date-picker>
</div>
...
...
@@ -644,9 +646,6 @@ export default {
"locale"
:
"zh-cn"
,
"state"
:
"CN"
,
"sort"
:
"PASC"
,
"cat_main_keys"
:
[
"TAG_4"
],
"page_size"
:
16
,
"start"
:
0
,
},
...
...
@@ -847,6 +846,18 @@ export default {
this
.
scrollobj
.
addEventListener
(
'scroll'
,
this
.
handleScroll
);
},
methods
:
{
changeDate
(){
let
date
=
this
.
value
?
this
.
value
:
""
console
.
log
(
this
.
value
)
if
(
date
)
{
this
.
msg
.
date_from
=
date
[
0
]
this
.
msg
.
date_to
=
date
[
1
]
}
else
{
delete
this
.
msg
.
date_from
delete
this
.
msg
.
date_to
}
this
.
getList
()
},
// 选中小标签 加载数据
setChangeTag
(
item
){
delete
this
.
msg
.
cat_main_keys
;
...
...
@@ -872,7 +883,7 @@ export default {
this
.
getList
()
}
else
{
this
.
msg
.
cat_main_keys
=
[
"TAG_4"
]
delete
this
.
msg
.
cat_main_keys
delete
this
.
msg
.
cat_sub_keys
this
.
getList
()
}
...
...
@@ -968,7 +979,7 @@ export default {
let
data
=
res
.
data
.
data
.
Countries
let
deleteIdiot
=
[]
data
.
map
(
x
=>
{
if
(
x
.
Country_Name
!==
"台湾"
&&
x
.
Country_Name
!==
"香港"
&&
x
.
Country_Name
!==
"澳门"
)
{
if
(
x
.
Country_Name
!==
"台湾"
&&
x
.
Country_Name
!==
"香港"
&&
x
.
Country_Name
!==
"澳门"
&&
x
.
Country_Name
!==
"港澳"
)
{
deleteIdiot
.
push
(
x
)
}
})
...
...
@@ -1005,6 +1016,8 @@ export default {
}
this
.
msg
.
sort
=
"HDESC"
this
.
laoding2
=
true
;
delete
this
.
msg
.
date_from
delete
this
.
msg
.
date_to
//http://efficient.oytour.com/api/kkday/commodityList
this
.
apiJavaPost
(
"/api/kkday/commodityList"
,
...
...
src/components/FreeTravel/FreeList2.vue
View file @
b35a0cf3
...
...
@@ -536,8 +536,10 @@
<el-date-picker
size=
"mini"
v-model=
"value"
type=
"date"
type=
"date
range
"
:picker-options=
"pickerOptions0"
value-format=
"yyyyMMdd"
@
change=
"changeDate"
placeholder=
"选择日期"
>
</el-date-picker>
</div>
...
...
@@ -831,6 +833,18 @@ export default {
this
.
getCCList
(
1
)
},
methods
:
{
changeDate
(){
let
date
=
this
.
value
?
this
.
value
:
""
console
.
log
(
this
.
value
)
if
(
date
)
{
this
.
msg
.
date_from
=
date
[
0
]
this
.
msg
.
date_to
=
date
[
1
]
}
else
{
delete
this
.
msg
.
date_from
delete
this
.
msg
.
date_to
}
this
.
getList
()
},
changeMainTag
(
e
){
console
.
log
(
e
)
if
(
e
.
length
>
0
)
{
...
...
@@ -971,7 +985,7 @@ export default {
let
data
=
res
.
data
.
data
.
Countries
let
deleteIdiot
=
[]
data
.
map
(
x
=>
{
if
(
x
.
Country_Name
!==
"台湾"
&&
x
.
Country_Name
!==
"香港"
&&
x
.
Country_Name
!==
"澳门"
)
{
if
(
x
.
Country_Name
!==
"台湾"
&&
x
.
Country_Name
!==
"香港"
&&
x
.
Country_Name
!==
"澳门"
&&
x
.
Country_Name
!==
"港澳"
)
{
deleteIdiot
.
push
(
x
)
}
})
...
...
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