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
986488d8
Commit
986488d8
authored
Oct 23, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改地接开团
parent
b1e7e989
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1873 additions
and
15 deletions
+1873
-15
TravelConfig.vue
...ents/newTravelmanager/TravelGroupControl/TravelConfig.vue
+17
-7
TravelManager2.vue
...ts/newTravelmanager/TravelGroupControl/TravelManager2.vue
+11
-8
TravelPrice4.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice4.vue
+1845
-0
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelConfig.vue
View file @
986488d8
...
@@ -68,6 +68,10 @@
...
@@ -68,6 +68,10 @@
right
:
0
;
right
:
0
;
top
:
7px
;
top
:
7px
;
}
}
.showOther
{
display
:
none
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -110,30 +114,36 @@
...
@@ -110,30 +114,36 @@
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
<div
v-if=
"isShowOther
"
>
<div
:class=
"
{'showOther':TeamType==3}
">
<el-form-item
label=
"PDF别名"
>
<el-form-item
label=
"PDF别名"
>
<el-input
type=
"text"
v-model=
"PostConfig.PDFAlias"
></el-input>
<el-input
type=
"text"
v-model=
"PostConfig.PDFAlias"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
<div>
<div
v-if=
"TeamType==3"
>
<el-form-item
label=
"标题备注"
>
<el-input
v-model=
"PostConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 3, maxRows: 3 }" resize="none"
placeholder="标题备注">
</el-input>
</el-form-item>
</div>
<div
v-else
>
<el-form-item
label=
"团队标题"
>
<el-form-item
label=
"团队标题"
>
<el-input
v-model=
"PostConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 3, maxRows: 3 }" resize="none"
<el-input
v-model=
"PostConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 3, maxRows: 3 }" resize="none"
placeholder="请填写团队标题">
</el-input>
placeholder="请填写团队标题">
</el-input>
</el-form-item>
</el-form-item>
</div>
</div>
<div
v-if=
"isShowOther
"
>
<div
:class=
"
{'showOther':TeamType==3}
">
<el-form-item
label=
"本团卖点"
>
<el-form-item
label=
"本团卖点"
>
<el-input
v-model=
"PostConfig.ProductRecommend"
type=
"textarea"
:autosize=
"
{minRows: 3, maxRows: 3 }"
<el-input
v-model=
"PostConfig.ProductRecommend"
type=
"textarea"
:autosize=
"
{minRows: 3, maxRows: 3 }"
resize="none" placeholder="本团卖点" maxlength="2000">
</el-input>
resize="none" placeholder="本团卖点" maxlength="2000">
</el-input>
</el-form-item>
</el-form-item>
</div>
</div>
<div
v-if=
"isShowOther
"
>
<div
:class=
"
{'showOther':TeamType==3}
">
<el-form-item
label=
"备注"
>
<el-form-item
label=
"备注"
>
<el-input
v-model=
"PostConfig.OpenTeamDescribe"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }"
<el-input
v-model=
"PostConfig.OpenTeamDescribe"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }"
resize="none" placeholder="此备注只在开团行程列表中显示" maxlength="300">
</el-input>
resize="none" placeholder="此备注只在开团行程列表中显示" maxlength="300">
</el-input>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"_VideoStr_box"
v-if=
"isShowOther
"
>
<div
class=
"_VideoStr_box"
:class=
"
{'showOther':TeamType==3}
">
<el-form-item
label=
"视频地址"
>
<el-form-item
label=
"视频地址"
>
<el-input
v-model=
"PostConfig.VideoStr"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 1 }"
<el-input
v-model=
"PostConfig.VideoStr"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 1 }"
placeholder="https//:video.mp4" @blur="loadVideo">
</el-input>
placeholder="https//:video.mp4" @blur="loadVideo">
</el-input>
...
@@ -154,7 +164,7 @@
...
@@ -154,7 +164,7 @@
<div
v-if=
"GGMapShow"
>
<div
v-if=
"GGMapShow"
>
<GGMap></GGMap>
<GGMap></GGMap>
</div>
</div>
<div
class=
"Travel_ImgList clearfix"
v-if=
"isShowOther
"
>
<div
class=
"Travel_ImgList clearfix"
:class=
"
{'showOther':TeamType==3}
">
<div
class=
"TFimgList"
v-for=
"(item,index) in PostConfig.fileList"
:key=
"item.subCode"
>
<div
class=
"TFimgList"
v-for=
"(item,index) in PostConfig.fileList"
:key=
"item.subCode"
>
<img
v-if=
"!item.Url"
src=
"../../../assets/img/bg_c3@3x.png"
>
<img
v-if=
"!item.Url"
src=
"../../../assets/img/bg_c3@3x.png"
>
<img
v-else
:src=
'compressImg(item.Url, "filt", 170, "")'
>
<img
v-else
:src=
'compressImg(item.Url, "filt", 170, "")'
>
...
@@ -210,7 +220,7 @@
...
@@ -210,7 +220,7 @@
import
GGMap
from
"../../commonPage/GGMap"
;
import
GGMap
from
"../../commonPage/GGMap"
;
export
default
{
export
default
{
/*接收父组件传递的参数*/
/*接收父组件传递的参数*/
props
:
[
"PostConfig"
,
"LineList"
,
"TCNUM"
,
"
isShowOther
"
],
props
:
[
"PostConfig"
,
"LineList"
,
"TCNUM"
,
"
TeamType
"
],
data
()
{
data
()
{
return
{
return
{
//系列列表
//系列列表
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManager2.vue
View file @
986488d8
...
@@ -33,19 +33,19 @@
...
@@ -33,19 +33,19 @@
</div>
</div>
<div
class=
"newTravelRight"
v-loading=
"loading"
>
<div
class=
"newTravelRight"
v-loading=
"loading"
>
<TravelConfig
@
headCallBack=
"getConfig"
@
setTravelUploadData=
"setTravelUploadData"
:PostConfig=
"PostConfig"
<TravelConfig
@
headCallBack=
"getConfig"
@
setTravelUploadData=
"setTravelUploadData"
:PostConfig=
"PostConfig"
:TCNUM=
"TCNUM"
id=
"firstAnchor"
:LineList=
"LineList"
:
isShowOther=
"isShowOther
"
></TravelConfig>
:TCNUM=
"TCNUM"
id=
"firstAnchor"
:LineList=
"LineList"
:
TeamType=
"TeamType
"
></TravelConfig>
<TravelDaysTripDirect
id=
"secondAnchor"
@
headCallBack=
"getDaysTrip"
:NoticeParameters=
"NoticeParameters"
<TravelDaysTripDirect
id=
"secondAnchor"
@
headCallBack=
"getDaysTrip"
:NoticeParameters=
"NoticeParameters"
:subConfig=
"journeyList"
:isOpenGroup=
"false"
:IsDirect=
"PostConfig.IsDirect"
v-bind:AllCityList=
"AllCityList"
:subConfig=
"journeyList"
:isOpenGroup=
"false"
:IsDirect=
"PostConfig.IsDirect"
v-bind:AllCityList=
"AllCityList"
v-bind:StartCity=
"StartCity"
:UseTypeArray=
"UseTypeArray"
:AirPickUp=
"AirPickUp"
:AirSend=
"AirSend"
v-bind:StartCity=
"StartCity"
:UseTypeArray=
"UseTypeArray"
:AirPickUp=
"AirPickUp"
:AirSend=
"AirSend"
@
change=
"handlerChangeData"
:TeamType=
"TeamType"
:IsOpenHotel=
"PostConfig.IsOpenHotel"
></TravelDaysTripDirect>
@
change=
"handlerChangeData"
:TeamType=
"TeamType"
:IsOpenHotel=
"PostConfig.IsOpenHotel"
></TravelDaysTripDirect>
<TravelFeature
:class=
"
{'showOther':
!isShowOther
}" ref="TravelFeature" id="thirdAnchor" @featureCallBack="getFeature" :FeatureData="FeatureData"
<TravelFeature
:class=
"
{'showOther':
TeamType==3
}" ref="TravelFeature" id="thirdAnchor" @featureCallBack="getFeature" :FeatureData="FeatureData"
:TeamType="TeamType" :isNewConfig="isNewConfig" @unlockFormCommit="unlockFormCommit">
</TravelFeature>
:TeamType="TeamType" :isNewConfig="isNewConfig" @unlockFormCommit="unlockFormCommit">
</TravelFeature>
<TravelNotice
:class=
"
{'showOther':
!isShowOther
}" ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice" :subArray="NoticeParameters"
<TravelNotice
:class=
"
{'showOther':
TeamType==3
}" ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice" :subArray="NoticeParameters"
:NoticeData="NoticeData" v-bind:PostConfig="PostConfig" v-bind:AllCityList="AllCityList"
:NoticeData="NoticeData" v-bind:PostConfig="PostConfig" v-bind:AllCityList="AllCityList"
v-bind:CountryID="PostConfig.CountryID">
</TravelNotice>
v-bind:CountryID="PostConfig.CountryID">
</TravelNotice>
<TravelPrice
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
<TravelPrice
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
v-if=
"TeamType==0
||TeamType==3
"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:priceList=
"PriceList"
v-if=
"TeamType==0"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:TeamType=
"TeamType"
></TravelPrice>
:TeamType=
"TeamType"
></TravelPrice>
<TravelPrice2
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
<TravelPrice2
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
v-if=
"TeamType==1"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
v-if=
"TeamType==1"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
...
@@ -53,6 +53,10 @@
...
@@ -53,6 +53,10 @@
<TravelPrice3
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
<TravelPrice3
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
v-if=
"TeamType==2"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
v-if=
"TeamType==2"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:TeamType=
"TeamType"
></TravelPrice3>
:TeamType=
"TeamType"
></TravelPrice3>
<TravelPrice4
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
v-if=
"TeamType==3"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:TeamType=
"TeamType"
></TravelPrice4>
<div
class=
"btnFixedDiv"
v-if=
"IsShowBtn"
>
<div
class=
"btnFixedDiv"
v-if=
"IsShowBtn"
>
<div
class=
"toTop"
@
click=
"backTop"
>
<div
class=
"toTop"
@
click=
"backTop"
>
<i
class=
"iconfont icon-huidaodingbu"
></i>
<i
class=
"iconfont icon-huidaodingbu"
></i>
...
@@ -77,6 +81,7 @@
...
@@ -77,6 +81,7 @@
import
TravelPrice
from
"../TravelGroupControl/TravelPrice"
;
import
TravelPrice
from
"../TravelGroupControl/TravelPrice"
;
import
TravelPrice2
from
"../TravelGroupControl/TravelPrice2"
;
import
TravelPrice2
from
"../TravelGroupControl/TravelPrice2"
;
import
TravelPrice3
from
"../TravelGroupControl/TravelPrice3"
;
import
TravelPrice3
from
"../TravelGroupControl/TravelPrice3"
;
import
TravelPrice4
from
"../TravelGroupControl/TravelPrice4"
;
export
default
{
export
default
{
provide
()
{
provide
()
{
...
@@ -86,8 +91,6 @@
...
@@ -86,8 +91,6 @@
},
},
data
()
{
data
()
{
return
{
return
{
//判断是否显示其他项
isShowOther
:
true
,
IsShowBtn
:
false
,
//是否显示按钮
IsShowBtn
:
false
,
//是否显示按钮
ConfigId
:
0
,
//地址栏查询参数
ConfigId
:
0
,
//地址栏查询参数
IsHaveOffer
:
0
,
//是否有报价单
IsHaveOffer
:
0
,
//是否有报价单
...
@@ -221,7 +224,8 @@
...
@@ -221,7 +224,8 @@
TravelNotice
:
TravelNotice
,
TravelNotice
:
TravelNotice
,
TravelPrice
:
TravelPrice
,
TravelPrice
:
TravelPrice
,
TravelPrice2
:
TravelPrice2
,
TravelPrice2
:
TravelPrice2
,
TravelPrice3
:
TravelPrice3
TravelPrice3
:
TravelPrice3
,
TravelPrice4
:
TravelPrice4
},
},
methods
:
{
methods
:
{
/*获取行程特色内容对象*/
/*获取行程特色内容对象*/
...
@@ -615,7 +619,6 @@
...
@@ -615,7 +619,6 @@
}
}
if
(
routeName
==
'TravelManager6'
){
if
(
routeName
==
'TravelManager6'
){
this
.
TeamType
=
3
;
this
.
TeamType
=
3
;
this
.
isShowOther
=
false
;
}
}
let
configId
=
this
.
$route
.
query
.
configId
;
let
configId
=
this
.
$route
.
query
.
configId
;
this
.
modifyTcid
=
this
.
$route
.
query
.
tcid
;
this
.
modifyTcid
=
this
.
$route
.
query
.
tcid
;
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice4.vue
0 → 100644
View file @
986488d8
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