k94314517
2024-11-23 3011b9800d6c5bee031d87bc4e225b5b1fb52571
company/src/api/business/solutions.js
@@ -13,7 +13,10 @@
}
// 查询全部保险方案
export function all (data) {
export function all (data, type) {
    if (!type) {
        data.status = 0
    }
    return request.post('/business/solutions/list', data)
}
@@ -41,3 +44,13 @@
export function getNewVersion (id) {
    return request.get(`/business/solutions/getNewVersion?solutionId=${id}`)
}
// 查询企业可使用方案(已签署)
export function getUseList (companyId, dateType) {
    return request.get(`/business/solutions/getUseList?companyId=${companyId}&dateType=${dateType}`)
}
// 根据ID删除
export function deleteById (id) {
    return request.get(`/business/solutions/delete/${id}`)
}