import store from '@/store'
let baseURL = store.state.env.VUE_APP_PORT || ''

// 附件
export const ANNEX_ADD = baseURL + '/system/personTypeGroup/getUnitCategoryList'

//企业性质
export const UNIT_REGISTER_LIST = baseURL + '/system/company/getUnitRegisterList' // 获取企业性质

export const GET_UNIT_CATEGORY_BY_UNIT_ID = baseURL +  '/system/company/getUnitCategoryByUnitId'

//人员资质
export const DELETE_PERSON_CERT = baseURL +  '/system/person/deletePersonCert'

//企业资质
export const DELETE_COMPANY_APTITUDE = baseURL +  '/system/company/deleteCompanyAptitude'
export const GET_UNIT_APTITUDE_TYPE = baseURL +  '/system/company/getUnitAptitudeType'
export const GET_UNIT_APTITUDE_LEVEL = baseURL +  '/system/company/getUnitAptitudeLevel'

export const APTITUDE_CATEGORY = baseURL +  '/system/company/getUnitAptitudeCategory'//资质类别
export const APTITUDE_TYPE = baseURL +  '/system/company/getUnitAptitudeTypeById'//资质分类
export const APTITUDE_LEVEL = baseURL +  '/system/company/getUnitAptitudeLevelById'//资质等级


// 项目信息
export const LIST_PROJECT_ITEM = baseURL + '/system/projectItem/listProjectItem' // 列表
export const PROJECT_ITEM_DETAILS = baseURL + '/system/projectItem/editProjectItem' // 详情
export const PROJECT_ITEM_SAVE = baseURL + '/system/projectItem/saveProjectItem' // 保存
export const PROJECT_ITEM_UPDATE = baseURL + '/system/projectItem/submitProjectItem' // 编辑
export const PROJECT_ITEM_DELETE = baseURL + '/system/projectItem/delProjectItem' // 删除

// 单项工程
export const LIST_PROJECT_PERIOD = baseURL + '/system/projectPeriod/listProjectPeriod' // 列表
export const PROJECT_PERIOD_DETAILS = baseURL + '/system/projectPeriod/editProjectPeriod' // 详情
export const PROJECT_PERIOD_SAVE = baseURL + '/system/projectPeriod/saveProjectPeriod' // 保存
export const PROJECT_PERIOD_UPDATE = baseURL + '/system/projectPeriod/submitProjectPeriod' // 编辑
export const PROJECT_PERIOD_DELETE = baseURL + '/system/projectPeriod/delProjectPeriod' // 删除

export const GET_COMPANY_INFO_PARAMS = baseURL + '/system/company/getCompanyInfoByParams' //获取企业信息

// 单位工程
export const LIST_PROJECT_UNIT = baseURL + '/system/projectUnit/listProjectUnit' // 列表
export const PROJECT_UNIT_DETAILS = baseURL + '/system/projectUnit/editProjectUnit' // 详情
export const PROJECT_UNIT_SAVE = baseURL + '/system/projectUnit/saveProjectUnit' // 保存
export const PROJECT_UNIT_UPDATE = baseURL + '/system/projectUnit/submitProjectUnit' // 编辑
export const PROJECT_UNIT_DELETE = baseURL + '/system/projectUnit/delProjectUnit' // 删除
export const CLAIM_PROJECT_UNIT = baseURL + '/system/projectUnit/claimProjectUnit' // 列表 -- 工程认领

export const GET_PERSON_CERT_LIST = baseURL + '/system/person/getPersonCertList' // 证书列表



