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
9047ccc1
Commit
9047ccc1
authored
Apr 17, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:检查单隐患整改显隐以及整改方法问题相关处理 443 445 452
parent
2f5834b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
_check_info.html
src/_check_info.html
+3
-3
_check_info.js
src/_check_info.js
+3
-2
No files found.
src/_check_info.html
View file @
9047ccc1
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</div>
</div>
</van-cell>
</van-cell>
</van-cell-group>
</van-cell-group>
<van-cell-group
v-if=
"
flag==='JC_XQ' || flag==='YZG' || flag==='3'
"
>
<van-cell-group
v-if=
"
item?.rectificationImageUrlList?.length
"
>
<van-cell><span
class=
""
>
整改情况:
</span>
<van-cell><span
class=
""
>
整改情况:
</span>
<div>
<div>
<img
v-for=
"(imgItem, subIndex) in item.rectificationImageUrlList"
:src=
"imgItem"
alt=
""
style=
"width:1.2rem;height:1.2rem;margin-right:.2rem;"
/>
<img
v-for=
"(imgItem, subIndex) in item.rectificationImageUrlList"
:src=
"imgItem"
alt=
""
style=
"width:1.2rem;height:1.2rem;margin-right:.2rem;"
/>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</van-cell-group>
</van-cell-group>
<van-cell-group
v-if=
"flag=='0'"
>
<van-cell-group
v-if=
"flag=='0'
&& flag=='shop'
"
>
<van-cell><span
class=
"title_require"
>
请上传整改图片:
</span><span
<van-cell><span
class=
"title_require"
>
请上传整改图片:
</span><span
style=
"color: red;"
>
(格式png/jpg/jpeg,最多4张)
</span>
style=
"color: red;"
>
(格式png/jpg/jpeg,最多4张)
</span>
<!-- <div>
<!-- <div>
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
<van-cell>
<van-cell>
<van-field
label=
"检查日期"
v-model=
"checkDate"
/>
<van-field
label=
"检查日期"
v-model=
"checkDate"
/>
</van-cell>
</van-cell>
<van-cell
v-if=
"flag!='ADD'"
>
<van-cell
v-if=
"flag!='ADD'
&&flag!='JC_XQ'
"
>
<van-field
label=
"整改截止日期"
v-model=
"rectificationDeadline"
/>
<van-field
label=
"整改截止日期"
v-model=
"rectificationDeadline"
/>
</van-cell>
</van-cell>
<div
v-if=
"flag=='0' || flag=='1' || flag=='3'"
>
<div
v-if=
"flag=='0' || flag=='1' || flag=='3'"
>
...
...
src/_check_info.js
View file @
9047ccc1
...
@@ -319,7 +319,8 @@ window.onload = function() {
...
@@ -319,7 +319,8 @@ window.onload = function() {
},
0
)
},
0
)
},
},
add4DZG_XQ
()
{
add4DZG_XQ
()
{
if
(
!
this
.
checkData
.
photos
.
length
)
{
console
.
log
(
'
整改图片
'
,
this
.
checkData
[
0
][
'
gqCheckItemList
'
][
0
].
photos
)
if
(
!
this
.
checkData
[
0
][
'
gqCheckItemList
'
][
0
].
photos
.
length
)
{
vant
.
Dialog
.
alert
({
vant
.
Dialog
.
alert
({
message
:
'
请上传整改图片
'
,
message
:
'
请上传整改图片
'
,
})
})
...
@@ -337,7 +338,7 @@ window.onload = function() {
...
@@ -337,7 +338,7 @@ window.onload = function() {
reqParams
:
{
reqParams
:
{
sign
:
7
,
sign
:
7
,
"
hdId
"
:
this
.
id
,
"
hdId
"
:
this
.
id
,
"
photos
"
:
this
.
checkData
,
"
photos
"
:
this
.
checkData
[
0
][
'
gqCheckItemList
'
][
0
].
photos
,
}
}
},
(
res
,
type
)
=>
{
},
(
res
,
type
)
=>
{
if
(
!
res
&&
!
type
)
{
// 如果是中台接口返回为undefined,则重新发起请求
if
(
!
res
&&
!
type
)
{
// 如果是中台接口返回为undefined,则重新发起请求
...
...
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