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
76ba234d
Commit
76ba234d
authored
Aug 31, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e19e2f56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
1 deletion
+54
-1
otherJourney.vue
...nager/TravelGroupControl/UpgradedVersion/otherJourney.vue
+54
-1
No files found.
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/otherJourney.vue
View file @
76ba234d
...
...
@@ -73,12 +73,52 @@
queryName
:
''
,
queryId
:
0
,
},
msg
:{
pageSize
:
50
,
pageIndex
:
1
,
currentPage
:
1
,
total
:
0
,
Type
:
1
,
//1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店
Name
:
""
,
//资源图片名称
SourceId
:
0
//资源编号
},
MasterMapIndex
:
null
,
//主图下标
StencilDrawing
:
false
,
//是否是模版图
imglistArry
:[],
homeBg3
:
"https://imgfile.oytour.com/Static/NewTripFeature/homeBg3.jpg"
,
dinner2
:
"http://imgfile.oytour.com/Static/NewTripFeature/dinner2.jpg"
,
homeBg1
:
"https://imgfile.oytour.com/Static/NewTripFeature/homeBg1.jpg"
,
};
},
methods
:
{
getList
()
{
//初始化弹窗图片列表
let
obj
=
{
url
:
'http://192.168.10.214:8120/image/index?filePath=/Upload/DMC/20180722/636678151855193385.jpg&process=resize,m_filt,w_160,h_'
}
this
.
imglistArry
=
[];
this
.
apipost
(
"hotel_post_GetPicList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
imglistArry
=
res
.
data
.
data
.
pageData
;
this
.
imglistArry
.
forEach
(
x
=>
{
x
.
isShowImgDiv
=
true
;
})
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
if
(
this
.
imglistArry
&&
this
.
imglistArry
.
length
>
0
){
obj
.
url
=
this
.
imglistArry
[
0
].
Path
}
this
.
FeatureItem
.
dataObj
.
ImgList
.
push
(
obj
)
}
else
{
this
.
FeatureItem
.
dataObj
.
ImgList
.
push
(
obj
)
}
},
null
);
},
UploadImg
(
index
,
type
)
{
this
.
MasterMapIndex
=
index
?
index
:
0
if
(
type
)
this
.
StencilDrawing
=
true
...
...
@@ -127,9 +167,22 @@
},
AddImg
()
{
let
obj
=
{
url
:
'http://192.168.10.214:8120/image/index?filePath=/Upload/DMC/20180722/636678151855193385.jpg&process=resize,m_filt,w_160,h_'
url
:
this
.
FeatureItem
.
pageType
==
4
?
this
.
homeBg3
:
this
.
FeatureItem
.
pageType
==
5
?
this
.
dinner2
:
this
.
homeBg1
}
this
.
FeatureItem
.
dataObj
.
ImgList
.
push
(
obj
)
return
if
(
this
.
FeatureItem
.
pageType
==
4
||
this
.
FeatureItem
.
pageType
==
5
||
this
.
FeatureItem
.
pageType
==
6
){
if
(
this
.
FeatureItem
.
pageType
==
4
){
this
.
choseType
=
1
}
else
if
(
this
.
FeatureItem
.
pageType
==
5
){
this
.
choseType
=
2
}
else
if
(
this
.
FeatureItem
.
pageType
==
6
){
this
.
choseType
=
3
}
else
{
this
.
choseType
=
0
}
this
.
getList
()
}
},
DeleteImg
(
index
,
type
)
{
if
(
type
)
this
.
StencilDrawing
=
true
...
...
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