Commit f6b003cf authored by zhengke's avatar zhengke

行程不上传 行程图调整

parent 303ef252
......@@ -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()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment