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
66f9de8c
Commit
66f9de8c
authored
Jun 12, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add : 检查单上一页
parent
8dc9bb9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
10 deletions
+23
-10
_check_info.css
src/_check_info.css
+5
-3
_check_info.html
src/_check_info.html
+15
-7
_check_info.js
src/_check_info.js
+3
-0
No files found.
src/_check_info.css
View file @
66f9de8c
...
@@ -256,9 +256,11 @@ body {
...
@@ -256,9 +256,11 @@ body {
}
}
.bottom_bar
>
div
{
.bottom_bar
>
div
{
display
:
grid
;
/* display: grid;
grid-template-columns
:
auto
auto
0.6
fr
;
grid-template-columns: auto auto 0.6fr;*/
padding-left
:
0.2rem
;
display
:
flex
;
justify-content
:
space-around
;
padding-left
:
0.2rem
;
align-items
:
center
;
align-items
:
center
;
gap
:
0.2rem
;
gap
:
0.2rem
;
width
:
100vw
;
width
:
100vw
;
...
...
src/_check_info.html
View file @
66f9de8c
...
@@ -297,13 +297,14 @@
...
@@ -297,13 +297,14 @@
<div>
<div>
<span
class=
"check_num"
>
{{ notNullCount }}/{{totalItems}}
</span>
<span
class=
"check_num"
>
{{ notNullCount }}/{{totalItems}}
</span>
<span
class=
"yh_num"
>
{{noCount}} 隐患
</span>
<span
class=
"yh_num"
>
{{noCount}} 隐患
</span>
<van-button
type=
"info"
<van-button
size=
"small"
v-show=
"checkPageIndex>0"
@
click=
"add4JC_XQ"
type=
"info"
v-show=
"checkPageIndex===3&&flag=='ADD'"
size=
"small"
>
完成检查
</van-button
@
click=
"prevPage"
>
>
上一项
</van-button
>
<van-button
<van-button
v-show=
"checkPageIndex<3"
v-show=
"checkPageIndex<3"
type=
"info"
type=
"info"
...
@@ -311,6 +312,13 @@
...
@@ -311,6 +312,13 @@
@
click=
"validRequired"
@
click=
"validRequired"
>
下一项
</van-button
>
下一项
</van-button
>
>
<van-button
type=
"info"
size=
"small"
@
click=
"add4JC_XQ"
v-show=
"checkPageIndex===3&&flag=='ADD'"
>
完成检查
</van-button
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/_check_info.js
View file @
66f9de8c
...
@@ -116,6 +116,9 @@ window.onload = function () {
...
@@ -116,6 +116,9 @@ window.onload = function () {
}
}
},
},
methods
:
{
methods
:
{
prevPage
(){
this
.
checkPageIndex
--
},
validRequired
()
{
validRequired
()
{
if
(
this
.
flag
==
'
JC_XQ
'
)
{
// 检查详情,不参与下一页校验
if
(
this
.
flag
==
'
JC_XQ
'
)
{
// 检查详情,不参与下一页校验
this
.
checkPageIndex
++
;
this
.
checkPageIndex
++
;
...
...
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