فهرست منبع

默认显示带签名报表先

laiguoran 3 سال پیش
والد
کامیت
45cf963a96
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      app/public/report/js/rpt_archive.js

+ 9 - 0
app/public/report/js/rpt_archive.js

@@ -112,6 +112,15 @@ let rptArchiveObj = {
                         me.currentArchiveUuid = aItem.items[aItem.items.length - 1].uuid;
                         // me.currentArchiveDateStr = aItem.items[0].updateDate_time;
                         me.currentArchiveDateStr = '#' + (aItem.items.length) + ' ' + aItem.items[aItem.items.length - 1].updateDate_time;
+                        if (can_netcasign) {
+                            for (const [i,item] of aItem.items.entries()) {
+                                if (_.find(signLogList, { uuid: item.uuid })) {
+                                    me.currentArchiveUuid = item.uuid;
+                                    me.currentArchiveDateStr = '#' + (i+1) + ' ' + item.updateDate_time;
+                                    break;
+                                }
+                            }
+                        }
                     }
                     break;
                 }