预告警单工作流基础版本

This commit is contained in:
2024-05-22 16:05:51 +08:00
parent 346aeb1179
commit 54f6fb6e02
8 changed files with 401 additions and 73 deletions

View File

@@ -0,0 +1,28 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/warningLeaflet'
/**
* 针对有问题的现场测试发起告警单
*/
export const addFeedback = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/addFeedback',
method: 'POST',
data: data
})
}
/**
* 根据id获取预告警单的详细数据
*/
export const getById = (id: string) => {
return createAxios({
url: MAPPING_PATH + '/getById?id=' + id,
method: 'GET'
})
}