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
f6b003cf
Commit
f6b003cf
authored
Dec 05, 2023
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行程不上传 行程图调整
parent
303ef252
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
index.vue
src/views/Editor/EditorHeader/index.vue
+14
-13
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
f6b003cf
...
...
@@ -104,7 +104,8 @@
<FullscreenSpin
:loading=
"exporting"
tip=
"正在导入..."
/>
<Psd-Upload
:visible=
"psdVisibleStatus"
@
closed=
"psdVisibleStatus=false"
></Psd-Upload>
</div>
<div
v-if=
"ConfigId"
style=
"opacity: 0;position: absolute;left: 100px;top: 0;bottom: 0;overflow: auto;z-index: -1;"
>
<!--
<div v-if="!model&&ConfigId" style="opacity: 0;position: absolute;left: 100px;top: 0;bottom: 0;overflow: auto;z-index: -1;">
<div class="export-img-dialog">
<div class="thumbnails-view">
<div class="thumbnails" v-for="slide in slides" ref="FeatureImgRef">
...
...
@@ -117,7 +118,7 @@
</div>
</div>
</div>
</div>
</div>
-->
</template>
...
...
@@ -331,7 +332,7 @@ const SetTripTemplateConfig = async () => {
ConfigId
:
ConfigId
.
value
,
TempId
:
queryObj
.
value
.
TempId
,
TempData
:
queryObj
.
value
.
TempData
,
FeatureImg
:
datas
.
FeatureImgList
//
FeatureImg: datas.FeatureImgList
}
let
TemplateRes
=
await
ConfigService
.
SetSetTripConfig
(
queryMsg
);
if
(
TemplateRes
.
data
.
resultCode
==
1
)
{
...
...
@@ -405,15 +406,15 @@ const setTemplate = async () =>{
})
}
for
(
let
i
=
0
;
i
<
slides
.
value
.
length
;
i
++
){
if
(
!
slides
.
value
[
i
].
typeId
&&
slides
.
value
[
i
].
pageType
!=
1
){
datas
.
loading
=
false
mainStore
.
setToolbarState
(
ToolbarStates
.
EL_STYLE
)
return
ElMessage
({
showClose
:
true
,
message
:
`请选择 第
${
i
+
1
}
页 的绑定数据`
,
type
:
'warning'
,
})
}
//
if(!slides.value[i].typeId&&slides.value[i].pageType!=1){
//
datas.loading = false
//
mainStore.setToolbarState(ToolbarStates.EL_STYLE)
//
return ElMessage({
//
showClose: true,
//
message: `请选择 第 ${i+1} 页 的绑定数据`,
//
type: 'warning',
//
})
//
}
if
(
slides
.
value
[
i
].
elements
.
length
==
0
)
{
datas
.
loading
=
false
mainStore
.
setToolbarState
(
ToolbarStates
.
EL_TEMPLATEDATA
)
...
...
@@ -432,7 +433,7 @@ const setTemplate = async () =>{
await
SetTripTemplateSlide
()
}
if
(
ConfigId
.
value
){
await
testHandler
()
await
SetTripTemplateConfig
()
}
}
...
...
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