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
17d9785e
Commit
17d9785e
authored
Dec 26, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
呃呃呃呃呃
parent
1ead41ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
projectAssignDetail.vue
src/views/assign/components/projectAssignDetail.vue
+8
-1
final.vue
src/views/audit/project/final.vue
+3
-4
No files found.
src/views/assign/components/projectAssignDetail.vue
View file @
17d9785e
...
@@ -18,9 +18,16 @@
...
@@ -18,9 +18,16 @@
<a-button
type=
"primary"
icon=
"search"
@
click=
"search"
>
搜索
</a-button>
<a-button
type=
"primary"
icon=
"search"
@
click=
"search"
>
搜索
</a-button>
<a-button
icon=
"reload"
style=
"margin-left: 10px"
@
click=
"reset"
class=
"bt-normal"
>
重置
</a-button>
<a-button
icon=
"reload"
style=
"margin-left: 10px"
@
click=
"reset"
class=
"bt-normal"
>
重置
</a-button>
</a-form-item>
</a-form-item>
<a-form-item>
<a-tag
:color=
"'#2db7f5'"
>
{{
'技术专家'
}}
</a-tag>
<a-tag
:color=
"'#f50'"
>
{{
'财务专家'
}}
</a-tag>
</a-form-item>
</a-form>
</a-form>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
>
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
>
<template
slot=
"personName"
slot-scope=
"record"
>
<a-tag
:color=
"'#2db7f5'"
v-if=
"record.expertType==1"
>
{{
record
.
personName
}}
</a-tag>
<a-tag
:color=
"'#f50'"
v-if=
"record.expertType==2"
>
{{
record
.
personName
}}
</a-tag>
</
template
>
<
template
slot=
"spec"
slot-scope=
"record"
>
<
template
slot=
"spec"
slot-scope=
"record"
>
<span
v-for=
"data in record.specList"
:key=
"data.id"
:color=
"'green'"
>
{{
data
.
specName
+
' '
}}
</span>
<span
v-for=
"data in record.specList"
:key=
"data.id"
:color=
"'green'"
>
{{
data
.
specName
+
' '
}}
</span>
</
template
>
</
template
>
...
@@ -63,7 +70,7 @@ export default {
...
@@ -63,7 +70,7 @@ export default {
searchForm
:
{
projId
:
null
,
personName
:
null
,
certId
:
null
,
sex
:
""
,
projType
:
getType
()
},
searchForm
:
{
projId
:
null
,
personName
:
null
,
certId
:
null
,
sex
:
""
,
projType
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
'姓名'
,
dataIndex
:
'personName'
,
align
:
'center'
},
{
title
:
"姓名"
,
scopedSlots
:
{
customRender
:
'personName'
}
,
align
:
'center'
},
{
title
:
'性别'
,
dataIndex
:
'sex'
,
align
:
'center'
},
{
title
:
'性别'
,
dataIndex
:
'sex'
,
align
:
'center'
},
{
title
:
'职称'
,
dataIndex
:
'titleName'
,
align
:
'center'
},
{
title
:
'职称'
,
dataIndex
:
'titleName'
,
align
:
'center'
},
{
title
:
"专家单位"
,
dataIndex
:
"workUnit"
,
align
:
'center'
},
{
title
:
"专家单位"
,
dataIndex
:
"workUnit"
,
align
:
'center'
},
...
...
src/views/audit/project/final.vue
View file @
17d9785e
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<btn-group
:data=
"tabDate"
:itemCount=
"itemCount"
v-model=
"activekey"
@
change=
"callback"
/>
<btn-group
:data=
"tabDate"
:itemCount=
"itemCount"
v-model=
"activekey"
@
change=
"callback"
/>
</div>
</div>
<div
style=
"display: inline-block;width:50%;text-align: right;"
>
<div
style=
"display: inline-block;width:50%;text-align: right;"
>
<a-tag
:color=
"
technology"
>
{{
'技术专家'
}}
</a-tag>
<a-tag
:color=
"finance
"
>
{{
'财务专家'
}}
</a-tag>
<a-tag
:color=
"
'#2db7f5'"
>
{{
'技术专家'
}}
</a-tag>
<a-tag
:color=
"'#f50'
"
>
{{
'财务专家'
}}
</a-tag>
<a-button
type=
"primary"
@
click=
"exportData"
icon=
"download"
>
Excel
</a-button>
<a-button
type=
"primary"
@
click=
"exportData"
icon=
"download"
>
Excel
</a-button>
</div>
</div>
</div>
</div>
...
@@ -54,7 +54,8 @@
...
@@ -54,7 +54,8 @@
<p
slot=
"expandedRowRender"
slot-scope=
"record"
style=
"margin: 0;"
>
<p
slot=
"expandedRowRender"
slot-scope=
"record"
style=
"margin: 0;"
>
<a-table
:dataSource=
"record.assignList"
:columns=
"innerColumns"
rowKey=
"id"
:pagination=
"false"
>
<a-table
:dataSource=
"record.assignList"
:columns=
"innerColumns"
rowKey=
"id"
:pagination=
"false"
>
<
template
slot=
"personName"
slot-scope=
"obj"
>
<
template
slot=
"personName"
slot-scope=
"obj"
>
<a-tag
:color=
"obj.expertType == 1 ? technology : finance"
>
{{
obj
.
personName
}}
</a-tag>
<a-tag
:color=
"'#2db7f5'"
v-if=
"obj.expertType==1"
>
{{
obj
.
personName
}}
</a-tag>
<a-tag
:color=
"'#f50'"
v-if=
"obj.expertType==2"
>
{{
obj
.
personName
}}
</a-tag>
</
template
>
</
template
>
<
template
slot=
"evaluationType"
slot-scope=
"obj"
>
<
template
slot=
"evaluationType"
slot-scope=
"obj"
>
<a-tag
:color=
"'#87d068'"
v-if=
"obj.evaluationType==1"
>
A类(通过)
</a-tag>
<a-tag
:color=
"'#87d068'"
v-if=
"obj.evaluationType==1"
>
A类(通过)
</a-tag>
...
@@ -105,8 +106,6 @@ export default {
...
@@ -105,8 +106,6 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
technology
:
"#2db7f5"
,
finance
:
"#f50"
,
// 选项卡
// 选项卡
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
...
...
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