// 单位工程-参建单位
export const LIST_PROJECT_UNIT_COMPANY = baseURL + '/system/projectUnitCompany/listProjectUnitCompany' // 参建单位列表
export const PROJECT_UNIT_COMPANY_DETAILS = baseURL + '/system/projectUnitCompany/editProjectUnitCompany' // 参建单位详情
export const PROJECT_UNIT_COMPANY_SAVE = baseURL + '/system/projectUnitCompany/saveProjectUnitCompany' // 参建单位保存
export const PROJECT_UNIT_COMPANY_DELETE = baseURL + '/system/projectUnitCompany/delProjectUnitCompany' // 参建单位删除
export const LIST_SECTION_PERSON_CHANGE = baseURL + '/system/projectUnitPerson/listSectionPersonChange' // 变更记录
export const UNBOUND_PROJECT_UNITCOMPANY = baseURL + '/system//projectUnitCompany/unboundProjectUnitCompany' // 参建单位保存


// 单位工程-参建人员
export const LIST_PROJECT_UNIT_PERSON = baseURL + '/system/projectUnitPerson/listProjectUnitPerson' // 参建人员列表
export const PROJECT_UNIT_PERSON_DETAILS = baseURL + '/system/projectUnitPerson/editProjectUnitPerson' // 参建人员详情
export const PROJECT_UNIT_PERSON_SAVE = baseURL + '/system/projectUnitPerson/saveProjectUnitPerson' // 参建人员保存
export const PROJECT_UNIT_PERSON_DELETE = baseURL + '/system/projectUnitPerson/delProjectUnitPerson' // 参建人员删除
export const PROJECT_BATCH_UNIT_PERSON_SAVE = baseURL + '/system/projectUnitPerson/saveBatchProjectUnitPerson' // 参建人员批量保存



//单位工程人员变更流程
export const WORKFLOW_UNIT_PROJECT_LIST = baseURL + ''
export const WORKFLOW_UNIT_PROJECT_SAVE = baseURL + '/system/projectUnitPerson/changeDetail'
export const WORKFLOW_UNIT_PROJECT_UPDATE = baseURL + '/system/projectUnitPerson/updateDetail'
export const WORKFLOW_UNIT_PROJECT_DELETE = baseURL + '/system/projectUnitPerson/delete'
export const WORKFLOW_UNIT_PROJECT_DETAIL = baseURL + '/system/projectUnitPerson/getPersonChangeDetail'
export const WORKFLOW_UNIT_PROJECT_PROCESS = baseURL + '/system/projectUnitPerson/findProcessInfo'
export const WORKFLOW_UNIT_PROJECT_REVOKE = baseURL + '/system/projectUnitPerson/cancelProcess'


//单位工程人员押证
export const WORKFLOW_UNIT_CERT_PROJECT_LIST = baseURL + ''
export const WORKFLOW_UNIT_CERT_PROJECT_SAVE = baseURL + '/system/projectUnitPerson/changeCertDetail'
export const WORKFLOW_UNIT_CERT_PROJECT_UPDATE = baseURL + '/system/projectUnitPerson/updateCertDetail'
export const WORKFLOW_UNIT_CERT_PROJECT_DELETE = baseURL + '/system/projectUnitPerson/delete'
export const WORKFLOW_UNIT_CERT_PROJECT_DETAIL = baseURL + '/system/projectUnitPerson/getPersonChangeDetail'
export const WORKFLOW_UNIT_CERT_PROJECT_PROCESS = baseURL + '/system/projectUnitPerson/findProcessInfoCert'
export const WORKFLOW_UNIT_CERT_PROJECT_REVOKE = baseURL + '/system/projectUnitPerson/cancelProcess'




// 获取参建单位详情
export const GET_UNIT_INFO = baseURL + '/system/projectUnitCompany/getUnitInfo'

// 施工许可证列表
export const LIST_PROJECT_PERMIT = baseURL + '/system/projectPermit/listProjectPermit'

// 单体工程
export const LIST_PROJECT_UNLARGE = baseURL + '/system/projectUnlarge/listProjectUnlarge' // 列表
export const PROJECT_UNLARGE_DETAILS = baseURL + '/system/projectUnlarge/editProjectUnlarge' // 详情
export const PROJECT_UNLARGE_SAVE = baseURL + '/system/projectUnlarge/saveProjectUnlarge' // 保存
export const PROJECT_UNLARGE_UPDATE = baseURL + '/system/projectUnlarge/submitProjectUnlarge' // 编辑
export const PROJECT_UNLARGE_DELETE = baseURL + '/system/projectUnlarge/delProjectUnlarge' // 删除


