Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
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
首开风险隐患双控平台
BCDH-APP
Commits
b9848e3b
Commit
b9848e3b
authored
May 18, 2022
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解润东
20220518 周期列表接口联调
parent
fa0db1a5
Pipeline
#8372
passed with stage
in 5 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
src/views/danger/dangerPatrol/dangerPatrolTime/index.vue
src/views/danger/dangerPatrol/dangerPatrolTime/index.vue
+34
-1
No files found.
src/views/danger/dangerPatrol/dangerPatrolTime/index.vue
View file @
b9848e3b
...
...
@@ -21,8 +21,15 @@
:src=
"item.imgUrl"
/>
</span>
{{
item
.
content
}}
<div
class=
"icon_wrap_text"
>
<div
class=
"icon_wrap_text1"
>
{{
item
.
content
}}
</div>
<span
class=
"icon_wrap_text2"
v-if=
"item.content=='日查清单'"
>
{{
util
.
timestampToTime
(
item
.
startTime
,
'
DT7
'
,
true
)
}}
</span>
<span
class=
"icon_wrap_text2"
v-else
>
{{
util
.
timestampToTime
(
item
.
startTime
,
'
DT7
'
,
true
)
}}
至
{{
util
.
timestampToTime
(
item
.
validityTime
,
'
DT7
'
,
true
)
}}
</span>
</div>
</div>
</van-cell-group>
</div>
</div>
...
...
@@ -95,10 +102,20 @@ export default {
this
.
contentLists
.
forEach
((
x
)
=>
{
res
.
data
.
forEach
((
y
)
=>
{
if
(
x
.
title
==
y
.
cycle
){
x
.
startTime
=
y
.
startTime
x
.
validityTime
=
y
.
validityTime
this
.
contentList
.
push
(
x
)
}
})
})
console
.
log
(
this
.
contentList
)
// this.contentList.forEach((x)=>{
// res.data.forEach((y)=>{
// if(x.title==y.cycle){
// x.start
// }
// })
// })
})
},
onClick
(
val
)
{
...
...
@@ -132,6 +149,22 @@ export default {
margin-right: 0.533333rem;
display: inherit;
}
.icon_wrap_text{
width: 100%;
// padding-top: 0.3rem;
padding-bottom: 0.3rem;
position: relative;
.icon_wrap_text1{
margin-top: -0.3rem;
}
.icon_wrap_text2{
position: absolute;
left: 0%;
top: 15%;
font-size: 0.35rem;
color: #C1C1C1;
}
}
}
}
.title{
...
...
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