大表功能完成

This commit is contained in:
2025-05-10 19:21:50 +08:00
parent 0a0beb3e91
commit 25b5576274
40 changed files with 3506 additions and 194 deletions

View File

@@ -23,6 +23,16 @@ export default {
params
})
},
/**
* 查询单个测试项-id
* @returns 单个测试项数据
*/
getCaseOneById(id) {
return request({
url: `project/getCaseOneById?id=${id}`,
method: "get"
})
},
/**
* 添加测试用例
* @returns
@@ -88,5 +98,38 @@ export default {
method: "get",
params
})
},
/**
* 提交选择的行、列,被替换内容,替换内容,请求后端替换
* @returns
*/
replace(data) {
return request({
url: "/project/case/replace/",
method: "post",
data
})
},
/**
* 批量修改设计人员、执行人员、审核人员
* @returns
*/
personReplace(data = { selectRows: [], designPerson: "不替换", testPerson: "不替换", monitorPerson: "不替换" }) {
return request({
url: "/project/case/personReplace/",
method: "post",
data
})
},
/**
* 批量替换事件
* @returns
*/
exetimeReplace(data = { selectRows: [], exetime: "" }) {
return request({
url: "/project/case/timeReplace/",
method: "post",
data
})
}
}