From cf883b71c848a1a46373b487c6a0d3db6fe7a3b8 Mon Sep 17 00:00:00 2001
From: 18650502300 <18650502300@163.com>
Date: Mon, 17 Jun 2024 15:36:26 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/system/device/index.vue |  4 ++--
 src/views/system/flow/index.vue   | 16 ++++++++--------
 src/views/system/map/index.vue    |  2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue
index dfc27d6..175a2a1 100644
--- a/src/views/system/device/index.vue
+++ b/src/views/system/device/index.vue
@@ -148,7 +148,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleListing(scope.row)"
-            v-hasPermi="['system:fault:query']"
+            v-hasPermi="['system:fault:edit']"
           >{{ scope.row.status === '0' ? '上架' : '下架' }}</el-button>
           <el-button v-if="scope.row.status!= '3'"
             size="mini"
@@ -162,7 +162,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleLock(scope.row)"
-            v-hasPermi="['system:device:lock']"
+            v-hasPermi="['system:device:unlocking']"
           >关锁</el-button>
           <el-button v-if="scope.row.status!= '0'"
             size="mini"
diff --git a/src/views/system/flow/index.vue b/src/views/system/flow/index.vue
index f5c0994..d557c59 100644
--- a/src/views/system/flow/index.vue
+++ b/src/views/system/flow/index.vue
@@ -1,14 +1,14 @@
 <template>
   <div class="app-container">
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
-      <el-form-item label="区域" prop="areaId">
-        <el-input
-          v-model="queryParams.areaId"
-          placeholder="请输入区域"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
+<!--      <el-form-item label="区域" prop="areaId">-->
+<!--        <el-input-->
+<!--          v-model="queryParams.areaId"-->
+<!--          placeholder="请输入区域"-->
+<!--          clearable-->
+<!--          @keyup.enter.native="handleQuery"-->
+<!--        />-->
+<!--      </el-form-item>-->
       <el-form-item label="关联订单号" label-width="90" prop="orderNo">
         <el-input
           v-model="queryParams.orderNo"
diff --git a/src/views/system/map/index.vue b/src/views/system/map/index.vue
index 61c2392..ef1c259 100644
--- a/src/views/system/map/index.vue
+++ b/src/views/system/map/index.vue
@@ -81,7 +81,7 @@
           this.areaBoundary();
           setTimeout(() => {
             this.setFitView();
-          }, 500);
+          }, 1000);
         }).catch((e) => {
           console.log(e);
         });