Commit 61e82121 authored by zhengke's avatar zhengke

广告取消非必要参数验证

parent 869fc491
......@@ -269,12 +269,12 @@ const setNewDatas = (type,i) => {
CoverImgStore.setCoverImg(null)
}
}
// 导入PSD6
// 导入PSD
const UploadPsdHandler = () => {
psdVisibleStatus.value = true
}
// 销售新增修改模版
// 销售新增修改行程、广告
const SetSellTemplate = async (type) => {
try {
let TempId = 0
......@@ -323,7 +323,7 @@ const SetSellTemplate = async (type) => {
}
// 新增修改模版
// 新增修改行程、广告模版
const SetTripTemplateSlide = async () => {
try {
let TemplateRes = await ConfigService.SetTripTemplateSlide(queryObj.value);
......@@ -421,7 +421,7 @@ const dataURLtoFile = (dataurl:string, filename:string) => {
return new File([u8arr], filename, { type: mime });
}
// 用户新增修改数据
// 用户新增修改行程数据
const SetTripTemplateConfig = async () => {
try {
let queryMsg = {
......@@ -483,9 +483,9 @@ const setTemplate = async (type) =>{
let url = await AliyunUpload.UploadAsync(file,`Feature/CoverImg_${name}`)
queryObj.value.CoverImg = url
}
if(queryObj.value.Title==''||!queryObj.value.LineId||queryObj.value.LineName==''
||queryObj.value.CountryName==''||queryObj.value.SeasonName==''
){
if(searchData.value.TemplateType!=2&&(queryObj.value.Title==''
||!queryObj.value.LineId||queryObj.value.LineName==''
||queryObj.value.CountryName==''||queryObj.value.SeasonName=='')){
datas.loading = false
mainStore.setToolbarState(ToolbarStates.EL_TEMPLATEDATA)
return ElMessage({
......
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