Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c58578cc
authored
Nov 21, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
e00ae862
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
src/components/GLEditor/index.vue
src/views/task/addTask/index.vue
src/components/GLEditor/index.vue
View file @
c58578c
...
...
@@ -526,7 +526,7 @@ export default {
}
})
if
(
materialFlag
)
{
document
.
querySelector
(
'.upload-
video
'
).
value
=
''
document
.
querySelector
(
'.upload-
img
'
).
value
=
''
this
.
$message
.
error
(
'为规范小程序显示样式,专属链接不能与图片或视频同时配置'
)
...
...
src/views/task/addTask/index.vue
View file @
c58578c
...
...
@@ -1005,24 +1005,6 @@ export default {
},
// 提交任务
submitTask
()
{
try
{
this
.
basicFormValidate
()
}
catch
(
err
)
{
if
(
err
)
return
}
this
.
taskFormValidate
()
if
(
!
this
.
validFlag
)
{
this
.
$alert
(
'第'
+
(
this
.
dayIndex
+
1
)
+
'天填写未完成'
,
'警告'
,
{
confirmButtonText
:
'知道了'
,
callback
:
(
action
)
=>
{
this
.
validFlag
=
true
this
.
activeName
=
this
.
dayIndex
+
''
},
})
return
}
this
.
taskFormEmptyValidate
()
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
// 遍历
this
.
taskList
.
map
((
item
)
=>
{
item
.
missionList
.
map
((
itm
)
=>
{
...
...
@@ -1046,6 +1028,24 @@ export default {
delete
itm
.
taskid
})
})
try
{
this
.
basicFormValidate
()
}
catch
(
err
)
{
if
(
err
)
return
}
this
.
taskFormValidate
()
if
(
!
this
.
validFlag
)
{
this
.
$alert
(
'第'
+
(
this
.
dayIndex
+
1
)
+
'天填写未完成'
,
'警告'
,
{
confirmButtonText
:
'知道了'
,
callback
:
(
action
)
=>
{
this
.
validFlag
=
true
this
.
activeName
=
this
.
dayIndex
+
''
},
})
return
}
this
.
taskFormEmptyValidate
()
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
params
.
startTime
=
this
.
startTime
params
.
endTime
=
this
.
endTime
params
.
activityImage
=
this
.
activityImage
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment