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
cf795b7c
Commit
cf795b7c
authored
Apr 16, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查,状态修改
parent
077f12bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
_check_info.html
src/_check_info.html
+6
-6
_check_info.js
src/_check_info.js
+12
-7
No files found.
src/_check_info.html
View file @
cf795b7c
...
@@ -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==='
ZGYQ_XQ
'"
>
<van-cell-group
v-if=
"flag==='JC_XQ' || flag==='YZG' || flag==='
3
'"
>
<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=='
DZG_XQ
'"
>
<van-cell-group
v-if=
"flag=='
0
'"
>
<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>
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
<van-cell
v-if=
"flag!='ADD'"
>
<van-cell
v-if=
"flag!='ADD'"
>
<van-field
label=
"整改截止日期"
v-model=
"rectificationDeadline"
/>
<van-field
label=
"整改截止日期"
v-model=
"rectificationDeadline"
/>
</van-cell>
</van-cell>
<div
v-if=
"flag=='
DZG_XQ' || flag=='YZG_XQ' || flag=='ZGYQ_XQ
'"
>
<div
v-if=
"flag=='
0' || flag=='1' || flag=='3
'"
>
<van-cell>
<van-cell>
<van-field
label=
"审核日期"
v-model=
"reviewDate"
/>
<van-field
label=
"审核日期"
v-model=
"reviewDate"
/>
</van-cell>
</van-cell>
...
@@ -163,20 +163,20 @@
...
@@ -163,20 +163,20 @@
<!-- 隐患详情底部栏 -->
<!-- 隐患详情底部栏 -->
<!-- <div class="bottom_bar" v-if="flag=='
ZGYQ_XQ
'">
<!-- <div class="bottom_bar" v-if="flag=='
3
'">
<div>
<div>
<van-button type="primary" size="small" @click="navTo1" >上报行业主管部门</van-button>
<van-button type="primary" size="small" @click="navTo1" >上报行业主管部门</van-button>
<van-button type="info" size="small" @click="navTo1" >限期3天整改</van-button>
<van-button type="info" size="small" @click="navTo1" >限期3天整改</van-button>
</div>
</div>
</div> -->
</div> -->
<div
class=
"bottom_bar"
v-if=
"flag=='
DZG_XQ
'"
>
<div
class=
"bottom_bar"
v-if=
"flag=='
0
'"
>
<div
style=
"display: flex;justify-content: center;gap: 1rem;"
>
<div
style=
"display: flex;justify-content: center;gap: 1rem;"
>
<van-button
type=
"info"
size=
"small"
@
click=
"add4DZG_XQ"
style=
"width:2rem"
>
提交整改
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"add4DZG_XQ"
style=
"width:2rem"
>
提交整改
</van-button>
</div>
</div>
</div>
</div>
<div
class=
"bottom_bar"
v-if=
"flag=='
DSH_XQ
'"
>
<div
class=
"bottom_bar"
v-if=
"flag=='
2
'"
>
<div
style=
"display: flex;justify-content: center;gap: 1rem;"
>
<div
style=
"display: flex;justify-content: center;gap: 1rem;"
>
<van-button
type=
"danger"
size=
"small"
@
click=
"add4DSH_XQ(0)"
style=
"width:2rem"
>
拒绝
</van-button>
<van-button
type=
"danger"
size=
"small"
@
click=
"add4DSH_XQ(0)"
style=
"width:2rem"
>
拒绝
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"add4DSH_XQ(1)"
style=
"width:2rem"
>
通过
</van-button>
<van-button
type=
"info"
size=
"small"
@
click=
"add4DSH_XQ(1)"
style=
"width:2rem"
>
通过
</van-button>
...
...
src/_check_info.js
View file @
cf795b7c
...
@@ -12,10 +12,13 @@
...
@@ -12,10 +12,13 @@
跳转逻辑:
跳转逻辑:
新增检查单,flag=ADD,
新增检查单,flag=ADD,
检查单详情,flag=JC_XQ,id=记录id
检查单详情,flag=JC_XQ,id=记录id
待审核隐患,flag=DSH_XQ,id=隐患id
待审核隐患,flag=2,id=隐患id
待整改隐患,flag=DZG_XQ,id=隐患id
待整改隐患,flag=0,id=隐患id
已整改隐患,flag=YZG_XQ,id=隐患id
已整改隐患,flag=1,id=隐患id
整改逾期隐患,flag=ZGYQ_XQ,id=隐患id
整改逾期隐患,flag=3,id=隐患id
整改状态 0:待整改 1:已整改 2:待审核 3:整改逾期
*/
*/
...
@@ -74,7 +77,7 @@ window.onload = function() {
...
@@ -74,7 +77,7 @@ window.onload = function() {
* flag : ADD新增、JC_XQ检查详情、ZG_XQ整改详情、YH_XQ隐患详情
* flag : ADD新增、JC_XQ检查详情、ZG_XQ整改详情、YH_XQ隐患详情
* id: 记录id || 隐患id
* id: 记录id || 隐患id
* pageName: 页面名称(用于记录页面来源,用于操作后返回上一页)
* pageName: 页面名称(用于记录页面来源,用于操作后返回上一页)
*
*
隐患状态 0:待整改 1:已整改 2:待审核 3:整改逾期
*/
*/
console
.
log
(
gemhoUtil
.
getParameter
,
'
gemhoUtil.getParameter
'
)
console
.
log
(
gemhoUtil
.
getParameter
,
'
gemhoUtil.getParameter
'
)
this
.
pageName
=
gemhoUtil
.
getParameter
(
'
pageName
'
)
this
.
pageName
=
gemhoUtil
.
getParameter
(
'
pageName
'
)
...
@@ -82,10 +85,12 @@ window.onload = function() {
...
@@ -82,10 +85,12 @@ window.onload = function() {
this
.
merId
=
gemhoUtil
.
getParameter
(
'
merId
'
)
this
.
merId
=
gemhoUtil
.
getParameter
(
'
merId
'
)
this
.
flag
=
gemhoUtil
.
getParameter
(
'
flag
'
)
this
.
flag
=
gemhoUtil
.
getParameter
(
'
flag
'
)
// this.flag = 'JC_XQ'
// this.flag = 'JC_XQ'
// this.flag = 'ADD'
// this.flag = 'ADD'
if
(
this
.
flag
==
=
'
DSH_XQ
'
||
this
.
flag
===
'
DZG_XQ
'
if
(
this
.
flag
==
'
2
'
||
this
.
flag
==
'
0
'
||
this
.
flag
==
=
'
YZG_XQ
'
||
this
.
flag
===
'
ZGYQ_XQ
'
)
{
// 隐患详情
||
this
.
flag
==
'
1
'
||
this
.
flag
==
'
3
'
)
{
// 隐患详情
this
.
getDetail4YH_XQ
()
this
.
getDetail4YH_XQ
()
}
else
if
(
this
.
flag
===
'
JC_XQ
'
)
{
// 检查详情
}
else
if
(
this
.
flag
===
'
JC_XQ
'
)
{
// 检查详情
this
.
getDetail4JC_XQ
()
this
.
getDetail4JC_XQ
()
...
...
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