Procházet zdrojové kódy

设备管理-前端页面

Zhouzhendong před 4 roky
rodič
revize
53307dc676

+ 7 - 3
resources/views/equipment/_location.blade.php

@@ -5,12 +5,16 @@
                 <h1 class="offset-5">A-1025-01</h1>
                 <button type="button" class="close" data-dismiss="modal">&times;</button>
             </div>
-            <div class="modal-body">
+            <div class="modal-body p-0">
                 <div class="text-center h1" v-if="isLoadLocation">
                     <i class="fa fa-spinner fa-pulse"></i>
                 </div>
-                <table v-else class="table">
-
+                <table class="table table-bordered w-100 m-0" v-else>
+                    <tr v-for="row in 5">
+                        <td v-for="column in 5" class="p-0">
+                            @{{ ((row-1)*5)+column }}
+                        </td>
+                    </tr>
                 </table>
             </div>
             <div class="modal-footer">

+ 3 - 0
resources/views/equipment/index.blade.php

@@ -377,6 +377,9 @@
                 this.isLoadLocation = true;
                 setTimeout(()=>{
                     this.isLoadLocation = false;
+                    setTimeout(()=>{
+                        childDom.children[1].firstChild.style.height = parentDom.children[1].offsetHeight+'px';
+                    },10);
                 },2000);
                 //开启隐去现DIV动画,加载新DIV,加载数据
                 //请求加载