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
5b55bb04
Commit
5b55bb04
authored
Mar 19, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
503ecf16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
index.js
src/api/index.js
+4
-1
Index.vue
src/views/report/talent/Index.vue
+14
-2
No files found.
src/api/index.js
View file @
5b55bb04
...
@@ -624,7 +624,10 @@ export default {
...
@@ -624,7 +624,10 @@ export default {
},
},
getBatchList
(
params
)
{
getBatchList
(
params
)
{
return
fetch
(
'/v1/science-admin/com-batch/getBatchList'
,
params
)
return
fetch
(
'/v1/science-admin/com-batch/getBatchList'
,
params
)
}
},
getCurrentYearTalentBatch
(
params
)
{
return
fetch
(
'/v1/science-admin/com-batch/getCurrentYearTalentBatch'
,
params
)
},
},
},
//系统管理接口
//系统管理接口
systemManage
:
{
systemManage
:
{
...
...
src/views/report/talent/Index.vue
View file @
5b55bb04
...
@@ -22,9 +22,10 @@
...
@@ -22,9 +22,10 @@
</div>
</div>
</div>
</div>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<span
class=
"form-description"
>
※填报时间:
{{
description
}}
</span>
<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=
"stateSwitch"
slot-scope=
"record"
>
<template
slot=
"stateSwitch"
slot-scope=
"record"
>
<a-switch
checked-children=
"启用"
un-checked-children=
"停用"
:checked=
"checkedState(record)"
@
change=
"switchChange($event,record)"
/>
<a-switch
checked-children=
"启用"
un-checked-children=
"停用"
:checked=
"checkedState(record)"
@
change=
"switchChange($event,
record)"
/>
</
template
>
</
template
>
<
template
slot=
"option"
slot-scope=
"record"
>
<
template
slot=
"option"
slot-scope=
"record"
>
<a-button
type=
"link"
size=
"small"
@
click=
"recordClick(record,'view')"
>
查看
</a-button>
<a-button
type=
"link"
size=
"small"
@
click=
"recordClick(record,'view')"
>
查看
</a-button>
...
@@ -82,12 +83,23 @@ export default {
...
@@ -82,12 +83,23 @@ export default {
loading
:
false
,
loading
:
false
,
visibleView
:
false
,
visibleView
:
false
,
visibleEdit
:
false
,
visibleEdit
:
false
,
description
:
''
,
};
};
},
},
created
()
{
created
()
{
this
.
get
ListByPage
()
this
.
get
Year
()
},
},
methods
:
{
methods
:
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearTalentBatch
({
type
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
searchForm
.
reportYear
=
data
.
year
this
.
getListByPage
()
}
}).
catch
(()
=>
{
})
},
getListByPage
()
{
getListByPage
()
{
this
.
getCount
()
this
.
getCount
()
this
.
loading
=
true
this
.
loading
=
true
...
...
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