|
@@ -49,7 +49,7 @@ $(document).ready(() => {
|
|
|
$('#bills').removeClass('first-bill-pane');
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+ console.log(auditList)
|
|
|
// 上传附件
|
|
|
$('#upload-file-btn').click(function () {
|
|
|
const files = $('#upload-file')[0].files;
|
|
@@ -74,6 +74,9 @@ $(document).ready(() => {
|
|
|
formData.append('size', filesize);
|
|
|
formData.append('file[]', file);
|
|
|
}
|
|
|
+ if (auditList.findIndex(item => item.uid === accountId) === -1) {
|
|
|
+ return toastr.error('暂无权限上传!')
|
|
|
+ }
|
|
|
postDataWithFile(window.location.pathname + '/file/upload', formData, function (data) {
|
|
|
$('#addfujian').modal('hide');
|
|
|
let html = '';
|