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
497c92e1
Commit
497c92e1
authored
Apr 28, 2022
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新页面
parent
c19f6e29
Pipeline
#8219
passed with stage
in 5 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
126 additions
and
0 deletions
+126
-0
src/views/danger/dangerPatrol/dangerPatrolTime/index.vue
src/views/danger/dangerPatrol/dangerPatrolTime/index.vue
+126
-0
No files found.
src/views/danger/dangerPatrol/dangerPatrolTime/index.vue
0 → 100644
View file @
497c92e1
<
template
>
<div>
<LHeader
:text=
"text"
></LHeader>
<!-- 内容列表 -->
<div
class=
"title"
>
2022年4月26日
</div>
<p
class=
"title-text"
>
系统提示:请依据当日任务完成当日巡查工作。
</p>
<div
class=
"con-list"
>
<van-cell-group
inset
v-for=
"(item, index) in contentList"
:key=
"index"
@
click=
"onClick(item.content)"
>
<div
class=
"icon-wrap"
>
<span
class=
"icon-img"
>
<van-image
width=
"35"
height=
"35"
style=
"margin: 0 10px;overflow: hidden; border-radius: 5px;"
:src=
"item.imgUrl"
/>
</span>
{{
item
.
content
}}
</div>
</van-cell-group>
</div>
</div>
</
template
>
<
script
>
import
LHeader
from
"
@/components/header.vue
"
;
import
{
postWork
}
from
"
@/service/workbench
"
;
export
default
{
name
:
"
danger-patrol
"
,
components
:
{
LHeader
},
data
()
{
return
{
text
:
"
隐患巡查
"
,
contentList
:
[
{
title
:
"
A1
"
,
imgUrl
:
require
(
"
@/assets/dangerPatrol/patrol-icon.png
"
),
content
:
"
日查清单
"
},
{
title
:
"
A2
"
,
imgUrl
:
require
(
"
@/assets/dangerPatrol/patrol-icon.png
"
),
content
:
"
周查清单
"
},
{
title
:
"
A3
"
,
imgUrl
:
require
(
"
@/assets/dangerPatrol/patrol-icon.png
"
),
content
:
"
月查清单
"
},
{
title
:
"
A4
"
,
imgUrl
:
require
(
"
@/assets/dangerPatrol/patrol-icon.png
"
),
content
:
"
季查清单
"
},
{
title
:
"
A5
"
,
imgUrl
:
require
(
"
@/assets/dangerPatrol/patrol-icon.png
"
),
content
:
"
年查清单
"
}
]
};
},
mounted
()
{},
methods
:
{
// onClick(val) {
// if (val == "执行巡查") {
// this.$router.push({
// name: "implement"
// });
// } else if (val == "取消巡查") {
// this.$router.push({
// name: "cancel-patrol"
// });
// } else if (val == "巡查记录") {
// this.$router.push({
// name: "record-patrol"
// });
// } else if (val == "巡查统计") {
// this.$router.push({
// name: "statistics"
// });
// }
// }
onClick
(
val
)
{
this
.
$router
.
push
({
name
:
"
implement
"
});
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
/* @import url(); 引入css类 */
.van-cell-group--inset {
// height: 2.266667rem;
line-height: 2.266667rem;
font-size: 0.4rem;
font-weight: bolder;
margin: 0.266667rem;
padding-left: 0.666667rem;
color: #3499ff;
.icon-wrap {
display: flex;
align-items: center;
.icon-img {
margin-right: 0.533333rem;
display: inherit;
}
}
}
.title{
text-align: center;
font-weight: bolder;
margin-top: 0.5rem;
}
.title-text{
padding-left: 0.666667rem;
}
</
style
>
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