fix(review): 修改确认状态和标签为入库相关描述
Showing
1 changed file
with
7 additions
and
7 deletions
| ... | @@ -1037,8 +1037,8 @@ | ... | @@ -1037,8 +1037,8 @@ |
| 1037 | metric('待审核', row.pending_review_count || '0'), | 1037 | metric('待审核', row.pending_review_count || '0'), |
| 1038 | metric('已审核', row.reviewed_count || '0'), | 1038 | metric('已审核', row.reviewed_count || '0'), |
| 1039 | metric('已提交', row.submitted_count || '0'), | 1039 | metric('已提交', row.submitted_count || '0'), |
| 1040 | metric('确认不重复', row.approved_count || '0'), | 1040 | metric('确认入库', row.approved_count || '0'), |
| 1041 | metric('确认重复', row.rejected_count || '0'), | 1041 | metric('确认不入库', row.rejected_count || '0'), |
| 1042 | metric('已删除', row.deleted_count || '0'), | 1042 | metric('已删除', row.deleted_count || '0'), |
| 1043 | metric('new', row.new_count || '-'), | 1043 | metric('new', row.new_count || '-'), |
| 1044 | metric('merge', row.duplicate_count || '0'), | 1044 | metric('merge', row.duplicate_count || '0'), |
| ... | @@ -1172,8 +1172,8 @@ | ... | @@ -1172,8 +1172,8 @@ |
| 1172 | } | 1172 | } |
| 1173 | 1173 | ||
| 1174 | const _DB_REVIEW_LABELS = { | 1174 | const _DB_REVIEW_LABELS = { |
| 1175 | approved_import: '确认不重复(待入库)', | 1175 | approved_import: '确认入库(待入库)', |
| 1176 | rejected_duplicate: '确认重复', | 1176 | rejected_duplicate: '确认不入库', |
| 1177 | unsure: '待确认', | 1177 | unsure: '待确认', |
| 1178 | deleted: '已删除', | 1178 | deleted: '已删除', |
| 1179 | }; | 1179 | }; |
| ... | @@ -1325,7 +1325,7 @@ | ... | @@ -1325,7 +1325,7 @@ |
| 1325 | <div class="review-bar" style="align-items:center"> | 1325 | <div class="review-bar" style="align-items:center"> |
| 1326 | <span style="flex:1"> | 1326 | <span style="flex:1"> |
| 1327 | <b>${esc(query.review_status === 'approved_import' && query.staging_status === 'imported' | 1327 | <b>${esc(query.review_status === 'approved_import' && query.staging_status === 'imported' |
| 1328 | ? '确认不重复(已提交)' | 1328 | ? '确认入库(已提交)' |
| 1329 | : (_DB_REVIEW_LABELS[query.review_status] || query.review_status))}</b> | 1329 | : (_DB_REVIEW_LABELS[query.review_status] || query.review_status))}</b> |
| 1330 | ${query.reviewed_by ? ` · 审核人 ${esc(query.reviewed_by)}` : ''} | 1330 | ${query.reviewed_by ? ` · 审核人 ${esc(query.reviewed_by)}` : ''} |
| 1331 | ${query.reviewed_at ? ` · ${esc(query.reviewed_at)}` : ''} | 1331 | ${query.reviewed_at ? ` · ${esc(query.reviewed_at)}` : ''} |
| ... | @@ -1337,7 +1337,7 @@ | ... | @@ -1337,7 +1337,7 @@ |
| 1337 | <div class="review-bar"> | 1337 | <div class="review-bar"> |
| 1338 | ${['duplicate', 'not_duplicate', 'unsure'].map(value => ` | 1338 | ${['duplicate', 'not_duplicate', 'unsure'].map(value => ` |
| 1339 | <button class="review-choice ${selectedReview.final_decision === value ? 'active' : ''}" data-review="${value}"> | 1339 | <button class="review-choice ${selectedReview.final_decision === value ? 'active' : ''}" data-review="${value}"> |
| 1340 | ${value === 'duplicate' ? '确认重复' : value === 'not_duplicate' ? '确认不重复' : '待确认'} | 1340 | ${value === 'duplicate' ? '确认不入库' : value === 'not_duplicate' ? '确认入库' : '待确认'} |
| 1341 | </button>`).join('')} | 1341 | </button>`).join('')} |
| 1342 | <input id="reviewNote" value="${esc(selectedReview.note || '')}" placeholder="人工备注"> | 1342 | <input id="reviewNote" value="${esc(selectedReview.note || '')}" placeholder="人工备注"> |
| 1343 | <button id="deleteReviewBtn" class="secondary" style="color:#c0392b;border-color:#c0392b">删除</button> | 1343 | <button id="deleteReviewBtn" class="secondary" style="color:#c0392b;border-color:#c0392b">删除</button> |
| ... | @@ -1508,7 +1508,7 @@ | ... | @@ -1508,7 +1508,7 @@ |
| 1508 | alert('历史报表仅供查看,请在 staging-db 中执行入库。'); | 1508 | alert('历史报表仅供查看,请在 staging-db 中执行入库。'); |
| 1509 | return; | 1509 | return; |
| 1510 | } | 1510 | } |
| 1511 | if (!confirm('确认入库数据库中所有“确认不重复(待入库)”样本?')) return; | 1511 | if (!confirm('确认入库数据库中所有"确认入库(待入库)"样本?')) return; |
| 1512 | els.importReviewedBtn.disabled = true; | 1512 | els.importReviewedBtn.disabled = true; |
| 1513 | els.importReviewedBtn.textContent = '入库中...'; | 1513 | els.importReviewedBtn.textContent = '入库中...'; |
| 1514 | try { | 1514 | try { | ... | ... |
-
Please register or sign in to post a comment