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
2160039d
Commit
2160039d
authored
Jun 20, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:隐患详情报错itemundefined问题处理。
parent
23b09baa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
290 additions
and
288 deletions
+290
-288
_check_info.html
src/_check_info.html
+290
-288
No files found.
src/_check_info.html
View file @
2160039d
<!DOCTYPE html>
<html
lang=
"zh-CN"
>
<head>
<head>
<meta
charset=
"UTF-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
...
...
@@ -12,9 +13,9 @@
<!-- <script type="text/javascript" src="_check_info_data_detail.js"></script>
<script type="text/javascript" src="_check_info_data_detail_yh.js"></script> -->
</head>
</head>
<body>
<body>
<!-- 原 HTML 主体内容保持不变 -->
<div
id=
"app"
>
<div
class=
"checklist-header"
v-cloak
>
...
...
@@ -47,8 +48,8 @@
<!-- 子检查项 -->
<div
class=
"sub-checkbox-group"
>
<van-cell
v-if=
"item.itemType==1"
>
<van-checkbox
v-for=
"(subItem, subIndex) in item.gqCheckQuestionList
"
:key=
"subIndex"
v-model=
"subItem.check"
shape=
"square"
:disabled=
"flag!=='ADD'"
>
<van-checkbox
v-for=
"(subItem, subIndex) in item.gqCheckQuestionList"
:key=
"subIndex
"
v-model=
"subItem.check"
shape=
"square"
:disabled=
"flag!=='ADD'"
>
{{ subItem.name}}
</van-checkbox>
</van-cell>
...
...
@@ -78,8 +79,8 @@
<van-cell><span
class=
"title_require"
>
请上传隐患图片:
</span><span
style=
"color: red"
>
(格式png/jpg/jpeg,最多4张)
</span>
<div>
<van-uploader
v-model=
"item.photos"
:max-count=
"4
"
:after-read=
"handleFileUpload"
class=
"uploader-wrapper"
/>
<van-uploader
v-model=
"item.photos"
:max-count=
"4"
:after-read=
"handleFileUpload
"
class=
"uploader-wrapper"
/>
</div>
</van-cell>
</van-cell-group>
...
...
@@ -88,8 +89,8 @@
<van-cell>
<span
class=
""
>
隐患图片:
</span>
<div>
<img
v-for=
"(imgItem, subIndex) in item.hiddenImageUrlList"
:src=
"imgItem
"
alt=
""
style=
"width: 1.2rem; height: 1.2rem; margin-right: 0.2rem"
<img
v-for=
"(imgItem, subIndex) in item.hiddenImageUrlList"
:src=
"imgItem"
alt=
"
"
style=
"width: 1.2rem; height: 1.2rem; margin-right: 0.2rem"
@
click=
"showImage(item.hiddenImageUrlList,subIndex)"
/>
</div>
</van-cell>
...
...
@@ -98,9 +99,8 @@
<van-cell-group
v-if=
"item?.rectificationImageUrlList?.length && flag=='JC_XQ'"
>
<van-cell><span
class=
""
>
整改情况:
</span>
<div>
<img
v-for=
"(imgItem, subIndex) in item.rectificationImageUrlList"
:src=
"imgItem"
alt=
""
style=
"width: 1.2rem; height: 1.2rem; margin-right: 0.2rem"
<img
v-for=
"(imgItem, subIndex) in item.rectificationImageUrlList"
:src=
"imgItem"
alt=
""
style=
"width: 1.2rem; height: 1.2rem; margin-right: 0.2rem"
@
click=
"showImage(item.rectificationImageUrlList,subIndex)"
/>
</div>
</van-cell>
...
...
@@ -112,27 +112,6 @@
</van-cell-group>
<!-- 整改期限 -->
<van-cell-group
v-if=
"flag=='ADD'"
>
<van-cell>
<div
class=
"limit_date_wrapper"
>
<span
class=
"title_require"
>
整改期限:
</span>
<select
class=
"day_select"
name=
""
v-model=
"item.deadlineDays"
@
change=
"handleDeadlineConfirm($event, item)"
>
<option
value=
"1"
>
1
</option>
<option
value=
"3"
>
3
</option>
<option
value=
"5"
>
5
</option>
<option
value=
"7"
>
7
</option>
</select>
<span>
整改截止日期:
<b
style=
"color: #148ef7"
>
{{item.deadlineDate}}
</b></span>
</div>
</van-cell>
</van-cell-group>
</div>
</div>
</div>
<!-- 新增隐患整改模块 2025年6月18日11:03:11新增整改记录模块-->
<div
class=
"rectification-module"
v-if=
"flag!=='ADD' && flag!=='JC_XQ'"
>
<!-- 模块标题 -->
...
...
@@ -158,8 +137,7 @@
<!-- 整改图片 -->
<div
class=
"rectification-images"
>
<img
v-for=
"(img, i) in record.rectificationImage"
:key=
"i"
:src=
"img"
<img
v-for=
"(img, i) in record.rectificationImage"
:key=
"i"
:src=
"img"
@
click=
"showImage(record.rectificationImage, i)"
class=
"rect-image"
>
</div>
...
...
@@ -190,7 +168,8 @@
<span
class=
"status-tag"
>
{{ record.rectificationStatusName }}
</span>
</div>
</div>
<p
class=
"rectification-date"
v-if=
"record.rectificationStatus === 3"
>
整改截止日期:{{ record.rectificationDeadline }}
</p>
<p
class=
"rectification-date"
v-if=
"record.rectificationStatus === 3"
>
整改截止日期:{{
record.rectificationDeadline }}
</p>
</div>
</div>
</div>
...
...
@@ -208,6 +187,26 @@
</van-cell>
</van-cell-group>
<!-- 整改期限 -->
<van-cell-group
v-if=
"flag=='ADD'"
>
<van-cell>
<div
class=
"limit_date_wrapper"
>
<span
class=
"title_require"
>
整改期限:
</span>
<select
class=
"day_select"
name=
""
v-model=
"item.deadlineDays"
@
change=
"handleDeadlineConfirm($event, item)"
>
<option
value=
"1"
>
1
</option>
<option
value=
"3"
>
3
</option>
<option
value=
"5"
>
5
</option>
<option
value=
"7"
>
7
</option>
</select>
<span>
整改截止日期:
<b
style=
"color: #148ef7"
>
{{item.deadlineDate}}
</b></span>
</div>
</van-cell>
</van-cell-group>
</div>
</div>
</div>
<van-form
v-if=
"checkPageIndex == (checkData?.length-1)"
>
<van-cell>
<van-field
label=
"检查人员"
v-model=
"checkPeopleName"
readonly
/>
...
...
@@ -245,7 +244,8 @@
<div
v-for=
"(item, index) in jujue.deptDict"
style=
"overflow: hidden;"
>
<h5
style=
"text-align: left;font-size: .3rem;color: #1081E3;font-weight: 500;"
>
{{item.name}}
</h5>
<van-checkbox
:key=
"subIndex"
:name=
"subItem.deptId"
shape=
"square"
v-for=
"(subItem, subIndex) in item.children"
>
<van-checkbox
:key=
"subIndex"
:name=
"subItem.deptId"
shape=
"square"
v-for=
"(subItem, subIndex) in item.children"
>
{{ subItem.deptName }}
</van-checkbox>
</div>
...
...
@@ -254,7 +254,8 @@
<div
class=
"footer-bar"
>
<van-button
type=
"info"
plain
size=
"small"
@
click=
"jujue.show4modal=false"
>
取消
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"jujue.show4modal=false;add4DSH_XQ(0);"
>
确定
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"jujue.show4modal=false;add4DSH_XQ(0);"
>
确定
</van-button>
</div>
</div>
...
...
@@ -267,7 +268,8 @@
text-align: left;
display: inline-block;
line-height: 1.5;
margin-bottom: 1rem;"
>
对该商家提醒限期
<b
style=
"color: #1081e3;"
>
3
</b>
天整改,整改截止日期 为
<b
style=
"color: #1081e3;"
>
{{ yuqi.deadlineDate }}
</b></span>
<br>
margin-bottom: 1rem;"
>
对该商家提醒限期
<b
style=
"color: #1081e3;"
>
3
</b>
天整改,整改截止日期 为
<b
style=
"color: #1081e3;"
>
{{
yuqi.deadlineDate }}
</b></span>
<br>
<van-button
type=
"info"
size=
"small"
@
click=
"shangbao(1)"
>
确定
</van-button>
</div>
...
...
@@ -279,7 +281,8 @@
<h4
style=
"text-align: left;font-size: .32rem;"
>
选择行业主管部门
</h4>
<van-checkbox-group
v-model=
"yuqi.dept"
>
<div
style=
"overflow: hidden;"
>
<van-checkbox
:key=
"subIndex"
:name=
"item.deptId"
shape=
"square"
v-for=
"(item, subIndex) in yuqi.deptDict"
>
<van-checkbox
:key=
"subIndex"
:name=
"item.deptId"
shape=
"square"
v-for=
"(item, subIndex) in yuqi.deptDict"
>
{{ item.deptName }}
</van-checkbox>
</div>
...
...
@@ -290,8 +293,7 @@
</van-action-sheet>
<!-- 隐患详情底部栏 -->
<div
class=
"bottom_bar"
v-if=
"flag=='3' && userType == 'wgy'"
>
<div
class=
"bottom_bar"
v-if=
"flag=='3' && userType == 'wgy'"
>
<div>
<van-button
type=
"primary"
size=
"small"
@
click=
"showShangbao"
>
上报行业主管部门
</van-button>
...
...
@@ -307,8 +309,7 @@
<div
class=
"bottom_bar"
v-if=
"flag=='2' && userType=='wgy'"
>
<div
style=
"display: flex; justify-content: center; gap: 1rem"
>
<van-button
type=
"danger"
size=
"small"
@
click=
"validRefuse(0)"
style=
"width: 2rem"
>
拒绝
</van-button>
<van-button
type=
"danger"
size=
"small"
@
click=
"validRefuse(0)"
style=
"width: 2rem"
>
拒绝
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"add4DSH_XQ(1)"
style=
"width: 2rem"
>
通过
</van-button>
</div>
</div>
...
...
@@ -329,5 +330,6 @@
</div>
</div>
</div>
</body>
</body>
</html>
\ No newline at end of file
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