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
d981c511
Commit
d981c511
authored
Jan 08, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
3fbe10f1
636dcb10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
516 additions
and
329 deletions
+516
-329
endTravelManager.css
src/assets/css/endTravelManager.css
+3
-2
OpTripList.vue
src/components/TravelManager/TravelList/OpTripList.vue
+57
-24
fivedayList.vue
...onents/newTravelmanager/TravelTripPreview/fivedayList.vue
+109
-68
fourdayList.vue
...onents/newTravelmanager/TravelTripPreview/fourdayList.vue
+116
-80
threedayList.vue
...nents/newTravelmanager/TravelTripPreview/threedayList.vue
+96
-67
twodayList.vue
...ponents/newTravelmanager/TravelTripPreview/twodayList.vue
+62
-47
ScenicTraffic.vue
...ponents/newTravelmanager/travelLineTrip/ScenicTraffic.vue
+10
-1
travelDaysTrip.vue
...onents/newTravelmanager/travelLineTrip/travelDaysTrip.vue
+63
-40
No files found.
src/assets/css/endTravelManager.css
View file @
d981c511
...
...
@@ -602,7 +602,9 @@
position
:
absolute
;
height
:
40px
;
top
:
42%
;
left
:
42%
;
left
:
50%
;
transform
:
translate3d
(
-50%
,
-50%
,
0
);
width
:
180px
;
display
:
none
;
text-align
:
center
;
z-index
:
3
...
...
@@ -611,7 +613,6 @@
display
:
inline-block
;
width
:
40px
;
height
:
40px
;
/* display:none; */
border-radius
:
50%
;
line-height
:
40px
;
color
:
#fff
;
...
...
src/components/TravelManager/TravelList/OpTripList.vue
View file @
d981c511
...
...
@@ -11,7 +11,7 @@
<span>
<em>
{{
$t
(
'system.table_ssLine'
)
}}
</em>
<el-select
class=
'w150'
v-model=
"queryMsg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeam
List()"
>
@
change=
"getLinePlace
List()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'queryCommonData.SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in queryCommonData.LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
...
...
@@ -19,6 +19,15 @@
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'Operation.Op_Country'
)
}}
/
{{
$t
(
'system.query_dest'
)
}}
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.PlaceList"
:label=
"item.PlaceName"
:value=
"item.PlaceID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'active.ad_xlmc'
)
}}
</em>
...
...
@@ -149,6 +158,8 @@
queryCommonData
:
{
//线路列表
LineList
:
[],
//目的地
PlaceList
:
[],
//系列列表
LineTeamList
:
[],
//下拉框默认值
...
...
@@ -166,6 +177,7 @@
pageSize
:
10
,
LineId
:
0
,
LineteamId
:
0
,
PlaceID
:
0
,
CreateBy
:
0
,
TeamType
:
0
,
TCNUMS
:
""
,
...
...
@@ -241,11 +253,31 @@
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
"line_post_GetList"
,
{
"LineDirection"
:
2
},
res
=>
{
this
.
apipost
(
"line_post_GetList"
,
{
LineDirection
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
PlaceList
=
[];
this
.
queryCommonData
.
LineTeamList
=
[];
}
}
);
},
//获取目的地列表
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
;
this
.
queryMsg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
};
this
.
apipost
(
"team_post_GetLinePlace"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
[];
}
});
},
...
...
@@ -254,6 +286,7 @@
this
.
queryMsg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
placeID
:
this
.
queryMsg
.
PlaceID
,
isTOOP
:
1
};
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
...
...
src/components/newTravelmanager/TravelTripPreview/fivedayList.vue
View file @
d981c511
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/fourdayList.vue
View file @
d981c511
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/threedayList.vue
View file @
d981c511
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelTripPreview/twodayList.vue
View file @
d981c511
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/travelLineTrip/ScenicTraffic.vue
View file @
d981c511
...
...
@@ -50,7 +50,7 @@
</div>
酒店出发
</div>
<div
class=
"St_current"
style=
"margin-bottom:
10px
"
>
<div
class=
"St_current"
style=
"margin-bottom:
20px"
v-else-if=
"CurrentDayNum==1
"
>
<!--
{{
trafficObj
.
trafficIntroduce
.
IntroduceTitle
}}
-->
<template
v-if=
"trafficObj.trafficIntroduce.IntroduceTitle"
>
机场
</
template
>
...
...
@@ -82,6 +82,15 @@
</div>
回酒店
</div>
<div
class=
"St_current"
style=
"margin:10px 0px;"
v-else
>
<!--{{trafficObj.trafficIntroduce.IntroduceTitle}}-->
<
template
v-if=
"trafficObj.trafficIntroduce.IntroduceTitle"
>
机场
</
template
>
<
template
v-else
>
机场
</
template
>
<div
class=
"St_radioDiv Str1"
>
<i
class=
"iconfont icon-Shape1"
></i>
</div>
</div>
</div>
<div
v-else
>
<div
v-if=
"CurrentDayNum!=1"
class=
"St_current"
style=
"margin-bottom:20px;"
>
...
...
src/components/newTravelmanager/travelLineTrip/travelDaysTrip.vue
View file @
d981c511
...
...
@@ -133,7 +133,8 @@
<div
class=
"TC-titlebox"
>
<span
class=
"TC-TitleSpan"
v-if=
"!dayObj.isRead"
>
<el-form-item>
<el-input
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 8 }" resize="none" class="w700" placeholder="请输入行程大点信息" v-model="dayObj.TitleObj.Title">
</el-input>
<el-input
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 8 }" resize="none" class="w700"
placeholder="请输入行程大点信息" v-model="dayObj.TitleObj.Title">
</el-input>
</el-form-item>
</span>
<span
class=
"TC-spanTitle"
v-if=
"dayObj.isRead"
>
{{
dayObj
.
TitleObj
.
Title
}}
</span>
...
...
@@ -142,9 +143,8 @@
<div
class=
"TC-Comtitlediv"
>
<trifficTrip
v-bind:trafficObj=
"dayObj.TrafficObj"
:isOpenGroup=
"isOpenGroup"
v-bind:AllCityList=
"AllCityList"
v-bind:UseTypeArray=
"UseTypeArray"
v-bind:AirPickUp=
"AirPickUp"
v-bind:AirSend=
"AirSend"
v-bind:StartCity=
"StartCity"
v-bind:CurrentIndex=
"CurrentIndex"
v-bind:TotalCount=
"TotalCount"
v-bind:dayObj=
"dayObj"
:isRead=
"dayObj.isRead"
></trifficTrip>
v-bind:StartCity=
"StartCity"
v-bind:CurrentIndex=
"CurrentIndex"
v-bind:TotalCount=
"TotalCount"
v-bind:dayObj=
"dayObj"
:isRead=
"dayObj.isRead"
></trifficTrip>
</div>
<div
class=
"TC-Comtitlediv"
>
<div
class=
"partName"
>
...
...
@@ -153,19 +153,17 @@
<div
class=
"TC-titlebox"
>
<el-checkbox
v-model=
"ishasScenic"
border
size=
"mini"
@
change=
"hasScenicChange"
>
景点
</el-checkbox>
<el-select
v-if=
"ishasScenic&&NoticeParameters.IsDirect==1"
class=
"w600 Ht_hotelSelect"
size=
"mini"
:placeholder=
"$t('pub.pleaseSel')"
:multiple-limit=
"5"
v-model=
"ChooseScenicArray"
multiple
filterable
:placeholder=
"$t('pub.pleaseSel')"
:multiple-limit=
"5"
v-model=
"ChooseScenicArray"
multiple
filterable
@
visible-change=
"getQScenicList($event)"
>
<el-option
v-for=
"item in QScenicList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
<span
style=
"float: left"
>
{{
item
.
Name
}}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{
item
.
Inventory
}}
</span>
</el-option>
</el-select>
<el-popover
placement=
"right"
width=
"430"
trigger=
"click"
>
<el-popover
placement=
"right"
width=
"430"
trigger=
"click"
v-if=
"NoticeParameters.IsDirect==1"
>
<scenicTraffic
:ref=
"'scenicTraffic'+dayObj.DayNum+''"
:ScenicArray=
"dayObj.ScenicArray"
:trafficObj=
"dayObj.TrafficObj"
:ishasScenic=
"ishasScenic"
:CurrentDayNum=
"dayObj.DayNum"
:totalDayNum=
"subConfig.DayNum"
>
:trafficObj=
"dayObj.TrafficObj"
:ishasScenic=
"ishasScenic"
:CurrentDayNum=
"dayObj.DayNum"
:totalDayNum=
"subConfig.DayNum"
>
</scenicTraffic>
<span
slot=
"reference"
class=
"TC-tripTitle"
style=
"padding-left:5px;cursor:pointer;display:none;"
>
路线信息
</span>
</el-popover>
...
...
@@ -200,24 +198,24 @@
<div
class=
"TC-ComInfoDiv"
:class=
"scenicCheck>0||dayObj.ScenicArray.length>0?'_margin_bottom':''"
>
<onedayList
:class=
"
{'showOther':TeamType==3}"
v-if="(NoticeParameters.IsDirect==1
&&
dayObj.ScenicArray.length==1)||(scenicCheck==1
&&
NoticeParameters.IsDirect==0)"
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:
IsDirect="NoticeParameters.IsDirect" :
DayNum="dayObj.DayNum">
</onedayList>
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:IsDirect="NoticeParameters.IsDirect"
:DayNum="dayObj.DayNum">
</onedayList>
<twodayList
:class=
"
{'showOther':TeamType==3}"
v-if="(NoticeParameters.IsDirect==1
&&
dayObj.ScenicArray.length==2)||(scenicCheck==2
&&
NoticeParameters.IsDirect==0)"
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:
IsDirect="NoticeParameters.IsDirect" :
DayNum="dayObj.DayNum">
</twodayList>
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:IsDirect="NoticeParameters.IsDirect"
:DayNum="dayObj.DayNum">
</twodayList>
<threedayList
:class=
"
{'showOther':TeamType==3}"
v-if="(NoticeParameters.IsDirect==1
&&
dayObj.ScenicArray.length==3)||(scenicCheck==3
&&
NoticeParameters.IsDirect==0)"
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:
IsDirect="NoticeParameters.IsDirect" :
DayNum="dayObj.DayNum">
</threedayList>
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:IsDirect="NoticeParameters.IsDirect"
:DayNum="dayObj.DayNum">
</threedayList>
<fourdayList
:class=
"
{'showOther':TeamType==3}"
v-if="(NoticeParameters.IsDirect==1
&&
dayObj.ScenicArray.length==4)||(scenicCheck==4
&&
NoticeParameters.IsDirect==0)"
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:
IsDirect="NoticeParameters.IsDirect" :
DayNum="dayObj.DayNum">
</fourdayList>
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:IsDirect="NoticeParameters.IsDirect"
:DayNum="dayObj.DayNum">
</fourdayList>
<fivedayList
:class=
"
{'showOther':TeamType==3}"
v-if="(NoticeParameters.IsDirect==1
&&
dayObj.ScenicArray.length==5)||(scenicCheck==5
&&
NoticeParameters.IsDirect==0)"
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:
IsDirect="NoticeParameters.IsDirect" :
DayNum="dayObj.DayNum">
</fivedayList>
:isRead="dayObj.isRead" :scenicArray="dayObj.ScenicArray"
:IsDirect="NoticeParameters.IsDirect"
:DayNum="dayObj.DayNum">
</fivedayList>
</div>
<div
class=
"TC-warmTips TC-Comtitlediv"
v-if=
"!dayObj.isRead"
:class=
"
{'showOther':TeamType==3}">
<div
class=
"TC-SpecialInstruction clearfix"
>
...
...
@@ -225,9 +223,8 @@
<div
class=
"TC-rightContent"
>
<!--
<el-input
type=
"textarea"
v-model=
"dayObj.WarmTipObj.Description"
></el-input>
-->
<my-edit
v-on:edit-value=
"dayObj.WarmTipObj.Description = arguments[0]"
v-bind:editValue=
"dayObj.WarmTipObj.Description"
v-bind:toolbarShow=
"toolbar"
v-bind:referenceList=
"DefaultList"
></my-edit>
v-bind:editValue=
"dayObj.WarmTipObj.Description"
v-bind:toolbarShow=
"toolbar"
v-bind:referenceList=
"DefaultList"
></my-edit>
</div>
</div>
</div>
...
...
@@ -238,7 +235,8 @@
</div>
</div>
<hotelTrip
:dayObj=
"dayObj"
:CurrentIndex=
"CurrentIndex"
:DayList=
"DayList"
:WarmTripDescribe=
"WarmTripDescribe"
:IsDirect=
"NoticeParameters.IsDirect"
:subConfig=
"subConfig"
:TeamType=
"TeamType"
:IsOpenHotel=
"IsOpenHotel"
></hotelTrip>
:IsDirect=
"NoticeParameters.IsDirect"
:subConfig=
"subConfig"
:TeamType=
"TeamType"
:IsOpenHotel=
"IsOpenHotel"
>
</hotelTrip>
<div
class=
"TD_OperaContent"
>
<div
class=
"TD_ComIcon"
>
<i
v-if=
"!dayObj.isRead"
class=
"iconfont icon-chakan"
@
click=
"getRead"
></i>
...
...
@@ -305,7 +303,7 @@
},
toolbar
:
{
//narrative: true, //叙述,
showToolBar
:
false
showToolBar
:
false
},
DefaultList
:
[]
};
...
...
@@ -359,7 +357,7 @@
this
.
dayObj
.
ScenicArray
=
newArray
;
}
}
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
// x.ScenicJson.y=0;
});
},
...
...
@@ -413,8 +411,7 @@
this
.
QScenicList
=
res
.
data
.
data
;
}
},
err
=>
{
}
err
=>
{}
);
},
getItemLabel
(
item
)
{
...
...
@@ -451,6 +448,30 @@
}
}
},
//景点左移右移
MoveScenicItem
(
dayNum
,
index
,
type
)
{
var
currentItem
=
{};
this
.
subConfig
.
DayList
.
forEach
(
dayItem
=>
{
if
(
dayItem
.
DayNum
==
dayNum
)
{
currentItem
=
dayItem
;
}
});
if
(
currentItem
&&
currentItem
.
ScenicArray
&&
currentItem
.
ScenicArray
.
length
>
0
)
{
var
cScenicItem
=
currentItem
.
ScenicArray
[
index
];
//左移
if
(
type
==
0
)
{
var
leftItem
=
currentItem
.
ScenicArray
[
index
-
1
];
this
.
$set
(
currentItem
.
ScenicArray
,
index
-
1
,
cScenicItem
);
this
.
$set
(
currentItem
.
ScenicArray
,
index
,
leftItem
);
}
//右移
else
{
var
rightItem
=
currentItem
.
ScenicArray
[
index
+
1
];
this
.
$set
(
currentItem
.
ScenicArray
,
index
+
1
,
cScenicItem
);
this
.
$set
(
currentItem
.
ScenicArray
,
index
,
rightItem
);
}
}
},
//初始化行程子项的行程天数
initDayObjItemDayNum
(
dayObj
)
{
dayObj
.
TitleObj
.
DayNum
=
dayObj
.
DayNum
;
...
...
@@ -548,13 +569,16 @@
}
},
created
()
{
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
// x.ScenicJson = (typeof(x.ScenicJsonStr) === 'string' ? x.ScenicJsonStr : { x:0, y:0 })
let
obj
=
JSON
.
parse
(
x
.
ScenicJsonStr
)
if
(
obj
)
{
x
.
ScenicJson
=
obj
}
else
{
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
}
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
}
}
})
this
.
initScenicData
();
...
...
@@ -688,8 +712,7 @@
deep
:
true
},
},
mounted
()
{
},
mounted
()
{},
components
:
{
onedayList
,
hotelTrip
,
...
...
@@ -700,7 +723,7 @@
trifficTrip
,
noScenic
,
"my-edit"
:
MyEdit
,
scenicTraffic
:
ScenicTraffic
scenicTraffic
:
ScenicTraffic
}
};
...
...
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