Loading src/views/danger/dangerPatrol/index.vue +62 −10 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ <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 Loading Loading @@ -36,25 +38,50 @@ export default { return { text: "危险作业申请", 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", imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), content: "执行巡查" content: "日查清单" }, { title: "A2", imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), content: "取消巡查" content: "周查清单" }, { title: "A1", title: "A3", 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"), content: "巡查统计" content: "年查清单" } ] }; Loading @@ -62,19 +89,36 @@ export default { mounted() {}, methods: { 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({ name: "implement" }); } else if (val == "取消巡查") { } else if (val == "周查清单") { this.$router.push({ name: "cancel-patrol" }); } else if (val == "巡查记录") { } else if (val == "月查清单") { this.$router.push({ name: "record-patrol" }); } else if (val == "巡查统计") { } else if (val == "季查清单") { this.$router.push({ name: "statistics" }); Loading Loading @@ -102,4 +146,12 @@ export default { } } } .title{ text-align: center; font-weight: bolder; margin-top: 0.5rem; } .title-text{ padding-left: 0.666667rem; } </style> Loading
src/views/danger/dangerPatrol/index.vue +62 −10 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ <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 Loading Loading @@ -36,25 +38,50 @@ export default { return { text: "危险作业申请", 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", imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), content: "执行巡查" content: "日查清单" }, { title: "A2", imgUrl: require("@/assets/dangerPatrol/patrol-icon.png"), content: "取消巡查" content: "周查清单" }, { title: "A1", title: "A3", 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"), content: "巡查统计" content: "年查清单" } ] }; Loading @@ -62,19 +89,36 @@ export default { mounted() {}, methods: { 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({ name: "implement" }); } else if (val == "取消巡查") { } else if (val == "周查清单") { this.$router.push({ name: "cancel-patrol" }); } else if (val == "巡查记录") { } else if (val == "月查清单") { this.$router.push({ name: "record-patrol" }); } else if (val == "巡查统计") { } else if (val == "季查清单") { this.$router.push({ name: "statistics" }); Loading Loading @@ -102,4 +146,12 @@ export default { } } } .title{ text-align: center; font-weight: bolder; margin-top: 0.5rem; } .title-text{ padding-left: 0.666667rem; } </style>