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
99b7475d
Commit
99b7475d
authored
Dec 12, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
0e2a854d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
157 additions
and
10 deletions
+157
-10
projectKpiEdit.vue
src/views/report/project/components/projectKpiEdit.vue
+157
-10
No files found.
src/views/report/project/components/projectKpiEdit.vue
View file @
99b7475d
...
@@ -116,33 +116,38 @@
...
@@ -116,33 +116,38 @@
</td>
</td>
<td
colspan=
"6"
>
{{
item
.
kpitName
}}
</td>
<td
colspan=
"6"
>
{{
item
.
kpitName
}}
</td>
<td
class=
"target-value"
>
<td
class=
"target-value"
>
<a-form-model-item
:prop=
"'projectKPI.threeLevel.' + index + '.targetValue'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleTargetValue.includes(index)"
:prop=
"'projectKPI.threeLevel.' + index + '.targetValue'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.targetValue"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.targetValue"
@
change=
"TargetValueChange(index)"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
v-else
>
{{
item
.
targetValue
}}
</div>
</td>
</td>
<td
class=
"target-value"
>
<td
class=
"target-value"
>
<a-form-model-item
:prop=
"'projectKPI.threeLevel.' + index + '.performanceStandard'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisiblePerformanceStandard.includes(index)"
:prop=
"'projectKPI.threeLevel.' + index + '.performanceStandard'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.performanceStandard"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.performanceStandard"
@
change=
"PerformanceStandardChange(index)"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
v-else
>
{{
item
.
performanceStandard
}}
</div>
</td>
</td>
<td
class=
"bg-title"
v-if=
"item.towDisplay"
:rowspan=
"item.towRowSpan"
>
<td
class=
"bg-title"
v-if=
"item.towDisplay"
:rowspan=
"item.towRowSpan"
>
{{
item
.
towLevelName
}}
{{
item
.
towLevelName
}}
</td>
</td>
<td
colspan=
"5"
>
{{
item
.
kpitName
}}
</td>
<td
colspan=
"5"
>
{{
item
.
kpitName
}}
</td>
<td
class=
"target-value"
>
<td
class=
"target-value"
>
<a-form-model-item
:prop=
"'projectKPI.threeLevel.' + index + '.yearValue1'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue1.includes(index)"
:prop=
"'projectKPI.threeLevel.' + index + '.yearValue1'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue1"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue1"
@
change=
"YearValue1Change(index)"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
v-else
>
{{
item
.
yearValue1
}}
</div>
</td>
</td>
<td
class=
"target-value"
>
<td
class=
"target-value"
>
<a-form-model-item
:prop=
"'projectKPI.threeLevel.' + index + '.yearValue2'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue2.includes(index)"
:prop=
"'projectKPI.threeLevel.' + index + '.yearValue2'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue2"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue2"
@
change=
"YearValue2Change(index)"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
v-else
>
{{
item
.
yearValue2
}}
</div>
</td>
</td>
<td
class=
"target-value"
>
<td
class=
"target-value"
>
<a-form-model-item
:prop=
"'projectKPI.threeLevel.' + index + '.yearValue3'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-form-model-item
v-if=
"!invisibleYearValue3.includes(index)"
:prop=
"'projectKPI.threeLevel.' + index + '.yearValue3'"
:rules=
"
{required: false, message: '*', trigger: 'blur',}">
<a-input-number
v-model=
"item.yearValue3"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
<a-input-number
v-model=
"item.yearValue3"
@
change=
"YearValue3Change(index)"
:min=
"0"
:step=
"1"
style=
"width: 80%"
/>
</a-form-model-item>
</a-form-model-item>
<div
v-else
>
{{
item
.
yearValue3
}}
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -152,6 +157,8 @@
...
@@ -152,6 +157,8 @@
<
script
>
<
script
>
import
moment
from
"moment"
;
import
moment
from
"moment"
;
const
LockElement
=
[
0
,
4
,
14
,
18
,
26
,
39
,
43
,
47
,
51
,
55
,
63
,
66
]
export
default
{
export
default
{
name
:
"projectKpiEdit"
,
name
:
"projectKpiEdit"
,
props
:
{
props
:
{
...
@@ -168,6 +175,11 @@ export default {
...
@@ -168,6 +175,11 @@ export default {
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
,
name
:
"新增项目"
},
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
,
name
:
"新增项目"
},
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f02"
,
name
:
"延期项目"
},
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f02"
,
name
:
"延期项目"
},
],
],
invisibleTargetValue
:
LockElement
,
invisiblePerformanceStandard
:
LockElement
,
invisibleYearValue1
:
LockElement
,
invisibleYearValue2
:
LockElement
,
invisibleYearValue3
:
LockElement
,
};
};
},
},
created
()
{
created
()
{
...
@@ -192,6 +204,141 @@ export default {
...
@@ -192,6 +204,141 @@ export default {
}
}
});
});
},
},
TargetValueChange
(
index
)
{
if
(
index
==
1
||
index
==
2
||
index
==
3
)
{
this
.
projectKPI
.
threeLevel
[
0
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
1
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
2
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
3
].
targetValue
}
else
if
(
index
==
5
||
index
==
6
||
index
==
7
)
{
this
.
projectKPI
.
threeLevel
[
4
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
5
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
6
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
7
].
targetValue
}
else
if
(
index
==
15
||
index
==
16
)
{
this
.
projectKPI
.
threeLevel
[
14
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
15
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
16
].
targetValue
}
else
if
(
index
==
19
||
index
==
20
||
index
==
21
||
index
==
22
||
index
==
23
||
index
==
24
)
{
this
.
projectKPI
.
threeLevel
[
18
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
19
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
20
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
21
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
22
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
23
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
24
].
targetValue
}
else
if
(
index
==
27
||
index
==
28
||
index
==
29
||
index
==
30
||
index
==
31
||
index
==
32
)
{
this
.
projectKPI
.
threeLevel
[
26
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
27
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
28
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
29
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
30
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
31
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
32
].
targetValue
}
else
if
(
index
==
40
||
index
==
41
||
index
==
42
)
{
this
.
projectKPI
.
threeLevel
[
39
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
40
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
41
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
42
].
targetValue
}
else
if
(
index
==
44
||
index
==
45
||
index
==
46
)
{
this
.
projectKPI
.
threeLevel
[
43
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
44
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
45
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
46
].
targetValue
}
else
if
(
index
==
48
||
index
==
49
)
{
this
.
projectKPI
.
threeLevel
[
47
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
48
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
49
].
targetValue
}
else
if
(
index
==
52
||
index
==
53
||
index
==
54
)
{
this
.
projectKPI
.
threeLevel
[
51
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
52
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
53
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
54
].
targetValue
}
else
if
(
index
==
56
||
index
==
57
||
index
==
58
||
index
==
59
||
index
==
60
)
{
this
.
projectKPI
.
threeLevel
[
55
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
56
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
57
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
58
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
59
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
60
].
targetValue
}
else
if
(
index
==
64
||
index
==
65
)
{
this
.
projectKPI
.
threeLevel
[
63
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
64
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
65
].
targetValue
}
else
if
(
index
==
67
||
index
==
68
)
{
this
.
projectKPI
.
threeLevel
[
66
].
targetValue
=
this
.
projectKPI
.
threeLevel
[
67
].
targetValue
+
this
.
projectKPI
.
threeLevel
[
68
].
targetValue
}
},
PerformanceStandardChange
(
index
)
{
if
(
index
==
1
||
index
==
2
||
index
==
3
)
{
this
.
projectKPI
.
threeLevel
[
0
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
1
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
2
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
3
].
performanceStandard
}
else
if
(
index
==
5
||
index
==
6
||
index
==
7
)
{
this
.
projectKPI
.
threeLevel
[
4
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
5
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
6
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
7
].
performanceStandard
}
else
if
(
index
==
15
||
index
==
16
)
{
this
.
projectKPI
.
threeLevel
[
14
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
15
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
16
].
performanceStandard
}
else
if
(
index
==
19
||
index
==
20
||
index
==
21
||
index
==
22
||
index
==
23
||
index
==
24
)
{
this
.
projectKPI
.
threeLevel
[
18
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
19
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
20
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
21
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
22
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
23
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
24
].
performanceStandard
}
else
if
(
index
==
27
||
index
==
28
||
index
==
29
||
index
==
30
||
index
==
31
||
index
==
32
)
{
this
.
projectKPI
.
threeLevel
[
26
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
27
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
28
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
29
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
30
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
31
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
32
].
performanceStandard
}
else
if
(
index
==
40
||
index
==
41
||
index
==
42
)
{
this
.
projectKPI
.
threeLevel
[
39
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
40
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
41
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
42
].
performanceStandard
}
else
if
(
index
==
44
||
index
==
45
||
index
==
46
)
{
this
.
projectKPI
.
threeLevel
[
43
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
44
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
45
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
46
].
performanceStandard
}
else
if
(
index
==
48
||
index
==
49
)
{
this
.
projectKPI
.
threeLevel
[
47
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
48
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
49
].
performanceStandard
}
else
if
(
index
==
52
||
index
==
53
||
index
==
54
)
{
this
.
projectKPI
.
threeLevel
[
51
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
52
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
53
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
54
].
performanceStandard
}
else
if
(
index
==
56
||
index
==
57
||
index
==
58
||
index
==
59
||
index
==
60
)
{
this
.
projectKPI
.
threeLevel
[
55
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
56
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
57
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
58
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
59
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
60
].
performanceStandard
}
else
if
(
index
==
64
||
index
==
65
)
{
this
.
projectKPI
.
threeLevel
[
63
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
64
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
65
].
performanceStandard
}
else
if
(
index
==
67
||
index
==
68
)
{
this
.
projectKPI
.
threeLevel
[
66
].
performanceStandard
=
this
.
projectKPI
.
threeLevel
[
67
].
performanceStandard
+
this
.
projectKPI
.
threeLevel
[
68
].
performanceStandard
}
},
YearValue1Change
(
index
)
{
if
(
index
==
1
||
index
==
2
||
index
==
3
)
{
this
.
projectKPI
.
threeLevel
[
0
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
1
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
2
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
3
].
yearValue1
}
else
if
(
index
==
5
||
index
==
6
||
index
==
7
)
{
this
.
projectKPI
.
threeLevel
[
4
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
5
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
6
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
7
].
yearValue1
}
else
if
(
index
==
15
||
index
==
16
)
{
this
.
projectKPI
.
threeLevel
[
14
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
15
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
16
].
yearValue1
}
else
if
(
index
==
19
||
index
==
20
||
index
==
21
||
index
==
22
||
index
==
23
||
index
==
24
)
{
this
.
projectKPI
.
threeLevel
[
18
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
19
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
20
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
21
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
22
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
23
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
24
].
yearValue1
}
else
if
(
index
==
27
||
index
==
28
||
index
==
29
||
index
==
30
||
index
==
31
||
index
==
32
)
{
this
.
projectKPI
.
threeLevel
[
26
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
27
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
28
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
29
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
30
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
31
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
32
].
yearValue1
}
else
if
(
index
==
40
||
index
==
41
||
index
==
42
)
{
this
.
projectKPI
.
threeLevel
[
39
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
40
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
41
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
42
].
yearValue1
}
else
if
(
index
==
44
||
index
==
45
||
index
==
46
)
{
this
.
projectKPI
.
threeLevel
[
43
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
44
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
45
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
46
].
yearValue1
}
else
if
(
index
==
48
||
index
==
49
)
{
this
.
projectKPI
.
threeLevel
[
47
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
48
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
49
].
yearValue1
}
else
if
(
index
==
52
||
index
==
53
||
index
==
54
)
{
this
.
projectKPI
.
threeLevel
[
51
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
52
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
53
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
54
].
yearValue1
}
else
if
(
index
==
56
||
index
==
57
||
index
==
58
||
index
==
59
||
index
==
60
)
{
this
.
projectKPI
.
threeLevel
[
55
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
56
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
57
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
58
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
59
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
60
].
yearValue1
}
else
if
(
index
==
64
||
index
==
65
)
{
this
.
projectKPI
.
threeLevel
[
63
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
64
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
65
].
yearValue1
}
else
if
(
index
==
67
||
index
==
68
)
{
this
.
projectKPI
.
threeLevel
[
66
].
yearValue1
=
this
.
projectKPI
.
threeLevel
[
67
].
yearValue1
+
this
.
projectKPI
.
threeLevel
[
68
].
yearValue1
}
},
YearValue2Change
(
index
)
{
if
(
index
==
1
||
index
==
2
||
index
==
3
)
{
this
.
projectKPI
.
threeLevel
[
0
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
1
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
2
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
3
].
yearValue2
}
else
if
(
index
==
5
||
index
==
6
||
index
==
7
)
{
this
.
projectKPI
.
threeLevel
[
4
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
5
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
6
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
7
].
yearValue2
}
else
if
(
index
==
15
||
index
==
16
)
{
this
.
projectKPI
.
threeLevel
[
14
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
15
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
16
].
yearValue2
}
else
if
(
index
==
19
||
index
==
20
||
index
==
21
||
index
==
22
||
index
==
23
||
index
==
24
)
{
this
.
projectKPI
.
threeLevel
[
18
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
19
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
20
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
21
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
22
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
23
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
24
].
yearValue2
}
else
if
(
index
==
27
||
index
==
28
||
index
==
29
||
index
==
30
||
index
==
31
||
index
==
32
)
{
this
.
projectKPI
.
threeLevel
[
26
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
27
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
28
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
29
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
30
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
31
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
32
].
yearValue2
}
else
if
(
index
==
40
||
index
==
41
||
index
==
42
)
{
this
.
projectKPI
.
threeLevel
[
39
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
40
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
41
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
42
].
yearValue2
}
else
if
(
index
==
44
||
index
==
45
||
index
==
46
)
{
this
.
projectKPI
.
threeLevel
[
43
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
44
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
45
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
46
].
yearValue2
}
else
if
(
index
==
48
||
index
==
49
)
{
this
.
projectKPI
.
threeLevel
[
47
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
48
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
49
].
yearValue2
}
else
if
(
index
==
52
||
index
==
53
||
index
==
54
)
{
this
.
projectKPI
.
threeLevel
[
51
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
52
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
53
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
54
].
yearValue2
}
else
if
(
index
==
56
||
index
==
57
||
index
==
58
||
index
==
59
||
index
==
60
)
{
this
.
projectKPI
.
threeLevel
[
55
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
56
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
57
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
58
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
59
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
60
].
yearValue2
}
else
if
(
index
==
64
||
index
==
65
)
{
this
.
projectKPI
.
threeLevel
[
63
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
64
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
65
].
yearValue2
}
else
if
(
index
==
67
||
index
==
68
)
{
this
.
projectKPI
.
threeLevel
[
66
].
yearValue2
=
this
.
projectKPI
.
threeLevel
[
67
].
yearValue2
+
this
.
projectKPI
.
threeLevel
[
68
].
yearValue2
}
},
YearValue3Change
(
index
)
{
if
(
index
==
1
||
index
==
2
||
index
==
3
)
{
this
.
projectKPI
.
threeLevel
[
0
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
1
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
2
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
3
].
yearValue3
}
else
if
(
index
==
5
||
index
==
6
||
index
==
7
)
{
this
.
projectKPI
.
threeLevel
[
4
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
5
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
6
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
7
].
yearValue3
}
else
if
(
index
==
15
||
index
==
16
)
{
this
.
projectKPI
.
threeLevel
[
14
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
15
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
16
].
yearValue3
}
else
if
(
index
==
19
||
index
==
20
||
index
==
21
||
index
==
22
||
index
==
23
||
index
==
24
)
{
this
.
projectKPI
.
threeLevel
[
18
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
19
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
20
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
21
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
22
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
23
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
24
].
yearValue3
}
else
if
(
index
==
27
||
index
==
28
||
index
==
29
||
index
==
30
||
index
==
31
||
index
==
32
)
{
this
.
projectKPI
.
threeLevel
[
26
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
27
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
28
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
29
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
30
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
31
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
32
].
yearValue3
}
else
if
(
index
==
40
||
index
==
41
||
index
==
42
)
{
this
.
projectKPI
.
threeLevel
[
39
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
40
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
41
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
42
].
yearValue3
}
else
if
(
index
==
44
||
index
==
45
||
index
==
46
)
{
this
.
projectKPI
.
threeLevel
[
43
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
44
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
45
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
46
].
yearValue3
}
else
if
(
index
==
48
||
index
==
49
)
{
this
.
projectKPI
.
threeLevel
[
47
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
48
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
49
].
yearValue3
}
else
if
(
index
==
52
||
index
==
53
||
index
==
54
)
{
this
.
projectKPI
.
threeLevel
[
51
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
52
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
53
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
54
].
yearValue3
}
else
if
(
index
==
56
||
index
==
57
||
index
==
58
||
index
==
59
||
index
==
60
)
{
this
.
projectKPI
.
threeLevel
[
55
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
56
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
57
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
58
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
59
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
60
].
yearValue3
}
else
if
(
index
==
64
||
index
==
65
)
{
this
.
projectKPI
.
threeLevel
[
63
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
64
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
65
].
yearValue3
}
else
if
(
index
==
67
||
index
==
68
)
{
this
.
projectKPI
.
threeLevel
[
66
].
yearValue3
=
this
.
projectKPI
.
threeLevel
[
67
].
yearValue3
+
this
.
projectKPI
.
threeLevel
[
68
].
yearValue3
}
}
},
},
};
};
</
script
>
</
script
>
...
...
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