فهرست منبع

feat(frontend): 新增AI提取(ai_extract)规则类型,区分AI提取和AI总结

何文松 5 ساعت پیش
والد
کامیت
271ad9af74
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      frontend/vue-demo/src/views/Editor.vue

+ 2 - 0
frontend/vue-demo/src/views/Editor.vue

@@ -1160,6 +1160,7 @@ function ruleActionLabel(actionType) {
   const map = {
     quote: '引用',
     summary: 'AI总结',
+    ai_extract: 'AI提取',
     table_extract: '表格提取',
     use_entity_value: '人工录入',
   }
@@ -5765,6 +5766,7 @@ onMounted(async () => {
 
         &.action-quote         { background: #e6f4ff; color: #1677ff; }
         &.action-summary       { background: #f6ffed; color: #52c41a; }
+        &.action-ai_extract    { background: #e6fffb; color: #13c2c2; }
         &.action-table_extract { background: #fff7e6; color: #fa8c16; }
         &.action-use_entity_value { background: #f0f0f0; color: #666; }
       }