旭捷内部项目管理系统前端
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.

16 lines
723 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. import { createAPI } from "@/utils/httpRequest.js";
  2. // 合同分页查询
  3. export const contractData = data => createAPI(`/contract/contractData`, 'post', data)
  4. // 合同新增/编辑保存
  5. export const contractSave = data => createAPI(`/contract/contractSave`, 'post', data)
  6. // 合同删除
  7. export const contractDelete = data => createAPI(`/contract/contractDelete`, 'post', data)
  8. // 客户下拉列表(复用已有的 projectInfo 接口)
  9. export const getCustomerList = () => createAPI(`/projectInfo/getCustomerList`, 'get')
  10. // 根据客户ID获取项目下拉列表(仅未结案项目)
  11. export const getProjectListByCustomer = customerId => createAPI(`/contract/getProjectListByCustomer/${customerId}`, 'get')