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
5b9157d1
Commit
5b9157d1
authored
May 16, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
危险作业备案
parent
8446e7b3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
17 deletions
+29
-17
index.html
index.html
+27
-17
dw-list-detail.js
views/dw-list-detail.js
+2
-0
No files found.
index.html
View file @
5b9157d1
...
@@ -32,10 +32,12 @@
...
@@ -32,10 +32,12 @@
font-size
:
0.38rem
;
font-size
:
0.38rem
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.wrapper
.item
.bgImg
:first-child
{
.wrapper
.item
.bgImg
:first-child
{
background-image
:
url('./img/yellow.png')
;
background-image
:
url('./img/yellow.png')
;
}
}
.wrapper
.item
.bgImg
:last-child
{
.wrapper
.item
.bgImg
:last-child
{
background-image
:
url('./img/blue.png')
;
background-image
:
url('./img/blue.png')
;
}
}
...
@@ -55,10 +57,18 @@
...
@@ -55,10 +57,18 @@
<p
class=
"bgImg"
@
click=
"nav('yh-list')"
>
<p
class=
"bgImg"
@
click=
"nav('yh-list')"
>
<span>
隐患管理
</span>
<span>
隐患管理
</span>
</p>
</p>
<p
class=
"bgImg"
@
click=
"nav('dw-list')"
>
<span>
危险作业备案
</span>
</p>
</div>
</div>
<div
class=
"item"
>
<!-- <div class="item">
<p class="bgImg" @click="nav('yh-list')">
</div>
<span>隐患管理</span>
</p>
<p class="bgImg" @click="nav('yh-list')">
<span>危险作业备案</span>
</p>
</div> -->
</div>
</div>
</div>
</div>
</body>
</body>
...
...
views/dw-list-detail.js
View file @
5b9157d1
...
@@ -107,6 +107,7 @@ window.addEventListener("load", function() {
...
@@ -107,6 +107,7 @@ window.addEventListener("load", function() {
}
}
},
},
detail
()
{
detail
()
{
http
.
get
(
'
/api/dangerJobReport/page
'
,
{
http
.
get
(
'
/api/dangerJobReport/page
'
,
{
page
:
0
,
// 每次请求增加下一页
page
:
0
,
// 每次请求增加下一页
size
:
1
,
size
:
1
,
...
@@ -116,6 +117,7 @@ window.addEventListener("load", function() {
...
@@ -116,6 +117,7 @@ window.addEventListener("load", function() {
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
'
响应结果
'
,
res
.
content
)
console
.
log
(
'
响应结果
'
,
res
.
content
)
this
.
form
=
res
.
content
[
0
]
this
.
form
=
res
.
content
[
0
]
this
.
form
.
filePathList
=
res
.
content
[
0
].
filePathList
||
[]
if
(
this
.
form
.
workTime
&&
this
.
form
.
workTime
.
length
){
if
(
this
.
form
.
workTime
&&
this
.
form
.
workTime
.
length
){
this
.
form
.
workTime1
=
this
.
form
.
workTime
[
0
]
this
.
form
.
workTime1
=
this
.
form
.
workTime
[
0
]
this
.
form
.
workTime2
=
this
.
form
.
workTime
[
1
]
this
.
form
.
workTime2
=
this
.
form
.
workTime
[
1
]
...
...
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