From 62f88dda95555a162f5a3c54cd5c522dd9920dcc Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期三, 13 九月 2023 16:32:14 +0800
Subject: [PATCH] 煤矿页面

---
 src/views/notCoalMine/nPlaceManage/nTrainManage/index.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/notCoalMine/nPlaceManage/nTrainManage/index.vue b/src/views/notCoalMine/nPlaceManage/nTrainManage/index.vue
index a5e4f1d..0c9ca7b 100644
--- a/src/views/notCoalMine/nPlaceManage/nTrainManage/index.vue
+++ b/src/views/notCoalMine/nPlaceManage/nTrainManage/index.vue
@@ -7,7 +7,7 @@
           plain
           icon="el-icon-refresh"
           size="mini"
-          @click="handleAdd"
+          @click="handleAdd('add')"
           v-hasPermi="['system:experts:add']"
         >新增</el-button>
       </el-col>
@@ -47,14 +47,16 @@
       :limit.sync="queryParams.pageSize"
       @pagination="getList"
     />
+    <add-dialog ref="addDialogRef" @getList = "getList"></add-dialog>
   </div>
 </template>
 
 <script>
+import addDialog from "@/views/notCoalMine/nPlaceManage/nTrainManage/components/addDialog.vue";
 export default {
   name: "nPeopleManage",
   dicts: [],
-  components: {},
+  components: { addDialog },
   data() {
     return {
       loading: false,
@@ -91,8 +93,8 @@
     resetQuery(){
 
     },
-    handleAdd(){
-
+    handleAdd(type, data){
+      this.$refs.addDialogRef.openDialog(type, data);
     }
   }
 };

--
Gitblit v1.9.2