Commit 8bd6a889 authored by 13841799530's avatar 13841799530

页面更新

解润东
20220427
parent 06977f3c
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
<div> <div>
<LHeader :text="text"></LHeader> <LHeader :text="text"></LHeader>
<!-- 内容列表 --> <!-- 内容列表 -->
<div class="title">2022年4月26日</div>
<p class="title-text">系统提示:请依据当日任务完成当日巡查工作。</p>
<div class="con-list"> <div class="con-list">
<van-cell-group <van-cell-group
inset inset
...@@ -36,25 +38,50 @@ export default { ...@@ -36,25 +38,50 @@ export default {
return { return {
text: "危险作业申请", text: "危险作业申请",
contentList: [ contentList: [
// {
// title: "A1",
// imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
// content: "执行巡查"
// },
// {
// title: "A2",
// imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
// content: "取消巡查"
// },
// {
// title: "A1",
// imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
// content: "巡查记录"
// },
// {
// title: "A2",
// imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
// content: "巡查统计"
// }
{ {
title: "A1", title: "A1",
imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
content: "执行巡查" content: "日查清单"
}, },
{ {
title: "A2", title: "A2",
imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
content: "取消巡查" content: "周查清单"
}, },
{ {
title: "A1", title: "A3",
imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
content: "巡查记录" content: "月查清单"
}, },
{ {
title: "A2", title: "A4",
imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
content: "季查清单"
},
{
title: "A5",
imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"),
content: "巡查统计" content: "年查清单"
} }
] ]
}; };
...@@ -62,19 +89,36 @@ export default { ...@@ -62,19 +89,36 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
onClick(val) { onClick(val) {
if (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"
// });
// }
if (val == "日查清单") {
this.$router.push({ this.$router.push({
name: "implement" name: "implement"
}); });
} else if (val == "取消巡查") { } else if (val == "周查清单") {
this.$router.push({ this.$router.push({
name: "cancel-patrol" name: "cancel-patrol"
}); });
} else if (val == "巡查记录") { } else if (val == "月查清单") {
this.$router.push({ this.$router.push({
name: "record-patrol" name: "record-patrol"
}); });
} else if (val == "巡查统计") { } else if (val == "季查清单") {
this.$router.push({ this.$router.push({
name: "statistics" name: "statistics"
}); });
...@@ -102,4 +146,12 @@ export default { ...@@ -102,4 +146,12 @@ export default {
} }
} }
} }
.title{
text-align: center;
font-weight: bolder;
margin-top: 0.5rem;
}
.title-text{
padding-left: 0.666667rem;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment