瀏覽代碼

按钮固定底部

柳香萍 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
           <el-button round @click="deleteRecordAction">删除监测</el-button>
8
           <el-button round @click="deleteRecordAction">删除监测</el-button>
9
 
9
 
10
         </div>
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
                   @current-change="tableCurrentRowChange" style="width: 100%" :class="current_row_class">
12
                   @current-change="tableCurrentRowChange" style="width: 100%" :class="current_row_class">
13
           <el-table-column label="时间" align="center" width="144">
13
           <el-table-column label="时间" align="center" width="144">
14
             <template slot-scope="scope">
14
             <template slot-scope="scope">
241
           </el-row>
241
           </el-row>
242
         </el-form>
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
               <el-button @click="cancelEditAction">取 消</el-button>
245
               <el-button @click="cancelEditAction">取 消</el-button>
248
               <el-button type="primary" @click="submitAction">保 存</el-button>
246
               <el-button type="primary" @click="submitAction">保 存</el-button>
249
-            </div>
250
-          </el-col>
251
-        </el-row>
247
+        </div>
252
       </div>
248
       </div>
253
     </el-dialog>
249
     </el-dialog>
254
   </div>
250
   </div>