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
701e31e6
Commit
701e31e6
authored
Dec 08, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
b56be135
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+7
-6
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
701e31e6
...
...
@@ -133,7 +133,7 @@
:preview-src-list="FeatureData.TripImageListNew"></el-image>
</template>
</div> -->
<div
v-
if=
"PostMessageText
"
style=
"text-align: center;margin-bottom: 20px;font-size: 14px;color: #808080;"
>
暂无数据,右上角编辑行程试试吧!
</div>
<div
v-
show=
"PostMessageText=='暂无行程数据'
"
style=
"text-align: center;margin-bottom: 20px;font-size: 14px;color: #808080;"
>
暂无数据,右上角编辑行程试试吧!
</div>
</div>
</div>
</div>
...
...
@@ -299,21 +299,20 @@
this
.
dialogPptistVisible
=
false
},
handleMessage
(
event
,
targetOrigin
)
{
if
(
event
.
data
&&!
event
.
data
.
data
)
return
if
(
event
.
data
&&
event
.
data
==
'行程数据保存成功'
){
if
(
event
.
data
&&
event
.
data
.
data
&&!
event
.
data
.
data
)
return
if
(
this
.
isPostMessage
)
return
if
(
event
.
data
&&
event
.
data
==
'行程数据保存成功'
){
// this.dialogPptistVisible = false
this
.
isPostMessage
=
true
this
.
$emit
(
'ConfigInfo'
)
}
else
if
(
event
.
data
&&
event
.
data
.
indexOf
(
'行程特色高'
)
!=-
1
){
this
.
PostMessageText
=
''
let
datas
=
event
.
data
.
split
(
'-'
)
this
.
myIframeHeigth
=
datas
[
1
]
this
.
iframeLoading
=
false
}
else
if
(
event
.
data
&&
event
.
data
==
'暂无行程数据'
){
this
.
PostMessageText
=
event
.
data
this
.
iframeLoading
=
false
}
this
.
isPostMessage
=
true
this
.
iframeLoading
=
false
},
// 添加编辑模版
journeyTemplate
(
type
){
...
...
@@ -561,6 +560,7 @@
// this.iframeLoading = true
if
(
document
.
all
.
myIframe
){
document
.
all
.
myIframe
.
src
=
this
.
myIframeUrl
this
.
isPostMessage
=
false
}
}
},
...
...
@@ -650,6 +650,7 @@
this
.
myIframeUrl
=
`
${
this
.
domainManager
().
PptUrl
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=
${
this
.
$route
.
query
.
configId
}
&index=0&model=3&w=1108`
if
(
document
.
all
.
myIframe
){
document
.
all
.
myIframe
.
src
=
this
.
myIframeUrl
this
.
isPostMessage
=
false
}
},
watch
:
{
...
...
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