合并分支
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import request, { download } from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
<<<<<<< HEAD
|
||||
import {
|
||||
ConstructionUserForm,
|
||||
ConstructionUserQuery,
|
||||
@ -28,6 +29,9 @@ export const listConstructionMonth = (query?: ConstructionMonthQuery): AxiosProm
|
||||
params: query
|
||||
});
|
||||
};
|
||||
=======
|
||||
import { ConstructionUserForm, ConstructionUserQuery, ConstructionUserVO } from '@/api/project/constructionUser/types';
|
||||
>>>>>>> 7736f4a33624dcddf693271347dd34a922e58575
|
||||
|
||||
/**
|
||||
* 查询施工人员列表
|
||||
@ -54,28 +58,6 @@ export const getConstructionUser = (id: string | number): AxiosPromise<Construct
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 人员迁移
|
||||
* @param data
|
||||
*/
|
||||
export const transferConstructionUser = (data: skipType) => {
|
||||
return request({
|
||||
url: '/project/constructionUser/change/project',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询项目以及项目下的分包公司列表
|
||||
*/
|
||||
export const getProjectContractorList = () => {
|
||||
return request({
|
||||
url: '/project/project/list/project/contractorList',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增施工人员
|
||||
* @param data
|
||||
|
@ -184,6 +184,7 @@ export interface ConstructionUserVO {
|
||||
createTime: string;
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
export interface skipType {
|
||||
/**
|
||||
* 项目id
|
||||
@ -297,6 +298,8 @@ export interface skipTeamType {
|
||||
id: string | number;
|
||||
}
|
||||
|
||||
=======
|
||||
>>>>>>> 7736f4a33624dcddf693271347dd34a922e58575
|
||||
export interface ConstructionUserForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
|
@ -51,11 +51,6 @@ export interface ContractorForm extends BaseEntity {
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
projectId?: string | number;
|
||||
|
||||
/**
|
||||
* 公司名称
|
||||
*/
|
||||
|
@ -37,12 +37,12 @@ export interface ProjectVO {
|
||||
/**
|
||||
* 项目类型
|
||||
*/
|
||||
projectType: string;
|
||||
type: string;
|
||||
|
||||
/**
|
||||
* 项目类型(1光伏 2风电)
|
||||
*/
|
||||
projectCategory: number;
|
||||
isType: number;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
@ -116,18 +116,6 @@ export interface ProjectVO {
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface locationType {
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lng: string;
|
||||
// 纬度
|
||||
lat: string;
|
||||
// 逆地理编码地址
|
||||
|
||||
projectSite: string;
|
||||
}
|
||||
|
||||
export interface ProjectForm extends BaseEntity {
|
||||
/**
|
||||
*
|
||||
@ -159,16 +147,6 @@ export interface ProjectForm extends BaseEntity {
|
||||
*/
|
||||
picUrl?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lng?: string;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ -177,12 +155,12 @@ export interface ProjectForm extends BaseEntity {
|
||||
/**
|
||||
* 项目类型
|
||||
*/
|
||||
projectType?: string;
|
||||
type?: string;
|
||||
|
||||
/**
|
||||
* 项目类型(1光伏 2风电)
|
||||
*/
|
||||
projectCategory?: number;
|
||||
isType?: number;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
@ -220,14 +198,9 @@ export interface ProjectForm extends BaseEntity {
|
||||
onStreamTime?: string;
|
||||
|
||||
/**
|
||||
* 打卡开始时间(09:00,18:00)
|
||||
* 打卡范围(09:00,18:00)
|
||||
*/
|
||||
playCardStart?: string;
|
||||
|
||||
/**
|
||||
* 打卡结束时间(09:00,18:00)
|
||||
*/
|
||||
playCardEnd?: string;
|
||||
punchRange?: string;
|
||||
|
||||
/**
|
||||
* 设计总量
|
||||
@ -284,12 +257,12 @@ export interface ProjectQuery extends PageQuery {
|
||||
/**
|
||||
* 项目类型
|
||||
*/
|
||||
projectType?: string;
|
||||
type?: string;
|
||||
|
||||
/**
|
||||
* 项目类型(1光伏 2风电)
|
||||
*/
|
||||
projectCategory?: number;
|
||||
isType?: number;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
@ -301,16 +274,6 @@ export interface ProjectQuery extends PageQuery {
|
||||
*/
|
||||
projectSite?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
lng?: string;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
lat?: string;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@ -337,14 +300,9 @@ export interface ProjectQuery extends PageQuery {
|
||||
onStreamTime?: string;
|
||||
|
||||
/**
|
||||
* 打卡开始时间(09:00,18:00)
|
||||
* 打卡范围(09:00,18:00)
|
||||
*/
|
||||
playCardStart?: string;
|
||||
|
||||
/**
|
||||
* 打卡结束时间(09:00,18:00)
|
||||
*/
|
||||
playCardEnd?: string;
|
||||
punchRange?: string;
|
||||
|
||||
/**
|
||||
* 设计总量
|
||||
|
Reference in New Issue
Block a user