| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import { get } from 'store';
- import { getRequest, postRequest } from '/src/lib/axios';
- export const clientManageApi = {
- /**
- * 查询委托方表头数据 @author wzs
- */
- getWTHeaderList: (customerId) => {
- return getRequest(`/delegent/customer/header?customerId=${customerId}`);
- },
- /**
- * 查询项目信息管理表头数据 @author wzs
- */
- getXMHeaderList: (projectId) => {
- return getRequest(`/project/detail/show?projectId=${projectId}`);
- },
-
- /**
- * 查询客户信息 @author wzs
- * @param {string} customerId 客户id
- * @returns {Promise} 客户信息
- */
- getCustomerInfo: (customerId) => {
- return getRequest(`/delegent/customer/main?customerId=${customerId}`);
- },
- // 上传附件
- uploadDocument: (params) => {
- return postRequest(`social/upload`,params);
- },
- // 释放公海
- releaseSeas: (projectId) => {
- return getRequest(`/social/release?projectId=${projectId}`);
- },
- // 开标结果登记
- openBid: (params) => {
- return postRequest(`/social/project/biding/result`,params);
- },
- // 委托方管理列表头部卡片
- customerCardInfo: () => {
- return getRequest(`/delegent/customer/list`);
- },
- // 项目首介记录
- interventionsList: () => {
- return postRequest(`/social/project/interventions`);
- },
- // 项目列表
- interventionsList: (params) => {
- return postRequest(`/project/list`,params);
- },
- // 查询投标阶段状态
- getBidStages: (projectId) => {
- return getRequest(`/social/project/bid/stages?projectId=${projectId}`);
- },
- };
|