项目以及项目链条人员

接口说明:
URL:/app/commonHuman/serachAllProjectHuman

| | 参数:
projectSid:项目SID
searchText://查询字符串
page:1
size:10

https://localhost//app/commonHuman/serachAllProjectHuman?projectSid=fe5a313532a44d9095aa4f15a9076fa1&searchText=%E6%B5%8B%E8%AF%95 | | 返回值:
{
- data:{
- firstPage: true,

  • firstResult: 0,

  • hasNextPage: false,

  • hasPreviousPage: false,

  • lastPage: true,

  • lastPageNumber: 1,

  • linkPageNumbers:[
    - 1

  • ],
    - nextPageNumber: 2,

  • pageSize: 10,

  • previousPageNumber: 0,

  • result:[
    - {
    - deptId: “78067e831d0d42ee95945cf518dacef5”,

    1. - **deptName**: "五星电气",
    2. - **humanCode**: "test001",
    3. - **humanName**: "测试账号01",
    4. - **humanSid**: "2a666fd8e8e548e2ab3ccd4fbdcc55a4",
    5. - **jobName**: "",
    6. - **pinyinFirstName**: "c",
    7. - **sex**: "0"
    • },
      - {
      - deptId: “78067e831d0d42ee95945cf518dacef5”,

      • deptName: “五星电气”,

      • humanCode: “test002”,

      • humanName: “测试账号02”,

      • humanSid: “8ece39bafbbe46428da71c02cccdc13d”,

      • jobName: “”,

      • pinyinFirstName: “c”,

      • sex: “0”

    • }
      - ],
      - thisPageFirstElementNumber: 1,

  • thisPageLastElementNumber: 5,

  • thisPageNumber: 1,

  • totalCount: 5

  • },
    - errorCode: “”,

  • errorMsg: “”,

  • msg: “”,

  • success: true

} |

获取项目成员

接口说明:
URL:/app/commonHuman/getHumansByProSid
参数:
projectSid:项目sid
page:1
size:10
**
返回值:{
“data”: {
“firstPage”: true,
“firstResult”: 0,
“hasNextPage”: false,
“hasPreviousPage”: false,
“lastPage”: true,
“lastPageNumber”: 1,
“linkPageNumbers”: [
1
],
“nextPageNumber”: 2,
“pageSize”: 6,
“previousPageNumber”: 0,
“result”: [
{
“deptId”: “78067e831d0d42ee95945cf518dacef5”,
“deptName”: “五星电气”,
“humanCode”: “admin.wxdq”,
“humanName”: “五星电气管理员”,
“humanSid”: “78067e831d0d42ee95945cf518dacef5_admin”,
“jobName”: “项目经理”,
“phone”: “15800621032”,
“sex”: “0”
}
],
“thisPageFirstElementNumber”: 1,
“thisPageLastElementNumber”: 1,
“thisPageNumber”: 1,
“totalCount”: 1
},
“iTotalDisplayRecords”: 1,
“iTotalRecords”: 1,
“urlPath”: “http://192.168.0.180:8080/xpm/
}

获取组织成员

接口说明:
URL:/app/commonHuman/getOrgHumansByDeptId
参数:
deptId:部门ID
isAllOrg:

返回值:{
“data”: {
“firstPage”: true,
“firstResult”: 0,
“hasNextPage”: false,
“hasPreviousPage”: false,
“lastPage”: true,
“lastPageNumber”: 1,
“linkPageNumbers”: [
1
],
“nextPageNumber”: 2,
“pageSize”: 6,
“previousPageNumber”: 0,
“result”: [
{
“deptId”: “78067e831d0d42ee95945cf518dacef5”,
“deptName”: “五星电气”,
“humanCode”: “test001”,
“humanEnabled”: “0”,
“humanName”: “测试账号01”,
“humanSid”: “2a666fd8e8e548e2ab3ccd4fbdcc55a4”,
“jobName”: “”,
“phone”: “”,
“principalEmail”: “”,
“sex”: “0”
},

],
“thisPageFirstElementNumber”: 1,
“thisPageLastElementNumber”: 5,
“thisPageNumber”: 1,
“totalCount”: 5
},
“iTotalDisplayRecords”: 5,
“iTotalRecords”: 5,
“urlPath”: “http://192.168.0.180:8080/xpm/
}

获取组织机构数据

接口说明:
URL:/app/xpmEnterprise/getMapXpmEnterpriseList
参数:parm:allOrg

