From bb15f1e84d94e57f2be48c343c688f820a046a02 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Thu, 4 Mar 2021 17:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=AF=BC=E5=85=A5=E5=8A=9F?= =?UTF-8?q?=E8=83=BDbug=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../route/floatingpopulation/list-floatingpopulation.html | 4 ++-- .../resources/static/route/homeperson/list-homeperson.html | 4 ++-- .../static/route/keyteenagers/list-keyteenagers.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/static/route/floatingpopulation/list-floatingpopulation.html b/src/main/resources/static/route/floatingpopulation/list-floatingpopulation.html index 69dea21..5d997a3 100644 --- a/src/main/resources/static/route/floatingpopulation/list-floatingpopulation.html +++ b/src/main/resources/static/route/floatingpopulation/list-floatingpopulation.html @@ -75,7 +75,7 @@ var uploadLoading; layui.upload.render({ elem: '#importExcel' - ,url: 'api/overseaspersonnel/importexcel' + ,url: 'api/floatingpopulation/importexcel' ,accept: 'file' ,exts: 'xls|xlsx' ,before: function() { @@ -85,7 +85,7 @@ layer.close(uploadLoading); if(data.data != 'success') { layer.msg('导入成功,存在' + data.data + '条失败数据', {time: 2000}, function() { - window.open(top.restAjax.path('api/overseaspersonnel/exportexcel', [])); + window.open(top.restAjax.path('api/floatingpopulation/exportexcel', [])); }); } else { layer.msg('导入成功', {time: 2000}, function() { diff --git a/src/main/resources/static/route/homeperson/list-homeperson.html b/src/main/resources/static/route/homeperson/list-homeperson.html index a280be6..da7bfb6 100644 --- a/src/main/resources/static/route/homeperson/list-homeperson.html +++ b/src/main/resources/static/route/homeperson/list-homeperson.html @@ -75,7 +75,7 @@ var uploadLoading; layui.upload.render({ elem: '#importExcel' - ,url: 'api/overseaspersonnel/importexcel' + ,url: 'api/homeperson/importexcel' ,accept: 'file' ,exts: 'xls|xlsx' ,before: function() { @@ -85,7 +85,7 @@ layer.close(uploadLoading); if(data.data != 'success') { layer.msg('导入成功,存在' + data.data + '条失败数据', {time: 2000}, function() { - window.open(top.restAjax.path('api/overseaspersonnel/exportexcel', [])); + window.open(top.restAjax.path('api/homeperson/exportexcel', [])); }); } else { layer.msg('导入成功', {time: 2000}, function() { diff --git a/src/main/resources/static/route/keyteenagers/list-keyteenagers.html b/src/main/resources/static/route/keyteenagers/list-keyteenagers.html index 7a74d50..74d23d4 100644 --- a/src/main/resources/static/route/keyteenagers/list-keyteenagers.html +++ b/src/main/resources/static/route/keyteenagers/list-keyteenagers.html @@ -75,7 +75,7 @@ var uploadLoading; layui.upload.render({ elem: '#importExcel' - ,url: 'api/overseaspersonnel/importexcel' + ,url: 'api/keyteenagers/importexcel' ,accept: 'file' ,exts: 'xls|xlsx' ,before: function() { @@ -85,7 +85,7 @@ layer.close(uploadLoading); if(data.data != 'success') { layer.msg('导入成功,存在' + data.data + '条失败数据', {time: 2000}, function() { - window.open(top.restAjax.path('api/overseaspersonnel/exportexcel', [])); + window.open(top.restAjax.path('api/keyteenagers/exportexcel', [])); }); } else { layer.msg('导入成功', {time: 2000}, function() {