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
208d2a3c
Commit
208d2a3c
authored
May 27, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
7b35b051
567dafe9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
27 deletions
+51
-27
index.vue
src/components/index.vue
+18
-9
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+33
-18
No files found.
src/components/index.vue
View file @
208d2a3c
...
@@ -1240,7 +1240,7 @@
...
@@ -1240,7 +1240,7 @@
:ChangeThePriceObj=
"ChangeThePriceObj"
:ChangeThePriceObj=
"ChangeThePriceObj"
@
ChangeThePriceVisible=
"ChangeThePriceVisible=false,ExamineThePriceVisible=false"
></ChangeThePriceMessage>
@
ChangeThePriceVisible=
"ChangeThePriceVisible=false,ExamineThePriceVisible=false"
></ChangeThePriceMessage>
<!-- ppt 模版新增编辑窗口 -->
<!-- ppt 模版新增编辑窗口 -->
<
pptIframe
v-show=
"dialogPptistVisible"
:Url=
"TemplateUrl"
@
close=
"closeIframe()"
></pptIframe
>
<
!-- <pptIframe v-show="dialogPptistVisible" :Url="TemplateUrl" @close="closeIframe()"></pptIframe> --
>
</div>
</div>
</template>
</template>
...
@@ -2034,14 +2034,23 @@
...
@@ -2034,14 +2034,23 @@
},
},
// 添加编辑模版
// 添加编辑模版
journeyTemplate
(
type
)
{
journeyTemplate
(
type
)
{
let
href
=
this
.
domainManager
().
PptUrl
this
.
apipost
(
// type 1销售暂存模版
"travel_temp_token"
,
{},
if
(
type
==
1
)
{
res
=>
{
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=0&model=2&TempType=0`
if
(
res
.
data
.
resultCode
==
1
)
{
}
else
{
let
href
=
this
.
domainManager
().
PptUrl
this
.
TemplateUrl
=
`
${
href
}
/?uid=
${
this
.
userInfo
.
EmployeeId
}
&ConfigId=0&model=1&TempType=0`
// type 1销售暂存模版
}
if
(
type
==
1
)
{
this
.
dialogPptistVisible
=
true
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
window
.
open
(
this
.
TemplateUrl
)
}
}
);
},
},
GetExaminePriceOrderPageList
(
type
)
{
GetExaminePriceOrderPageList
(
type
)
{
this
.
apipost
(
this
.
apipost
(
...
...
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
208d2a3c
...
@@ -6,12 +6,10 @@
...
@@ -6,12 +6,10 @@
</span>
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==''"
>
{{
$t
(
'sm.djzd'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==''"
>
{{
$t
(
'sm.djzd'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==1"
>
{{
$t
(
'sm.djzk'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==1"
>
{{
$t
(
'sm.djzk'
)
}}
</span>
<template
v-if=
"true"
>
<span
v-if=
"FeatureData.ConfigId&&dataAll.FeaturePageType&&FeatureData.FeatureType==9"
class=
"foldList"
<span
v-if=
"FeatureData.ConfigId&&dataAll.FeaturePageType&&FeatureData.FeatureType==9"
class=
"foldList"
style=
"margin-right: 5px;"
@
click=
"journeyTemplate()"
>
编辑行程
</span>
style=
"margin-right: 5px;"
@
click=
"journeyTemplate()"
>
编辑行程
</span>
<span
style=
"color: red;float: right;margin-right: 5px;line-height: 28px;font-weight:bold;"
>
<span
style=
"color: red;float: right;margin-right: 5px;line-height: 28px;font-weight:bold;"
>
新复制的【团期】,如需单独修改【行程特色】操作步骤: 当团修改=》保存=》团控列表=》当团修改=》编辑行程特色.
</span>
新复制的【团期】,如需单独修改【行程特色】操作步骤: 当团修改=》保存=》团控列表=》当团修改=》编辑行程特色.
</span>
</
template
>
<div
class=
"TrfList clearfix"
>
<div
class=
"TrfList clearfix"
>
<template
v-for=
"item in TypeArray"
>
<template
v-for=
"item in TypeArray"
>
<div
class=
"TFslide"
<div
class=
"TFslide"
...
@@ -410,8 +408,8 @@
...
@@ -410,8 +408,8 @@
this
.
dialogPptistVisible
=
false
this
.
dialogPptistVisible
=
false
},
},
handleMessage
(
event
,
targetOrigin
)
{
handleMessage
(
event
,
targetOrigin
)
{
console
.
log
(
"handleMessage_event"
,
event
);
//
console.log("handleMessage_event", event);
console
.
log
(
"handleMessage_event.data"
,
event
.
data
);
//
console.log("handleMessage_event.data", event.data);
if
(
this
.
isPostMessage
)
return
if
(
this
.
isPostMessage
)
return
if
(
event
.
data
&&
event
.
data
.
data
&&
!
event
.
data
.
data
)
return
if
(
event
.
data
&&
event
.
data
.
data
&&
!
event
.
data
.
data
)
return
if
(
event
&&
event
.
data
)
{
if
(
event
&&
event
.
data
)
{
...
@@ -439,11 +437,19 @@
...
@@ -439,11 +437,19 @@
},
},
// 添加编辑模版
// 添加编辑模版
journeyTemplate
()
{
journeyTemplate
()
{
this
.
isPostMessage
=
false
;
this
.
apipost
(
let
href
=
this
.
domainManager
().
PptUrl
"travel_temp_token"
,
{},
this
.
TemplateUrl
=
res
=>
{
`
${
href
}
/?uid=
${
this
.
CurrentUserInfo
.
EmployeeId
}
&ConfigId=
${
this
.
FeatureData
.
ConfigId
}
&model=0&TempType=
${
this
.
dataAll
.
FeaturePageType
}
`
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dialogPptistVisible
=
true
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
()
{
ReLoadFeature
()
{
...
@@ -747,11 +753,20 @@
...
@@ -747,11 +753,20 @@
if
(
obj
)
{
if
(
obj
)
{
this
.
clickFeature
(
obj
)
this
.
clickFeature
(
obj
)
}
}
this
.
myIframeUrl
=
this
.
apipost
(
`
${
this
.
domainManager
().
PptUrl
}
/?uid=
${
this
.
CurrentUserInfo
.
EmployeeId
}
&ConfigId=
${
this
.
$route
.
query
.
configId
}
&index=0&model=3&w=1108`
"travel_temp_token"
,
{},
if
(
document
.
all
.
myIframe
)
{
res
=>
{
document
.
all
.
myIframe
.
src
=
this
.
myIframeUrl
+
`&t=
${
new
Date
().
getTime
()}
`
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
:
{
watch
:
{
dataAll
:
{
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