mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-08 15:21:52 +08:00
添加PMS中预算管理、应收款管理的前端页面及sql语句部分;添加CMS中,外包合同部分,后端代码,前端代码及sql语句
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface ReceivablesVO {
|
||||
id: number
|
||||
projectId: number
|
||||
contractId: number
|
||||
planStage: string
|
||||
initialDesignStage: string
|
||||
constructionDrawingStage: string
|
||||
constructionStage: string
|
||||
approveStage: string
|
||||
collectionSituation: string
|
||||
}
|
||||
|
||||
// 查询应收款管理列表
|
||||
export const getReceivablesPage = async (params) => {
|
||||
return await request.get({ url: '/pms/receivables/page', params })
|
||||
}
|
||||
|
||||
// 查询应收款管理详情
|
||||
export const getReceivables = async (id: number) => {
|
||||
return await request.get({ url: '/pms/receivables/get?id=' + id })
|
||||
}
|
||||
|
||||
// 新增应收款管理
|
||||
export const createReceivables = async (data: ReceivablesVO) => {
|
||||
return await request.post({ url: '/pms/receivables/create', data })
|
||||
}
|
||||
|
||||
// 修改应收款管理
|
||||
export const updateReceivables = async (data: ReceivablesVO) => {
|
||||
return await request.put({ url: '/pms/receivables/update', data })
|
||||
}
|
||||
|
||||
// 删除应收款管理
|
||||
export const deleteReceivables = async (id: number) => {
|
||||
return await request.delete({ url: '/pms/receivables/delete?id=' + id })
|
||||
}
|
||||
|
||||
// 导出应收款管理 Excel
|
||||
export const exportReceivablesApi = async (params) => {
|
||||
return await request.download({ url: '/pms/receivables/export-excel', params })
|
||||
}
|
Reference in New Issue
Block a user