Commit 0f75a9f3 authored by jingnan's avatar jingnan 👀

看板开发代码暂存

parent 8cc0e04f
import { post } from '../utils/http' import { post } from '../utils/http'
/** /**
* 获取站位 * 获取架次
*/ */
export function getMaterial(params) { export function getMaterial(params) {
return post('/DxProcessMaterialLot/look/getMaterial', params) return post('/ORProduction/board/getSorties', params)
} }
/** /**
*站位 *站位
...@@ -11,7 +11,7 @@ export function getMaterial(params) { ...@@ -11,7 +11,7 @@ export function getMaterial(params) {
* @returns * @returns
*/ */
export function getAllPlan(params) { 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) { ...@@ -67,20 +67,20 @@ export function stationSQCDP(planId) {
/** /**
* 周作业计划完成趋势 * 周作业计划完成趋势
* @param {*} planId * @param {*} params
* @returns * @returns
*/ */
export function completion(planId) { export function completion(params) {
return post(`/JoExecutePlan/look/plan/completion?planId=${planId}`) return post(`/JoExecutePlan/board/weekPlan/search?positionNo=${params.positionNo}&sorties=${params.sorties}`)
} }
/** /**
* 站位三天滚动计划 * 站位三天滚动计划
* @param {*} planId * @param {*} params
* @returns * @returns
*/ */
export function stationPlan(planId) { export function stationPlan(params) {
return post(`/DxProcessPlan/look/three/plan?planId=${planId}`) return post(`/ExtProcessPlan/board/threeDay/plan?positionNo=${params.positionNo}&sorties=${params.sorties}`)
} }
/** /**
* 现场问题督办echart * 现场问题督办echart
...@@ -92,11 +92,11 @@ export function stationSpotProblemEchart(planId) { ...@@ -92,11 +92,11 @@ export function stationSpotProblemEchart(planId) {
} }
/** /**
* 现场问题督办table * 现场问题督办table
* @param {*} planId * @param {*} params
* @returns * @returns
*/ */
export function stationSpotProblemTable(planId) { export function stationSpotProblemTable(params) {
return post(`/SpotProblem/look/plan/getSpotProblem?planId=${planId}`) return post(`/SpotProblem/board/plan/spotProblem?positionNo=${params.positionNo}&sorties=${params.sorties}`)
} }
/** /**
* 物料配套及缺件情况 echart * 物料配套及缺件情况 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