1.Excel文件字段顺序调整

2.测试排程时增加执行记录,编号与其他场景编号分开
This commit is contained in:
hugo committed 2026-05-20 18:50:53 +08:00
1 parent ddc461f548
commit ae6ced00b5
10 files changed
+194 -76

No files matched your search

+1
View File
@@ -93,6 +93,7 @@ export const testAdminScheduleSql = (taskId: number, payload: { fetch_where_cond
export interface TestScheduleRunResult {
run_no: string;
run_id: number;
sql: string;
limit: number;
total_count: number;
+6 -3
View File
@@ -856,17 +856,20 @@ const openTestRunDialog = async (s: ScheduleTask) => {
const handleTestRun = async () => {
const s = testRunSchedule.value;
if (!s?.platform_api_path) return;
const name = s.platform_api_path.replace(/^\//, '').toLowerCase();
if (!s?.id) return;
testRunLoading.value = true;
testRunResult.value = null;
try {
const result = await testAdminScheduleRun(Number(name), {
const result = await testAdminScheduleRun(s.id, {
fetch_where_conditions: testRunWhere.value,
fetch_order_by: testRunOrderBy.value,
limit: testRunLimit.value,
});
testRunResult.value = result;
await loadSchedules();
if (s.id) {
await viewScheduleRuns(s.id);
}
} catch (e: any) {
showMessageDialog('error', `测试执行失败: ${e?.message || e}`);
} finally {