Browse Source

奖罚金,附件调整

MaiXinRong 4 năm trước cách đây
mục cha
commit
e57b73b93b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/public/js/se_bonus.js

+ 1 - 1
app/public/js/se_bonus.js

@@ -155,7 +155,7 @@ $(document).ready(() => {
                     // 下载
                     html.push('<a href="download/file?b_id=' + id + '&index=' + i + '" title="下载"><i class="fa fa-download "></i></a>');
                     // 删除
-                    if (f.uid === userID && (!stageChecked || f.renew)) {
+                    if (f.uid === userID && ((!isPre(data) && !stageChecked) || f.renew)) {
                         html.push('<a class="delete-att text-danger ml-1" href="javascript:void(0);" data-id ="' + id + '"file-index="' + i + '" title="删除"><i class="fa fa-remove "></i></a>');
                     }
                     html.push('</td>');