You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.6 KiB

import http from '../http';
//获取协同集合
export async function getTeamworkPageList(param) {
param = param || { FPageIndex: 1, FPageSize: 10 };
let result = {};
await http.post('/api/MaterialTeamwork/GetTeamworkPageList', param).then((data) => {
result = data;
});
return result;
}
//获取流程集合
export async function getTeamProcessList(teamId) {
let param = { FPageIndex: 1, FPageSize: 999, FTeamID: teamId };
let result = [];
await http.post('/api/MaterialTeamwork/GetTeamProcessList', param).then((data) => {
result = data.Data.List || [];
});
return result;
}
//获取协同视图信息
export async function getTeamworkView(param) {
let result = {};
await http.post('/api/MaterialTeamwork/GetTeamworkView', param).then((data) => {
result = data.Data;
});
return result;
}
//下载BOM
export async function downloadBOM(teamId) {
let param = { FTeamID: teamId };
let result = [];
await http.post('/api/MaterialTeamwork/DockDownBomData', param).then((data) => {
result = data;
});
return result;
}
export async function EditTypeList(param) {
let result = [];
await http.post('/api/MaterialTeamwork/EditTypeList', param).then((data) => {
result = data;
});
return result;
}
export async function InsertDataModel(param) {
let result = [];
await http.post('/api/MaterialTeamwork/InsertDataModel', param).then((data) => {
result = data;
});
return result;
}
export async function GetMaterialTeamworkPageList(param) {
let result = [];
await http.post('/api/MaterialTeamwork/GetTeamworkPageList', param).then((data) => {
result = data;
});
return result;
}