mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-20 22:15:07 +08:00
[fix] 更新各个合同模块的字段
This commit is contained in:
@ -0,0 +1,73 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
// 外部合同管理 VO
|
||||
export interface ExtContractVO {
|
||||
id: number // 主键
|
||||
contractId: number // 合同id
|
||||
projectId: number // 项目id
|
||||
name: string // 合同名称
|
||||
type: string // 合同类型
|
||||
progress: string // 合同进展
|
||||
expectedTime: Date // 预计签订时间
|
||||
signingTime: Date // 签订时间
|
||||
archiveTime: Date // 归档时间
|
||||
status: string // 状态
|
||||
amount: number // 合同总金额
|
||||
preAmount: number // 前期费用
|
||||
designFee: number // 设计费
|
||||
surveyFees: number // 勘测费
|
||||
testingFee: number // 检测费
|
||||
otherFee: number // 其他费
|
||||
countType: string // 计费方式
|
||||
remark: string // 备注
|
||||
contractFileUrl: string // 合同附件url
|
||||
constructionCost: number // 建安费
|
||||
source: string // 资金来源
|
||||
chargingStandard: string // 收费标准
|
||||
discount: number // 优惠
|
||||
consortium: boolean // 是否联合体
|
||||
consortiumCompany: string // 联合体单位
|
||||
reminderTime: Date // 合同商议提示
|
||||
approvedAmount: number // 审定金额
|
||||
reviewFileUrl: string // 审核文件url
|
||||
finalEditor: string // 最后编辑人
|
||||
creator: string // 创建者
|
||||
createTime: Date // 创建时间
|
||||
updater: string // 更新者
|
||||
updateTime: Date // 更新时间
|
||||
deleted: boolean // 是否删除
|
||||
tenantId: number // 租户编号
|
||||
}
|
||||
|
||||
// 外部合同管理 API
|
||||
export const ExtContractApi = {
|
||||
// 查询外部合同管理分页
|
||||
getExtContractPage: async (params: any) => {
|
||||
return await request.get({ url: `/cms/ext-contract/page`, params })
|
||||
},
|
||||
|
||||
// 查询外部合同管理详情
|
||||
getExtContract: async (id: number) => {
|
||||
return await request.get({ url: `/cms/ext-contract/get?id=` + id })
|
||||
},
|
||||
|
||||
// 新增外部合同管理
|
||||
createExtContract: async (data: ExtContractVO) => {
|
||||
return await request.post({ url: `/cms/ext-contract/create`, data })
|
||||
},
|
||||
|
||||
// 修改外部合同管理
|
||||
updateExtContract: async (data: ExtContractVO) => {
|
||||
return await request.put({ url: `/cms/ext-contract/update`, data })
|
||||
},
|
||||
|
||||
// 删除外部合同管理
|
||||
deleteExtContract: async (id: number) => {
|
||||
return await request.delete({ url: `/cms/ext-contract/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出外部合同管理 Excel
|
||||
exportExtContract: async (params) => {
|
||||
return await request.download({ url: `/cms/ext-contract/export-excel`, params })
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user