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
d5d1c614
Commit
d5d1c614
authored
Feb 12, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'行程特色样式问题V999@@@'
parent
13915e9f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
27 deletions
+32
-27
fivedayList.vue
...onents/newTravelmanager/TravelTripPreview/fivedayList.vue
+4
-5
fourdayList.vue
...onents/newTravelmanager/TravelTripPreview/fourdayList.vue
+4
-5
onedayList.vue
...ponents/newTravelmanager/TravelTripPreview/onedayList.vue
+4
-5
threedayList.vue
...nents/newTravelmanager/TravelTripPreview/threedayList.vue
+0
-4
twodayList.vue
...ponents/newTravelmanager/TravelTripPreview/twodayList.vue
+4
-5
TravelDaysTrip_Direct.vue
...newTravelmanager/travelLineTrip/TravelDaysTrip_Direct.vue
+1
-1
travelDaysTrip.vue
...onents/newTravelmanager/travelLineTrip/travelDaysTrip.vue
+15
-2
No files found.
src/components/newTravelmanager/TravelTripPreview/fivedayList.vue
View file @
d5d1c614
...
...
@@ -322,11 +322,10 @@
VueDraggableResizable
},
created
()
{
this
.
scenicArray
.
forEach
(
x
=>
{
if
(
!
x
.
ScenicJson
){
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
};
}
});
// this.scenicArray.forEach(x=>{
// x.ScenicJson = typeof(x.ScenicJsonStr) === 'string' ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// console.log(typeof(x.ScenicJsonStr) === 'string')
// })
},
};
</
script
>
src/components/newTravelmanager/TravelTripPreview/fourdayList.vue
View file @
d5d1c614
...
...
@@ -304,11 +304,10 @@
}
},
created
()
{
this
.
scenicArray
.
forEach
(
x
=>
{
if
(
!
x
.
ScenicJson
){
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
};
}
});
// this.scenicArray.forEach(x=>{
// x.ScenicJson = typeof(x.ScenicJsonStr) === 'string' ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// console.log(typeof(x.ScenicJsonStr) === 'string')
// })
},
};
</
script
>
src/components/newTravelmanager/TravelTripPreview/onedayList.vue
View file @
d5d1c614
...
...
@@ -169,11 +169,10 @@
},
},
created
()
{
this
.
scenicArray
.
forEach
(
x
=>
{
if
(
!
x
.
ScenicJson
){
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
};
}
});
// this.scenicArray.forEach(x=>{
// x.ScenicJson = typeof(x.ScenicJsonStr) === 'string' ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// console.log(typeof(x.ScenicJsonStr) === 'string')
// })
},
};
</
script
>
src/components/newTravelmanager/TravelTripPreview/threedayList.vue
View file @
d5d1c614
...
...
@@ -258,10 +258,6 @@
// x.ScenicJson= x.ScenicJsonStr ? JSON{ x:0, y:0 };
// }
// });
this
.
scenicArray
.
forEach
(
x
=>
{
x
.
ScenicJson
=
typeof
(
x
.
ScenicJsonStr
)
===
'string'
?
JSON
.
parse
(
x
.
ScenicJsonStr
)
:
{
x
:
0
,
y
:
0
};
console
.
log
(
typeof
(
x
.
ScenicJsonStr
)
===
'string'
)
})
},
components
:
{
DMCchooseImg
,
...
...
src/components/newTravelmanager/TravelTripPreview/twodayList.vue
View file @
d5d1c614
...
...
@@ -201,11 +201,10 @@
mounted
()
{
},
created
()
{
this
.
scenicArray
.
forEach
(
x
=>
{
if
(
!
x
.
ScenicJson
){
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
};
}
});
// this.scenicArray.forEach(x=>{
// x.ScenicJson = typeof(x.ScenicJsonStr) === 'string' ? JSON.parse(x.ScenicJsonStr) : { x:0, y:0 };
// console.log(x.CouponsName, JSON.parse(x.ScenicJsonStr))
// })
},
components
:
{
DMCchooseImg
,
...
...
src/components/newTravelmanager/travelLineTrip/TravelDaysTrip_Direct.vue
View file @
d5d1c614
...
...
@@ -359,7 +359,7 @@
}
},
created
()
{
},
computed
:
{
//获取行程天数
...
...
src/components/newTravelmanager/travelLineTrip/travelDaysTrip.vue
View file @
d5d1c614
...
...
@@ -351,7 +351,7 @@
}
}
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
x
.
ScenicJson
.
y
=
0
;
//
x.ScenicJson.y=0;
});
},
//是否有景点切换
...
...
@@ -539,6 +539,19 @@
}
},
created
()
{
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
)
{
console
.
log
(
"obj1"
,
obj
.
y
)
x
.
ScenicJson
=
obj
}
else
{
console
.
log
(
"obj2"
,
obj
)
x
.
ScenicJson
=
{
x
:
0
,
y
:
0
}
}
console
.
log
(
'222'
,
x
.
ScenicJson
)
})
this
.
initScenicData
();
},
watch
:
{
...
...
@@ -594,7 +607,7 @@
//移除
let
newScenicObj
=
[];
this
.
dayObj
.
ScenicArray
.
forEach
(
x
=>
{
x
.
ScenicJson
.
y
=
0
;
//
x.ScenicJson.y=0;
let
isExist
=
false
;
this
.
ChooseScenicArray
.
forEach
(
y
=>
{
if
(
y
===
x
.
CouponsId
)
{
...
...
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