feat: migrate process execution module
- add V2 process execution page for planning production monitoring - add process execution API, route, and i18n entries - update migration task list status for process execution
This commit is contained in:
27
src/api/planning-production/process-execution.js
Normal file
27
src/api/planning-production/process-execution.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import { request } from '@/api/_service'
|
||||
|
||||
const BASE = 'planning_production/produce/change_battery_process/'
|
||||
|
||||
function apiParams (method, data = {}) {
|
||||
return {
|
||||
method,
|
||||
platform: 'background',
|
||||
...data
|
||||
}
|
||||
}
|
||||
|
||||
export function verifyBatteryProcessInfo (data) {
|
||||
return request({
|
||||
url: BASE + 'verify',
|
||||
method: 'get',
|
||||
params: apiParams('planning_production_produce_change_battery_process_verify', data)
|
||||
})
|
||||
}
|
||||
|
||||
export function changeBatteryProcess (data) {
|
||||
return request({
|
||||
url: BASE + 'change',
|
||||
method: 'get',
|
||||
params: apiParams('planning_production_produce_change_battery_process_change', data)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user