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
fc73730a
Commit
fc73730a
authored
Dec 01, 2023
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ee776a32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
index.vue
src/views/Editor/Thumbnails/index.vue
+7
-3
index.vue
src/views/Editor/index.vue
+1
-1
No files found.
src/views/Editor/Thumbnails/index.vue
View file @
fc73730a
...
...
@@ -194,6 +194,7 @@ const GetTripFiledData = async () =>{
value
=
value
[
oo
]
}
}
else
{
console
.
log
(
value
[
oo
],
'-----'
,
oo
)
value
=
null
}
})
...
...
@@ -216,8 +217,8 @@ const GetTripFiledData = async () =>{
// 获取行程模版数据
const
GetTripTemplate
=
async
()
=>
{
console
.
log
(
'模版数据------'
)
if
(
!
searchData
.
value
.
TempId
)
{
console
.
log
(
'模版数据------'
,
searchData
.
value
.
TempId
,
TempId
.
value
)
if
(
!
searchData
.
value
.
TempId
&&!
TempId
.
value
)
{
let
list
=
[
{
id
:
'test-slide-1'
,
...
...
@@ -233,8 +234,10 @@ const GetTripTemplate = async () =>{
}
try
{
let
queryMsg
=
{
TempId
:
searchData
.
value
.
TempId
TempId
:
0
}
if
(
searchData
.
value
.
TempId
)
queryMsg
.
TempId
=
searchData
.
value
.
TempId
else
if
(
TempId
.
value
)
queryMsg
.
TempId
=
TempId
.
value
let
dataRes
=
await
ConfigService
.
GetTripTemplateSlide
(
queryMsg
);
if
(
dataRes
.
data
.
resultCode
==
1
)
{
let
viewportRatio
=
1.414
...
...
@@ -269,6 +272,7 @@ const GetTripTemplate = async () =>{
queryObj
.
value
.
ColorStr
=
dataRes
.
data
.
data
.
ColorStr
queryObj
.
value
.
TempType
=
dataRes
.
data
.
data
.
TempType
slidesStore
.
updateSlideIndex
(
0
)
if
(
ConfigId
.
value
==
0
||
TempId
.
value
)
{
if
(
TempId
.
value
)
await
GetTripConfig
()
return
...
...
src/views/Editor/index.vue
View file @
fc73730a
...
...
@@ -61,8 +61,8 @@ const searchData = ref({} as any)
searchData
.
value
=
inject
(
injectKeyTemplate
)
let
TempIds
=
0
if
(
TempId
.
value
&&!
searchData
.
value
.
TempId
)
TempIds
=
TempId
.
value
if
(
searchData
.
value
.
TempId
)
TempIds
=
searchData
.
value
.
TempId
else
if
(
TempId
.
value
)
TempIds
=
TempId
.
value
const
datas
=
reactive
({
DataSource
:{
FeatureImgList
:
[],
...
...
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