Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
ed9e64d1
Commit
ed9e64d1
authored
Dec 14, 2023
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
fc9e46fb
659fc233
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1422 additions
and
1718 deletions
+1422
-1718
tripIndexNewHV.css
src/assets/css/tripIndexNewHV.css
+233
-0
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+11
-0
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+536
-517
ItineraryFeatures.vue
src/components/LeaveGroupDownload/ItineraryFeatures.vue
+3
-2
index.vue
src/components/LeaveGroupDownload/index.vue
+221
-187
travelDaysHV.vue
src/components/LeaveGroupDownload/travelDaysHV.vue
+156
-0
index.vue
src/components/commonPage/pptIframe/index.vue
+18
-2
confirmationOrderDownLoadNew.vue
src/components/confirmationOrderDownLoadNew.vue
+11
-7
index.vue
src/components/index.vue
+1
-1
TravelConfig.vue
...ents/newTravelmanager/TravelGroupControl/TravelConfig.vue
+1
-1
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+10
-4
TravelManagerThree.vue
...ewTravelmanager/TravelGroupControl/TravelManagerThree.vue
+15
-9
TravelDaysTrip_DirectThree.vue
...avelmanager/travelLineTrip/TravelDaysTrip_DirectThree.vue
+33
-10
travelDaysHV.vue
...wTravelmanager/travelLineTrip/components/travelDaysHV.vue
+173
-978
No files found.
src/assets/css/tripIndexNewHV.css
0 → 100644
View file @
ed9e64d1
.LeaveGroupDownload-form.LeaveGroupDownload-formHV
.flight_list
td
{
background
:
none
!important
;
}
.hangban-info.hangban-infoHV
{
background
:
none
!important
;
}
.baseTable.baseTableHV
.essential-item.jianju
{
border
:
5px
solid
#FFF
;
}
.baseTable.baseTableHV
.essential-item.jianju_b
{
border
:
5px
solid
#FFF
;
}
.travelDaysHVMasterMap3
{
height
:
388px
;
border-radius
:
60px
0px
60px
0px
;
}
.travelDaysHV-Description
{
font-size
:
24px
;
line-height
:
34px
;
color
:
#484647
;
font-family
:
DengXian
;
font-weight
:
400
;
word-break
:
break-all
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
5
;
overflow
:
hidden
;
margin-top
:
10px
;
}
.travelDaysHV-Description.travelDaysHV-Description3
{
height
:
295px
;
-webkit-line-clamp
:
9
;
margin-top
:
20px
;
}
.travelDaysHV-CouponsName
span
.CouponsNameM
{
position
:
relative
;
top
:
-9px
;
}
.travelDaysHV-CouponsName.travelDaysHV-CouponsName3
span
.CouponsNameT
{
max-width
:
450px
;
}
.travelDaysHV-CouponsName
span
.CouponsNameT
{
display
:
inline-block
;
width
:
auto
;
max-width
:
650px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.travelDaysHV-CouponsName
{
overflow
:
hidden
;
font-size
:
30px
;
text-align
:
center
;
font-family
:
Microsoft
YaHei
;
white-space
:
nowrap
;
}
.travelDaysHVMasterMap-one
{
height
:
524px
;
}
.travelDaysHVMasterMap2
{
height
:
524px
;
border-radius
:
50px
0px
50px
0px
;
}
.travelDaysHV3-imgBox
{
width
:
516px
;
}
.travelDaysHV2-imgBox
{
width
:
786px
;
}
.travelDaysHV-box
{
padding
:
47px
54px
0
54px
;
}
.travelDaysHVdetails-icon
span
{
margin-left
:
1px
;
font-size
:
20px
;
}
.travelDaysHVdetails-icon
{
width
:
36px
;
height
:
36px
;
border-radius
:
50%
;
background
:
#D6CEC1
;
text-align
:
center
;
line-height
:
34px
;
margin-right
:
30px
;
}
.trtravelDaysHVdetails-textC
{
font-size
:
26px
;
font-family
:
DengXian
;
font-weight
:
400
;
color
:
#484647
;
}
.travelDaysHVdetails-text0
{
font-size
:
26px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
bold
;
color
:
#484647
;
line-height
:
28px
;
white-space
:
nowrap
;
}
.travelDaysHVTdetails-textBox
{
min-height
:
53px
;
align-items
:
center
;
}
.travelDaysHVdetails-textBox
{
width
:
100%
;
height
:
2px
;
background
:
#E8E8E8
;
margin
:
14px
0
;
}
.travelDaysHVContent-text
.textBold
{
font-size
:
30px
;
margin-bottom
:
29px
;
}
.travelDaysHVContent-text
:last-child
{
margin-bottom
:
0
;
}
.travelDaysHVContent-text
{
font-size
:
26px
;
font-family
:
DengXian
;
font-weight
:
bold
;
color
:
#FFFFFF
;
line-height
:
26px
;
margin-bottom
:
40px
;
}
.travelDaysHVdetailsBJ
{
background
:
rgba
(
255
,
255
,
255
,
0.8
);
padding
:
16px
55px
;
border-radius
:
20px
;
}
.travelDaysHVdetails
{
margin
:
0
;
padding
:
0
47px
40px
47px
;
}
.travelDaysHVContent
{
padding
:
42px
55px
;
background
:
rgba
(
23
,
23
,
23
,
0.4
);
margin
:
0
57px
;
margin-bottom
:
50px
;
}
.travelDaysHVMasterMap
img
{
width
:
100%
;
}
.travelDaysHVMasterMap
{
height
:
800px
;
}
.travelDaysHVMasterMap2-box
{
height
:
1050px
;
background
:
url('http://imgfile.oytour.com/Static/bjHV.png')
no-repeat
;
background-size
:
100%
100%
;
}
.travelDaysHVContentOne
{
z-index
:
99
;
bottom
:
0
;
left
:
0
;
right
:
0
;
}
.UpgradedVersion2Line.UpgradedVersion2LineHV
{
top
:
1240px
;
}
.HVTitlle-header1
{
width
:
1342px
;
font-size
:
26px
;
font-family
:
DengXian
;
font-weight
:
bold
;
color
:
#242424
;
margin-top
:
22px
;
word-break
:
break-all
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
overflow
:
hidden
;
text-align
:
left
;
line-height
:
38px
;
}
.HVTitlle-header0
img
{
width
:
29px
;
height
:
32px
;
margin-right
:
23px
;
top
:
7px
;
}
.HVTitlle-header0
span
{
width
:
1342px
;
font-size
:
32px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
bold
;
color
:
#242424
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
.travelDaysHVTitlle-right
{
margin-left
:
54px
;
flex-wrap
:
nowrap
;
flex
:
1
;
overflow
:
hidden
;
}
.travelDaysHVTitlle-borderL
div
{
border-left
:
1px
dashed
#fff
;
height
:
95%
;
min-height
:
65px
;
}
.travelDaysHVTitlle-borderL
{
width
:
1px
;
padding
:
5px
0
;
}
.travelDaysHVTitlle-right-text
{
padding-left
:
72px
;
justify-content
:
center
;
}
.travelDaysHVTitlle-left-textOne
img
{
width
:
100%
;
display
:
block
;
}
.travelDaysHVTitlle-left-textOne
{
width
:
125px
;
height
:
36px
;
margin-top
:
6px
;
}
.travelDaysHVTitlle-left-textTwo
{
font-family
:
Microsoft
YaHei
;
font-size
:
52px
;
font-weight
:
bold
;
color
:
#242424
;
}
.travelDaysHVTitlle-left
{
margin-left
:
61px
;
}
.UpgradedVersionHV-box2
{
width
:
1754px
;
background
:
#fff
;
}
src/components/FinancialModule/RecPayQuery.vue
View file @
ed9e64d1
...
@@ -458,6 +458,17 @@
...
@@ -458,6 +458,17 @@
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"发票状态"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.KingdeeInvoice==1||scope.row.KingdeeInvoice==3"
>
<div
v-if=
"scope.row.InvoiceState==0"
>
有票-待上传
</div>
<div
v-else-if=
"scope.row.InvoiceState==1"
>
有票-待审核
</div>
<div
v-else-if=
"scope.row.InvoiceState==2"
>
有票-已审核
</div>
</div>
<div
v-else
>
无票
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"操作"
>
<el-table-column
prop=
""
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
ed9e64d1
This diff is collapsed.
Click to expand it.
src/components/LeaveGroupDownload/ItineraryFeatures.vue
View file @
ed9e64d1
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
<!--
<div
v-if=
"showType>=4"
id=
"gernalCanvas"
style=
"margin:auto;width:100%"
v-html=
"feature.featureHtml"
></div>
-->
<!--
<div
v-if=
"showType>=4"
id=
"gernalCanvas"
style=
"margin:auto;width:100%"
v-html=
"feature.featureHtml"
></div>
-->
<div
v-if=
"showType>=4"
id=
"gernalCanvas"
class=
"slider"
style=
"margin:auto;width:100%"
>
<div
v-if=
"showType>=4"
id=
"gernalCanvas"
class=
"slider"
style=
"margin:auto;width:100%"
>
<template
v-for=
"(i,index) in feature.tripImageList"
>
<template
v-for=
"(i,index) in feature.tripImageList"
>
<img
:key=
"index"
:src=
"feature.headerImage"
style=
"width:100%;display: block;"
>
<img
v-if=
"dataAll.featurePageType==2"
:key=
"index"
:src=
"feature.headerImage"
style=
"width:100%;display: block;"
>
<img
:key=
"index+100000"
:src=
"i"
style=
"width:100%;display: block;"
>
<img
:key=
"index+100000"
:src=
"i"
style=
"width:100%;display: block;"
>
<img
:key=
"index+200000"
class=
"MT19"
:src=
"feature.footerImage"
style=
"width:100%;display: block;"
>
<img
v-if=
"dataAll.featurePageType==2"
:key=
"index+200000"
class=
"MT19"
:src=
"feature.footerImage"
style=
"width:100%;display: block;"
>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
},
},
props
:
[
props
:
[
'dataAll'
,
'feature'
,
'feature'
,
'vshowC'
,
'vshowC'
,
'showType'
'showType'
...
...
src/components/LeaveGroupDownload/index.vue
View file @
ed9e64d1
This diff is collapsed.
Click to expand it.
src/components/LeaveGroupDownload/travelDaysHV.vue
0 → 100644
View file @
ed9e64d1
<
template
>
<div
id=
"pdf_3"
v-if=
"vshowD"
>
<div
style=
"width: 1750px;"
>
<template
v-for=
"(i,index) in feature.detailsImageList"
>
<img
:key=
"index+100000"
:src=
"i"
style=
"width:100%;display: block;"
>
</
template
>
</div>
</div>
</template>
<
script
>
import
Header
from
"./components/header"
;
export
default
{
components
:
{
Header
},
props
:
[
'dataAll'
,
'tripList'
,
'orderMsg'
,
'orderTripdiff'
,
'vshowD'
,
'vshowK'
,
'feature'
],
data
()
{
return
{
title
:
'北京-马德里-塞戈维亚-萨拉曼卡-贝尼多姆/小镇-瓦伦西亚-巴塞罗那(约 253km,约 3h)北京-马德里-塞戈维亚-萨拉曼卡-贝尼多姆/小镇-瓦伦西亚-巴塞罗那(约 253km,约 3h)'
,
day
:
'DAY'
,
backgroundColor
:
''
,
backgroundColor2
:
''
,
textColor
:
''
,
textColorOne
:
''
,
};
},
methods
:
{
getHtmlPlainText
(
html_str
)
{
//提取字符串中的文字
let
re
=
new
RegExp
(
'<[^<>]+>'
,
'g'
)
if
(
html_str
)
{
let
text
=
html_str
.
replace
(
re
,
''
)
return
text
}
else
{
return
''
}
},
getFontSize
(
title
)
{
let
size
=
30
;
if
(
title
&&
title
.
length
>
0
&&
title
.
length
>
80
)
{
var
tempSize
=
Number
(
80
)
/
Number
(
title
.
length
);
tempSize
=
tempSize
*
30
;
size
=
tempSize
.
toFixed
(
1
);
}
return
size
+
"px"
;
},
getImgColor
(
img
,
id
)
{
return
"#fff"
},
// 获取图片颜色
canvasImgColor
(
imgs
,
ids
,
callback
)
{
var
imgSrc
=
imgs
var
upload
=
document
.
getElementById
(
ids
)
const
imgEle
=
document
.
createElement
(
'img'
)
const
canvas
=
document
.
createElement
(
'canvas'
)
imgEle
.
src
=
imgSrc
imgEle
.
crossOrigin
=
''
;
imgEle
.
onload
=
()
=>
{
var
ctx
=
canvas
.
getContext
(
"2d"
);
var
naturalImgSize
=
[
imgEle
.
naturalWidth
,
imgEle
.
naturalHeight
];
canvas
.
width
=
naturalImgSize
[
0
];
canvas
.
height
=
naturalImgSize
[
1
];
//绘制到canvas
ctx
.
drawImage
(
imgEle
,
0
,
0
);
//获取imageData:rgba像素点
var
imgData
=
ctx
.
getImageData
(
0
,
0
,
canvas
.
width
,
canvas
.
height
);
const
leftSectionData
=
[]
const
rightSectionData
=
[]
const
oneLineImgDataLen
=
canvas
.
width
*
4
;
imgData
.
data
.
forEach
((
colorVal
,
i
)
=>
{
if
(
i
%
oneLineImgDataLen
<=
0.5
*
oneLineImgDataLen
||
i
%
oneLineImgDataLen
>=
0.6
*
oneLineImgDataLen
)
{
const
inLeft
=
i
%
oneLineImgDataLen
<=
0.5
*
oneLineImgDataLen
if
(
i
%
4
===
0
)
{
// 获取rgb均值
const
curAverageRGB
=
(
imgData
.
data
[
i
]
+
imgData
.
data
[
i
+
1
]
+
imgData
.
data
[
i
+
2
])
/
3
;
let
leftOrRightRef
=
inLeft
?
leftSectionData
:
rightSectionData
;
//每个数组里存四个值:本颜色值中的r、g、b的均值,以及r、g、b三个值。
//均值一方面用于累加计算本区域的整体均值,然后再跟每个均值对比拿到与整体均值最接近的项的索引,再取该数组里的后三个值:rgb,对应着颜色
leftOrRightRef
[
leftOrRightRef
.
length
]
=
[
curAverageRGB
,
imgData
.
data
[
i
],
imgData
.
data
[
i
+
1
],
imgData
.
data
[
i
+
2
]
]
}
}
})
//generate average rgb
const
averageOfLeft
=
Math
.
round
(
leftSectionData
.
reduce
((
_cur
,
item
)
=>
{
return
_cur
+
item
[
0
]
},
0
)
/
leftSectionData
.
length
)
const
averageOfRight
=
Math
.
round
(
rightSectionData
.
reduce
((
_cur
,
item
)
=>
{
return
_cur
+
item
[
0
]
},
0
)
/
rightSectionData
.
length
)
//find the most near color
const
findNearestIndex
=
(
averageVal
,
arrBox
)
=>
{
let
_gapValue
=
Math
.
abs
(
averageVal
-
arrBox
[
0
])
let
_nearColorIndex
=
0
arrBox
.
forEach
((
item
,
index
)
=>
{
const
curGapValue
=
Math
.
abs
(
item
-
averageVal
)
if
(
curGapValue
<
_gapValue
)
{
_gapValue
=
curGapValue
_nearColorIndex
=
index
}
})
return
_nearColorIndex
}
const
leftNearestColor
=
leftSectionData
[
findNearestIndex
(
averageOfLeft
,
leftSectionData
)]
const
rightNearestColor
=
rightSectionData
[
findNearestIndex
(
averageOfRight
,
rightSectionData
)]
upload
.
style
.
backgroundColor
=
`rgba(
${
leftNearestColor
[
1
]}
,
${
leftNearestColor
[
2
]}
,
${
leftNearestColor
[
3
]}
,1) 0%,rgba(
${
rightNearestColor
[
1
]}
,
${
rightNearestColor
[
2
]}
,
${
rightNearestColor
[
3
]}
,1)`
callback
(
upload
.
style
.
backgroundColor
)
}
}
},
computed
:
{},
watch
:
{
dataAll
:
{
handler
(
val
,
oldVal
)
{
if
(
val
&&
val
.
tripColor
)
{
this
.
backgroundColor
=
this
.
hexToRgb
(
val
.
tripColor
,
0.2
)
this
.
backgroundColor2
=
this
.
hexToRgb
(
val
.
tripColor
,
0.1
)
let
rgba
=
this
.
hexToRgb
(
val
.
tripColor
,
1
)
rgba
=
rgba
.
split
(
','
)
let
rgba0
=
rgba
[
0
].
split
(
'('
)
let
arr
=
[
rgba0
[
1
],
rgba
[
1
],
rgba
[
2
]]
if
(
this
.
getRgbLevel
(
arr
)
>
50
)
{
this
.
textColor
=
"#fff"
}
else
{
this
.
textColor
=
"#333"
}
}
},
deep
:
true
,
immediate
:
true
},
tripList
:
{
handler
(
val
,
oldVal
)
{
},
deep
:
true
,
immediate
:
true
},
},
mounted
()
{
}
};
</
script
>
<
style
>
</
style
>
src/components/commonPage/pptIframe/index.vue
View file @
ed9e64d1
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
<div
class=
"dialogPptistVisible-box"
<div
class=
"dialogPptistVisible-box"
style=
"width: 100%;height: 100%;"
>
style=
"width: 100%;height: 100%;"
>
<div
class=
"closePptist-box"
>
<div
class=
"closePptist-box"
>
<div
class=
"closePptist"
>
<div
class=
"closePptist"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"关闭窗口"
placement=
"bottom"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"关闭窗口"
placement=
"bottom"
>
<i
class=
"el-icon-close"
<i
class=
"el-icon-close"
...
@@ -11,14 +12,14 @@
...
@@ -11,14 +12,14 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
<iframe
:src=
"Url"
<iframe
name=
"myTemplateUrl"
:src=
"Url"
class=
"TemplateIframe"
>
class=
"TemplateIframe"
>
</iframe>
</iframe>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:[
'Url'
],
props
:[
'Url'
,
'FeaturePageType'
],
data
()
{
data
()
{
return
{
return
{
dialogPptistVisible
:
false
,
dialogPptistVisible
:
false
,
...
@@ -27,6 +28,21 @@
...
@@ -27,6 +28,21 @@
TemplateUrlImg
:
''
,
TemplateUrlImg
:
''
,
isPostMessage
:
false
isPostMessage
:
false
}
}
},
watch
:
{
FeaturePageType
:
{
//深度监听,可监听到对象、数组的变化
handler
:
function
(
val
,
oldVal
)
{
if
(
document
.
all
.
myTemplateUrl
){
document
.
all
.
myTemplateUrl
.
src
=
this
.
Url
}
},
deep
:
true
,
immediate
:
true
},
},
mounted
()
{
},
},
methods
:
{
methods
:
{
close
()
{
close
()
{
...
...
src/components/confirmationOrderDownLoadNew.vue
View file @
ed9e64d1
...
@@ -38,7 +38,8 @@
...
@@ -38,7 +38,8 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"travelControlTrip"
>
<div
class=
"travelControlTrip"
:style=
"
{'width':dataAll
&&
dataAll.featurePageType==2?'1123px':'1754px'}">
<div
class=
"trip_cover"
v-show=
"pdfLoading"
v-loading=
"pdfLoading"
></div>
<div
class=
"trip_cover"
v-show=
"pdfLoading"
v-loading=
"pdfLoading"
></div>
<el-row
style=
"padding: 0 0 20px 0;box-shadow: 1px 10px 10px#e6e6e6;"
>
<el-row
style=
"padding: 0 0 20px 0;box-shadow: 1px 10px 10px#e6e6e6;"
>
<el-col
:span=
"14"
class=
"row-aic"
>
<el-col
:span=
"14"
class=
"row-aic"
>
...
@@ -72,21 +73,21 @@
...
@@ -72,21 +73,21 @@
<el-checkbox
class=
"marginL11"
style=
"display:none;"
v-model=
"isShowTime"
>
显示行程日期
</el-checkbox>
<el-checkbox
class=
"marginL11"
style=
"display:none;"
v-model=
"isShowTime"
>
显示行程日期
</el-checkbox>
</el-col>
</el-col>
</el-row>
</el-row>
<div
id=
"pdfNode"
class=
"LeaveGroupDownload-form"
>
<div
id=
"pdfNode"
class=
"LeaveGroupDownload-form
LeaveGroupDownload-formHV
"
>
<div
id=
"pdfDom"
>
<div
id=
"pdfDom"
>
<!-- 首页 -->
<!-- 首页 -->
<LeaveGroupDownload
:dataAll=
"dataAll"
:vshowJ=
"vshowJ"
:vshowL=
"vshowL"
:WeiXinShareImgSrc=
"WeiXinShareImgSrc"
<LeaveGroupDownload
:dataAll=
"dataAll"
:vshowJ=
"vshowJ"
:vshowL=
"vshowL"
:WeiXinShareImgSrc=
"WeiXinShareImgSrc"
:orderMsg=
"orderMsg"
:orderTripdiff=
"orderTripdiff"
:vshowLLR=
"vshowLLR"
:vshowB=
"vshowB"
:lineId=
"lineId"
:orderMsg=
"orderMsg"
:orderTripdiff=
"orderTripdiff"
:vshowLLR=
"vshowLLR"
:vshowB=
"vshowB"
:lineId=
"lineId"
:priceList=
"priceList"
>
:priceList=
"priceList"
>
</LeaveGroupDownload>
</LeaveGroupDownload>
<!-- 行程特色 -->
<!-- 行程特色 -->
<ItineraryFeatures
:feature=
"feature"
:vshowC=
"vshowC"
:showType=
"showType"
></ItineraryFeatures>
<ItineraryFeatures
:
dataAll=
"dataAll"
:
feature=
"feature"
:vshowC=
"vshowC"
:showType=
"showType"
></ItineraryFeatures>
<!-- 行程天数 -->
<!-- 行程天数 -->
<travelDays
:dataAll=
"dataAll"
:orderMsg=
"orderMsg"
:orderTripdiff=
"orderTripdiff"
:tripList=
"tripList"
<travelDays
v-if=
"dataAll&&dataAll.featurePageType==2"
:dataAll=
"dataAll"
:orderMsg=
"orderMsg"
:orderTripdiff=
"orderTripdiff"
:tripList=
"tripList"
:vshowD=
"vshowD"
:vshowK=
"vshowK"
:feature=
"feature"
></travelDays>
:vshowD=
"vshowD"
:vshowK=
"vshowK"
:feature=
"feature"
></travelDays>
<travelDaysHV
v-if=
"dataAll&&dataAll.featurePageType==1"
:dataAll=
"dataAll"
:orderMsg=
"orderMsg"
:orderTripdiff=
"orderTripdiff"
:tripList=
"tripList"
:vshowD=
"vshowD"
:vshowK=
"vshowK"
:feature=
"feature"
></travelDaysHV>
<!-- 团队费用说明 -->
<!-- 团队费用说明 -->
<TourFareDescription
:vshowE=
"vshowE"
:vshowF=
"vshowF"
:dataList=
"dataList"
:feature=
"feature"
>
<TourFareDescription
:vshowE=
"vshowE"
:vshowF=
"vshowF"
:dataList=
"dataList"
:feature=
"feature"
>
</TourFareDescription>
</TourFareDescription>
...
@@ -209,6 +210,7 @@
...
@@ -209,6 +210,7 @@
import
LeaveGroupDownload
from
'./LeaveGroupDownload/index'
import
LeaveGroupDownload
from
'./LeaveGroupDownload/index'
import
ItineraryFeatures
from
'./LeaveGroupDownload/ItineraryFeatures'
import
ItineraryFeatures
from
'./LeaveGroupDownload/ItineraryFeatures'
import
travelDays
from
'./LeaveGroupDownload/travelDays'
import
travelDays
from
'./LeaveGroupDownload/travelDays'
import
travelDaysHV
from
'./LeaveGroupDownload/travelDaysHV'
import
TourFareDescription
from
'./LeaveGroupDownload/TourFareDescription'
import
TourFareDescription
from
'./LeaveGroupDownload/TourFareDescription'
import
OrderNotice
from
'./LeaveGroupDownload/OrderNotice'
import
OrderNotice
from
'./LeaveGroupDownload/OrderNotice'
import
VisaInformation
from
'./LeaveGroupDownload/VisaInformation'
import
VisaInformation
from
'./LeaveGroupDownload/VisaInformation'
...
@@ -221,6 +223,7 @@
...
@@ -221,6 +223,7 @@
LeaveGroupDownload
,
LeaveGroupDownload
,
ItineraryFeatures
,
ItineraryFeatures
,
travelDays
,
travelDays
,
travelDaysHV
,
TourFareDescription
,
TourFareDescription
,
OrderNotice
,
OrderNotice
,
VisaInformation
VisaInformation
...
@@ -569,7 +572,7 @@
...
@@ -569,7 +572,7 @@
// objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf";
// objFileKey += "/" + msg.configId + "_" + msg.tcid + ".pdf";
// that.downloadChengDuFileRename(objFileKey, fileName, res => {
// that.downloadChengDuFileRename(objFileKey, fileName, res => {
// if (res.resultCode == 0) {
// if (res.resultCode == 0) {
// } else {
// } else {
// that.pdfLoading = false;
// that.pdfLoading = false;
// }
// }
...
@@ -1018,6 +1021,7 @@
...
@@ -1018,6 +1021,7 @@
@import
url("../assets/css/UpgradedVersion.css")
;
@import
url("../assets/css/UpgradedVersion.css")
;
@import
url("../assets/css/tripIndexNew2.css")
;
@import
url("../assets/css/tripIndexNew2.css")
;
@import
url('../assets/css/detail.css')
;
@import
url('../assets/css/detail.css')
;
@import
url('../assets/css/tripIndexNewHV.css')
;
.edit_form_box
{
.edit_form_box
{
...
...
src/components/index.vue
View file @
ed9e64d1
...
@@ -1991,7 +1991,7 @@
...
@@ -1991,7 +1991,7 @@
// 添加编辑模版
// 添加编辑模版
journeyTemplate
(){
journeyTemplate
(){
let
href
=
this
.
domainManager
().
PptUrl
let
href
=
this
.
domainManager
().
PptUrl
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&model=1`
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&model=1
&TempType=0
`
this
.
dialogPptistVisible
=
true
this
.
dialogPptistVisible
=
true
},
},
GetExaminePriceOrderPageList
(
type
)
{
GetExaminePriceOrderPageList
(
type
)
{
...
...
src/components/newTravelmanager/TravelGroupControl/TravelConfig.vue
View file @
ed9e64d1
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"_VideoStr_box"
>
<div
class=
"_VideoStr_box"
v-if=
"false"
>
<el-form-item
label=
"行程主题色"
>
<el-form-item
label=
"行程主题色"
>
<el-color-picker
style=
'vertical-align: middle;'
v-model=
"PostConfig.TripColor"
></el-color-picker>
<el-color-picker
style=
'vertical-align: middle;'
v-model=
"PostConfig.TripColor"
></el-color-picker>
</el-form-item>
</el-form-item>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
ed9e64d1
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</div>
</div>
<!-- ppt 模版新增编辑窗口 -->
<!-- ppt 模版新增编辑窗口 -->
<pptIframe
v-show=
"dialogPptistVisible"
:Url=
"TemplateUrl"
<pptIframe
v-show=
"dialogPptistVisible"
:
FeaturePageType=
"dataAll.FeaturePageType"
:
Url=
"TemplateUrl"
@
close=
"closeIframe()"
></pptIframe>
@
close=
"closeIframe()"
></pptIframe>
</div>
</div>
</template>
</template>
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
UpgradedVersion
,
UpgradedVersion
,
pptIframe
pptIframe
},
},
props
:
[
"subConfigId"
,
"FeatureData"
,
"isNewConfig"
,
"TeamType"
],
props
:
[
"subConfigId"
,
"FeatureData"
,
"isNewConfig"
,
"TeamType"
,
"dataAll"
],
inject
:
[
'loadConfigInfo'
],
inject
:
[
'loadConfigInfo'
],
data
()
{
data
()
{
return
{
return
{
...
@@ -339,9 +339,9 @@
...
@@ -339,9 +339,9 @@
this
.
isPostMessage
=
false
this
.
isPostMessage
=
false
let
href
=
this
.
domainManager
().
PptUrl
let
href
=
this
.
domainManager
().
PptUrl
if
(
type
&&
type
==
1
){
if
(
type
&&
type
==
1
){
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=0&model=1`
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=0&model=1
&TempType=0
`
}
else
{
}
else
{
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=
${
this
.
FeatureData
.
ConfigId
}
&model=0`
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=
${
this
.
FeatureData
.
ConfigId
}
&model=0
&TempType=
${
this
.
dataAll
.
FeaturePageType
}
`
}
}
this
.
dialogPptistVisible
=
true
this
.
dialogPptistVisible
=
true
},
},
...
@@ -674,6 +674,12 @@
...
@@ -674,6 +674,12 @@
}
}
},
},
watch
:
{
watch
:
{
dataAll
:{
handler
:
function
(
val
,
oldVal
)
{
},
deep
:
true
,
immediate
:
true
},
FeatureData
:
{
FeatureData
:
{
//深度监听,可监听到对象、数组的变化
//深度监听,可监听到对象、数组的变化
handler
:
function
(
val
,
oldVal
)
{
handler
:
function
(
val
,
oldVal
)
{
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManagerThree.vue
View file @
ed9e64d1
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
:IsDirect=
"PostConfig.IsDirect"
v-bind:AllCityList=
"AllCityList"
v-bind:StartCity=
"StartCity"
:IsDirect=
"PostConfig.IsDirect"
v-bind:AllCityList=
"AllCityList"
v-bind:StartCity=
"StartCity"
:UseTypeArray=
"UseTypeArray"
:AirPickUp=
"AirPickUp"
:AirSend=
"AirSend"
@
change=
"handlerChangeData"
:UseTypeArray=
"UseTypeArray"
:AirPickUp=
"AirPickUp"
:AirSend=
"AirSend"
@
change=
"handlerChangeData"
:TeamType=
"TeamType"
:IsOpenHotel=
"PostConfig.IsOpenHotel"
></TravelDaysTripDirect>
:TeamType=
"TeamType"
:IsOpenHotel=
"PostConfig.IsOpenHotel"
></TravelDaysTripDirect>
<TravelFeature
:TripColor=
"PostConfig.TripColor"
:class=
"
{'showOther':(TeamType==3)}" ref="TravelFeature"
<TravelFeature
:TripColor=
"PostConfig.TripColor"
:
dataAll=
"PostConfig"
:
class=
"
{'showOther':(TeamType==3)}" ref="TravelFeature"
id="thirdAnchor" @featureCallBack="getFeature" :FeatureData="FeatureData" :TeamType="TeamType"
id="thirdAnchor" @featureCallBack="getFeature" :FeatureData="FeatureData" :TeamType="TeamType"
:isNewConfig="isNewConfig" @unlockFormCommit="unlockFormCommit" :CurrentUserInfo="CurrentUserInfo"
:isNewConfig="isNewConfig" @unlockFormCommit="unlockFormCommit" :CurrentUserInfo="CurrentUserInfo"
@ConfigInfo="firstLoadConfigInfo">
@ConfigInfo="firstLoadConfigInfo">
...
@@ -222,6 +222,7 @@
...
@@ -222,6 +222,7 @@
TripCityList
:
[],
//行程城市
TripCityList
:
[],
//行程城市
TripMapList
:
[],
TripMapList
:
[],
NotQueryCityList
:[],
//使用系统中的经纬度城市
NotQueryCityList
:[],
//使用系统中的经纬度城市
FeaturePageType
:
0
,
//1横版 2竖版
},
},
//行程
//行程
FeatureData
:
{
FeatureData
:
{
...
@@ -422,6 +423,7 @@
...
@@ -422,6 +423,7 @@
basicData
.
RemoveChild
=
this
.
PostConfig
.
RemoveChild
;
basicData
.
RemoveChild
=
this
.
PostConfig
.
RemoveChild
;
basicData
.
OfferId
=
this
.
PostConfig
.
OfferId
;
basicData
.
OfferId
=
this
.
PostConfig
.
OfferId
;
basicData
.
TeamType
=
this
.
PostConfig
.
TeamType
;
basicData
.
TeamType
=
this
.
PostConfig
.
TeamType
;
basicData
.
FeaturePageType
=
this
.
PostConfig
.
FeaturePageType
basicData
.
TripMapList
=
this
.
PostConfig
.
TripMapList
;
basicData
.
TripMapList
=
this
.
PostConfig
.
TripMapList
;
basicData
.
TripCountryList
=
this
.
PostConfig
.
TripCountryList
;
basicData
.
TripCountryList
=
this
.
PostConfig
.
TripCountryList
;
...
@@ -457,7 +459,6 @@
...
@@ -457,7 +459,6 @@
basicData
.
WCountryId
=
this
.
PostConfig
.
WCountryId
;
basicData
.
WCountryId
=
this
.
PostConfig
.
WCountryId
;
basicData
.
WLocationId
=
this
.
PostConfig
.
WLocationId
;
basicData
.
WLocationId
=
this
.
PostConfig
.
WLocationId
;
basicData
.
WCityId
=
this
.
PostConfig
.
WCityId
;
basicData
.
WCityId
=
this
.
PostConfig
.
WCityId
;
this
.
journeyList
.
FeaturePageType
=
this
.
PostDaysTrip
.
FeaturePageType
;
this
.
journeyList
.
IsUpdateTrip
=
this
.
PostDaysTrip
.
IsUpdateTrip
;
this
.
journeyList
.
IsUpdateTrip
=
this
.
PostDaysTrip
.
IsUpdateTrip
;
//行程特色数据
//行程特色数据
var
TripFeature
=
{};
var
TripFeature
=
{};
...
@@ -685,13 +686,12 @@
...
@@ -685,13 +686,12 @@
this
.
journeyList
.
isFileUpload
=
true
;
this
.
journeyList
.
isFileUpload
=
true
;
this
.
journeyList
.
DayNum
=
configData
.
Days
.
length
;
this
.
journeyList
.
DayNum
=
configData
.
Days
.
length
;
this
.
journeyList
.
NightNum
=
this
.
journeyList
.
DayNum
-
1
;
this
.
journeyList
.
NightNum
=
this
.
journeyList
.
DayNum
-
1
;
let
_this
=
this
let
arrDayList
=
function
(
list
){
let
arrDayList
=
function
(
list
){
list
.
forEach
(
x
=>
{
list
.
forEach
(
x
=>
{
x
.
IsBlowUp
=
false
x
.
IsBlowUp
=
false
if
(
_this
.
journeyList
.
FeaturePageType
==
2
||!
_this
.
journeyList
.
FeaturePageType
){
if
(
this
.
PostConfig
.
FeaturePageType
==
2
){
x
.
zoom
=
0.44
x
.
zoom
=
0.44
}
else
if
(
_this
.
journeyList
.
FeaturePageType
==
1
){
}
else
if
(
this
.
PostConfig
.
FeaturePageType
==
1
){
x
.
zoom
=
0.285
x
.
zoom
=
0.285
}
}
})
})
...
@@ -883,6 +883,7 @@
...
@@ -883,6 +883,7 @@
this
.
PostConfig
.
LineteamId
=
tempData
.
LineteamId
;
this
.
PostConfig
.
LineteamId
=
tempData
.
LineteamId
;
this
.
PostConfig
.
CountryID
=
tempData
.
CountryID
;
this
.
PostConfig
.
CountryID
=
tempData
.
CountryID
;
this
.
PostConfig
.
TeamType
=
tempData
.
TeamType
;
this
.
PostConfig
.
TeamType
=
tempData
.
TeamType
;
this
.
PostConfig
.
FeaturePageType
=
tempData
.
FeaturePageType
;
//视频地址
//视频地址
this
.
PostConfig
.
VideoStr
=
tempData
.
VideoStr
;
this
.
PostConfig
.
VideoStr
=
tempData
.
VideoStr
;
this
.
PostConfig
.
OpenTeamDescribe
=
tempData
.
OpenTeamDescribe
;
this
.
PostConfig
.
OpenTeamDescribe
=
tempData
.
OpenTeamDescribe
;
...
@@ -949,18 +950,16 @@
...
@@ -949,18 +950,16 @@
//默认不联动行程特色
//默认不联动行程特色
this
.
journeyList
.
IsUpdateTrip
=
0
;
this
.
journeyList
.
IsUpdateTrip
=
0
;
this
.
journeyList
.
FeaturePageType
=
2
;
this
.
journeyList
.
DayNum
=
tempData
.
DayNum
;
this
.
journeyList
.
DayNum
=
tempData
.
DayNum
;
this
.
journeyList
.
NightNum
=
tempData
.
NightNum
;
this
.
journeyList
.
NightNum
=
tempData
.
NightNum
;
this
.
journeyList
.
ReturnArriveCityId
=
tempData
.
ReturnArriveCityId
;
this
.
journeyList
.
ReturnArriveCityId
=
tempData
.
ReturnArriveCityId
;
this
.
journeyList
.
StartCityId
=
tempData
.
StartCityId
;
this
.
journeyList
.
StartCityId
=
tempData
.
StartCityId
;
let
_this
=
this
let
arrDayList
=
function
(
list
){
let
arrDayList
=
function
(
list
){
list
.
forEach
(
x
=>
{
list
.
forEach
(
x
=>
{
x
.
IsBlowUp
=
false
x
.
IsBlowUp
=
false
if
(
_this
.
journeyList
.
FeaturePageType
==
2
||!
_this
.
journeyList
.
FeaturePageType
){
if
(
tempData
.
FeaturePageType
==
2
){
x
.
zoom
=
0.44
x
.
zoom
=
0.44
}
else
if
(
_this
.
journeyList
.
FeaturePageType
==
1
){
}
else
if
(
tempData
.
FeaturePageType
==
1
){
x
.
zoom
=
0.285
x
.
zoom
=
0.285
}
}
})
})
...
@@ -1055,6 +1054,13 @@
...
@@ -1055,6 +1054,13 @@
'$route'
(
to
,
from
)
{
//监听路由是否变化
'$route'
(
to
,
from
)
{
//监听路由是否变化
location
.
reload
()
location
.
reload
()
},
},
PostDaysTrip
:{
handler
:
function
(
val
,
oldVal
)
{
},
deep
:
true
,
immediate
:
true
}
},
},
mounted
()
{
mounted
()
{
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();;
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();;
...
...
src/components/newTravelmanager/travelLineTrip/TravelDaysTrip_DirectThree.vue
View file @
ed9e64d1
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
<span
class=
"TDTextspan"
:class=
"{'showOther':TeamType==3}"
>
{{$t('op.ReturnCity')}}
</span>
<span
class=
"TDTextspan"
:class=
"{'showOther':TeamType==3}"
>
{{$t('op.ReturnCity')}}
</span>
<span
:class=
"{'showOther':TeamType==3}"
>
<span
:class=
"{'showOther':TeamType==3}"
>
<el-form-item
prop=
"ReturnArriveCityId"
>
<el-form-item
prop=
"ReturnArriveCityId"
>
<el-select
class=
"w
10
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subConfig.ReturnArriveCityId"
<el-select
class=
"w
9
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subConfig.ReturnArriveCityId"
filterable
>
filterable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectDefaultValue"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in StartCity"
:label=
"item.startCityName"
:value=
"item.ID"
:key=
"item.ID"
>
<el-option
v-for=
"item in StartCity"
:label=
"item.startCityName"
:value=
"item.ID"
:key=
"item.ID"
>
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
<span
class=
"TDTextspan"
:class=
"{'showOther':TeamType==3}"
>
{{$t('op.IsUpdateXCTS')}}
</span>
<span
class=
"TDTextspan"
:class=
"{'showOther':TeamType==3}"
>
{{$t('op.IsUpdateXCTS')}}
</span>
<span
:class=
"{'showOther':TeamType==3}"
>
<span
:class=
"{'showOther':TeamType==3}"
>
<el-form-item
prop=
"ReturnArriveCityId"
>
<el-form-item
prop=
"ReturnArriveCityId"
>
<el-select
class=
"w
10
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subConfig.IsUpdateTrip"
>
<el-select
class=
"w
9
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subConfig.IsUpdateTrip"
>
<el-option
:label=
"$t('op.notUpdate')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('op.notUpdate')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('op.Update')"
:value=
"1"
></el-option>
<el-option
:label=
"$t('op.Update')"
:value=
"1"
></el-option>
</el-select>
</el-select>
...
@@ -182,9 +182,9 @@
...
@@ -182,9 +182,9 @@
<
template
v-if=
"false"
>
<
template
v-if=
"false"
>
<span
class=
"TDTextspan"
:class=
"
{'showOther':TeamType==3}">版型
</span>
<span
class=
"TDTextspan"
:class=
"
{'showOther':TeamType==3}">版型
</span>
<span
:class=
"
{'showOther':TeamType==3}">
<span
:class=
"
{'showOther':TeamType==3}">
<el-form-item
prop=
"
ReturnArriveCityId
"
>
<el-form-item
prop=
"
FeaturePageType
"
>
<el-select
placeholder=
"请选择版型"
v-model=
"subConfig
.FeaturePageType"
<el-select
class=
"w90"
placeholder=
"请选择版型"
v-model=
"dataAll
.FeaturePageType"
style=
"width: 80px;
"
>
@
change=
"getFeaturePageType()
"
>
<el-option
label=
"横版"
:value=
"1"
></el-option>
<el-option
label=
"横版"
:value=
"1"
></el-option>
<el-option
label=
"竖版"
:value=
"2"
></el-option>
<el-option
label=
"竖版"
:value=
"2"
></el-option>
</el-select>
</el-select>
...
@@ -206,14 +206,14 @@
...
@@ -206,14 +206,14 @@
<span
class=
"el-icon-full-screen absolute BlowUpTravelDays"
<span
class=
"el-icon-full-screen absolute BlowUpTravelDays"
@
click=
"clickBlowUpTravelDays(item)"
></span>
@
click=
"clickBlowUpTravelDays(item)"
></span>
</el-tooltip>
</el-tooltip>
<travelDaysHV
v-if=
"
subConfig
.FeaturePageType==1"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
<travelDaysHV
v-if=
"
dataAll
.FeaturePageType==1"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
</travelDaysHV>
</travelDaysHV>
<travelDays
v-if=
"
subConfig
.FeaturePageType==2"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
<travelDays
v-if=
"
dataAll
.FeaturePageType==2"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
</travelDays>
</travelDays>
<div
v-if=
"item.IsBlowUp"
class=
"BlowUpTravelDaysBox"
>
<div
v-if=
"item.IsBlowUp"
class=
"BlowUpTravelDaysBox"
>
<travelDaysHV
v-if=
"
subConfig
.FeaturePageType==1"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
<travelDaysHV
v-if=
"
dataAll
.FeaturePageType==1"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
</travelDaysHV>
</travelDaysHV>
<travelDays
v-if=
"
subConfig
.FeaturePageType==2"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
<travelDays
v-if=
"
dataAll
.FeaturePageType==2"
:index=
"index"
:dataAll=
"dataAll"
:item=
"item"
>
</travelDays>
</travelDays>
<span
v-if=
"item.IsBlowUp"
class=
"el-icon-error BlowUpTravelDaysClose"
<span
v-if=
"item.IsBlowUp"
class=
"el-icon-error BlowUpTravelDaysClose"
@
click=
"clickBlowUpTravelDays(item)"
></span>
@
click=
"clickBlowUpTravelDays(item)"
></span>
...
@@ -270,10 +270,24 @@
...
@@ -270,10 +270,24 @@
travelDaysHV
travelDaysHV
},
},
methods
:
{
methods
:
{
getFeaturePageType
(){
this
.
subConfig
.
DayList
.
forEach
(
x
=>
{
if
(
this
.
dataAll
.
FeaturePageType
==
1
){
x
.
zoom
=
0.285
}
if
(
this
.
dataAll
.
FeaturePageType
==
2
){
x
.
zoom
=
0.44
}
})
this
.
$forceUpdate
()
},
clickBlowUpTravelDays
(
item
){
clickBlowUpTravelDays
(
item
){
item
.
IsBlowUp
=!
item
.
IsBlowUp
item
.
IsBlowUp
=!
item
.
IsBlowUp
if
(
item
.
IsBlowUp
)
item
.
zoom
=
1
if
(
item
.
IsBlowUp
)
item
.
zoom
=
1
else
item
.
zoom
=
0.44
else
{
if
(
this
.
dataAll
.
FeaturePageType
==
1
)
item
.
zoom
=
0.285
if
(
this
.
dataAll
.
FeaturePageType
==
2
)
item
.
zoom
=
0.44
}
this
.
$forceUpdate
()
this
.
$forceUpdate
()
},
},
handlerChangeDateList
(
data
)
{
handlerChangeDateList
(
data
)
{
...
@@ -443,6 +457,7 @@
...
@@ -443,6 +457,7 @@
WarmTipList
:
WarmTipList
,
WarmTipList
:
WarmTipList
,
TitleList
:
TitleList
,
TitleList
:
TitleList
,
IsUpdateTrip
:
this
.
subConfig
.
IsUpdateTrip
,
IsUpdateTrip
:
this
.
subConfig
.
IsUpdateTrip
,
FeaturePageType
:
this
.
dataAll
.
FeaturePageType
};
};
this
.
HotelList
=
HotelList
;
this
.
HotelList
=
HotelList
;
this
.
DinnerList
=
DinnerList
;
this
.
DinnerList
=
DinnerList
;
...
@@ -466,6 +481,14 @@
...
@@ -466,6 +481,14 @@
}
}
},
},
watch
:
{
watch
:
{
'dataAll.FeaturePageType'
:
{
deep
:
true
,
immediate
:
true
,
handler
:
function
(
newVal
,
oldVal
)
{
}
},
'subConfig.DayList'
:
{
'subConfig.DayList'
:
{
deep
:
true
,
deep
:
true
,
handler
:
function
(
newVal
,
oldVal
)
{
handler
:
function
(
newVal
,
oldVal
)
{
...
...
src/components/newTravelmanager/travelLineTrip/components/travelDaysHV.vue
View file @
ed9e64d1
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