From 8be0a3efd0d15cf241c4e3c5910cd0d6f2f1f150 Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期四, 04 二月 2021 20:43:26 +0800
Subject: [PATCH] feat(信息录入): 实现了公用的取消功能
---
src/views/user/Informationinput.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/user/Informationinput.vue b/src/views/user/Informationinput.vue
index 1ffeff4..3e05c13 100644
--- a/src/views/user/Informationinput.vue
+++ b/src/views/user/Informationinput.vue
@@ -422,9 +422,8 @@
</el-table>
<el-col :span="24">
<div style="margin: 0px auto; width: 250px;margin-top: 20px;">
- <el-button class="nomalBtn">取消</el-button>
- <el-button class="nomalBtn">暂存</el-button>
- <el-button class="commonBtn">提交</el-button>
+ <el-button class="nomalBtn" @click="deleteFrom()">取消</el-button>
+ <el-button class="commonBtn" @click="submitTo()">提交</el-button>
</div>
</el-col>
</el-main>
@@ -2085,6 +2084,7 @@
}
],
isAdd: false,
+ queryParams: {},
depts: [],
deptTree: [],
physicalExamData: [],
@@ -2788,8 +2788,13 @@
break
}
},
+ deleteFrom() {
+ this.butDelete()
+ },
selectEmpBase() {
- this.$get('hr/empBaseInfo/list')
+ this.queryParams.delFlag = '2'
+ // eslint-disable-next-line no-undef
+ this.$get('hr/empBaseInfo/list', this.queryParams)
.then((r) => {
this.basicInformationData = r.data.data.rows
})
--
Gitblit v1.8.0