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 328d2a44
authored
Dec 06, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'kuangyq_dev_v3.2.0' into 'v3.2.0'
Kuangyq dev v3.2.0 See merge request
!73
2 parents
0bcb1295
d7059930
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
src/views/task/addTask/components/activityDate.vue
src/views/task/addTask/index.vue
src/views/task/addTask/components/activityDate.vue
View file @
328d2a4
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
width=
"800px"
width=
"800px"
:before-close=
"handleClose"
:before-close=
"handleClose"
>
>
<div>
修改
任务开始日期
不能晚于活动开始日期且不能早于当前日期。
</div>
<div>
修改
规则:
不能晚于活动开始日期且不能早于当前日期。
</div>
<el-date-picker
<el-date-picker
v-model=
"selectDateItem"
v-model=
"selectDateItem"
type=
"date"
type=
"date"
...
...
src/views/task/addTask/index.vue
View file @
328d2a4
...
@@ -1318,6 +1318,16 @@ export default {
...
@@ -1318,6 +1318,16 @@ export default {
itm
.
sharingMethod
=
itm
.
sharingMethod
.
toString
()
itm
.
sharingMethod
=
itm
.
sharingMethod
.
toString
()
}
}
})
})
if
(
item
.
missionMaterialList
&&
item
.
missionMaterialList
.
length
)
{
item
.
missionMaterialList
.
map
((
itm
)
=>
{
if
(
itm
.
materialType
==
1
)
{
itm
.
materialContent
=
itm
.
materialContent
.
replace
(
/]*
?
>
[\s\S]
*
?
<
\/
div>/gi
,
''
)
}
})
}
})
})
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
params
.
startTime
=
this
.
dateStartTime
params
.
startTime
=
this
.
dateStartTime
...
@@ -1332,6 +1342,7 @@ export default {
...
@@ -1332,6 +1342,7 @@ export default {
}
}
params
.
missionDateList
=
this
.
taskList
params
.
missionDateList
=
this
.
taskList
params
.
id
=
this
.
taskId
params
.
id
=
this
.
taskId
console
.
log
(
params
,
'params'
)
// 创建
// 创建
if
(
!
this
.
isEditor
)
{
if
(
!
this
.
isEditor
)
{
taskApi
.
creatMission
(
params
).
then
(
taskApi
.
creatMission
(
params
).
then
(
...
...
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