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
5ab72e26
Commit
5ab72e26
authored
Sep 15, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b9455cc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
20 deletions
+17
-20
tripmap.vue
...omponents/newTravelmanager/TravelGroupControl/tripmap.vue
+10
-13
travelDaysTripThree.vue
...s/newTravelmanager/travelLineTrip/travelDaysTripThree.vue
+7
-7
No files found.
src/components/newTravelmanager/TravelGroupControl/tripmap.vue
View file @
5ab72e26
...
...
@@ -443,24 +443,22 @@ export default {
// 保存标记坐标
SavePositionStr
()
{
this
.
dataAll
.
TripMapList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
TripMapList
));
return
this
.
TripMapList
.
forEach
(
x
=>
{
x
.
CityList
.
forEach
(
y
=>
{
this
.
citiesData
.
forEach
(
z
=>
{
if
(
y
.
MName
==
z
.
name
)
{
y
.
Lng
=
z
.
Lng
;
y
.
Lat
=
z
.
Lat
;
}
});
});
// this.TripMapList.forEach(x => {
// x.CityList.forEach(y => {
// this.citiesData.forEach(z => {
// if (y.MName == z.name) {
// y.Lng = z.Lng;
// y.Lat = z.Lat;
// }
// });
// });
// this.countriesData.forEach(y => {
// if (x.MName == y.name) {
// x.Lng = y.Lng;
// x.Lat = y.Lat;
// }
// });
});
// });
},
// 导出地图片
getResultImg
()
{
...
...
@@ -744,7 +742,6 @@ export default {
var
marker
=
new
mapboxgl
.
Marker
({
color
:
"#d73b33"
,
scale
:
0.5
})
.
setLngLat
([
item
.
longitude
,
item
.
latitude
])
.
addTo
(
this
.
map
);
console
.
log
(
item
.
Lng
,
'====='
)
if
(
item
.
Lng
&&
item
.
Lat
)
{
this
.
addLabel
(
item
,
i
,
item
);
}
else
{
...
...
src/components/newTravelmanager/travelLineTrip/travelDaysTripThree.vue
View file @
5ab72e26
...
...
@@ -147,7 +147,7 @@
<el-input
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 8 }" resize="none"
placeholder="请输入行程大点信息" v-model="dayObj.TitleObj.Title">
</el-input>
</el-form-item>
<el-form-item>
<el-form-item
class=
"marginT10"
>
<el-input
placeholder=
"请输入公里数"
class=
"w120"
v-model=
"dayObj.TitleObj.KMNumber"
>
<template
slot=
"append"
>
KM
</
template
>
</el-input>
...
...
@@ -226,7 +226,7 @@
</div>
</div>
<!-- 行程景点信息 -->
<div
class=
"TC-warmTips TC-Comtitlediv"
v-if=
"!dayObj.isRead"
:class=
"{'showOther':TeamType==3}"
>
<div
class=
"TC-SpecialInstruction clearfix column"
>
<div
class=
"TC-leftTitle"
style=
"height: 20px;"
>
温馨提示
</div>
...
...
@@ -319,7 +319,7 @@
getScenicArray
(){
let
i
=
1
let
list
=
[]
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
x
.
Rank
=
0
if
(
x
.
CouponsId
===
this
.
ScenicArraySingle
){
...
...
@@ -786,11 +786,11 @@
},
mounted
()
{},
components
:
{
hotelTrip
,
trifficTrip
,
noScenic
,
"my-edit"
:
MyEdit
,
...
...
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