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
44dd08f3
Commit
44dd08f3
authored
Apr 16, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:商户详情页面
parent
6525cad6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
10 deletions
+61
-10
_shanghu_home.html
src/_shanghu_home.html
+2
-2
_shanghu_home.js
src/_shanghu_home.js
+55
-3
_yh-check.html
src/_yh-check.html
+1
-1
_yh-check.js
src/_yh-check.js
+3
-4
No files found.
src/_shanghu_home.html
View file @
44dd08f3
...
@@ -30,14 +30,14 @@
...
@@ -30,14 +30,14 @@
<van-col
span=
"6"
>
未整改:{{merInformation.hiddenNoReCount}}
</van-col>
<van-col
span=
"6"
>
未整改:{{merInformation.hiddenNoReCount}}
</van-col>
</van-row>
</van-row>
<van-row>
<van-row>
<van-col
span=
"24"
>
{{merInformation.businessAddress}}
-6
</van-col>
<van-col
span=
"24"
>
{{merInformation.businessAddress}}
</van-col>
</van-row>
</van-row>
</div>
</div>
</div>
</div>
<!-- 功能 -->
<!-- 功能 -->
<button
type=
"info"
class=
"func_btn"
@
click=
"navTo('check_info')"
><span>
+
</span>
安全检查
</button>
<button
type=
"info"
v-show=
"UserPermission"
class=
"func_btn"
@
click=
"navTo('check_info')"
><span>
+
</span>
安全检查
</button>
<!-- Tab栏 -->
<!-- Tab栏 -->
<van-tabs
v-model:active=
"activeTab"
@
click=
"clickTab"
title-active-color=
"#1989fa"
line-height=
"2px"
<van-tabs
v-model:active=
"activeTab"
@
click=
"clickTab"
title-active-color=
"#1989fa"
line-height=
"2px"
...
...
src/_shanghu_home.js
View file @
44dd08f3
...
@@ -57,7 +57,8 @@ window.addEventListener("load", function () {
...
@@ -57,7 +57,8 @@ window.addEventListener("load", function () {
},
},
jcLisk
:
[{
// 新增检查列表数据
jcLisk
:
[{
// 新增检查列表数据
}]
}],
UserPermission
:
false
,
// 用户是否具有安全检查权限
}
}
},
},
created
()
{
created
()
{
...
@@ -126,7 +127,7 @@ window.addEventListener("load", function () {
...
@@ -126,7 +127,7 @@ window.addEventListener("load", function () {
if
(
type
===
'
YH_XQ
'
)
{
if
(
type
===
'
YH_XQ
'
)
{
params
=
{
params
=
{
...
params
,
...
params
,
flag
:
item
.
rectificationStatus
Name
,
flag
:
item
.
rectificationStatus
,
}
}
}
else
{
}
else
{
params
=
{
params
=
{
...
@@ -134,7 +135,7 @@ window.addEventListener("load", function () {
...
@@ -134,7 +135,7 @@ window.addEventListener("load", function () {
flag
:
'
JC_XQ
'
,
flag
:
'
JC_XQ
'
,
}
}
}
}
let
url
=
gemhoUtil
.
setParameter
(
'
_check_info.html
'
,
param
)
let
url
=
gemhoUtil
.
setParameter
(
'
_check_info.html
'
,
param
s
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
},
//获取商户统计信息
//获取商户统计信息
...
@@ -312,7 +313,58 @@ window.addEventListener("load", function () {
...
@@ -312,7 +313,58 @@ window.addEventListener("load", function () {
}
}
)
)
},
0
)
},
0
)
},
//获取用户是否有安全检查的权限
getUserPermission
()
{
setTimeout
(()
=>
{
http2
.
post
(
{
serviceId
:
API_KEY_MAP
[
'
page
'
][
'
id
'
],
interfacePublicKey
:
API_KEY_MAP
[
'
page
'
][
'
publicKey
'
],
interfacePrivateKey
:
API_KEY_MAP
[
'
page
'
][
'
privateKey
'
],
reqParams
:
{
sign
:
13
,
merId
:
this
.
merId
,
pageNum
:
this
.
page
++
,
// 每次请求增加下一页
pageSize
:
this
.
size
,
sort
:
'
lawId,desc
'
,
},
},
(
res
)
=>
{
if
(
!
res
)
{
// 中台返回为undefined 重新请求
vant
.
Toast
.
clear
()
this
.
page
=
this
.
page
-
1
// 重新请求后,分页数恢复上一次请求的值
setTimeout
(()
=>
{
// this.getList()
},
0
)
return
}
if
(
res
)
{
var
result
=
JSON
.
parse
(
res
)
if
(
result
.
code
!==
200
&&
result
.
data
==
null
)
{
return
}
this
.
UserPermission
=
result
.
rows
.
length
>
0
?
true
:
false
if
(
this
.
page
*
this
.
size
>=
this
.
total
)
{
this
.
finished
=
true
// 下滑不在刷新数据
}
}
this
.
loading
=
false
setTimeout
(()
=>
{
this
.
$nextTick
(()
=>
{
vant
.
Toast
.
clear
()
})
},
0
)
this
.
$nextTick
(()
=>
{
// 滚动条跳转位置
window
.
scrollTo
(
0
,
gemhoUtil
.
getCookie
(
'
scrollPosition
'
))
})
}
)
},
0
)
}
}
}
}
});
});
...
...
src/_yh-check.html
View file @
44dd08f3
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</van-tag>
</van-tag>
<span
<span
style=
"color: #737373; font-size: 0.28rem;margin-left: -1.6rem;"
>
检查时间:{{ item.checkDate }}
</span>
style=
"color: #737373; font-size: 0.28rem;margin-left: -1.6rem;"
>
检查时间:{{ item.checkDate }}
</span>
<van-icon
name=
"arrow"
class=
"navToBtn"
@
click=
"viewDetail(item
.id
)"
/>
<van-icon
name=
"arrow"
class=
"navToBtn"
@
click=
"viewDetail(item)"
/>
</div>
</div>
<!-- 第三行:商家和箭头 -->
<!-- 第三行:商家和箭头 -->
...
...
src/_yh-check.js
View file @
44dd08f3
...
@@ -49,11 +49,10 @@ window.addEventListener('load', function () {
...
@@ -49,11 +49,10 @@ window.addEventListener('load', function () {
}
}
return
types
[
status
]
||
''
return
types
[
status
]
||
''
},
},
viewDetail
(
id
)
{
viewDetail
(
item
)
{
console
.
log
(
'
查看详情:
'
,
id
)
let
param
=
{
let
param
=
{
id
:
id
,
id
:
i
tem
.
i
d
,
flag
:
'
YH_XQ
'
,
flag
:
item
.
rectificationStatus
,
pageName
:
'
_yh_check
'
,
pageName
:
'
_yh_check
'
,
}
}
let
url
=
gemhoUtil
.
setParameter
(
'
_check_info.html
'
,
param
)
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