Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
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
9999f4ca
Commit
9999f4ca
authored
Aug 20, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
44
parent
5b01143d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
68 deletions
+65
-68
Index.vue
src/views/audit/talent/Index.vue
+12
-4
final.vue
src/views/audit/talent/final.vue
+11
-3
Index.vue
src/views/audit/task/Index.vue
+42
-61
No files found.
src/views/audit/talent/Index.vue
View file @
9999f4ca
...
...
@@ -10,8 +10,8 @@
<a-form-item>
<a-input
placeholder=
"身份证号"
v-model=
"searchForm.certId"
:maxLength=
"100"
style=
"width: 180px"
/>
</a-form-item>
<a-form-item>
<a-input
placeholder=
"
姓名"
v-model=
"searchForm.p
ersonName"
:maxLength=
"100"
style=
"width: 180px"
/>
<a-form-item
v-if=
"isTop"
>
<a-input
placeholder=
"
审核人"
v-model=
"searchForm.auditP
ersonName"
:maxLength=
"100"
style=
"width: 180px"
/>
</a-form-item>
<a-form-item>
<para-select
v-model=
"searchForm.talentCategory"
:typeId=
"21"
:width=
"150"
/>
...
...
@@ -88,7 +88,8 @@ export default {
certId
:
null
,
personName
:
null
,
reportYear
:
null
,
talentCategory
:
null
talentCategory
:
null
,
auditPersonName
:
null
},
activekey
:
'1'
,
tabDate
:
[
...
...
@@ -130,6 +131,7 @@ export default {
description
:
''
,
id
:
null
,
objectId
:
null
,
isTop
:
false
,
excelCol
:
[
{
title
:
'申报年度'
,
dataIndex
:
'reportYear'
,
align
:
'center'
},
{
title
:
'申报单位'
,
dataIndex
:
'appUnitName'
,
align
:
'center'
},
...
...
@@ -141,11 +143,17 @@ export default {
{
title
:
'人才类型'
,
dataIndex
:
'talentCategoryName'
,
align
:
'center'
},
{
title
:
'总经费'
,
dataIndex
:
'totalFunding'
,
align
:
'center'
},
{
title
:
'审核状态'
,
dataIndex
:
'auditResultName'
,
align
:
'center'
}
]
]
,
};
},
created
()
{
this
.
getYear
()
let
user
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
))
if
(
user
&&
user
.
roles
)
{
if
(
user
.
roles
.
indexOf
(
"0"
)
!=
-
1
)
{
this
.
isTop
=
true
}
}
},
methods
:
{
onSelectChange
(
selectedRowKeys
)
{
...
...
src/views/audit/talent/final.vue
View file @
9999f4ca
...
...
@@ -10,8 +10,8 @@
<a-form-item>
<a-input
placeholder=
"身份证号"
v-model=
"searchForm.certId"
:maxLength=
"100"
style=
"width: 180px"
/>
</a-form-item>
<a-form-item>
<a-input
placeholder=
"
姓名"
v-model=
"searchForm.p
ersonName"
:maxLength=
"100"
style=
"width: 180px"
/>
<a-form-item
v-if=
"isTop"
>
<a-input
placeholder=
"
审核人"
v-model=
"searchForm.auditP
ersonName"
:maxLength=
"100"
style=
"width: 180px"
/>
</a-form-item>
<a-form-item>
<para-select
v-model=
"searchForm.talentCategory"
:typeId=
"21"
:width=
"150"
/>
...
...
@@ -90,7 +90,8 @@ export default {
certId
:
null
,
personName
:
null
,
reportYear
:
null
,
talentCategory
:
null
talentCategory
:
null
,
auditPersonName
:
null
},
activekey
:
'1'
,
tabDate
:
[
...
...
@@ -134,10 +135,17 @@ export default {
description
:
''
,
id
:
null
,
objectId
:
null
,
isTop
:
false
,
};
},
created
()
{
this
.
getYear
()
let
user
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
))
if
(
user
&&
user
.
roles
)
{
if
(
user
.
roles
.
indexOf
(
"0"
)
!=
-
1
)
{
this
.
isTop
=
true
}
}
},
methods
:
{
onSelectChange
(
selectedRowKeys
)
{
...
...
src/views/audit/task/Index.vue
View file @
9999f4ca
<
template
>
<div
class=
"app-content"
>
<a-tabs
default-active-key=
"1"
:tab-position=
"'top'"
@
change=
"callback"
>
<a-tab-pane
key=
"1"
:tab=
"'待处理项目('+panes.count1+')'"
>
</a-tab-pane>
<a-tab-pane
key=
"10"
:tab=
"'已通过项目('+panes.count2+')'"
>
</a-tab-pane>
<a-tab-pane
key=
"30"
:tab=
"'返回修改项目('+panes.count3+')'"
>
</a-tab-pane>
<a-tab-pane
key=
"20"
:tab=
"'未通过项目('+panes.count4+')'"
>
</a-tab-pane>
<a-tab-pane
key=
""
:tab=
"'所有项目('+panes.count5+')'"
>
</a-tab-pane>
</a-tabs>
<a-form
layout=
"horizontal"
:form=
"form"
:model=
"searchForm"
>
<a-row
:gutter=
"30"
>
<a-col
:span=
"8"
>
<a-form-item
label=
"项目名称"
>
<a-input
placeholder=
"项目名称"
v-model=
"searchForm.projName"
:maxLength=
"100"
style=
"width: 272px"
/>
</a-form-item>
</a-col>
<a-col
:span=
"8"
>
<a-form-item
label=
"项目编号"
>
<a-input
placeholder=
"项目编号"
v-model=
"searchForm.projNo"
:maxLength=
"100"
style=
"width: 272px"
/>
</a-form-item>
</a-col>
<a-col
:span=
"8"
>
<a-form-item
label=
"项目类别"
>
<para-select
v-model=
"searchForm.projClass"
:typeId=
"52"
/>
</a-form-item>
</a-col>
</a-row>
<a-row>
<a-col
:span=
"8"
>
<a-form-item
label=
"申报单位"
>
<a-input
placeholder=
"申报单位"
v-model=
"searchForm.appUnitName"
:maxLength=
"100"
style=
"width: 272px"
/>
</a-form-item>
</a-col>
<a-col
:span=
"8"
>
<a-form-item
label=
"申报人"
>
<a-input
placeholder=
"申报人"
v-model=
"searchForm.appPersonName"
:maxLength=
"50"
style=
"width: 272px"
/>
</a-form-item>
</a-col>
<a-col
:span=
"8"
>
<a-form-item>
<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-form-item>
</a-col>
</a-row>
<a-form
:form=
"form"
:model=
"searchForm"
layout=
"inline"
class=
"search_form"
>
<a-form-item
label=
"项目名称"
>
<a-input
placeholder=
"项目名称"
v-model=
"searchForm.projName"
:maxLength=
"100"
style=
"width: 272px"
/>
</a-form-item>
<a-form-item
label=
"项目编号"
>
<a-input
placeholder=
"项目编号"
v-model=
"searchForm.projNo"
:maxLength=
"100"
style=
"width: 272px"
/>
</a-form-item>
<a-form-item
label=
"项目类别"
>
<para-select
v-model=
"searchForm.projClass"
:typeId=
"52"
/>
</a-form-item>
<a-form-item
label=
"申报单位"
>
<a-input
placeholder=
"申报单位"
v-model=
"searchForm.appUnitName"
:maxLength=
"100"
style=
"width: 272px"
/>
</a-form-item>
<a-form-item
label=
"申报人"
>
<a-input
placeholder=
"申报人"
v-model=
"searchForm.appPersonName"
:maxLength=
"50"
style=
"width: 272px"
/>
</a-form-item>
<a-form-item>
<a-button
type=
"primary"
size=
"default"
icon=
"search"
@
click=
"search"
>
搜索
</a-button>
<a-button
icon=
"reload"
style=
"margin-left: 10px"
@
click=
"reset"
class=
"bt-normal"
>
重置
</a-button>
</a-form-item>
</a-form>
<a-row>
<a-col
:span=
"30"
>
<a-form-item>
<a-button
type=
"primary"
@
click=
"exportData"
>
导出Excel
</a-button>
<span
:style=
"
{color:'#DC143C'}"> 审核时间:
{{
description
}}
</span>
</a-form-item>
</a-col>
</a-row>
<div
style=
"width:100%"
>
<div
style=
"display: inline-block;;width:50%"
>
<btn-group
:data=
"tabDate"
:itemCount=
"itemCount"
v-model=
"activekey"
@
change=
"callback"
/>
</div>
<div
style=
"display: inline-block;width:50%;text-align: right;"
>
<a-button
type=
"primary"
@
click=
"batchAudit"
style=
"margin-right: 8px;"
v-if=
"isBatchButten"
>
批量审核
</a-button>
<a-button
type=
"primary"
@
click=
"exportData"
icon=
"download"
>
Excel
</a-button>
</div>
</div>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<span
class=
"form-description"
v-if=
"description"
>
※ 审核时间:
{{
description
}}
</span>
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"id"
:pagination=
"false"
:loading=
"loading"
>
<template
slot=
"auditResultName"
slot-scope=
"record"
>
<span
v-if=
"record"
>
...
...
@@ -96,7 +71,15 @@ export default {
data
()
{
return
{
// 选项卡
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
activekey
:
'1'
,
tabDate
:
[
{
key
:
"1"
,
tab
:
"待审核"
},
{
key
:
"10"
,
tab
:
"已通过"
},
{
key
:
"30"
,
tab
:
"返回修改"
},
{
key
:
"20"
,
tab
:
"未通过"
},
{
key
:
""
,
tab
:
"所有"
},
],
itemCount
:
[
0
,
0
,
0
,
0
,
0
],
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
searchForm
:
{
auditType
:
2
,
...
...
@@ -153,7 +136,7 @@ export default {
this
.
getListByPage
()
},
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
2
,
systemType
:
getType
(),
timeType
:
2
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
2
,
systemType
:
getType
(),
timeType
:
2
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
...
...
@@ -186,14 +169,12 @@ export default {
let
pars
=
isEmptyParams
({
auditType
:
2
,
reportYear
:
this
.
searchForm
.
reportYear
});
this
.
$api
.
audit
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
panes
=
data
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
}
}).
catch
(()
=>
{
})
},
submitForm
()
{
},
change
()
{
this
.
getListByPage
()
},
...
...
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