Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
viitto
pptist
Commits
eafb1e8b
Commit
eafb1e8b
authored
Dec 01, 2023
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行程保存成功,通知erp
parent
7bc80462
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
18 deletions
+8
-18
domainManager.ts
src/utils/domainManager.ts
+2
-0
index.vue
src/views/Editor/EditorHeader/index.vue
+4
-15
index.vue
src/views/Editor/Thumbnails/index.vue
+2
-3
No files found.
src/utils/domainManager.ts
View file @
eafb1e8b
...
...
@@ -7,6 +7,8 @@ export const domainManager = () => {
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://upload.oytour.com"
:
"http://192.168.10.214:8120"
,
//文件站点
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://imgfile.oytour.com"
:
'http://192.168.10.214:8130'
,
// 通知erp
notificationUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://reborn.oytour.com"
:
"http://localhost:8081"
,
}
return
obj
}
\ No newline at end of file
src/views/Editor/EditorHeader/index.vue
View file @
eafb1e8b
...
...
@@ -241,7 +241,6 @@ const SetTripTemplateSlide = async () => {
type
:
'warning'
,
})
}
}
catch
(
error
)
{}
datas
.
loading
=
false
}
...
...
@@ -314,13 +313,7 @@ const SetTripTemplateConfig = async () => {
message
:
'操作成功'
,
type
:
'success'
,
})
// window.parent.postMessage({
// cmd: 'returnHeight',
// params: {
// success: true,
// data: '行程数据保存成功'
// }
// }, '*');
window
.
parent
.
postMessage
(
'行程数据保存成功'
,
`
${
domainManager
().
notificationUrl
}
`
);
dataLoadingStore
.
setDataLoading
(
2
)
}
else
{
ElMessage
({
...
...
@@ -329,13 +322,9 @@ const SetTripTemplateConfig = async () => {
type
:
'warning'
,
})
}
FeatureImgStore
.
setFeatureImg
([])
datas
.
loading
=
false
}
catch
(
error
)
{
FeatureImgStore
.
setFeatureImg
([])
datas
.
loading
=
false
}
}
catch
(
error
)
{}
FeatureImgStore
.
setFeatureImg
([])
datas
.
loading
=
false
}
// 保存
...
...
src/views/Editor/Thumbnails/index.vue
View file @
eafb1e8b
...
...
@@ -191,7 +191,6 @@ const GetTripFiledData = async () =>{
value
=
value
[
oo
]
}
}
else
{
console
.
log
(
value
[
oo
],
'-----'
,
oo
)
value
=
null
}
})
...
...
@@ -202,7 +201,7 @@ const GetTripFiledData = async () =>{
//替换
if
(
y
.
type
==
'image'
){
y
.
src
=
value
[
0
]
}
}
}
}
})
...
...
@@ -216,7 +215,7 @@ const GetTripFiledData = async () =>{
// 获取行程模版数据
const
GetTripTemplate
=
async
()
=>
{
console
.
log
(
'模版数据------'
,
searchData
.
value
.
TempId
,
TempId
.
value
)
console
.
log
(
'模版数据------'
)
if
(
!
searchData
.
value
.
TempId
&&!
TempId
.
value
)
{
let
list
=
[
{
...
...
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