xiangpei
2024-09-30 5ea910a9712f1409ecee60ee9fff3c95a97dd8dc
src/api/platform/calculate-rule.js
@@ -9,6 +9,22 @@
  })
}
// 根据合同id查询违约规则列表
export function getRuleListByContractId(data) {
  return request({
    url: '/calculate/rule/getRuleListByContractId?contractId=' + data,
    method: 'get'
  })
}
// 根据运维单位查询违约规则列表
export function getRuleListByUnitId(data) {
  return request({
    url: '/calculate/rule/getRuleListByUnitId?unitId=' + data,
    method: 'get'
  })
}
// 查询违约规则详细
export function getRule(id) {
  return request({