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
868946a7
Commit
868946a7
authored
Jan 14, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3333
parent
65d85750
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
index.js
src/api/index.js
+1
-1
Index.vue
src/views/query/check/Index.vue
+1
-1
Index.vue
src/views/report/check/Index.vue
+3
-3
checkEdit.vue
src/views/report/check/components/checkEdit.vue
+3
-3
checkView.vue
src/views/report/check/components/checkView.vue
+1
-1
No files found.
src/api/index.js
View file @
868946a7
...
...
@@ -511,7 +511,7 @@ export default {
return
fetch
(
`/v1/science-admin/com-project-task/getCount`
,
params
)
},
},
check
Report
:
{
check
:
{
getListByPage
(
params
)
{
return
fetch
(
`/v1/science-admin/com-project-check/getListByPage`
,
params
)
},
...
...
src/views/query/check/Index.vue
View file @
868946a7
...
...
@@ -137,7 +137,7 @@ export default {
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
this
.
$api
.
check
Report
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
...
...
src/views/report/check/Index.vue
View file @
868946a7
...
...
@@ -152,7 +152,7 @@ export default {
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
this
.
$api
.
check
Report
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
...
...
@@ -165,7 +165,7 @@ export default {
},
getCount
()
{
let
pars
=
isEmptyParams
({
checkYear
:
this
.
searchForm
.
checkYear
});
this
.
$api
.
check
Report
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
panes
=
data
}
...
...
@@ -241,7 +241,7 @@ export default {
exportData
()
{
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
par
=
{
...
pars
,
pageIndex
:
-
1
,
pageSize
:
-
1
}
this
.
$api
.
check
Report
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
$ToDoExcel
(
`中期考核列表`
,
tableColumnsName
(
this
.
columns
),
filterExportExcelData
(
this
.
columns
,
dataList
))
...
...
src/views/report/check/components/checkEdit.vue
View file @
868946a7
...
...
@@ -201,7 +201,7 @@ export default {
moment
,
getCheckInfoById
()
{
let
pars
=
{
id
:
this
.
value
}
this
.
$api
.
check
Report
.
getCheckInfoById
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
getCheckInfoById
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
formData
=
data
this
.
formData
.
startDate
=
moment
(
this
.
formData
.
startDate
).
format
(
'YYYY年MM月DD日'
)
...
...
@@ -216,7 +216,7 @@ export default {
this
.
formData
.
endDate
=
null
let
pars
=
isEmptyParams
(
this
.
formData
)
let
par
=
{
...
pars
}
this
.
$api
.
check
Report
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
$message
.
success
(
'保存成功!'
)
this
.
loading
=
false
...
...
@@ -232,7 +232,7 @@ export default {
this
.
formData
.
endDate
=
null
let
pars
=
isEmptyParams
(
this
.
formData
)
let
par
=
{
...
pars
}
this
.
$api
.
check
Report
.
saveAndReport
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
saveAndReport
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
$message
.
success
(
'上报成功!'
)
this
.
$emit
(
'close'
,
'edit'
)
...
...
src/views/report/check/components/checkView.vue
View file @
868946a7
...
...
@@ -61,7 +61,7 @@ export default {
moment
,
getCheckInfoById
()
{
let
pars
=
{
id
:
this
.
value
}
this
.
$api
.
check
Report
.
getCheckInfoById
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
check
.
getCheckInfoById
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
checkInfo
=
data
this
.
checkInfo
.
startDate
=
moment
(
this
.
checkInfo
.
startDate
).
format
(
'YYYY年MM月DD日'
)
...
...
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