From e45a476601c828481dcade287351f2e11a2da0e0 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 26 Sep 2023 16:50:44 +0800
Subject: [PATCH] 修改
---
src/views/notCoalMine/nPlaceManage/nExamManage/index.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/notCoalMine/nPlaceManage/nExamManage/index.vue b/src/views/notCoalMine/nPlaceManage/nExamManage/index.vue
index 316e7ab..9df966b 100644
--- a/src/views/notCoalMine/nPlaceManage/nExamManage/index.vue
+++ b/src/views/notCoalMine/nPlaceManage/nExamManage/index.vue
@@ -5,9 +5,9 @@
<el-button
type="primary"
plain
- icon="el-icon-refresh"
+ icon="el-icon-plus"
size="mini"
- @click="handleAdd"
+ @click="handleAdd('add')"
v-hasPermi="['system:experts:add']"
>新增</el-button>
</el-col>
@@ -48,14 +48,16 @@
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
+ <add-dialog ref="addDialogRef" @getList = "getList"></add-dialog>
</div>
</template>
<script>
+import addDialog from "@/views/notCoalMine/nPlaceManage/nExamManage/components/addDialog.vue";
export default {
name: "nPeopleManage",
dicts: [],
- components: {},
+ components: {addDialog},
data() {
return {
loading: false,
@@ -92,8 +94,8 @@
resetQuery(){
},
- handleAdd(){
-
+ handleAdd(type, data){
+ this.$refs.addDialogRef.openDialog(type, data);
}
}
};
--
Gitblit v1.9.2