首页消息公告

接口说明:
image.png
URL:/app/common/getMessageForHomePage
参数:
https://localhost/app/common/getMessageForHomePage
返回值:
{
- data:{
- detailUrl: “/app/common/gotoHomePageNoticeByNotifierView?homePageNoticeSid=dbc86668ea4b45afa5404349110f9cd1”,
  • isRead: “1”,

  • noticeContent: “12312323123412341234测试项目新增下拉框显示问题、工作表测试2、测试项目审批成功生成计划-0120-11、测试直接批准项目0120-02、测试项目审批成功生成计划-0120-10、关联表单测试、测试项目审批成功生成计划-0120-9、测试项目101”,

  • noticeSid: “dbc86668ea4b45afa5404349110f9cd1”,

  • noticeTitle: “通知测试一”,

  • releaseTime: 1614592943000,

  • type: “yj”

  • },
    - errorCode: “”,

  • errorMsg: “”,

  • msg: “”,

  • success: true

} |

待办任务

接口说明:
image.png
URL:/app/getIndexModelCount
参数:无
返回值:{
“data”: [
{
“constructionLogUnread”: 1, //施工日志未读条目
“dailyUnread”: 0, //日报未读条目
“deptMonthlyUnread”: 1, //职能月报未读条目
“deptWeeklyUnread”: 1, //职能周报未读条目
“myCooperationPlanTaskTotal”: 0, //配合项目任务待反馈条目
“myCooperationTaskTotal”: 0,//配合职能任务待反馈条目
“myPlanTaskTotal”: 7,//项目任务待反馈条目
“myTaskTotal”: 1, //职能任务待反馈条目
“projectMonthlyUnread”: 1, //项目月报未读条目
“projectWeeklyUnread”: 0, //项目周报未读条目
“receivedPostTotal”: 1,//收文条目
“responsibilityTotal”: 29,//责任事项待处理条目
“sendPostTotal”: 3,//发文条目
“unApprovalTotal”: 6,//待办审批条目
“unReplyTotal”: 0 //会议待应答条目
}
],
“errorCode”: “”,
“errorMsg”: “”,
“msg”: “”,
“result”: “success”,
“success”: true
}

质量

接口说明:
image.png
URL:
参数:
返回值:

巡检

接口说明:
image.png
URL:
参数:
返回值:

审批待办分页列表

接口说明:
image.png
URL:/app/approval/approvalTodoDataPage
入参:
page 当前页(不传或传空值默认1)
size 当前页行数(不传或传空默认10)
返参(可能用到的字段标红):
{
“data”: {
“approvalTodoDataPage”: {
“firstPage”: true,
“firstResult”: 0,
“hasNextPage”: true,
“hasPreviousPage”: false,
“lastPage”: false,
“lastPageNumber”: 52,
“linkPageNumbers”: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
“nextPageNumber”: 2,
“pageSize”: 1,
“previousPageNumber”: 0,
“result”: [
{
“basePid”: “9c54aba1344940c79e6d01add24c8d61”,
“delFlag”: “0”,
“flowStartDeptName”: “五星电气”,
“flowStartDeptSid”: “78067e831d0d42ee95945cf518dacef5”,
“flowStarterName”: “五星电气管理员”,
“flowStarterSid”: “78067e831d0d42ee95945cf518dacef5admin”,
“handlerName”: “五星电气管理员”,
“handlerSid”: “78067e831d0d42ee95945cf518dacef5_admin”,
“isRead”: “0”,
“lineName”: null,
“lineSid”: null,
“nodeName”: null,
“nodeSid”: null,
“processSid”: “NULLProssId”,
“projectCode”: “GZ-202103003”,
“projectName”: “项目测试007”,
“projectSid”: “f7a9aad9f41c4bfba763b7ec5f5d3843”,
“startTime”: 1616893094000,
“starter”: “78067e831d0d42ee95945cf518dacef5_admin”,
“starterName”: “五星电气管理员”,
“taskSid”: “93fc18eea7534ef5a2635fc3321cb945”,
“taskType”: “0”,
“todoName”: “项目人员策划-项目测试007”,
“todoPid”: “9c54aba1344940c79e6d01add24c8d61”,
“todoSid”: “883a70e7140947a5a01b03fc99287b1e”,
“todoType”: “1”,
“updateTime”: 1616893094000,
“ywCreatorName”: null,
“ywCreatorSid”: null,
“ywSid”: “5929b34e53bc4a0db49993e70e639662”,
“ywType”: “p_project_staff_planning”
}
],
“sortColumns”: null,
“thisPageFirstElementNumber”: 1,
“thisPageLastElementNumber”: 1,
“thisPageNumber”: 1,
“totalCount”: 52
},
“title”: “首页
审批_待办”
},
“errorCode”: “”,
“errorMsg”: “”,
“msg”: “”,
“success”: true
}
返参说明:
String todoSid; //待办sid
String todoName; //待办名称
String todoPid; //上一步待办sid
String basePid; //记录真实路径的上一步待办id
String todoType; //待办类型1普通待办,2驳回待办,3驳回到发起人待办,4移交待办,5变更
String ywSid; //业务sid
String ywType; //业务类型 表名key
String taskSid; //流程实例sid
String taskType; //节点审批类型0普通审批(非预定义审批、包括等级审批、标准审批),1责任事项
String processSid; //任务关联流程部署id
String nodeSid; //任务关联流程节点id
String nodeName; //任务关联流程节点name
String lineSid; //预定义审批通过走线条路径id
String lineName; //预定义审批通过走线条路径name
String starter;//发起人sid
String starterName;//发起人name
Date startTime;//发起时间
String handlerSid;//办理人sid
String handlerName;//办理人name
Date updateTime;//更新时间
String flowStarterSid;//流程发起人sid
String flowStarterName;//流程发起人name
String flowStartDeptSid;//流程发起人sid
String flowStartDeptName;//流程发起人name
String ywCreatorSid;//业务单据创建人sid
String ywCreatorName;//业务单据创建人
String projectSid; //当前流程业务所属项目sid
String projectCode; //项目编号
String projectName; //项目名称
String isRead;//是否已读(0表示未读,1表示已读)
String delFlag = “0”; //删除标识0未删除/1已删除
测试URL:
http://localhost:8080/project_xpmPlusGdgj_war_exploded/app/approval/approvalTodoDataPage?page=1&size=1

