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
957bca6d
Commit
957bca6d
authored
Aug 07, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:首页统计提醒接口错误重新请求;检查单列表样式统一处理;培训演练一级tab字体调整;商户页面行业主管内容行高自适应。
parent
ffa772bc
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
12 deletions
+47
-12
home.js
home.js
+35
-6
_checkrecord-all.css
src/_checkrecord-all.css
+1
-1
_checkrecord-all.html
src/_checkrecord-all.html
+2
-2
_peixun_yanlian.css
src/_peixun_yanlian.css
+6
-1
_peixun_yanlian.html
src/_peixun_yanlian.html
+1
-1
_shanghu_detail-edit.html
src/_shanghu_detail-edit.html
+2
-1
No files found.
home.js
View file @
957bca6d
...
...
@@ -20,10 +20,10 @@ window.onload = function() {
//显示的日期
showDate
:
''
,
// currentDate,
// 日期选择的最小范围,这里设置为当前日期的前 10 年
minDate
:
new
Date
(
new
Date
().
getFullYear
()
-
10
,
0
),
minDate
:
new
Date
(
'
2025-01-01
'
),
// 日期选择的最大范围,这里设置为当前日期的后 10 年
// maxDate: new Date(new Date().getFullYear() + 10, 11),
maxDate
:
new
Date
(),
maxDate
:
new
Date
(
'
2045-01-01
'
),
userInfo
:
{
userType
:
''
,
// 登录用户type
userId
:
'
1
'
,
// 登录用户id
...
...
@@ -44,7 +44,8 @@ window.onload = function() {
accessType
:
'
manage
'
,
// 访问类型 shop商家 saoma 扫码 manage 管理
// 修改默认菜单结构为最小化配置
menuList
:
[],
remindStatistic
:
[]
remindStatistic
:
[],
errorReqCount
:
0
,
}
},
mounted
()
{
...
...
@@ -69,9 +70,8 @@ window.onload = function() {
(
res
)
=>
{
if
(
!
res
)
{
// 中台返回为undefined 重新请求
setTimeout
(()
=>
{
console
.
log
(
'
getRemindStatistic方法返回null!!
'
)
this
.
getRemindStatistic
()
},
0
)
return
}
if
(
res
)
{
...
...
@@ -149,10 +149,24 @@ window.onload = function() {
(
res
)
=>
{
if
(
res
)
{
var
result
=
JSON
.
parse
(
res
)
if
(
result
.
code
!==
200
&&
result
.
data
==
null
)
{
// 中台返回为undefined 重新请求
console
.
log
(
'
getUserInfo=>code200datanull
'
)
setTimeout
(()
=>
{
// 如果加载成功后,就不在继续加载页面接口了。处理settimeout堆积问题
if
(
!
this
.
isLoading
){
return
}
if
(
this
.
errorReqCount
<=
5
){
this
.
errorReqCount
++
this
.
init
()
// 请求错误后,重新发起请求
}
},
0
)
return
}
this
.
userInfo
=
{
userType
:
result
.
data
.
roleDeptNameVo
.
userType
,
// 登录用户type
...
...
@@ -205,6 +219,21 @@ window.onload = function() {
},
},
(
res
)
=>
{
if
(
!
res
)
{
// 中台返回为undefined 重新请求
console
.
log
(
'
getRemindStatistic方法返回null!!
'
)
setTimeout
(()
=>
{
// 如果加载成功后,就不在继续加载页面接口了。处理settimeout堆积问题
if
(
!
this
.
isLoading
){
return
}
if
(
this
.
errorReqCount
<=
5
){
this
.
errorReqCount
++
this
.
init
()
// 请求错误后,重新发起请求
}
},
0
)
return
}
if
(
res
)
{
var
result
=
JSON
.
parse
(
res
)
console
.
log
(
'
用户Data
'
,
result
)
...
...
src/_checkrecord-all.css
View file @
957bca6d
...
...
@@ -108,7 +108,7 @@ body {
font-weight
:
bold
;
}
.tab1-row2
{
display
:
flex
;
justify-content
:
space-between
;
color
:
#
666
;
font-size
:
0.28rem
;
margin-bottom
:
8px
;
display
:
flex
;
justify-content
:
space-between
;
color
:
#
323233
;
font-size
:
0.28rem
;
margin-bottom
:
8px
;
}
.tab1-row2
span
{
display
:
inline-block
;
width
:
50%
;
...
...
src/_checkrecord-all.html
View file @
957bca6d
...
...
@@ -43,7 +43,7 @@
"
>
九小场所消防安全检查清单
</div>
<div
style=
"display: flex; justify-content: start; gap: .34rem; margin: 8px 0;"
>
<span
style=
"color: #
73737
3; font-size: 0.28rem;"
>
检查时间:{{ item.checkDate }}
</span>
<span
style=
"color: #
32323
3; font-size: 0.28rem;"
>
检查时间:{{ item.checkDate }}
</span>
</div>
<div
class=
"tab1-row1"
v-if=
"activeTab=='1'"
>
<span>
检查单位:{{ item.checkUnit || '-' }}
</span>
...
...
@@ -97,7 +97,7 @@
<!-- 第二行:状态和时间 -->
<div
style=
"display: flex; justify-content: start; gap: .34rem; margin: 8px 0;"
>
<span
style=
"color: #
73737
3; font-size: 0.28rem;"
>
检查时间:{{ item.checkDate }}
</span>
<span
style=
"color: #
32323
3; font-size: 0.28rem;"
>
检查时间:{{ item.checkDate }}
</span>
</div>
<div
class=
"tab1-row1"
>
<span>
检查单位:{{ item.checkUnit }}
</span>
...
...
src/_peixun_yanlian.css
View file @
957bca6d
...
...
@@ -64,12 +64,17 @@ background-color: #f5f6fa;
color
:
#000
;
}
.van-tab__text
{
font-weight
:
bold
;
font-size
:
0.
24
rem
;
font-size
:
0.
3
rem
;
/* color: #000; */
}
.subNavWrapper
.van-tab__text
{
font-size
:
0.24rem
;
}
.van-tab--active
{
color
:
#1081e3
;
}
...
...
src/_peixun_yanlian.html
View file @
957bca6d
...
...
@@ -32,7 +32,7 @@
<!-- Tab栏 -->
<van-tabs
v-model:active=
"activeTab"
@
click=
"clickTab"
title-active-color=
"#1989fa"
line-height=
"2px"
style=
"margin-bottom: 15px;"
>
<van-tab
:title=
"item.dictLabel"
v-for=
"item in tabList4lv1"
></van-tab>
<van-tab
:title=
"item.dictLabel"
v-for=
"item in tabList4lv1"
style=
"font-size:.3rem"
></van-tab>
<!-- <van-tab title="安全培训" name="0"></van-tab>
<van-tab title="应急演练" name="1"></van-tab> -->
...
...
src/_shanghu_detail-edit.html
View file @
957bca6d
...
...
@@ -205,10 +205,11 @@
<!-- 特殊处理:编辑没有详情有 -->
<div
class=
"form-item"
style=
"max-height: 1.4rem; height:auto;"
v-if=
"flag=='XQ'"
>
<span
class=
"form-label"
>
行业主管
</span>
<div
class=
"form-input-wrap"
style=
"color: #333;font-size: .3rem;"
>
<div
class=
"form-input-wrap"
style=
"color: #333;font-size: .3rem;
padding-top:.2rem;padding-bottom: .2rem;
"
>
{{ formData.industryDeptName }}
</div>
</div>
...
...
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