// 企业信息
export const LIST_ALL_COMPAY = baseURL + '/system/company/listAllCompany' // 列表
export const COMPANY_DETAIL = baseURL + '/system/company/getCompanyInfoDetail' // 详情
export const UPDATE_COMPANY_BUSINESS_INFO = baseURL + '/system/company/updateCompanyBusinessInfo'
export const UPDATE_COMPANY_OFFICE_INFO = baseURL + '/system/company/updateCompanyOfficeInfo'
export const UPDATE_COMPANY_SECURITY_INFO = baseURL + '/system/company/updateCompanySecurityInfo'
export const UPDATE_COMPANY_APTITUDE = baseURL + '/system/company/updateCompanyAptitude'
export const CHECK_COMPANY_INFO = baseURL + '/system/company/checkCompanyInfo'




// 人员信息
export const LIST_ALL_PERSON = baseURL + '/system/person/listAllPerson' // 列表
export const LIST_ALL_ENTERPRISE_PERSON = baseURL + '/system/person/listAllEnterprisePerson' // 列表
export const PERSON_DETAIL = baseURL + '/system/person/getPersonDetail' // 详情
export const UPDATE_PERSON_CERT = baseURL + '/system/person/updatePersonCert'
export const UPDATE_FOUR_PERSON_INFO = baseURL + '/system/person/updateFourPersonInfo'
export const LIST_ALL_PERSON_PARAMS = baseURL + '/system/person/listPersonByParams' //列表



export const FIND_AREA = baseURL + '/system/area/findArea' // 综合搜索-地区列表

//用地规划许可
export const LAND_PLAN_LIST = baseURL + '/system/managerSubjectPermit/listManagerSubjectPermit' // 列表
export const LAND_PLAN_EDIT = baseURL + '/system/managerSubjectPermit/editManagerSubjectPermit' // 详情

//施工图审查
export const WORK_DRAWING_LIST = baseURL + '/system/managerDrawingCensor/listManagerDrawingCensor' // 列表
export const WORK_DRAWING_EDIT = baseURL + '/system/managerDrawingCensor/editManagerDrawingCensor' // 详情

//工程设计
export const PROJECT_DESIGN_LIST = baseURL + '/system/managerPeriodDesign/listManagerPeriodDesign' // 列表

export const PROJECT_DESIGN_EDIT = baseURL + '/system/managerPeriodDesign/editManagerPeriodDesign' // 详情
export const PROJECT_INFORM_LIST = baseURL + '/system/projectItem/listProjectItem' // 项目信息
export const SINGLE_INFORM_LIST = baseURL + '/system/projectUnlarge/listProjectUnlarge' // 单体信息

//工程招投标
export const PROJECT_BIDDING_LIST = baseURL + '/system/managerBidding/listManagerBidding' // 列表
export const PROJECT_BIDDING_EDIT = baseURL + '/system/managerBidding/editManagerBidding' // 详情

//施工许可证
export const WORK_LICENCE_LIST = baseURL + '/system/projectPermit/listSectionPermit' // 列表
export const WORK_LICENCE_EDIT = baseURL + '/system/projectPermit/editProjectPermit' // 详情

export const FIND_CITY_LIST = baseURL + '/system/area/findCityList' // 获取市接口
export const FIND_AREA_LIST = baseURL + '/system/area/findAreaList' // 获取区接口


//企业信息发布
export const DEPLOY_ENTERPRISEINFO = baseURL + '/system/company/regist/saveCompanyRegist'

export const COMPANY_INFO_SAVE = baseURL + '/system/company/updatePlatCompany' // 保存企业信息