责任事项待处理分页列表

接口说明:
image.png
URL:/app/responsibility/responsibilityTodoData
入参:
page 当前页(不传或传空值默认1)
size 当前页行数(不传或传空默认10)
返参(可能用到的字段标红):
{
“data”: {
“responsibilityTodoData”: {
“firstPage”: true,
“firstResult”: 0,
“hasNextPage”: true,
“hasPreviousPage”: false,
“lastPage”: false,
“lastPageNumber”: 66,
“linkPageNumbers”: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
“nextPageNumber”: 2,
“pageSize”: 1,
“previousPageNumber”: 0,
“result”: [
{
“approveOrder”: null,
“businessId”: “91c1854de17546878360eae72b10523c”,
“businessName”: “任命工程监理岗-请给TTTTQW项目指派项目经理”,
“businessProessSid”: “2c942013787bec4701787bfc582d000c”,
“delFlag”: “0”,
“handlePerson”: “78067e831d0d42ee95945cf518dacef5admin”,
“handlePersonName”: “五星电气管理员”,
“isRead”: “0”,
“option”: null,
“pid”: null,
“processSid”: null,
“roleid”: null,
“startTime”: 1616987725000,
“starter”: null,
“starterName”: null,
“statu”: “1”,
“tablename”: “p_project_head_record_minth”,
“taskId”: “start”,
“taskName”: “待处理”,
“taskType”: “1”,
“updateTime”: 1616987725000
}
],
“sortColumns”: null,
“thisPageFirstElementNumber”: 1,
“thisPageLastElementNumber”: 1,
“thisPageNumber”: 1,
“totalCount”: 66
},
“title”: “首页
责任事项_待处理”
},
“errorCode”: “”,
“errorMsg”: “”,
“msg”: “”,
“success”: true
}
返参说明:
String businessProessSid;//主键,流程ID
String businessId;//业务ID
String businessName;//业务名称
String tablename;//表格名称
String starter;//发起人ID
String starterName; //发起人姓名
String statu;//状态
Date startTime;//发起时间
String handlePerson; //办理人
String handlePersonName; //办理人名
Date updateTime; //办理时间
String taskId; //任务ID
String taskName;
String option; //节点设置
String roleid; //节点设置
String isRead; //是否已阅
String processSid; //流程配置ID
String taskType; //待办类型 0待办1责任事项
Integer approveOrder; //审批顺序
String pid; //上一步审批id
String delFlag = “0”;//删除标识
测试URL:
http://localhost:8080/project_xpmPlusGdgj_war_exploded/app/responsibility/responsibilityTodoData?page=1&size=1