GuoYuFu123 5 years ago
parent
commit
e893bdf7f8

+ 8 - 10
src/components/ledger/handsontables/assets.vue

@@ -78,16 +78,14 @@
       v-show="!mess.deviceId && (!main || !main.length)"
       style="width:100%;text-align:center;font-size:30px;color:gray;"
     >请选择设备族</div> -->
-    <div style="height: 91%" class="middle_sty">
-            <div class="center" v-show="!mess.deviceId && (!main || !main.length)">
-        <i class="iconwushuju iconfont"></i>
-        请选择设备族
-    </div>
-    <div class="center" v-show="mess.deviceId && (!main || !main.length)">
-        <i class="iconwushuju iconfont"></i>
-        暂无数据
-    </div>
-    </div>
+            <div class="center middle_sty" style="height: 91%" v-show="!mess.deviceId && (!main || !main.length)">
+                <i class="iconwushuju iconfont"></i>
+                请选择设备族
+            </div>
+            <div class="center middle_sty" style="height: 91%" v-show="mess.deviceId && (!main || !main.length)">
+                <i class="iconwushuju iconfont"></i>
+                暂无数据
+            </div>
     <div v-show="mess.deviceId && main && main.length" v-loading="loading" id="handsontable" ref="handsontable"></div>
     <div v-show="main && main.length" class='right'>
         <my-pagination @change="getMain" :page="page"></my-pagination>

+ 2 - 4
src/components/ledger/handsontables/device.vue

@@ -78,17 +78,15 @@
       :keysArr="picsArr"
       @change="changePics"
     ></pic-dialog>
-    <div style="height: 91%" class="middle_sty" >
-            <div class="center" v-show="!mess.deviceId && (!main || !main.length)">
+            <div class="center middle_sty" style="height: 91%" v-show="!mess.deviceId && (!main || !main.length)">
                 <i class="iconwushuju iconfont"></i>
                 请选择设备族
             </div> 
             
-            <div class="center" v-show="mess.deviceId && (!main || !main.length)">
+            <div class="center middle_sty" style="height: 91%" v-show="mess.deviceId && (!main || !main.length)">
                 <i class="iconwushuju iconfont"></i>
                 暂无数据
         </div>
-    </div>
 
     
     <system-type :infos="systemId" :graphyId="graphyId" :dialog="dialog"></system-type>

+ 2 - 4
src/components/ledger/handsontables/system.vue

@@ -58,16 +58,14 @@
       v-show="!mess.deviceId && (!main || !main.length)"
       style="width:100%;text-align:center;font-size:30px;color:gray;"
     >请选择系统类型</div> -->
-    <div  style="height: 91%" class="middle_sty">
-        <div class="center" v-show="!mess.deviceId && (!main || !main.length)">
+        <div class="center middle_sty" style="height: 91%" v-show="!mess.deviceId && (!main || !main.length)">
             <i class="iconwushuju iconfont"></i>
             请选择系统类型
         </div>
-        <div class="center" v-show="mess.deviceId && (!main || !main.length)">
+        <div class="center middle_sty" style="height: 91%" v-show="mess.deviceId && (!main || !main.length)">
             <i class="iconwushuju iconfont"></i>
             暂无数据
         </div>
-    </div>
     
     <div v-show="mess.deviceId && main && main.length" v-loading="loading" id="handsontable" ref="handsontable"></div>
     <div v-show="mess.deviceId && main && main.length" class="right">