Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
liang
agcs2.0-web
Commits
33a90636
Commit
33a90636
authored
May 15, 2023
by
liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口优化
parent
1233b7e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
index.vue
src/views/audit-qualitycontrol/index.vue
+1
-9
index.vue
src/views/dataoverview/index.vue
+2
-1
No files found.
src/views/audit-qualitycontrol/index.vue
View file @
33a90636
...
@@ -73,10 +73,9 @@ export default {
...
@@ -73,10 +73,9 @@ export default {
// this.handleSearch()
// this.handleSearch()
// break
// break
// }
// }
console
.
log
(
"
status
"
,
val
)
},
},
type
(
val
)
{
type
(
val
)
{
console
.
log
(
"
type
"
,
val
)
this
.
getReportTotal
(
)
sessionStorage
.
setItem
(
"
audit-type
"
,
val
)
sessionStorage
.
setItem
(
"
audit-type
"
,
val
)
// switch (val) {
// switch (val) {
// case "1":
// case "1":
...
@@ -202,9 +201,6 @@ export default {
...
@@ -202,9 +201,6 @@ export default {
return
this
.
auditStatus
==
"
1
"
?
checkColumns
:
unCkeckColumns
return
this
.
auditStatus
==
"
1
"
?
checkColumns
:
unCkeckColumns
},
},
},
},
created
()
{
console
.
log
(
this
.
dictMap
)
},
mounted
()
{
mounted
()
{
if
(
if
(
sessionStorage
.
getItem
(
"
audit-status
"
)
||
sessionStorage
.
getItem
(
"
audit-status
"
)
||
...
@@ -276,7 +272,6 @@ export default {
...
@@ -276,7 +272,6 @@ export default {
},
},
async
handleSearch
()
{
async
handleSearch
()
{
this
.
listLoading
=
true
this
.
listLoading
=
true
this
.
getReportTotal
()
let
params
=
{
let
params
=
{
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
pageNum
:
this
.
pageIndex
,
pageNum
:
this
.
pageIndex
,
...
@@ -302,9 +297,6 @@ export default {
...
@@ -302,9 +297,6 @@ export default {
this
.
total
=
res
.
data
.
total
this
.
total
=
res
.
data
.
total
this
.
listLoading
=
false
this
.
listLoading
=
false
},
},
getFollowTotal
()
{
getFollowTotal
().
then
((
res
)
=>
{})
},
getReportTotal
()
{
getReportTotal
()
{
const
API
=
this
.
type
===
"
1
"
?
getFollowTotal
:
getScreeningTotal
const
API
=
this
.
type
===
"
1
"
?
getFollowTotal
:
getScreeningTotal
API
().
then
((
res
)
=>
{
API
().
then
((
res
)
=>
{
...
...
src/views/dataoverview/index.vue
View file @
33a90636
...
@@ -109,6 +109,7 @@ export default {
...
@@ -109,6 +109,7 @@ export default {
watch
:
{},
watch
:
{},
mounted
()
{
mounted
()
{
this
.
handleSearch
()
this
.
handleSearch
()
this
.
getReportCount
()
},
},
methods
:
{
methods
:
{
getSummaries
()
{
getSummaries
()
{
...
@@ -126,6 +127,7 @@ export default {
...
@@ -126,6 +127,7 @@ export default {
this
.
selectedIndex
=
i
this
.
selectedIndex
=
i
this
.
pageIndex
=
1
this
.
pageIndex
=
1
this
.
handleSearch
()
this
.
handleSearch
()
this
.
getReportCount
()
sessionStorage
.
setItem
(
"
homeSelectedIndex
"
,
this
.
selectedIndex
)
sessionStorage
.
setItem
(
"
homeSelectedIndex
"
,
this
.
selectedIndex
)
},
},
getReportCount
()
{
getReportCount
()
{
...
@@ -137,7 +139,6 @@ export default {
...
@@ -137,7 +139,6 @@ export default {
},
},
handleSearch
()
{
handleSearch
()
{
this
.
listLoading
=
true
this
.
listLoading
=
true
this
.
getReportCount
()
let
data
=
{
let
data
=
{
size
:
this
.
pageSize
,
size
:
this
.
pageSize
,
current
:
this
.
pageIndex
,
current
:
this
.
pageIndex
,
...
...
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