diff --git a/src/api/productionSchedulingPlan/scheduling.js b/src/api/productionSchedulingPlan/scheduling.js index 1c4dd38..d42a5a4 100644 --- a/src/api/productionSchedulingPlan/scheduling.js +++ b/src/api/productionSchedulingPlan/scheduling.js @@ -20,4 +20,13 @@ export const getYieldOrderList = (current, size, params) => { size, }, }); +}; + +// 排产看板数据 +export const schedulingCount = row => { + return request({ + url: '/blade-scheduling/workOrder/schedulingCount', + method: 'post', + data: row, + }); }; \ No newline at end of file diff --git a/src/axios.js b/src/axios.js index 8bb36ae..87ce950 100644 --- a/src/axios.js +++ b/src/axios.js @@ -87,9 +87,9 @@ axios.interceptors.request.use( config.headers['Content-Type'] = 'text/plain'; } //headers中配置serialize为true开启序列化 - if (config.method === 'post' && meta.isSerialize === true) { - config.data = serialize(config.data); - } + // if (config.method === 'post' && meta.isSerialize === true) { + // config.data = serialize(config.data); + // } return config; }, error => { diff --git a/src/views/productionSchedulingPlan/statisticalAnalysis/index.vue b/src/views/productionSchedulingPlan/statisticalAnalysis/index.vue index 5120993..5c01ca5 100644 --- a/src/views/productionSchedulingPlan/statisticalAnalysis/index.vue +++ b/src/views/productionSchedulingPlan/statisticalAnalysis/index.vue @@ -19,12 +19,15 @@ > - +