import request from '@/router/axios';
|
|
// 业务类型树查询
|
export function getBizTypes(params) {
|
return request({
|
url: "/api/btmTypeController/getTreeBizTypes",
|
method: "get",
|
params
|
});
|
}
|
// 查询所有的属性,参数btmId(业务类型名称)
|
export function getAllAttributesByBtmId(params) {
|
return request({
|
url: "/api/btmTypeController/getAllAttributesByBtmId",
|
method: "get",
|
params
|
});
|
}
|
|
// 创建
|
export function addLifeCycle(params) {
|
return request({
|
url: "/api/btmTypeController/addBtmType",
|
method: "post",
|
data:params
|
});
|
}
|
|
// 修改
|
export function updateLifeCycle(params) {
|
return request({
|
url: "/api/btmTypeController/updateBtmType",
|
method: "put",
|
data:params
|
});
|
}
|
|
// 删除
|
export function deleteBtmType(params) {
|
return request({
|
url: "/api/btmTypeController/deleteBtmType",
|
method: "delete",
|
data:params
|
});
|
}
|
|
// 创建视图
|
export function createView() {
|
return request({
|
url: "/api/btmTypeController/createView",
|
method: "post",
|
});
|
}
|
|
// 导入
|
export function expData (params) {
|
return request({
|
url: '/api/btmTypeController/expData',
|
method: 'get',
|
headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'},
|
responseType: 'blob',
|
params
|
})
|
}
|
|
// 查看使用范围
|
export function getUsedBtmLinkList(params) {
|
return request({
|
url: "/api/btmTypeController/getUsedBtmLinkList",
|
method: "get",
|
params
|
});
|
}
|
|
// 一致性检查
|
export function checkBtmConsistency(params) {
|
return request({
|
url: "/api/btmTypeController/checkBtmConsistency",
|
method: "get",
|
params
|
});
|
}
|
|
// 修复
|
export function executeRepair(params) {
|
return request({
|
url: "/api/btmTypeController/executeRepair",
|
method: "post",
|
data:params
|
});
|
}
|
|
// 查看索引
|
export function getIndexByCondition(params) {
|
return request({
|
url: "/api/btmTypeController/getIndexByCondition",
|
method: "get",
|
params
|
});
|
}
|
|
// 删除索引
|
export function delIndex(params) {
|
return request({
|
url: "/api/btmTypeController/delIndex",
|
method: "delete",
|
params
|
});
|
}
|
|
// 创建索引
|
export function addIndex(params) {
|
return request({
|
url: "/api/btmTypeController/addIndex",
|
method: "post",
|
data:params
|
});
|
}
|