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
3c528e58
Commit
3c528e58
authored
Nov 24, 2023
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3af372a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
index.vue
src/views/Editor/Thumbnails/index.vue
+5
-5
Index.vue
src/views/Market/Index.vue
+1
-1
No files found.
src/views/Editor/Thumbnails/index.vue
View file @
3c528e58
...
...
@@ -76,7 +76,7 @@ const { slidesLoadLimit } = useLoadSlides()
const
TemplateTypeStore
=
useScreenStore
()
const
CoverImgStore
=
useScreenStore
()
const
dataLoadingStore
=
useScreenStore
()
const
{
TemplateDataSource
,
TemplateType
,
dataLoading
}
=
storeToRefs
(
TemplateTypeStore
)
const
{
ConfigId
,
TemplateDataSource
,
TemplateType
,
dataLoading
}
=
storeToRefs
(
TemplateTypeStore
)
const
selectedSlidesIndex
=
computed
(()
=>
[...
_selectedSlidesIndex
.
value
,
slideIndex
.
value
])
const
presetLayoutPopoverVisible
=
ref
(
false
)
...
...
@@ -129,12 +129,12 @@ queryObj.value = inject(injectKeyDataSource).queryObj
// 获取行程团数据
const
GetTripFiledData
=
async
()
=>
{
if
(
queryObj
.
value
.
TempId
)
return
const
GetTripFiledData
=
async
(
status
)
=>
{
if
(
queryObj
.
value
.
TempId
&&!
status
)
return
const
slidesData
=
slides
.
value
try
{
let
queryMsg
=
{
ConfigId
:
datas
.
DataSource
.
ConfigId
ConfigId
:
ConfigId
.
value
}
let
dataRes
=
await
ConfigService
.
triptemplateGetTripFiledData
(
queryMsg
);
if
(
dataRes
.
data
.
resultCode
==
1
)
{
...
...
@@ -230,7 +230,7 @@ const GetTripTemplate = async () =>{
queryObj
.
value
.
ColorName
=
dataRes
.
data
.
data
.
ColorName
queryObj
.
value
.
ColorStr
=
dataRes
.
data
.
data
.
ColorStr
queryObj
.
value
.
TempType
=
dataRes
.
data
.
data
.
TempType
await
GetTripFiledData
()
await
GetTripFiledData
(
1
)
}
}
catch
(
error
)
{
console
.
log
(
"GetTripTemplateSlide"
,
error
);
...
...
src/views/Market/Index.vue
View file @
3c528e58
...
...
@@ -166,7 +166,7 @@
* 页面跳转
*/
const
goToTemplate
=
(
item
:
any
)
=>
{
if
(
!
ConfigId
.
value
||
!
model
.
value
)
return
if
(
!
ConfigId
.
value
&&
!
model
.
value
)
return
searchData
.
value
.
TempId
=
item
.
TempId
marketStore
.
setMarket
(
!
market
)
// console.log("item", item.TempId);
...
...
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