diff --git a/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html b/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html index 2eb4e6d..42da1eb 100644 --- a/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html +++ b/src/main/resources/static/pages/evaluate/passwordBook/personnelPasswordBook.html @@ -132,9 +132,27 @@ 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() });