From 1ad7f1f7f9171da36f7037a7ad0d4b105270f799 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期一, 25 三月 2024 16:00:29 +0800
Subject: [PATCH] 添加提示

---
 Albania_Mes-ui/src/views/home/index.vue |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/Albania_Mes-ui/src/views/home/index.vue b/Albania_Mes-ui/src/views/home/index.vue
index a992f95..6704a34 100644
--- a/Albania_Mes-ui/src/views/home/index.vue
+++ b/Albania_Mes-ui/src/views/home/index.vue
@@ -89,7 +89,7 @@
     background-attachment: local;
     width: 1200px;
     position: absolute;
-    background-image: url(/img/car.c2f92670.png);
+    background-image: url('../../img/car.png');
     background-size: 800px 1200px;
 }
 
@@ -346,14 +346,14 @@
             </div>
             <div style="display: flex;align-items: center;overflow: hidden;">
                 <div class="blocks" style="position: relative;width: 100%;">
-                    <div class="blocks-img" :style="'z-index:99;left:150px;top:555px;'">
+                    <div class="blocks-img" :style="'z-index:999;left:150px;top:555px;'">
 
                     </div>
                     <div
                         :style="'position: absolute;z-index:99;left:271px;top:987px;width:210px;height:38px;background-color:' + ShowDeviceList(0) + ';'">
                     </div>
                     <div
-                        :style="'position: absolute;z-index:99;left:553px;top:956px;width:110px;height:74px;background-color:' + ShowDeviceList(0) + ';'">
+                        :style="'position: absolute;z-index:1000;left:553px;top:956px;width:110px;height:74px;background-color:' + ShowDeviceList(0) + ';'">
                     </div>
                     <div
                         :style="'position: absolute;z-index:99;left:800px;top:450px;width:115px;height:30px;background-color:' + ShowDeviceList(0) + ';'">
@@ -361,7 +361,7 @@
                     <div
                         :style="'position: absolute;z-index:99;left:800px;top:675px;width:115px;height:30px;background-color:' + ShowDeviceList(0) + ';'">
                     </div>
-                    <div :style="'position: absolute;z-index:1000;left:740px;top:507px;width:230px;height:114px;'">
+                    <div :style="'position: absolute;z-index:99;left:740px;top:507px;width:230px;height:114px;'">
                         <div v-for="item in cagelist4" :key="item['id']"
                             :style="'display:flex;height:4.55px;position: relative;'">
                             <div class="cells" v-for="(num) in item['number']" :key="num" :style="'width: ' + (item['glassWidth'] * 0.046) + 'px;background-color:' + ShowCellList(1) + ';position: absolute;left:' +
@@ -369,7 +369,7 @@
                             </div>
                         </div>
                     </div>
-                    <div :style="'position: absolute;z-index:1000;left:740px;top:730px;width:230px;height:90px;'">
+                    <div :style="'position: absolute;z-index:100;left:740px;top:730px;width:230px;height:90px;'">
                         <div v-for="item in cagelist3" :key="item['id']"
                             :style="'display:flex;height:2.25px;position: relative;'">
                             <div class="cells" v-for="(num) in item['number']" :key="num" :style="'width: ' + (item['glassWidth'] * 0.046) + 'px;background-color:' + ShowCellList(1) + ';position: absolute;left:' +
@@ -377,7 +377,7 @@
                             </div>
                         </div>
                     </div>
-                    <div :style="'position: absolute;z-index:1000;left:740px;top:830px;width:230px;height:90px;'">
+                    <div :style="'position: absolute;z-index:100;left:740px;top:830px;width:230px;height:90px;'">
                         <div v-for="item in cagelist2" :key="item['id']"
                             :style="'display:flex;height:2.25px;position: relative;'">
                             <div class="cells" v-for="(num) in item['number']" :key="num" :style="'width: ' + (item['glassWidth'] * 0.046) + 'px;background-color:' + ShowCellList(1) + ';position: absolute;left:' +
@@ -385,7 +385,7 @@
                             </div>
                         </div>
                     </div>
-                    <div :style="'position: absolute;z-index:1000;left:740px;top:930px;width:230px;height:90px;'">
+                    <div :style="'position: absolute;z-index:100;left:740px;top:930px;width:230px;height:90px;'">
                         <div v-for="item in cagelist1" :key="item['id']"
                             :style="'display:flex;height:2.25px;position: relative;'">
                             <div class="cells" v-for="(num) in item['number']" :key="num" :style="'width: ' + (item['glassWidth'] * 0.046) + 'px;background-color:' + ShowCellList(1) + ';position: absolute;left:' +
@@ -1099,13 +1099,10 @@
 
         },
         importData() {
-            alert(1);
-            //let tbdata=JSON.stringify(this.dataList);
             let tbdata=this.dataList;
-            console.log(tbdata);
             importData(tbdata).then(res => {
                 if (res.data.message == 200) {
-                    //this.$message.success(this.$t('Operation successful'));
+                    this.$message.success(this.$t('Operation successful'));
                 }
             });
         },

--
Gitblit v1.8.0