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
4b47a367
Commit
4b47a367
authored
May 30, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 销售最近行程调转
parent
aba7228d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
index.vue
src/views/Editor/EditorHeader/index.vue
+2
-1
index.vue
src/views/Editor/Thumbnails/index.vue
+9
-3
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
4b47a367
...
...
@@ -223,6 +223,7 @@ const psdVisibleStatus = ref(false)
const
{
market
,
model
,
ConfigId
,
CoverImg
,
dataLoading
,
TempId
,
SourceLoading
}
=
storeToRefs
(
useScreenStore
())
// 返回到首页 type 1 模版列表页 0 销售在线模版页
const
goBack
=
(
type
:
any
)
=>
{
console
.
log
(
model
.
value
,
searchData
.
value
.
currentMenu
)
mainBackVisible
.
value
=
false
ElMessageBox
.
confirm
(
'退出此页面将清空当前数据,请谨慎操作?'
,
...
...
@@ -239,7 +240,7 @@ const goBack = (type:any) =>{
if
(
model
.
value
==
0
)
{
path
=
`/market/op/
${
ConfigId
.
value
}
/
${
t
}
`
router
.
push
({
path
})
}
else
if
(
model
.
value
&&
searchData
.
value
.
currentMenu
){
}
else
if
(
model
.
value
==
2
&&
searchData
.
value
.
currentMenu
>=
0
){
if
(
type
)
path
=
`/market/create`
else
{
path
=
`/space/
${
searchData
.
value
.
currentMenu
}
`
...
...
src/views/Editor/Thumbnails/index.vue
View file @
4b47a367
...
...
@@ -75,7 +75,7 @@ import ThumbnailSlide from '@/views/components/ThumbnailSlide/index.vue'
import
LayoutPool
from
'./LayoutPool.vue'
import
Popover
from
'@/components/Popover.vue'
import
Draggable
from
'vuedraggable'
import
{
ElLoading
,
ElMessageBox
}
from
'element-plus'
import
{
ElLoading
,
ElMessageBox
,
ElMessage
}
from
'element-plus'
import
FileService
from
'@/services/FileService'
import
{
Slide
}
from
'@/types/slides'
import
{
uniqueId
}
from
'lodash'
...
...
@@ -510,7 +510,9 @@ const GetTripTemplate = async () =>{
VIEWPORT_SIZE
.
Value
=
1754
VIEWPORT_VER_SIZE
.
Value
=
1240
}
loadingObj
.
close
()
setTimeout
(()
=>
{
loadingObj
.
close
()
},
300
)
if
(
ConfigId
.
value
==
0
)
return
if
(
TempId
.
value
&&!
searchData
.
value
.
TempId
)
await
GetTripConfig
()
if
(
model
.
value
!=
3
)
await
GetTripFiledData
()
...
...
@@ -695,7 +697,11 @@ const sellGetTripTemplate = async () =>{
slidesStore
.
setSlides
(
newSlides
)
}
}
}
else
ElMessage
({
showClose
:
true
,
message
:
dataRes
.
data
.
message
,
type
:
'warning'
,
})
}
catch
(
error
)
{
}
...
...
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