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 c3df96a7
authored
Oct 19, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
编辑日期调整
1 parent
3cf98bd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/views/task/addTask/index.vue
src/views/task/addTask/index.vue
View file @
c3df96a
...
@@ -554,7 +554,9 @@ export default {
...
@@ -554,7 +554,9 @@ export default {
let
now
=
myDate
.
valueOf
()
let
now
=
myDate
.
valueOf
()
this
.
taskList
.
map
((
item
,
index
)
=>
{
this
.
taskList
.
map
((
item
,
index
)
=>
{
if
(
this
.
taskList
.
length
!=
index
+
1
)
{
if
(
this
.
taskList
.
length
!=
index
+
1
)
{
let
time
=
new
Date
(
item
.
activityTime
).
valueOf
()
var
dateTime
=
new
Date
(
item
.
activityTime
)
dateTime
=
dateTime
.
setDate
(
dateTime
.
getDate
()
+
1
)
let
time
=
new
Date
(
dateTime
).
valueOf
()
now
>=
time
?
(
item
.
timeFlag
=
true
)
:
(
item
.
timeFlag
=
false
)
now
>=
time
?
(
item
.
timeFlag
=
true
)
:
(
item
.
timeFlag
=
false
)
}
}
})
})
...
@@ -592,7 +594,7 @@ export default {
...
@@ -592,7 +594,7 @@ export default {
// 如果是编辑,还需处理是否可编辑处理
// 如果是编辑,还需处理是否可编辑处理
if
(
this
.
isEditor
)
this
.
getEditTaskList
()
if
(
this
.
isEditor
)
this
.
getEditTaskList
()
// 如果是克隆,还需处理克隆时间
// 如果是克隆,还需处理克隆时间
if
(
this
.
isClone
)
this
.
getCloneTaskList
()
if
(
this
.
isClone
&&
!
this
.
basicForm
.
activityName
)
this
.
getCloneTaskList
()
return
this
.
taskList
return
this
.
taskList
},
},
// 处理任务计划回显
// 处理任务计划回显
...
...
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