Przeglądaj źródła

加载协审人签名

MaiXinRong 2 lat temu
rodzic
commit
4190878be5
1 zmienionych plików z 7 dodań i 2 usunięć
  1. 7 2
      app/lib/rpt_data_analysis.js

+ 7 - 2
app/lib/rpt_data_analysis.js

@@ -1524,8 +1524,13 @@ const loadCooperationData = {
 
     },
     _completeSign(auditor) {
-        if (!auditor || !auditor.end_time) return '';
-        return auditor.sign_path ? 'public/upload/sign/' + auditor.sign_path : '';
+        if (!auditor) return '';
+        if (auditor.ass_user_id) {
+            return auditor.sign_path ? 'public/upload/sign/' + auditor.sign_path : '';
+        } else {
+            if (!auditor.end_time) return '';
+            return auditor.sign_path ? 'public/upload/sign/' + auditor.sign_path : '';
+        }
     },
     _loadImCooperationData(ctx, data, options, csRela) {
         let coSignOrder = [];