From e28e9395819fd992bc3e168b6ff89fb6f538f1bc Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期一, 23 五月 2022 15:25:34 +0800
Subject: [PATCH] 提交代码

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

diff --git a/src/views/device/batch/index.vue b/src/views/device/batch/index.vue
index 0bde533..90b3f83 100644
--- a/src/views/device/batch/index.vue
+++ b/src/views/device/batch/index.vue
@@ -86,8 +86,8 @@
           <span>{{ parseTime(scope.row.arrivalDate, '{y}-{m}-{d}') }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="鎵规璇存槑" align="center" prop="illustrate" />
-      <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="鎵规璇存槑" align="center" prop="illustrate" show-overflow-tooltip />
+      <el-table-column label="鎿嶄綔" fixed="right" width="120" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button
             size="mini"
@@ -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>
+    <Dialog :title="title" :visible.sync="open" width="500px" :append-to-body="true" :close-on-click-modal="false">
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="鐢熶骇鎵规" prop="batch">
           <el-input v-model="form.batch" placeholder="璇疯緭鍏ョ敓浜ф壒娆�" />
@@ -145,7 +146,7 @@
         <el-button :loading="buttonLoading" type="primary" @click="submitForm">纭� 瀹�</el-button>
         <el-button @click="cancel">鍙� 娑�</el-button>
       </div>
-    </el-dialog>
+    </Dialog>
   </div>
 </template>
 
@@ -301,7 +302,7 @@
     /** 鍒犻櫎鎸夐挳鎿嶄綔 */
     handleDelete(row) {
       const ids = row.id || this.ids;
-      this.$modal.confirm('鏄惁纭鍒犻櫎鐢熶骇鎵规缂栧彿涓�"' + ids + '"鐨勬暟鎹」锛�').then(() => {
+      this.$modal.confirm(`鏄惁纭鍒犻櫎鐢熶骇鎵规涓�"${row.batch}"鐨勭敓浜ф壒娆★紵`).then(() => {
         this.loading = true;
         return delBatch(ids);
       }).then(() => {

--
Gitblit v1.9.1