From e02d15e0547fbc9d485c39a8e10dcac0649c85ad Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Tue, 14 Jun 2022 14:19:32 +0800
Subject: [PATCH] 'lct'
---
src/views/systemManage/userManage/index.vue | 32 +++++++++++++++-----------------
1 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/src/views/systemManage/userManage/index.vue b/src/views/systemManage/userManage/index.vue
index 719e7d8..44c892c 100644
--- a/src/views/systemManage/userManage/index.vue
+++ b/src/views/systemManage/userManage/index.vue
@@ -1187,23 +1187,21 @@
formData.append('file', files[0])
}
formData.append('action', 'import')
- importUser(formData)
- .then((response) => {
- const res = response.data
- if (res.code == 200) {
- _this.importDialogFormVisible = false
- _this.$message({
- message: '导入成功',
- type: 'success'
- })
- _this.getUserList()
- } else {
- parseError({ error: res.message, vm: _this })
- }
- })
- .catch((error) => {
- parseError({ error: error, vm: _this })
- })
+ importUser(formData).then((response) => {
+ const res = response.data
+ if (res.code == 200) {
+ _this.importDialogFormVisible = false
+ _this.$message({
+ message: '导入成功',
+ type: 'success'
+ })
+ _this.getUserList()
+ } else {
+ parseError({ error: res.message, vm: _this })
+ }
+ }).catch((error) => {
+ parseError({ error: error, vm: _this })
+ })
},
getProvince(){
const _this = this
--
Gitblit v1.9.2