From 09c2798cc4161a331af1d5d7b81f77b98a070de3 Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期三, 11 五月 2022 16:46:59 +0800 Subject: [PATCH] 设备区域查询 --- src/views/safetyproduction/gojudging.vue | 2 +- src/views/majorHazardSourceMonitoring/productionEquipment/index.vue | 8 +++++++- src/views/safetyproduction/new.vue | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue index 967eb47..8c41171 100644 --- a/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue +++ b/src/views/majorHazardSourceMonitoring/productionEquipment/index.vue @@ -2,6 +2,13 @@ <div class="app-container"> <el-form ref="form" :model="form" label-width="80px"> <el-row> + <el-col :span="6"> + <el-form-item label="设备区域"> + <el-select v-model="listQuery.filter.areaId" placeholder="请选择设备区域" clearable style="width: 100%"> + <el-option v-for="item in areaList" :key="item.id" :label="item.value" :value="item.id"></el-option> + </el-select> + </el-form-item> + </el-col> <el-col :span="5"> <el-form-item label="设备名称"> <el-input v-model="listQuery.filter.name" placeholder="请输入设备名称" clearable></el-input> @@ -149,7 +156,6 @@ v-model="form.areaId" placeholder="请选择设备区域" style="width: 100%" - filterable > <el-option v-for="item in areaList" diff --git a/src/views/safetyproduction/gojudging.vue b/src/views/safetyproduction/gojudging.vue index 9eaffe9..c561318 100644 --- a/src/views/safetyproduction/gojudging.vue +++ b/src/views/safetyproduction/gojudging.vue @@ -187,7 +187,7 @@ duration: 2000, }); this.$router.push({ - path: "/checklistself", + path:"/safetyproduction/safetyproduction/checklistself" }); } else { this.$message({ diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue index f0e9581..cb0e53c 100644 --- a/src/views/safetyproduction/new.vue +++ b/src/views/safetyproduction/new.vue @@ -404,7 +404,7 @@ title: "成功", }); this.$router.push({ - path:"/checklistself" + path:"/safetyproduction/safetyproduction/checklistself" }); } }); @@ -420,7 +420,7 @@ }); }); this.$router.push({ - path:"/checklistself" + path:"/safetyproduction/safetyproduction/checklistself" }); } } -- Gitblit v1.9.2