页面接口推介

This commit is contained in:
仲么了
2023-07-31 09:00:30 +08:00
parent 863d30ee61
commit 77b4ff6f88
30 changed files with 928 additions and 652 deletions

View File

@@ -1,5 +1,5 @@
import request from '../js/request';
import config from '../js/config';
import request from '../js/request'
import config from '../js/config'
export function addEngineering(params) {
return request({
@@ -9,10 +9,9 @@ export function addEngineering(params) {
header: {
'Content-Type': 'application/json',
},
});
})
}
export function auditEngineering(params) {
return request({
url: '/cs-device-boot/engineering/auditEngineering',
@@ -21,7 +20,7 @@ export function auditEngineering(params) {
header: {
'Content-Type': 'application/json',
},
});
})
}
export function queryEngineering(params) {
@@ -32,5 +31,20 @@ export function queryEngineering(params) {
header: {
'Content-Type': 'application/json',
},
});
}
})
}
// 删除工程
export function deleteEngineering(id) {
return request({
url: '/cs-device-boot/engineering/auditEngineering',
method: 'post',
data: {
id: id,
status: 0,
},
header: {
'Content-Type': 'application/json',
},
})
}