Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
c77d6444
Commit
c77d6444
authored
Mar 18, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1548dd20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
index.vue
...ojectCostLedger/detail/components/OtherProjects/index.vue
+15
-13
No files found.
dsk-operate-ui/src/views/projectCostLedger/detail/components/OtherProjects/index.vue
View file @
c77d6444
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
},
},
defaultActive
:
"
费用汇总
"
,
defaultActive
:
""
,
menuTreeList
:
[
menuTreeList
:
[
{
{
id
:
"1"
,
id
:
"1"
,
...
@@ -119,7 +119,8 @@ export default {
...
@@ -119,7 +119,8 @@ export default {
],
],
menuOptions
:
{
menuOptions
:
{
nodeName
:
"itemContent"
,
nodeName
:
"itemContent"
,
nodeValue
:
"menuId"
,
nodeValue
:
"id"
,
children
:
"children"
},
},
tableData1
:[],
tableData1
:[],
tableDataTotal1
:
0
,
tableDataTotal1
:
0
,
...
@@ -155,26 +156,27 @@ export default {
...
@@ -155,26 +156,27 @@ export default {
},
},
//方法集
//方法集
methods
:
{
methods
:
{
async
getProjectOther
Statistics
(
params
)
{
async
getProjectOther
MenuTreeApi
(
params
)
{
try
{
try
{
const
result
=
await
getProjectOther
Statistics
(
params
);
const
result
=
await
getProjectOther
MenuTreeApi
(
params
);
if
(
result
.
code
==
200
)
{
if
(
result
.
code
==
200
)
{
const
_dataArray
=
result
.
data
;
const
_tempArray
=
result
.
data
;
this
.
tableDataTotal
=
_dataArray
.
length
;
_tempArray
.
unshift
({
id
:
"11"
,
itemContent
:
"费用汇总"
});
this
.
tableData
=
_dataArray
;
this
.
menuTreeList
[
0
].
children
=
_tempArray
;
this
.
defaultActive
=
'11'
;
this
.
getProjectOtherStatistics
(
this
.
comProjectDetailInfo
.
projectId
)
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
}
}
},
},
async
getProjectOther
MenuTreeApi
(
params
)
{
async
getProjectOther
Statistics
(
params
)
{
try
{
try
{
const
result
=
await
getProjectOther
MenuTreeApi
(
params
);
const
result
=
await
getProjectOther
Statistics
(
params
);
if
(
result
.
code
==
200
)
{
if
(
result
.
code
==
200
)
{
const
_tempArray
=
result
.
data
;
const
_dataArray
=
result
.
data
;
_tempArray
.
unshift
({
id
:
"11"
,
itemContent
:
"费用汇总"
});
this
.
tableDataTotal
=
_dataArray
.
length
;
this
.
menuTreeList
[
0
].
children
=
_tempArray
;
this
.
tableData
=
_dataArray
;
this
.
getProjectOtherStatistics
(
this
.
comProjectDetailInfo
.
projectId
)
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
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