feat(test-platform): AI生成用例、业务技能配置与计划执行优化

- 用例管理增加 AI 生成用例 Tab、文档来源与技能/规则多选生成
- 新增业务技能与业务规则配置页及 API
- 计划执行列表展示模块路径与名称,移除 Jenkins URL 列

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
qiaoxinjiu
2026-05-18 10:01:35 +08:00
parent 6e9673f7dd
commit dca942bc8f
11 changed files with 3236 additions and 58 deletions

View File

@@ -27,13 +27,13 @@
style="margin-top: 12px;">
<el-table-column prop="planCaseId" label="计划用例ID" width="120"></el-table-column>
<el-table-column prop="caseKey" label="用例编号" min-width="120"></el-table-column>
<el-table-column prop="caseTitle" label="用例名称" min-width="220"></el-table-column>
<el-table-column label="自动化执行 Jenkins URL" min-width="180" show-overflow-tooltip>
<template slot-scope="scope">
<el-link v-if="scope.row.jenkinsUrl" :href="scope.row.jenkinsUrl" target="_blank" type="primary">打开</el-link>
<span v-else>-</span>
</template>
<el-table-column label="模块路径" min-width="200" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.modulePath || '—' }}</template>
</el-table-column>
<el-table-column label="模块名称" min-width="140" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.moduleName || '—' }}</template>
</el-table-column>
<el-table-column prop="caseTitle" label="用例名称" min-width="220"></el-table-column>
<el-table-column prop="actualResult" label="执行结果" min-width="180"></el-table-column>
<el-table-column label="执行状态" width="110">
<template slot-scope="scope">
@@ -162,9 +162,10 @@ export default {
statusLabel: this.formatExecuteStatus(item.status),
actualResult: item.actual_result || item.actualResult || '',
caseKey: item.case_key || item.caseKey || '',
modulePath: item.module_path || item.modulePath || '',
moduleName: item.module_name || item.moduleName || '',
caseTitle: item.case_title || item.caseTitle || item.title || '',
title: item.title || item.case_title || item.caseTitle || '',
jenkinsUrl: item.jenkins_url || item.jenkinsUrl || ''
title: item.title || item.case_title || item.caseTitle || ''
}))
})
.catch(() => {