177 lines
6.1 KiB
TypeScript
177 lines
6.1 KiB
TypeScript
/**
|
|
* 评查点模拟数据
|
|
*/
|
|
export const evaluationPointsMockData = {
|
|
code: 0,
|
|
msg: "成功",
|
|
data: [
|
|
{
|
|
id: 5,
|
|
code: "LIAN_WEN_SHU_WAN_ZHENG_XING_JIAN_CHA",
|
|
name: "立案文书完整性检查",
|
|
evaluation_point_groups_id: 1,
|
|
risk: "高",
|
|
description: "须立案而没有立案文书的(2分)",
|
|
is_enabled: true,
|
|
references_laws: {},
|
|
extraction_config: {
|
|
type: "OCR+LLM",
|
|
fields: ["立案报告表-负责人意见"]
|
|
},
|
|
evaluation_config: {
|
|
rules: [
|
|
{
|
|
id: "规则1",
|
|
type: "exists",
|
|
config: {
|
|
logic: "and",
|
|
fields: ["立案报告表-负责人意见"]
|
|
}
|
|
},
|
|
{
|
|
id: "规则2",
|
|
type: "regex",
|
|
config: {
|
|
field: "立案报告表-负责人意见",
|
|
pattern: "同意",
|
|
matchType: "match"
|
|
}
|
|
}
|
|
],
|
|
logicType: "and"
|
|
},
|
|
pass_message: "立案文件合格,负责人意见已填写且同意。",
|
|
fail_message: "立案文件不合格,负责人意见没有内容,请核对检查。",
|
|
suggestion_message: "请检查立案报告表中的负责人意见栏,确保已填写且同意。",
|
|
suggestion_message_type: "warning",
|
|
post_action: "none",
|
|
action_config: "",
|
|
created_at: "2023-10-01T00:00:00+00:00",
|
|
updated_at: "2023-10-01T00:00:00+00:00"
|
|
},
|
|
{
|
|
id: 6,
|
|
code: "AN_JIAN_LAI_YUAN_YI_ZHI_XING_JIAO_YAN",
|
|
name: "案件来源一致性校验",
|
|
evaluation_point_groups_id: 1,
|
|
risk: "中",
|
|
description: "没有记载案件来源或案件来源与其他文书不一致的(0.5分)",
|
|
is_enabled: true,
|
|
references_laws: {},
|
|
extraction_config: {
|
|
type: "OCR+LLM",
|
|
fields: ["立案报告表-案件来源", "案件处理审批表-案件来源", "案件调查终结报告-案件来源"]
|
|
},
|
|
evaluation_config: {
|
|
rules: [
|
|
{
|
|
id: "规则1",
|
|
type: "exists",
|
|
config: {
|
|
logic: "and",
|
|
fields: ["立案报告表-案件来源", "案件处理审批表-案件来源", "案件调查终结报告-案件来源"]
|
|
}
|
|
}
|
|
],
|
|
logicType: "and"
|
|
},
|
|
pass_message: "案件来源完整",
|
|
fail_message: "案件来源信息不一致或缺失,请核对。",
|
|
suggestion_message: "请检查立案报告表、案件处理审批表和案件调查终结报告中的案件来源信息,确保一致。",
|
|
suggestion_message_type: "warning",
|
|
post_action: "none",
|
|
action_config: "",
|
|
created_at: "2023-10-01T00:00:00+00:00",
|
|
updated_at: "2023-10-01T00:00:00+00:00"
|
|
},
|
|
{
|
|
id: 7,
|
|
code: "AN_YOU_FA_AN_SHI_JIAN_HE_FA_AN_DI_DIAN_JI_ZAI_ZHUN_QUE_XING_YOU_WU",
|
|
name: "案由、发案时间和发案地点记载准确性-有无",
|
|
evaluation_point_groups_id: 1,
|
|
risk: "高",
|
|
description: "没有记载或错误记载案由、发案时间和发案地点的(1分)",
|
|
is_enabled: true,
|
|
references_laws: {},
|
|
extraction_config: {
|
|
type: "OCR+LLM",
|
|
fields: ["立案报告表-案由", "立案报告表-案件来源", "案件处理审批表-案件来源", "案件调查终结报告-案件来源"],
|
|
prompt_setting: {
|
|
type: "custom",
|
|
template: "从立案报告表中抽取案由信息。"
|
|
}
|
|
},
|
|
evaluation_config: {
|
|
rules: [
|
|
{
|
|
id: "规则1",
|
|
type: "exists",
|
|
config: {
|
|
logic: "and",
|
|
fields: ["立案报告表-案由"]
|
|
}
|
|
}
|
|
],
|
|
logicType: "and"
|
|
},
|
|
pass_message: "案由、发案时间和发案地点记录准确。",
|
|
fail_message: "案由、发案时间和发案地点记录有误或缺失,请核对。",
|
|
suggestion_message: "请检查立案报告表中的案由信息,确保已填写。",
|
|
suggestion_message_type: "warning",
|
|
post_action: "none",
|
|
action_config: "",
|
|
created_at: "2023-10-01T00:00:00+00:00",
|
|
updated_at: "2023-10-01T00:00:00+00:00"
|
|
},
|
|
{
|
|
id: 8,
|
|
code: "AN_YOU_FA_AN_SHI_JIAN_HE_FA_AN_DI_DIAN_JI_ZAI_ZHUN_QUE_XING_YI_ZHI",
|
|
name: "案由、发案时间和发案地点记载准确性-一致",
|
|
evaluation_point_groups_id: 1,
|
|
risk: "高",
|
|
description: "案由、发案时间和发案地点记载不一致的(1分)",
|
|
is_enabled: true,
|
|
references_laws: {},
|
|
extraction_config: {
|
|
type: "LLM-VL",
|
|
fields: ["立案报告表-案发时间", "立案报告表-案发地址", "现场笔录-检查时间", "现场笔录-检查地点"],
|
|
prompt_setting: {
|
|
type: "system",
|
|
template: "从立案报告表和现场笔录中抽取案发时间、案发地址、检查时间和检查地点信息。"
|
|
}
|
|
},
|
|
evaluation_config: {
|
|
rules: [
|
|
{
|
|
id: "规则1",
|
|
type: "consistency",
|
|
config: {
|
|
logic: "and",
|
|
pairs: [
|
|
{
|
|
sourceField: "立案报告表-案发时间",
|
|
targetField: "现场笔录-检查时间",
|
|
compareMethod: "exact"
|
|
},
|
|
{
|
|
sourceField: "立案报告表-案发地址",
|
|
targetField: "现场笔录-检查地点",
|
|
compareMethod: "semantic"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
logicType: "and"
|
|
},
|
|
pass_message: "案由、发案时间和发案地点记录准确。",
|
|
fail_message: "案由、发案时间和发案地点记录有误或缺失,请核对。",
|
|
suggestion_message: "请检查立案报告表和现场笔录中的案发时间和地点信息,确保一致。",
|
|
suggestion_message_type: "warning",
|
|
post_action: "none",
|
|
action_config: "",
|
|
created_at: "2023-10-01T00:00:00+00:00",
|
|
updated_at: "2023-10-01T00:00:00+00:00"
|
|
}
|
|
]
|
|
};
|