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() {