瀏覽代碼

按钮固定底部

柳香萍 6 年之前
父節點
當前提交
8966a028d1
共有 1 個文件被更改,包括 3 次插入7 次删除
  1. 3 7
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue

+ 3 - 7
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

@@ -8,7 +8,7 @@
8 8
           <el-button round @click="deleteRecordAction">删除监测</el-button>
9 9
 
10 10
         </div>
11
-        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" :data="monitors" border highlight-current-row max-height="300"
11
+        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="table" :data="monitors" border highlight-current-row 
12 12
                   @current-change="tableCurrentRowChange" style="width: 100%" :class="current_row_class">
13 13
           <el-table-column label="时间" align="center" width="144">
14 14
             <template slot-scope="scope">
@@ -241,14 +241,10 @@
241 241
           </el-row>
242 242
         </el-form>
243 243
 
244
-        <el-row>
245
-          <el-col :span="24">
246
-            <div style="text-align: right;">
244
+        <div slot="footer" class="dialog-footer">
247 245
               <el-button @click="cancelEditAction">取 消</el-button>
248 246
               <el-button type="primary" @click="submitAction">保 存</el-button>
249
-            </div>
250
-          </el-col>
251
-        </el-row>
247
+        </div>
252 248
       </div>
253 249
     </el-dialog>
254 250
   </div>