From 210c1a72ab1d52e1386af3e3fcd6d01203961221 Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Tue, 9 Nov 2021 14:35:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BA=BA=E5=91=98=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npm-shrinkwrap.json => package-lock.json | 0 src/views/modules/base/resi.vue | 72 +++++++++++++++++++++--- 2 files changed, 65 insertions(+), 7 deletions(-) rename npm-shrinkwrap.json => package-lock.json (100%) diff --git a/npm-shrinkwrap.json b/package-lock.json similarity index 100% rename from npm-shrinkwrap.json rename to package-lock.json diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 9f7f2af0..5a62eecc 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -8,14 +8,24 @@ />
- 新增 - 导出 + 新增 + 导出 - + + 导入人口数据 + +
{ + if(res.code === 0) { + // this.$refs.upload.submit() + // file.onSuccess() + console.log('res-ooooo---', res) + } + }) + .catch( err => { + console.log('失败', err) + param.onError() //上传失败的文件会从文件列表中删除 + }) + }, handleClick(tab, event) { console.log(tab, event) }, @@ -796,7 +850,11 @@ export default { margin-top: 20px; } .resi-row-btn { + display: flex; margin-bottom: 13px; + .el-button { + margin-left: 10px; + } } .resi-other { width: 100%;