Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
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
xinzhedeai
GaoQuYingJiH5-ASD
Commits
02cbb234
Commit
02cbb234
authored
Jun 10, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 隐患列表 接口对接
parent
58485835
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
_yh_check.html
src/_yh_check.html
+1
-1
_yh_check.js
src/_yh_check.js
+28
-1
No files found.
src/_yh_check.html
View file @
02cbb234
...
...
@@ -30,7 +30,7 @@
<van-tabs
v-model:active=
"activeTab"
title-active-color=
"#1989fa"
line-height=
"2px"
@
change=
"tabChange"
style=
"margin-bottom: 15px;"
>
<!-- <div v-for="item in tabList""> -->
<van-tab
:title=
"item.title"
:badge=
"item.msgNum||null"
v-for=
"item in
tabList
"
></van-tab>
<van-tab
:title=
"item.title"
:badge=
"item.msgNum||null"
v-for=
"item in
remindStatistic
"
></van-tab>
<!-- </div> -->
...
...
src/_yh_check.js
View file @
02cbb234
...
...
@@ -26,7 +26,8 @@ window.addEventListener('load', function () {
finished
:
false
,
page
:
0
,
size
:
6
,
total
:
0
total
:
0
,
remindStatistic
:[]
}
},
computed
:
{
...
...
@@ -51,8 +52,34 @@ window.addEventListener('load', function () {
this
.
showSearch
=
true
}
this
.
init
()
this
.
getRemindStatistic
()
},
methods
:
{
getRemindStatistic
(){
http2
.
post
(
{
serviceId
:
API_KEY_MAP
[
'
no-page
'
][
'
id
'
],
interfacePublicKey
:
API_KEY_MAP
[
'
no-page
'
][
'
publicKey
'
],
interfacePrivateKey
:
API_KEY_MAP
[
'
no-page
'
][
'
privateKey
'
],
reqParams
:
{
sign
:
24
,
// 隐患tab
},
},
(
res
)
=>
{
if
(
!
res
)
{
// 中台返回为undefined 重新请求
setTimeout
(()
=>
{
this
.
getRemindStatistic
()
},
0
)
return
}
if
(
res
)
{
var
result
=
JSON
.
parse
(
res
)
this
.
remindStatistic
=
result
.
data
}
}
)
},
reset
(){
this
.
page
=
0
this
.
size
=
6
...
...
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