schedulerApi.js
1.2 KB
import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
import Vue from 'vue'
import {UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types"
//生产计划主表
export const projectName = (params)=>getAction("/scheduler/schedulerHeader/getProjectName", params);
export const addHeader = (params)=>postAction("/scheduler/schedulerHeader/add",params);
export const editHeader = (params)=>putAction("/scheduler/schedulerHeader/edit",params);
//生产计划明细
export const addDetail = (params) => postAction("/scheduler/schedulerDetail/add", params);
//生产计划明细
export const addFromDetail = (params) => postAction("/scheduler/schedulerDetail/addForm", params);
export const editDetail = (params) => putAction("/scheduler/schedulerDetail/edit", params);
export const queryDetailList = (params) => getAction("/scheduler/schedulerDetail/queryDetailList", params)
//生产交易表
export const addTransaction = (params) => postAction("/scheduler/schedulerTransaction/add", params);
export const editTransaction = (params) => putAction("/scheduler/schedulerTransaction/edit", params);
//进度看板
export const queryTask = (params) => getAction("scheduler/progressRate/query", params);