You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
import { createAPI } from "@/utils/httpRequest.js";
// 合同分页查询
export const contractData = data => createAPI(`/contract/contractData`, 'post', data)
// 合同新增/编辑保存
export const contractSave = data => createAPI(`/contract/contractSave`, 'post', data)
// 合同删除
export const contractDelete = data => createAPI(`/contract/contractDelete`, 'post', data)
// 客户下拉列表(复用已有的 projectInfo 接口)
export const getCustomerList = () => createAPI(`/projectInfo/getCustomerList`, 'get')
// 根据客户ID获取项目下拉列表(仅未结案项目)
export const getProjectListByCustomer = customerId => createAPI(`/contract/getProjectListByCustomer/${customerId}`, 'get')
|