|
@@ -205,6 +205,7 @@
|
|
|
:action="BASE_API+'/customer/batch'"
|
|
|
:on-preview="handlePreview"
|
|
|
:on-change="handleChange"
|
|
|
+ name="multipartFile"
|
|
|
:on-remove="handleRemove"
|
|
|
:before-remove="beforeRemove"
|
|
|
:on-exceed="handleExceed"
|
|
@@ -397,6 +398,7 @@
|
|
|
<script>
|
|
|
import { Listarea } from '@/api/dataForm'
|
|
|
import { customerList, addCustomer, editCustomer, deleteCustomer,userRoles,apiFile } from '@/api/record'
|
|
|
+import { Notification, MessageBox } from 'element-ui'
|
|
|
import { parseTime } from '@/utils/index'
|
|
|
import { getUserInfo,vailUserName } from '@/api/user'
|
|
|
|
|
@@ -547,6 +549,13 @@ export default {
|
|
|
console.log(file.response, 'file')
|
|
|
if (file.response.code == '200') {
|
|
|
// this.form.appendix = file.response.data
|
|
|
+ Notification({
|
|
|
+ title: '成功',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ this.fileList = []
|
|
|
+ this.batchVisible = false
|
|
|
+ this.getTenantList()
|
|
|
} else {
|
|
|
Notification.error({
|
|
|
title: file.response.msg,
|