xiangpei
2024-09-17 9d21a549243b4e2bf2730eb2ed753278f4bea71b
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({