调整form表单接口

This commit is contained in:
2024-05-21 16:27:27 +08:00
parent 0d3fa0d9b3
commit d57bf17605
6 changed files with 191 additions and 238 deletions

View File

@@ -18,7 +18,7 @@ export const addRunningDevice = (data: any) => {
/**
* 新设备退运
* 新设备退运
*/
export const quitRunningDeviceUpdate = (data: any) => {
return createAxios({
@@ -41,8 +41,6 @@ export const cancelQuitRunningDevice = (data: any) => {
/**
* 根据id获取设备的详细数据
*/

View File

@@ -0,0 +1,17 @@
import createAxios from '@/utils/request'
import { SUPERVISION_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = SUPERVISION_BOOT + '/generalSurvey'
/**
* 针对有问题的现场测试发起告警单
*/
export const initiateWarningLeaflet = (id: string, subId: string) => {
return createAxios({
url: MAPPING_PATH + '/initiateWarningLeaflet?id=' + id + '&subId=' + subId,
method: 'GET'
})
}