田源
2024-08-19 39a6e2d4cbbc789955400ffd2352514a8fe4c188
Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js
@@ -9,7 +9,7 @@
  });
}
// 列表查询
// 创建
export function addLifeCycle(params) {
  return request({
    url: "/api/btmTypeController/addBtmType",
@@ -17,3 +17,76 @@
    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
  });
}