黄何裕
2024-07-22 d60f2ca80ddbe1846fb7ad9fd1f1e2fb01c372fe
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({