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
f96cb2e2
Commit
f96cb2e2
authored
Jun 09, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:提醒检查记录跳转逻辑处理
parent
36c258cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
home.js
home.js
+11
-7
_checkrecord-all.js
src/_checkrecord-all.js
+6
-6
No files found.
home.js
View file @
f96cb2e2
...
...
@@ -62,7 +62,7 @@ window.onload = function () {
className
:
'
jiancha
'
,
title
:
'
检查记录
'
,
remark
:
''
,
navTo
:
'
checkrecord
'
,
navTo
:
'
checkrecord
-all
'
,
},
{
className
:
'
yinhuan
'
,
...
...
@@ -143,7 +143,7 @@ window.onload = function () {
// }
let
param
=
{
accessType
:
this
.
accessType
,
merId
:
this
.
userInfo
.
merId
,
merId
:
this
.
userInfo
.
merId
||
''
,
unitName
:
this
.
userInfo
.
unitName
,
smallPlaceTypeName
:
this
.
userInfo
.
smallPlaceTypeName
,
}
...
...
@@ -294,11 +294,15 @@ window.onload = function () {
return
} else */
if
(
this
.
userInfo
.
userType
===
'
shop
'
)
{
this
.
defaultMenuList
[
1
].
navTo
=
'
checkrecord
'
}
else
{
this
.
defaultMenuList
[
1
].
navTo
=
'
shanghu_list
'
}
// if (this.userInfo.userType === 'shop') {
// this.defaultMenuList[1].navTo = 'checkrecord'
// } else {
// this.defaultMenuList[1].navTo = 'shanghu_list'
// }
// 2025年6月9日 跳转检查记录 统一跳转新页面。
this
.
defaultMenuList
[
1
].
navTo
=
'
checkrecord-all
'
// 生成最终菜单列表
this
.
menuList
=
(
result
.
data
.
modules
||
[]).
map
(
(
moduleItem
)
=>
({
...
...
src/_checkrecord-all.js
View file @
f96cb2e2
...
...
@@ -73,13 +73,14 @@ window.addEventListener('load', function () {
},
computed
:
{},
methods
:
{
reset
SearchPara
(){
reset
(){
this
.
page
=
1
this
.
size
=
10
this
.
hazardList
=
[]
},
onSearch
()
{
console
.
log
(
'
xxxx
'
,
this
.
merName
)
this
.
reset
SearchPara
()
this
.
reset
()
this
.
getMerchantSelfCheckData
()
},
//初始化页面
...
...
@@ -87,10 +88,9 @@ window.addEventListener('load', function () {
// this.getMerchantSelfCheckData()
},
tabChange
(){
this
.
reset
SearchPara
()
this
.
reset
()
this
.
getMerchantSelfCheckData
()
},
//获取商户自查数据
getMerchantSelfCheckData
()
{
// 更多示例数据...
vant
.
Toast
.
loading
({
...
...
@@ -130,7 +130,7 @@ window.addEventListener('load', function () {
if
(
result
.
code
!==
200
&&
result
.
data
==
null
)
{
return
}
this
.
hazardList
=
result
.
rows
this
.
hazardList
.
push
(...
result
.
rows
)
if
(
this
.
page
*
this
.
size
>=
this
.
total
)
{
this
.
finished
=
true
// 下滑不在刷新数据
}
...
...
@@ -155,7 +155,7 @@ window.addEventListener('load', function () {
...
urlParams
,
id
:
id
,
flag
:
'
JC_XQ
'
,
pageName
:
'
_checkrecord
'
,
pageName
:
'
_checkrecord
-all
'
,
}
let
url
=
gemhoUtil
.
setParameter
(
'
_check_info.html
'
,
param
)
...
...
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