|
@@ -13,6 +13,7 @@
|
|
|
<span class="bold mr-20">文件上传</span>
|
|
<span class="bold mr-20">文件上传</span>
|
|
|
<div>
|
|
<div>
|
|
|
<uploads ref='upload' max="9" btn-text="点击进行文件上传" @before="before" @success="upload"
|
|
<uploads ref='upload' max="9" btn-text="点击进行文件上传" @before="before" @success="upload"
|
|
|
|
|
+ @error='loading = false'
|
|
|
:loading='loading'
|
|
:loading='loading'
|
|
|
:data='dept'
|
|
:data='dept'
|
|
|
action='/api/wutong-parse-file/import-excel/v1/parse-excel'
|
|
action='/api/wutong-parse-file/import-excel/v1/parse-excel'
|
|
@@ -147,6 +148,8 @@ export default {
|
|
|
this.showExport = false
|
|
this.showExport = false
|
|
|
this.showImport = false
|
|
this.showImport = false
|
|
|
this.loading = false
|
|
this.loading = false
|
|
|
|
|
+ this.deptName = ''
|
|
|
|
|
+ this.attaches = []
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
immediate: true
|
|
immediate: true
|
|
@@ -195,6 +198,7 @@ export default {
|
|
|
this.$message.success('操作成功')
|
|
this.$message.success('操作成功')
|
|
|
this.showImport = false
|
|
this.showImport = false
|
|
|
this.loading = false
|
|
this.loading = false
|
|
|
|
|
+ this.deptName = ''
|
|
|
this.close()
|
|
this.close()
|
|
|
},
|
|
},
|
|
|
before (files) {
|
|
before (files) {
|