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
726212d9
Commit
726212d9
authored
Mar 14, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
53fdb7e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
projKeyAssign.vue
src/views/peAssign/projKeyAssign.vue
+3
-3
No files found.
src/views/peAssign/projKeyAssign.vue
View file @
726212d9
...
@@ -441,10 +441,10 @@ export default {
...
@@ -441,10 +441,10 @@ export default {
import
(
'@/views/utils/Export2Excel'
).
then
(
excel
=>
{
import
(
'@/views/utils/Export2Excel'
).
then
(
excel
=>
{
const
multiHeader
=
[[
this
.
reportYear
+
'项目分组排名列表'
,
''
,
''
]]
// 标题
const
multiHeader
=
[[
this
.
reportYear
+
'项目分组排名列表'
,
''
,
''
]]
// 标题
const
header
=
[
'组名'
,
'组内排名'
,
'项目编号'
,
'项目名称'
,
'一级学科'
,
'二级学科'
,
'申报单位'
,
'申报人'
,
'所属市(州)'
,
'
总分'
,
'平均
分'
]
// 表头
const
header
=
[
'组名'
,
'组内排名'
,
'项目编号'
,
'项目名称'
,
'一级学科'
,
'二级学科'
,
'申报单位'
,
'申报人'
,
'所属市(州)'
,
'
技术专家评分'
,
'财务专家评分'
,
'最终得
分'
]
// 表头
const
filterVal
=
[
'groupName'
,
'orderNo'
,
'projNo'
,
'projName'
,
'
knowledgeParentName'
,
'knowledgeName'
,
'appUnitName'
,
'personName'
,
'unitName'
,
'totalScore'
,
'averag
eScore'
]
// 数据属性
const
filterVal
=
[
'groupName'
,
'orderNo'
,
'projNo'
,
'projName'
,
'
parentName'
,
'knowledgeName'
,
'appUnitName'
,
'personName'
,
'unitName'
,
'gradeScore1'
,
'gradeScore2'
,
'calculat
eScore'
]
// 数据属性
const
list
=
this
.
eTableData
//请求来的数据
const
list
=
this
.
eTableData
//请求来的数据
const
merges
=
[
'A1:
I1'
].
concat
(
this
.
eMergeList
)
//需要合并的
单元格
const
merges
=
[
'A1:
L1'
].
concat
(
this
.
eMergeList
)
//需要合并的标题头
单元格
const
data
=
list
.
map
(
item
=>
filterVal
.
map
(
j
=>
item
[
j
]))
// 转换二维数组
const
data
=
list
.
map
(
item
=>
filterVal
.
map
(
j
=>
item
[
j
]))
// 转换二维数组
const
filename
=
this
.
reportYear
+
'项目分组排名列表'
const
filename
=
this
.
reportYear
+
'项目分组排名列表'
excel
.
exportJsonToExcel
({
excel
.
exportJsonToExcel
({
...
...
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