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
95ab0b39
Commit
95ab0b39
authored
Apr 14, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:商家隐患整改跳转
parent
434187bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
index.js
index.js
+13
-6
_yh-check.js
src/_yh-check.js
+3
-0
No files found.
index.js
View file @
95ab0b39
...
...
@@ -127,21 +127,23 @@ window.onload = function () {
},
})
}
else
{
this
.
userInfo
.
userType
===
'
shop
'
&&
toData
===
'
checkrecord
'
?
(
toData
=
'
checkrecord
'
)
:
(
toData
=
'
shanghu_list
'
)
// if (this.userInfo.userType === 'shop' && toData === 'checkrecord') {
// toData = 'checkrecord'
// } else {
// toData = 'shanghu_list'
// }
let
param
=
{
accessType
:
this
.
accessType
,
merId
:
this
.
userInfo
.
userId
,
}
if
(
this
.
userInfo
.
userType
===
'
shop
'
)
{
param
=
{
...
param
,
accessType
:
'
shop
'
,
merId
:
this
.
userInfo
.
userId
,
unitName
:
this
.
userInfo
.
unitName
,
smallPlaceTypeName
:
this
.
userInfo
.
smallPlaceTypeName
,
}
}
let
url
=
gemhoUtil
.
setParameter
(
`src/_
${
toData
}
.html`
,
param
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
// gemhoUtil.navigatePage(`src/_${toData}.html`)
...
...
@@ -227,9 +229,14 @@ window.onload = function () {
unitName
:
result
.
data
.
merchantInfoNumVo
?.
unitName
,
//
role
:
'
dudao
'
,
roleName
:
result
.
data
.
roleDeptNameVo
?.
roleName
,
merId
:
result
.
data
.
merchantInfoNumVo
?.
merI
d
,
//
merId
:
result
.
data
.
merchantInfoNumVo
?.
i
d
,
//
}
gemhoUtil
.
setCookie
(
'
userType
'
,
this
.
userInfo
.
userType
)
if
(
this
.
userInfo
.
userType
===
'
shop
'
)
{
this
.
defaultMenuList
[
1
].
navTo
=
'
checkrecord
'
}
else
{
this
.
defaultMenuList
[
1
].
navTo
=
'
shanghu_list
'
}
// 生成最终菜单列表
this
.
menuList
=
(
result
.
data
.
modules
||
[]).
map
(
(
moduleItem
)
=>
({
...
...
src/_yh-check.js
View file @
95ab0b39
...
...
@@ -11,6 +11,7 @@ window.addEventListener('load', function () {
// 更多示例数据...
],
activeTab
:
''
,
merId
:
null
,
}
},
computed
:
{
...
...
@@ -24,6 +25,7 @@ window.addEventListener('load', function () {
},
},
created
()
{
this
.
merId
=
gemhoUtil
.
getParameter
(
'
merId
'
)
this
.
init
()
},
methods
:
{
...
...
@@ -82,6 +84,7 @@ window.addEventListener('load', function () {
interfacePrivateKey
:
API_KEY_MAP
[
'
page
'
][
'
privateKey
'
],
reqParams
:
{
sign
:
3
,
merId
:
this
.
merId
?
this
.
merId
:
''
,
status
:
this
.
activeTab
,
pageNum
:
this
.
page
++
,
// 每次请求增加下一页
pageSize
:
this
.
size
,
...
...
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