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
771cc48e
Commit
771cc48e
authored
Dec 27, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
3f8e27da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
Index.vue
src/views/audit/project/Index.vue
+21
-2
No files found.
src/views/audit/project/Index.vue
View file @
771cc48e
...
...
@@ -194,8 +194,13 @@ export default {
this
.
$api
.
auditManager
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
;
this
.
tableData
=
dataList
;
this
.
pagination
.
total
=
total
;
this
.
tableData
=
dataList
.
map
(
item
=>
{
return
{
...
item
,
projClassName
:
item
.
projClass
===
1
?
"一般项目"
:
"重点项目"
,
}
})
this
.
tableData
.
forEach
(
e
=>
{
e
.
startDate
=
moment
(
e
.
startDate
).
format
(
'YYYY-MM-DD'
)
e
.
endDate
=
moment
(
e
.
endDate
).
format
(
'YYYY-MM-DD'
)
...
...
@@ -269,7 +274,21 @@ export default {
this
.
taskFileInfoView
=
true
},
exportData
()
{
this
.
$ToDoExcel
(
`项目审核列表`
,
tableColumnsName
(
this
.
columns
),
filterExportExcelData
(
this
.
columns
,
this
.
tableData
))
let
column
=
[
{
title
:
"项目名称"
,
dataIndex
:
'projName'
},
//{ title: "项目编号", dataIndex: "projNo", align: 'center' },
{
title
:
'申请编号'
,
dataIndex
:
'appNo'
},
{
title
:
"开始时间"
,
dataIndex
:
"startDate"
},
{
title
:
"结束时间"
,
dataIndex
:
"endDate"
},
{
title
:
"申报年度"
,
dataIndex
:
"reportYear"
},
{
title
:
"项目类别"
,
dataIndex
:
'projClassName'
},
{
title
:
"项目资金(万元)"
,
dataIndex
:
"govFunding"
},
{
title
:
'申报单位'
,
dataIndex
:
'appUnitName'
},
{
title
:
'申报学科'
,
dataIndex
:
'knowledgeName'
},
{
title
:
'申报人'
,
dataIndex
:
'appPersonName'
},
{
title
:
'审核状态'
,
dataIndex
:
'auditResultName'
},
]
this
.
$ToDoExcel
(
`项目审核列表`
,
tableColumnsName
(
column
),
filterExportExcelData
(
column
,
this
.
tableData
))
}
},
};
...
...
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