From cf1b5bf548b870efd0f1b4e3d5a8f88e79cfd9c9 Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期六, 08 一月 2022 12:15:22 +0800
Subject: [PATCH] 问题修改

---
 src/views/device/batch/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/device/batch/index.vue b/src/views/device/batch/index.vue
index 886eb50..849c95b 100644
--- a/src/views/device/batch/index.vue
+++ b/src/views/device/batch/index.vue
@@ -100,6 +100,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
+            class="del-btn"
             @click="handleDelete(scope.row)"
             v-hasPermi="['oa:batch:remove']"
           >鍒犻櫎</el-button>
@@ -116,7 +117,7 @@
     />
 
     <!-- 娣诲姞鎴栦慨鏀圭敓浜ф壒娆″璇濇 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="鐢熶骇鎵规" prop="batch">
           <el-input v-model="form.batch" placeholder="璇疯緭鍏ョ敓浜ф壒娆�" />
@@ -301,7 +302,7 @@
     /** 鍒犻櫎鎸夐挳鎿嶄綔 */
     handleDelete(row) {
       const ids = row.id || this.ids;
-      this.$modal.confirm('鏄惁纭鍒犻櫎鐢熶骇鎵规缂栧彿涓�"' + ids + '"鐨勬暟鎹」锛�').then(() => {
+      this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(() => {
         this.loading = true;
         return delBatch(ids);
       }).then(() => {

--
Gitblit v1.9.1