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
4f03bb42
Commit
4f03bb42
authored
Jun 06, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3333
parent
ceabacbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
assignDetail.vue
src/views/assign/components/assignDetail.vue
+18
-0
No files found.
src/views/assign/components/assignDetail.vue
View file @
4f03bb42
...
@@ -58,6 +58,10 @@
...
@@ -58,6 +58,10 @@
<
template
slot=
"expertInfo"
slot-scope=
"record"
>
<
template
slot=
"expertInfo"
slot-scope=
"record"
>
<a-tag
:color=
"record.expertType == 1 ? technology : finance"
>
{{
record
.
expertType
==
1
?
"技术专家"
:
"财务专家"
}}
</a-tag>
<a-tag
:color=
"record.expertType == 1 ? technology : finance"
>
{{
record
.
expertType
==
1
?
"技术专家"
:
"财务专家"
}}
</a-tag>
</
template
>
</
template
>
<
template
slot=
"supportState"
slot-scope=
"record"
>
<a-tag
:color=
"'#87d068'"
v-if=
"record.supportState==1"
>
是
</a-tag>
<a-tag
:color=
"'#f50'"
v-if=
"record.supportState==0"
>
否
</a-tag>
</
template
>
<
template
slot=
"option"
slot-scope=
"record"
>
<
template
slot=
"option"
slot-scope=
"record"
>
<a-popconfirm
title=
"确定要删除吗?"
ok-text=
"确定"
cancel-text=
"取消"
@
confirm=
"recordClick(record,'del')"
>
<a-popconfirm
title=
"确定要删除吗?"
ok-text=
"确定"
cancel-text=
"取消"
@
confirm=
"recordClick(record,'del')"
>
<a-button
type=
"link"
size=
"small"
>
删除
</a-button>
<a-button
type=
"link"
size=
"small"
>
删除
</a-button>
...
@@ -115,6 +119,7 @@ export default {
...
@@ -115,6 +119,7 @@ export default {
// { title: '职称', dataIndex: 'titleName', align: 'center' },
// { title: '职称', dataIndex: 'titleName', align: 'center' },
// { title: '评审专业', scopedSlots: { customRender: 'spec' }, align: 'center' },
// { title: '评审专业', scopedSlots: { customRender: 'spec' }, align: 'center' },
{
title
:
'评分'
,
dataIndex
:
'totalScore'
,
align
:
'center'
,
width
:
60
},
{
title
:
'评分'
,
dataIndex
:
'totalScore'
,
align
:
'center'
,
width
:
60
},
{
title
:
'是否推荐立项'
,
scopedSlots
:
{
customRender
:
'supportState'
},
align
:
'center'
},
{
title
:
'评审状态'
,
scopedSlots
:
{
customRender
:
'expertEvaluation'
,
colName
:
'gradeScore'
},
align
:
'center'
},
{
title
:
'评审状态'
,
scopedSlots
:
{
customRender
:
'expertEvaluation'
,
colName
:
'gradeScore'
},
align
:
'center'
},
// { title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, },
// { title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, },
],
],
...
@@ -242,6 +247,8 @@ export default {
...
@@ -242,6 +247,8 @@ export default {
{
title
:
'专家单位'
,
dataIndex
:
'unitName'
},
{
title
:
'专家单位'
,
dataIndex
:
'unitName'
},
{
title
:
'手机号'
,
dataIndex
:
'mobile'
},
{
title
:
'手机号'
,
dataIndex
:
'mobile'
},
{
title
:
'评分'
,
dataIndex
:
'totalScore'
},
{
title
:
'评分'
,
dataIndex
:
'totalScore'
},
{
title
:
'是否推荐立项'
,
dataIndex
:
'supportName'
},
{
title
:
'不推荐原因'
,
dataIndex
:
'noSupportReason'
},
{
title
:
'评审状态'
,
dataIndex
:
'stateName'
},
{
title
:
'评审状态'
,
dataIndex
:
'stateName'
},
]
]
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
pars
=
isEmptyParams
(
this
.
searchForm
)
...
@@ -249,6 +256,17 @@ export default {
...
@@ -249,6 +256,17 @@ export default {
this
.
$api
.
projectAssign
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
projectAssign
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
const
{
dataList
=
[],
total
=
0
}
=
data
dataList
.
forEach
(
e
=>
{
e
.
specNames
=
e
.
specList
?
e
.
specList
.
map
(
x
=>
x
.
specName
).
join
(
','
)
:
''
e
.
expertTypeName
=
e
.
expertType
===
1
?
"技术专家"
:
"财务专家"
e
.
projClassName
=
e
.
projClass
===
1
?
"一般项目"
:
"重点项目"
if
(
e
.
supportState
!=
null
)
{
e
.
supportName
=
e
.
supportState
==
1
?
'是'
:
'否'
}
else
{
e
.
supportName
=
''
}
e
.
noSupportReason
=
e
.
supportState
==
1
?
""
:
e
.
noSupportReason
!=
null
?
e
.
noSupportReason
:
""
})
this
.
$ToDoExcel
(
`项目分配列表`
,
tableColumnsName
(
column
),
filterExportExcelData
(
column
,
dataList
))
this
.
$ToDoExcel
(
`项目分配列表`
,
tableColumnsName
(
column
),
filterExportExcelData
(
column
,
dataList
))
dataList
=
[]
dataList
=
[]
}
}
...
...
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