From 157156faf1e336b19c6686809221f77e40f49d79 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Fri, 23 May 2025 16:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../passwordBook/personnelPasswordBook.html | 59 +++++++++---------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html b/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html index 299711e..c848724 100644 --- a/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html +++ b/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html @@ -123,39 +123,38 @@ layer.msg('请求失败') } }) - - - // 获取上传的文件 - function getUploadFile() { - $.ajax({ - url: ctxPath + '/upload/getFile', - type: 'GET', - success: function (res) { - console.log(res, 'res文件列表') - - if (res.obj && res.obj.length > 0) { - res.obj.forEach(item => { - $('.password-book-list').append( - '
' + - '' + item.fileName + '' + - '删除' + - '
' - ) - }) - } - } - }) - } - - // 删除文件 - function deleteFile(this) { - console.log(this, 'this') - } - - getUploadFile() }) }); + // 获取上传的文件 + function getUploadFile() { + $.ajax({ + url: ctxPath + '/upload/getFile', + type: 'GET', + success: function (res) { + console.log(res, 'res文件列表') + + if (res.obj && res.obj.length > 0) { + res.obj.forEach(item => { + $('.password-book-list').append( + '
' + + '' + item.fileName + '' + + '删除' + + '
' + ) + }) + } + } + }) + } + + // 删除文件 + function deleteFile(this) { + console.log(this, 'this') + } + + getUploadFile() +