预告警单工作流基础版本
This commit is contained in:
28
src/api/supervision-boot/leaflet/index.ts
Normal file
28
src/api/supervision-boot/leaflet/index.ts
Normal 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'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user