Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
Details
Activity
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
徐俊
yn-science-front
Commits
1024dd3a
Commit
1024dd3a
authored
Dec 19, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.yiboshi.com/XuJun/yn-science-front
parents
171a1a43
75de689b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
projectEdit.vue
src/views/report/project/components/edit/projectEdit.vue
+32
-0
No files found.
src/views/report/project/components/edit/projectEdit.vue
View file @
1024dd3a
...
@@ -964,11 +964,43 @@ export default {
...
@@ -964,11 +964,43 @@ export default {
}
else
if
(
step
==
3
)
{
}
else
if
(
step
==
3
)
{
return
true
return
true
}
else
if
(
step
==
4
)
{
}
else
if
(
step
==
4
)
{
const
flag
=
this
.
determineProjKPIDetail
()
if
(
flag
)
{
return
true
return
true
}
else
{
this
.
$message
.
error
(
'项目绩效目标表需要至少填写其中的一项指标明细!'
)
return
false
}
}
else
if
(
step
==
5
)
{
}
else
if
(
step
==
5
)
{
return
true
return
true
}
}
},
},
determineProjKPIDetail
()
{
let
flag
=
false
for
(
let
e
of
this
.
formData
.
projectKPI
.
threeLevel
)
{
if
(
e
.
performanceStandard
&&
e
.
performanceStandard
>
0
)
{
flag
=
true
break
}
if
(
e
.
targetValue
&&
e
.
targetValue
>
0
)
{
flag
=
true
break
}
if
(
e
.
yearValue1
&&
e
.
yearValue1
>
0
)
{
flag
=
true
break
}
if
(
e
.
yearValue2
&&
e
.
yearValue2
>
0
)
{
flag
=
true
break
}
if
(
e
.
yearValue3
&&
e
.
yearValue3
>
0
)
{
flag
=
true
break
}
}
return
flag
},
projNameChange
(
value
)
{
projNameChange
(
value
)
{
this
.
formData
.
projectKPI
.
projName
=
this
.
formData
.
projName
this
.
formData
.
projectKPI
.
projName
=
this
.
formData
.
projName
},
},
...
...
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