Parcourir la source

document_.py更新

lfygithub01 il y a 1 an
Parent
commit
a20f9fbbfe
1 fichiers modifiés avec 3 ajouts et 5 suppressions
  1. 3 5
      document_.py

+ 3 - 5
document_.py

@@ -108,8 +108,6 @@ class DocumentPreReview():
                 if not scrutinize_page: scrutinize_page = table_page_num+1
 
             ''' scrutinize '''
-            if page_number[0] == 35:
-                print()
             if (scrutinize_page == page_number[0] and scrutinize_Initial_position_marker) or scrutinize_page == page_number[0]:
                 regulation_number_index,evaluation_factor_index,evaluation_criteria_index,weights_index = 0,0,0,0
                 for table in tables:
@@ -135,7 +133,7 @@ class DocumentPreReview():
                                         "评分标准":evaluation_criteria.strip().replace("\n",""),
                                         "权重":weights.strip().replace("\n","")}
                         scrutinize_dict[tag_sign].append(value)
-                        if '报价' in tag_sign and '评审标准' in tag_sign:
+                        if '报价' in tag_sign and '标准' in tag_sign:
                             scrutinize_dict = {key: value for key, value in scrutinize_dict.items() if value}
                             break
             elif scrutinize_page+1 == page_number[0] and title_len == 5  and '报价' not in tag_sign:
@@ -159,7 +157,7 @@ class DocumentPreReview():
                                     "评分标准":evaluation_criteria.strip().replace("\n",""),
                                     "权重":weights.strip().replace("\n","")}
                     scrutinize_dict[tag_sign].append(value)
-                    if '报价' in tag_sign and '评审标准' in tag_sign:
+                    if '报价' in tag_sign and '标准' in tag_sign:
                         scrutinize_dict = {key: value for key, value in scrutinize_dict.items() if value}
                         scrutinize_Initial_position_marker = 0
                         break
@@ -183,7 +181,7 @@ class DocumentPreReview():
                     except:
                         print()
                     scrutinize_dict[tag_sign].append(value)
-                    if '报价' in tag_sign and '评审标准' in tag_sign:
+                    if '报价' in tag_sign and '标准' in tag_sign:
                         scrutinize_dict = {key: value for key, value in scrutinize_dict.items() if value}
                         break