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
1da982be
Commit
1da982be
authored
Aug 07, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 特种作业、检查单详情、隐患详情 苹果机下添加返回按钮
parent
957bca6d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
62 additions
and
3 deletions
+62
-3
home.js
home.js
+2
-0
back.png
image/code/back.png
+0
-0
includeHead.js
sdk/includeHead.js
+2
-1
_check_info.css
src/_check_info.css
+15
-0
_check_info.html
src/_check_info.html
+3
-0
_check_info.js
src/_check_info.js
+11
-1
_tezhongzuoye_detail.css
src/_tezhongzuoye_detail.css
+16
-0
_tezhongzuoye_detail.html
src/_tezhongzuoye_detail.html
+3
-0
_tezhongzuoye_detail.js
src/_tezhongzuoye_detail.js
+10
-1
No files found.
home.js
View file @
1da982be
...
@@ -186,6 +186,7 @@ window.onload = function() {
...
@@ -186,6 +186,7 @@ window.onload = function() {
roleName
:
result
.
data
.
roleDeptNameVo
?.
roleName
,
roleName
:
result
.
data
.
roleDeptNameVo
?.
roleName
,
merId
:
result
.
data
.
merchantInfoNumVo
?.
id
,
//
merId
:
result
.
data
.
merchantInfoNumVo
?.
id
,
//
}
}
gemhoUtil
.
setCookie
(
'
merId
'
,
this
.
userInfo
.
merId
||
''
)
gemhoUtil
.
setCookie
(
'
userType
'
,
this
.
userInfo
.
userType
)
gemhoUtil
.
setCookie
(
'
userType
'
,
this
.
userInfo
.
userType
)
if
(
gemhoUtil
.
isShop
())
{
// 2025年5月14日新增消费者逻辑
if
(
gemhoUtil
.
isShop
())
{
// 2025年5月14日新增消费者逻辑
this
.
showOrg
=
false
//是否显示组织
this
.
showOrg
=
false
//是否显示组织
...
@@ -200,6 +201,7 @@ window.onload = function() {
...
@@ -200,6 +201,7 @@ window.onload = function() {
console
.
log
(
'
菜单
'
,
result
.
data
.
modules
)
console
.
log
(
'
菜单
'
,
result
.
data
.
modules
)
// 生成最终菜单列表
// 生成最终菜单列表
this
.
menuList
=
result
.
data
.
modules
this
.
menuList
=
result
.
data
.
modules
resolve
();
resolve
();
}
}
})
})
...
...
image/code/back.png
0 → 100644
View file @
1da982be
2.55 KB
sdk/includeHead.js
View file @
1da982be
...
@@ -61,9 +61,10 @@ if (window.env == 'dev') {
...
@@ -61,9 +61,10 @@ if (window.env == 'dev') {
// 消费者
// 消费者
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLmtojotLnogIUiLCJsb2dpbl91c2VyX2tleSI6ImExNWIwMDNjLWRlYWItNGU2MC04ODg4LTJiODNjMzVkNDUzNSJ9.l6gHzFX-U5rKGJ7zoDA4jMBIxkhVgCjWr5ynFg1DR6xspM9Ls6raTxyEo2Kr61UbG2UD6P2kN63vF_U8nX8afg'
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLmtojotLnogIUiLCJsb2dpbl91c2VyX2tleSI6ImExNWIwMDNjLWRlYWItNGU2MC04ODg4LTJiODNjMzVkNDUzNSJ9.l6gHzFX-U5rKGJ7zoDA4jMBIxkhVgCjWr5ynFg1DR6xspM9Ls6raTxyEo2Kr61UbG2UD6P2kN63vF_U8nX8afg'
// 商户
// 商户
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIx
NTcyMTAzMTg4NiIsImxvZ2luX3VzZXJfa2V5IjoiNGJjY2Jj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iIsImxvZ2luX3VzZXJfa2V5IjoiNGM5OTg5MmMtMDUyYi00NWI1LTgxNGYtNmZhZGViYjExOGU0In0.afqF0DRVMJF9lVrJtZYVQ0mb_AFSO0cLjeQw_g-hHaihsphrtWRM2Ot7qyS6cVXywS1AsxNTBxi2kSfMsA0fuw
'
// 街道
// 街道
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqaWVkYW8iLCJsb2dpbl91c2VyX2tleSI6ImNjNjRkMmZhLWQzNmItNGRkZi05MjcxLTliYTA0ZDJkYzM4NiJ9.G2BAs3XnlqR6QgDRWDfXkOpdLYhFdqEaTxvE8GxLAgU8vcsHPEKdhQ4VvOwsiNAtIaUpMDXirOb-FrHVNvZo4g'
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJqaWVkYW8iLCJsb2dpbl91c2VyX2tleSI6ImNjNjRkMmZhLWQzNmItNGRkZi05MjcxLTliYTA0ZDJkYzM4NiJ9.G2BAs3XnlqR6QgDRWDfXkOpdLYhFdqEaTxvE8GxLAgU8vcsHPEKdhQ4VvOwsiNAtIaUpMDXirOb-FrHVNvZo4g'
...
...
src/_check_info.css
View file @
1da982be
...
@@ -565,3 +565,18 @@ body {
...
@@ -565,3 +565,18 @@ body {
margin-bottom
:
0.15rem
;
margin-bottom
:
0.15rem
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
/* 在现有样式中添加以下CSS */
.float-read-btn
{
position
:
fixed
;
/* 固定定位 */
right
:
0.3rem
;
/* 右侧距离 */
bottom
:
2.3rem
;
/* 底部距离 */
z-index
:
999
;
/* 层级保证不被遮挡 */
cursor
:
pointer
;
/* 手型光标 */
}
.float-read-btn
.btn-text
{
font-size
:
0.28rem
;
/* 文字大小 */
color
:
#FFFFFF
;
/* 文字颜色 */
line-height
:
1.2
;
/* 行高 */
}
\ No newline at end of file
src/_check_info.html
View file @
1da982be
...
@@ -415,6 +415,9 @@
...
@@ -415,6 +415,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"float-read-btn"
@
click=
"goback4ios"
v-if=
"iosFlag"
>
<img
src=
"../image/code/back.png"
style=
"width: .9rem;"
/>
</div>
</div>
</div>
</body>
</body>
...
...
src/_check_info.js
View file @
1da982be
...
@@ -104,7 +104,8 @@ window.onload = function () {
...
@@ -104,7 +104,8 @@ window.onload = function () {
},
},
recordList
:
[],
recordList
:
[],
checkDeptName
:
''
// 检查单位
checkDeptName
:
''
,
// 检查单位
iosFlag
:
gemhoUtil
.
isIOSStrict
()
},
},
mounted
()
{
mounted
()
{
/**
/**
...
@@ -213,6 +214,15 @@ window.onload = function () {
...
@@ -213,6 +214,15 @@ window.onload = function () {
// }
// }
// })
// })
// },
// },
goback4ios
()
{
// 全部标记为已读
let
params
=
{
merId
:
gemhoUtil
.
getCookie
(
'
merId
'
)
||
''
,
}
// 这里添加跳转逻辑
var
pageUrl
=
`
${
this
.
pageName
}
.html`
let
url
=
gemhoUtil
.
setParameter
(
pageUrl
,
params
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
showImage4camera
(
list
,
index
)
{
showImage4camera
(
list
,
index
)
{
const
images
=
list
.
map
((
item
)
=>
{
const
images
=
list
.
map
((
item
)
=>
{
return
this
.
previewUrl
+
item
return
this
.
previewUrl
+
item
...
...
src/_tezhongzuoye_detail.css
View file @
1da982be
...
@@ -380,4 +380,20 @@ iframe{
...
@@ -380,4 +380,20 @@ iframe{
overflow-y
:
auto
;
/* 关键:自动显示滚动条 */
overflow-y
:
auto
;
/* 关键:自动显示滚动条 */
overflow-x
:
hidden
;
overflow-x
:
hidden
;
/* padding: 0.3rem */
/* padding: 0.3rem */
}
/* 在现有样式中添加以下CSS */
.float-read-btn
{
position
:
fixed
;
/* 固定定位 */
right
:
0.3rem
;
/* 右侧距离 */
bottom
:
0.3rem
;
/* 底部距离 */
z-index
:
999
;
/* 层级保证不被遮挡 */
cursor
:
pointer
;
/* 手型光标 */
}
.float-read-btn
.btn-text
{
font-size
:
0.28rem
;
/* 文字大小 */
color
:
#FFFFFF
;
/* 文字颜色 */
line-height
:
1.2
;
/* 行高 */
}
}
\ No newline at end of file
src/_tezhongzuoye_detail.html
View file @
1da982be
...
@@ -151,6 +151,9 @@
...
@@ -151,6 +151,9 @@
</van-popup>
</van-popup>
</div>
</div>
<div
class=
"float-read-btn"
@
click=
"goback4ios"
v-if=
"iosFlag"
>
<img
src=
"../image/code/back.png"
style=
"width: .9rem;"
/>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/_tezhongzuoye_detail.js
View file @
1da982be
...
@@ -38,6 +38,7 @@ window.addEventListener("load", function () {
...
@@ -38,6 +38,7 @@ window.addEventListener("load", function () {
},
},
id
:
''
,
id
:
''
,
errorReqCount
:
0
,
errorReqCount
:
0
,
iosFlag
:
gemhoUtil
.
isIOSStrict
()
}
}
},
},
created
()
{
created
()
{
...
@@ -55,7 +56,15 @@ window.addEventListener("load", function () {
...
@@ -55,7 +56,15 @@ window.addEventListener("load", function () {
this
.
getDict4tab1
()
this
.
getDict4tab1
()
},
},
methods
:
{
methods
:
{
goback4ios
()
{
// 全部标记为已读
let
params
=
{
merId
:
gemhoUtil
.
getCookie
(
'
merId
'
)
||
''
,
}
// 这里添加跳转逻辑
var
pageUrl
=
'
_tezhongzuoye.html
'
// 安全培训详情页面
let
url
=
gemhoUtil
.
setParameter
(
pageUrl
,
params
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
getShopInfo
()
{
getShopInfo
()
{
vant
.
Toast
.
loading
({
vant
.
Toast
.
loading
({
message
:
'
正在加载...
'
,
message
:
'
正在加载...
'
,
...
...
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