https://localhost/app/xpmEnterprise/getMapXpmEnterpriseList
返回值:{
“treeData”: [
{
“enterpriseEnabled”: “0”,
“enterpriseFullCode”: “78067e831d0d42ee95945cf518dacef5”,
“enterpriseType”: “-1”,
“id”: “78067e831d0d42ee95945cf518dacef5”,
“name”: “五星电气”,
“pId”: “-1”
},
{
“enterpriseEnabled”: “0”,
“enterpriseFullCode”: “78067e831d0d42ee95945cf518dacef5,b49c234b5e084575b4fcd1304d6e8c90”,
“enterpriseType”: “”,
“id”: “b49c234b5e084575b4fcd1304d6e8c90”,
“name”: “测试单位”,
“pId”: “78067e831d0d42ee95945cf518dacef5”
}
]
}

获取项目链条人员

接口说明:
URL:/app/commonHuman/getExternalHumansByProSid
参数:projectSid:项目sid

https://localhost//app/commonHuman/getExternalHumansByProSid?projectSid=ee136ef7b5bd4e4fb1e84be827d42d82
{
- data:{
- firstPage: true,
  • firstResult: 0,

  • hasNextPage: false,

  • hasPreviousPage: false,

  • lastPage: true,

  • lastPageNumber: 1,

  • linkPageNumbers:[
    - 1

  • ],
    - nextPageNumber: 2,

  • pageSize: 10,

  • previousPageNumber: 0,

  • result:[
    - {
    - deptId: “0545a96bc63247dfada9fe193f1daea2”,

    1. - **deptName**: "mrx_20210311",
    2. - **enterpriseRole**: "0",
    3. - **humanCode**: "mrx_20210311",
    4. - **humanName**: "mrx_20210311管理员",
    5. - **humanSid**: "0545a96bc63247dfada9fe193f1daea2_admin",
    6. - **jobName**: null,
    7. - **phone**: "18706733365",
    8. - **proRole**: null,
    9. - **projectName**: "项目测试002",
    10. - **projectSid**: "64c10a3abb18430d9884023d638ecc3a",
    11. - **sex**: "0"
    • }
      - ],
      - sortColumns: null,
  • thisPageFirstElementNumber: 1,

  • thisPageLastElementNumber: 1,

  • thisPageNumber: 1,

  • totalCount: 1

  • },
    - errorCode: “”,

  • errorMsg: “”,

  • msg: “”,

  • success: true

} |

获取合同列表

接口说明:
URL:/app/xpmContractManage/getXpmContractListByProject
参数:projectSid:项目sid
contractBusinessType:0 //1总包合同 0分包合同

http://47.100.22.146:8076/app/xpmContractManage/getXpmContractListByProject?projectSid=fe5a313532a44d9095aa4f15a9076fa1&contractBusinessType=0
返回值:
{
- data:[
- {
- accumulatedChangeAccumulative: null,
  1. - **closeAmount**: null,
  2. - **contractBusinessType**: "0",
  3. - **contractId**: "01f7ce18a118437ca111f1891b02bb13",
  4. - **contractName**: "出项合同联系单测试",
  5. - **contractNumber**: "CX007",
  6. - **contractOwner**: "",
  7. - **contractOwnerId**: "",
  8. - **contractOwnerPrincipal**: null,
  9. - **contractParty**: "",
  10. - **contractPartyId**: "",
  11. - **contractSid**: "01f7ce18a118437ca111f1891b02bb13",
  12. - **contractStatus**: "102",
  13. - **contractType**: "",
  14. - **presentContractForehead**: 10000,
  15. - **projectCode**: "XJ-202103001",
  16. - **projectName**: "mrx测试项目2021-3-2",
  17. - **projectSid**: "fe5a313532a44d9095aa4f15a9076fa1",
  18. - **regmSid**: "78067e831d0d42ee95945cf518dacef5",
  19. - **signedData**: 1615737600000,
  20. - **standardCurrencyType**: null,
  21. - **standardCurrencyTypeContractMoney**: "10000.00",
  22. - **status**: "12",
  23. - **xpmobsSid**: "78067e831d0d42ee95945cf518dacef5"
  • }
    - ]
    } |

获取施工单位列表

接口说明:
URL:/app/invitingProject/mySuppListInfo
参数:无
返回值:{
“data”: [
{
“address”: “mrx_20210311”,
“auditState”: “3”,
“corporationCode”: “20210311104236”,
“corporationName”: “mrx_20210311”,
“corporationTel”: “”,
“email”: “”,
“enterpriseId”: “0545a96bc63247dfada9fe193f1daea2”,
“enterpriseRole”: “0”,
“isDiffer”: “”,
“people”: “”,
“shortName”: “mrx_20210311”
},

]
}