CviLux_fe/src/apis/graph/api.js
2024-10-03 12:03:45 +08:00

17 lines
792 B
JavaScript

// graph
const BASEURL = import.meta.env.VITE_API_BASEURL;
export const GET_GRAPH_SIDEBAR_API = `/GraphManage/GraphManageTreeList`;
export const UPDATE_GRAPH_SIDEBAR_API = `/GraphManage/EditGraphManageTree`;
export const REMOVE_GRAPH_SIDEBAR_API = `/GraphManage/DelGraphManageTree`;
export const POST_GRAPH_SIDEBAR_API = `/GraphManage/SaveGraphManageTree`;
export const GET_GRAPH_PARAM_OPTION_API = `/GraphManage/GraManSpecList`;
export const GET_GRAPH_TABLE_API = `/GraphManage/GraManList`;
export const POST_GRAPH_TABLE_API = `/GraphManage/SaveGraMan`;
export const POST_GRAPH_TABLE_API_2 = `/GraphManage/SaveGraMan`; // 原先沒有小類及規格的
export const UPDATE_GRAPH_TABLE_API = `/GraphManage/EdtOneGraMan`;
export const DELETE_GRAPH_TABLE_API = `/GraphManage/DelOneGraMan`;