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
10937163
Commit
10937163
authored
Apr 17, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 最后一页日期显示;隐患详情id=1动态值替换;详情不校验必填项;
parent
dae4924b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
_check_info.html
src/_check_info.html
+1
-1
_check_info.js
src/_check_info.js
+7
-4
No files found.
src/_check_info.html
View file @
10937163
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<van-form>
<van-form
v-if=
"checkPageIndex == (checkData?.length-1)"
>
<van-cell>
<van-cell>
<van-field
label=
"检查人员"
v-model=
"checkPeopleName"
readonly
/>
<van-field
label=
"检查人员"
v-model=
"checkPeopleName"
readonly
/>
</van-cell>
</van-cell>
...
...
src/_check_info.js
View file @
10937163
...
@@ -113,8 +113,11 @@ window.onload = function() {
...
@@ -113,8 +113,11 @@ window.onload = function() {
}
}
},
},
methods
:
{
methods
:
{
validRequired
(){
validRequired
(){
if
(
this
.
flag
==
'
JC_XQ
'
){
// 检查详情,不参与下一页校验
this
.
checkPageIndex
++
;
return
true
}
const
currentPageData
=
this
.
checkData
[
this
.
checkPageIndex
];
const
currentPageData
=
this
.
checkData
[
this
.
checkPageIndex
];
const
errorRows
=
currentPageData
.
gqCheckItemList
.
filter
((
item
)
=>
{
const
errorRows
=
currentPageData
.
gqCheckItemList
.
filter
((
item
)
=>
{
console
.
log
(
item
)
console
.
log
(
item
)
...
@@ -235,7 +238,7 @@ window.onload = function() {
...
@@ -235,7 +238,7 @@ window.onload = function() {
interfacePrivateKey
:
API_KEY_MAP
[
"
no-page
"
][
"
privateKey
"
],
interfacePrivateKey
:
API_KEY_MAP
[
"
no-page
"
][
"
privateKey
"
],
reqParams
:
{
reqParams
:
{
sign
:
4
,
// 隐患详情
sign
:
4
,
// 隐患详情
"
hdId
"
:
"
1
"
,
"
hdId
"
:
this
.
id
,
}
}
},
(
res
)
=>
{
},
(
res
)
=>
{
if
(
!
res
)
{
// 中台返回为undefined 重新请求
if
(
!
res
)
{
// 中台返回为undefined 重新请求
...
@@ -280,7 +283,7 @@ window.onload = function() {
...
@@ -280,7 +283,7 @@ window.onload = function() {
interfacePrivateKey
:
API_KEY_MAP
[
'
no-page
'
][
'
privateKey
'
],
interfacePrivateKey
:
API_KEY_MAP
[
'
no-page
'
][
'
privateKey
'
],
reqParams
:
{
reqParams
:
{
sign
:
2
,
sign
:
2
,
"
recordId
"
:
this
.
id
||
"
22
"
,
"
recordId
"
:
this
.
id
,
},
},
},
},
(
res
)
=>
{
(
res
)
=>
{
...
@@ -399,7 +402,7 @@ window.onload = function() {
...
@@ -399,7 +402,7 @@ window.onload = function() {
vant
.
Toast
({
vant
.
Toast
({
message
:
'
操作成功
'
,
message
:
'
操作成功
'
,
})
})
//
gemhoUtil.navigatePage(this.pageName + '.html', '操作完成,跳转中...')
gemhoUtil
.
navigatePage
(
this
.
pageName
+
'
.html
'
,
'
操作完成,跳转中...
'
)
})
})
}
}
}
}
...
...
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