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
61e82121
Commit
61e82121
authored
Jan 04, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广告取消非必要参数验证
parent
869fc491
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
index.vue
src/views/Editor/EditorHeader/index.vue
+7
-7
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
61e82121
...
...
@@ -269,12 +269,12 @@ const setNewDatas = (type,i) => {
CoverImgStore
.
setCoverImg
(
null
)
}
}
// 导入PSD
6
// 导入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
.
LineNam
e
==
''
||
queryObj
.
value
.
CountryName
==
''
||
queryObj
.
value
.
Season
Name
==
''
){
if
(
searchData
.
value
.
TemplateType
!=
2
&&
(
queryObj
.
value
.
Titl
e
==
''
||!
queryObj
.
value
.
LineId
||
queryObj
.
value
.
Line
Name
==
''
||
queryObj
.
value
.
CountryName
==
''
||
queryObj
.
value
.
SeasonName
==
''
)
){
datas
.
loading
=
false
mainStore
.
setToolbarState
(
ToolbarStates
.
EL_TEMPLATEDATA
)
return
ElMessage
({
...
...
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