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
6d805f8f
Commit
6d805f8f
authored
Jul 30, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
3e852170
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
budgetFiveInfo.vue
src/views/report/talent/components/budgetFiveInfo.vue
+14
-2
budgetThreeInfo.vue
src/views/report/talent/components/budgetThreeInfo.vue
+11
-1
No files found.
src/views/report/talent/components/budgetFiveInfo.vue
View file @
6d805f8f
...
...
@@ -146,7 +146,7 @@ export default {
}
},
created
()
{
//
this.calTotalFee()
this
.
calTotalFee
()
},
methods
:
{
FeeChange
(
index
)
{
...
...
@@ -177,6 +177,16 @@ export default {
this
.
FeeChange
(
index
)
},
calTotalFee
()
{
if
(
!
this
.
budgetList
||
this
.
budgetList
.
length
<
9
)
{
this
.
totalYearValue1
=
0
this
.
totalYearValue2
=
0
this
.
totalYearValue3
=
0
this
.
totalYearValue4
=
0
this
.
totalYearValue5
=
0
this
.
totalFee
=
0
return
}
this
.
totalYearValue1
=
this
.
budgetList
[
0
].
yearValue1
+
this
.
budgetList
[
1
].
yearValue1
+
this
.
budgetList
[
2
].
yearValue1
+
this
.
budgetList
[
8
].
yearValue1
this
.
totalYearValue2
=
this
.
budgetList
[
0
].
yearValue2
+
this
.
budgetList
[
1
].
yearValue2
+
this
.
budgetList
[
2
].
yearValue2
+
this
.
budgetList
[
8
].
yearValue2
this
.
totalYearValue3
=
this
.
budgetList
[
0
].
yearValue3
+
this
.
budgetList
[
1
].
yearValue3
+
this
.
budgetList
[
2
].
yearValue3
+
this
.
budgetList
[
8
].
yearValue3
...
...
@@ -250,7 +260,9 @@ export default {
budgetList
:
{
handler
(
budgetList
)
{
this
.
calTotalFee
()
}
},
deep
:
true
,
immediate
:
true
// 新增
}
}
}
...
...
src/views/report/talent/components/budgetThreeInfo.vue
View file @
6d805f8f
...
...
@@ -142,6 +142,14 @@ export default {
this
.
FeeChange
(
index
)
},
calTotalFee
()
{
if
(
!
this
.
budgetList
||
this
.
budgetList
.
length
<
9
)
{
this
.
totalYearValue1
=
0
this
.
totalYearValue2
=
0
this
.
totalYearValue3
=
0
this
.
totalFee
=
0
return
}
this
.
totalYearValue1
=
this
.
budgetList
[
0
].
yearValue1
+
this
.
budgetList
[
1
].
yearValue1
+
this
.
budgetList
[
2
].
yearValue1
+
this
.
budgetList
[
8
].
yearValue1
this
.
totalYearValue2
=
this
.
budgetList
[
0
].
yearValue2
+
this
.
budgetList
[
1
].
yearValue2
+
this
.
budgetList
[
2
].
yearValue2
+
this
.
budgetList
[
8
].
yearValue2
this
.
totalYearValue3
=
this
.
budgetList
[
0
].
yearValue3
+
this
.
budgetList
[
1
].
yearValue3
+
this
.
budgetList
[
2
].
yearValue3
+
this
.
budgetList
[
8
].
yearValue3
...
...
@@ -206,7 +214,9 @@ export default {
budgetList
:
{
handler
(
budgetList
)
{
this
.
calTotalFee
()
}
},
deep
:
true
,
immediate
:
true
// 新增
}
}
}
...
...
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