From 8487e764bc98a5d1d30955363e363af572125aa5 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期三, 18 五月 2022 09:32:27 +0800
Subject: [PATCH] Merge branch 'shf' of https://sinanoaq.cn:8888/r/ztqt into shf

---
 src/views/safetyHazardAccount/hazardSource.vue |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/views/safetyHazardAccount/hazardSource.vue b/src/views/safetyHazardAccount/hazardSource.vue
index 938d364..ede87f1 100644
--- a/src/views/safetyHazardAccount/hazardSource.vue
+++ b/src/views/safetyHazardAccount/hazardSource.vue
@@ -11,7 +11,6 @@
                 @node-drag-over="handleDragOver"
                 @node-drag-end="handleDragEnd"
                 @node-drop="handleDrop"
-                draggable
                 :allow-drop="allowDrop"
                 :allow-drag="allowDrag">
                  <span slot-scope="{ node, data }" class="slot-t-node">
@@ -97,6 +96,17 @@
                     label="责任人">
                 </el-table-column>
             </el-table>
+            <div style="text-align:right">
+                <el-pagination
+                    @size-change="handleSizeChange"
+                    @current-change="handleCurrentChange"
+                    :current-page="currentPage4"
+                    :page-sizes="[100, 200, 300, 400]"
+                    :page-size="100"
+                    layout="total, sizes, prev, pager, next, jumper"
+                    :total="400">
+                </el-pagination>
+            </div>
         </div>
     </div>
 </template>
@@ -153,7 +163,8 @@
                 name: '王小虎',
                 address: '上海市普陀区金沙江路 1516 弄'
             }],
-            multipleSelection: []
+            multipleSelection: [],
+            currentPage4: 4
         };
     },
     mounted(){
@@ -200,6 +211,13 @@
         },
         handleSelectionChange(val) {
             this.multipleSelection = val;
+        },
+        // 页码
+        handleSizeChange(val) {
+            console.log(`每页 ${val} 条`);
+        },
+        handleCurrentChange(val) {
+            console.log(`当前页: ${val}`);
         }
     }
 }
@@ -240,6 +258,9 @@
     flex-direction: row;
     align-items: center;
     justify-content: start;
+    background: #FFFFFF;
+    padding: 15px 10px 0px 10px;
+    margin-bottom: 20px;
 }
 .btn{
     background: url(../../assets/btn.gif) no-repeat;

--
Gitblit v1.9.2