fix:病害合并拆分,病害确认

This commit is contained in:
2024-11-05 09:25:16 +08:00
parent e6c8860ead
commit 13f3e113f5
11 changed files with 872 additions and 110 deletions
+17 -5
View File
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-11-01 16:31:49
* @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2024-11-01 16:33:52
* @LastEditTime: 2024-11-04 17:21:17
* @FilePath: \znxjxt-ui\src\api\xj\confirmation.js
* @Description: 巡检信息-病害确认
*/
@@ -34,10 +34,22 @@ export function getDefectStatus() {
}
// 查询病害日志列表
export function listDefect(query) {
export function listDefect(data) {
return request({
url: "/xj/defect/list",
method: "get",
params: query,
url: "/xj/defect/getUncheckedDefectPage",
method: "post",
data,
});
}
// 是病害/不是病害
export function mergeDefect(data) {
return request({
url: "/xj/defect/checkDefect",
method: "post",
data,
});
}
+19
View File
@@ -101,3 +101,22 @@ export function changeDefectStatus(data) {
data,
});
}
// 合并病害接口
export function mergeDefect(data) {
return request({
url: "/xj/defect/mergeDefects",
method: "post",
data,
});
}
// 拆分病害接口
export function splitDefect(data) {
return request({
url: "/xj/defect/splitDefect",
method: "post",
data,
});
}