Commit 6e16b0dc authored by jingnan's avatar jingnan 👀

看板开发代码暂存

parent 581dae1c
import { post } from '../utils/http'
/**
* 获取站位
* 获取架次
*/
export function getMaterial(params) {
return post('/DxProcessMaterialLot/look/getMaterial', params)
return post('/ORProduction/board/getSorties', params)
}
/**
*站位
......@@ -11,7 +11,7 @@ export function getMaterial(params) {
* @returns
*/
export function getAllPlan(params) {
return post(`/DxProcessPlan/look/getAllPlan?sorties=${params.sorties}&planeType=${params.planeType}`)
return post(`/ExtPosition/board/getPosition?sortieId=${params.sortieId}`)
}
/**
......@@ -67,20 +67,20 @@ export function stationSQCDP(planId) {
/**
* 周作业计划完成趋势
* @param {*} planId
* @param {*} params
* @returns
*/
export function completion(planId) {
return post(`/JoExecutePlan/look/plan/completion?planId=${planId}`)
export function completion(params) {
return post(`/JoExecutePlan/board/weekPlan/search?positionNo=${params.positionNo}&sorties=${params.sorties}`)
}
/**
* 站位三天滚动计划
* @param {*} planId
* @param {*} params
* @returns
*/
export function stationPlan(planId) {
return post(`/DxProcessPlan/look/three/plan?planId=${planId}`)
export function stationPlan(params) {
return post(`/ExtProcessPlan/board/threeDay/plan?positionNo=${params.positionNo}&sorties=${params.sorties}`)
}
/**
* 现场问题督办echart
......@@ -92,11 +92,11 @@ export function stationSpotProblemEchart(planId) {
}
/**
* 现场问题督办table
* @param {*} planId
* @param {*} params
* @returns
*/
export function stationSpotProblemTable(planId) {
return post(`/SpotProblem/look/plan/getSpotProblem?planId=${planId}`)
export function stationSpotProblemTable(params) {
return post(`/SpotProblem/board/plan/spotProblem?positionNo=${params.positionNo}&sorties=${params.sorties}`)
}
/**
* 物料配套及缺件情况 echart
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment