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
0f2d6a79
Commit
0f2d6a79
authored
Dec 26, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
60d5cf31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
groupExpertDetail.vue
src/views/assign/components/groupExpertDetail.vue
+5
-2
groupDetail.vue
src/views/peAssign/components/groupDetail.vue
+1
-1
No files found.
src/views/assign/components/groupExpertDetail.vue
View file @
0f2d6a79
...
...
@@ -6,6 +6,9 @@
<template
slot=
"expertInfo"
slot-scope=
"record"
>
<a-tag
:color=
"record.expertType == 1 ? technology : finance"
>
{{
record
.
expertType
==
1
?
"技术专家"
:
"财务专家"
}}
</a-tag>
</
template
>
<
template
slot=
"spec"
slot-scope=
"record"
>
<a-tag
v-for=
"data in record.specList"
:key=
"data.id"
:color=
"'green'"
>
{{
data
.
specName
+
' '
}}
</a-tag>
</
template
>
</a-table>
</a-col>
</a-row>
...
...
@@ -27,8 +30,9 @@ export default {
return
{
tableData
:
[],
columns
:
[
{
title
:
'证件号'
,
dataIndex
:
'certId'
,
align
:
'center'
},
//
{ title: '证件号', dataIndex: 'certId', align: 'center' },
{
title
:
'姓名'
,
dataIndex
:
'personName'
,
align
:
'center'
},
{
title
:
"评审专业"
,
scopedSlots
:
{
customRender
:
'spec'
},
align
:
'center'
},
{
title
:
'单位'
,
dataIndex
:
'workUnit'
,
align
:
'center'
},
{
title
:
"专家类型"
,
scopedSlots
:
{
customRender
:
'expertInfo'
},
align
:
'center'
},
{
title
:
'手机号'
,
dataIndex
:
'mobile'
,
align
:
'center'
},
...
...
@@ -48,7 +52,6 @@ export default {
this
.
$api
.
projectAssign
.
getAssignExpertList
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
tableData
=
data
console
.
log
(
this
.
tableData
)
this
.
loading
=
false
}
}).
catch
(()
=>
{
})
...
...
src/views/peAssign/components/groupDetail.vue
View file @
0f2d6a79
...
...
@@ -42,7 +42,7 @@
{{
record
.
projClass
==
1
?
"一般项目"
:
"重点项目"
}}
</
template
>
<
template
slot=
"option"
slot-scope=
"record"
>
<a-button
type=
"link"
size=
"small"
@
click=
"deleteGroupProject(record)"
>
删除
</a-button>
<a-button
type=
"link"
size=
"small"
@
click=
"deleteGroupProject(record)"
>
删除
</a-button>
</
template
>
</a-table>
<a-pagination
v-if=
"pagination.total > 0"
:total=
"pagination.total"
show-size-changer
show-quick-jumper
v-model=
"pagination.pageIndex"
:page-size=
"pagination.pageSize"
:page-size-options=
"pagination.pageSizeOptions"
@
showSizeChange=
"showSizeChange"
@
change=
"change"
:showTotal=
"() => `共 ${pagination.total} 条`"
/>
...
...
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