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
3fafd14a
Commit
3fafd14a
authored
May 27, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppt 跳转优化
parent
150f07f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
18 deletions
+46
-18
index.vue
src/components/commonPage/pptIframe/index.vue
+3
-0
index.vue
src/components/index.vue
+16
-8
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+27
-10
No files found.
src/components/commonPage/pptIframe/index.vue
View file @
3fafd14a
...
...
@@ -59,6 +59,9 @@
},
methods
:
{
close
()
{
window
.
onbeforeunload
=
function
(
event
)
{
event
.
preventDefault
();
};
this
.
$emit
(
'close'
)
}
}
...
...
src/components/index.vue
View file @
3fafd14a
...
...
@@ -2034,14 +2034,22 @@
},
// 添加编辑模版
journeyTemplate
(
type
)
{
let
href
=
this
.
domainManager
().
PptUrl
// type 1销售暂存模版
if
(
type
==
1
)
{
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=0&model=2&TempType=0`
}
else
{
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=0&model=1&TempType=0`
}
this
.
dialogPptistVisible
=
true
this
.
apipost
(
"travel_temp_token"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
href
=
this
.
domainManager
().
PptUrl
// type 1销售暂存模版
if
(
type
==
1
)
{
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
res
.
data
.
data
}
&ConfigId=0&model=2&TempType=0`
}
else
{
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
res
.
data
.
data
}
&ConfigId=0&model=1&TempType=0`
}
this
.
dialogPptistVisible
=
true
}
}
);
},
GetExaminePriceOrderPageList
(
type
)
{
this
.
apipost
(
...
...
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
3fafd14a
...
...
@@ -439,11 +439,19 @@
},
// 添加编辑模版
journeyTemplate
()
{
this
.
isPostMessage
=
false
;
let
href
=
this
.
domainManager
().
PptUrl
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
CurrentUserInfo
.
EmployeeId
}
&ConfigId=
${
this
.
FeatureData
.
ConfigId
}
&model=0&TempType=
${
this
.
dataAll
.
FeaturePageType
}
`
this
.
dialogPptistVisible
=
true
this
.
apipost
(
"travel_temp_token"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
isPostMessage
=
false
;
let
href
=
this
.
domainManager
().
PptUrl
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
res
.
data
.
data
}
&ConfigId=
${
this
.
FeatureData
.
ConfigId
}
&model=0&TempType=
${
this
.
dataAll
.
FeaturePageType
}
`
this
.
dialogPptistVisible
=
true
}
}
);
},
//重新加载行程特色
ReLoadFeature
()
{
...
...
@@ -747,11 +755,20 @@
if
(
obj
)
{
this
.
clickFeature
(
obj
)
}
this
.
myIframeUrl
=
`
${
this
.
domainManager
().
PptUrl
}
/?uid=
${
this
.
CurrentUserInfo
.
EmployeeId
}
&ConfigId=
${
this
.
$route
.
query
.
configId
}
&index=0&model=3&w=1108`
if
(
document
.
all
.
myIframe
)
{
document
.
all
.
myIframe
.
src
=
this
.
myIframeUrl
+
`&t=
${
new
Date
().
getTime
()}
`
}
this
.
apipost
(
"travel_temp_token"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
myIframeUrl
=
`
${
this
.
domainManager
().
PptUrl
}
/?uid=
${
res
.
data
.
data
}
&ConfigId=
${
this
.
$route
.
query
.
configId
}
&index=0&model=3&w=1108`
if
(
document
.
all
.
myIframe
)
{
document
.
all
.
myIframe
.
src
=
this
.
myIframeUrl
+
`&t=
${
new
Date
().
getTime
()}
`
}
}
}
);
},
watch
:
{
dataAll
:
{
...
...
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