- IT信息化80端口
- IT信息化8050端口
- 财务开票系统
- 精细化开放接口
- IT信息化文档
- 基本权限申请地址
- 信息化系统
- 工资表
- 总览图
- 考勤表(attend)
- 日常绩效表(daily)
- 薪资补贴表(salary)
- 提成奖金表(special)
- 五险一金表(fund)
- 奖励表(reward)
- 扣减表(cut)
- 税表(tax)
- 离职补偿表(quit)
- 劳务表(service)
- 公式和方法
- 薪资表合计方法:calculateSalaryTotal
- 旷工:calculateCountAttendAbsent
- 迟到相关运算方法:calculateCountAttendLate
- 病假:calculateCountAttendSickLeave
- 事假:calculateCountAttendThingLeave
- 入离职扣减:calculateCountAttendEntryQuit
- 试用期差额扣减 :calculateCountAttendTryReduce
- 加班薪资:calculateCountAttendOverWork
- 考勤绩效扣减:calculateCountAttendOtherReduce
- 报告绩效工资扣减:calculateReportReduce
- 研发人员职能绩效扣减:calculateStudyReduce
- 职能绩效扣减 和 商务绩效扣减:calculateReduce
- 日常绩效表-合计:calculateDailyTotal
- 日常绩效表-报告绩效奖励:calculateReportAwards
- 薪资表-合计:calculateSalaryAllowanceTotal
- 提成奖金表:calculateSpecialTotal
- 五险一金表:calculateFundTotal
- 奖励表-合计:calculateRewardTotal
- 扣减表-合计:calculateCutTotal
- 税表:calculateTax
- 离职补偿表:calculateQuit
- 劳务费表:calculateService
- 归档文件
- 其他信息化系统
试做阶段审核通过/失败
POST
pm/trytodo/do-approval
最后修改时间:2023-01-09 06:07:21
责任人:应久生
请求参数
Query 参数
debug
integer
可选
示例值:
{{DEBUG}}
Header 参数
Authorization
string
可选
默认值:
{{AUTH_TOKEN}}
Body 参数multipart/form-data
orderId
string
审批单ID
示例值:
202207250008
trytodoId
string
试做ID
示例值:
51
agree
string
必需
示例值:
1
remark
string
备注说明
示例值:
通过了
attachment[0][fileName]
string
可选
示例值:
测试文档1
attachment[0][fileUrl]
string
可选
示例值:
测试文档地址1
attachment[1][fileName]
string
可选
示例值:
测试文档2
attachment[1][fileUrl]
string
可选
示例值:
测试文档地址2
aiteUser[0][userid]
string
抄送人数组
示例值:
042306354323918862
aiteUser[0][name]
string
可选
示例值:
应久生
aiteUser[1][userid]
string
可选
示例值:
0166656500-1061058887
aiteUser[1][name]
string
可选
示例值:
罗亚江
debug
string
可选
默认值:
{{DEBUG}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'pm/trytodo/do-approval' \
--header 'Authorization: {{AUTH_TOKEN}}' \
--form 'orderId="202207250008"' \
--form 'trytodoId="51"' \
--form 'agree="1"' \
--form 'debug="{{DEBUG}}"'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 10000,
"msg": "操作成功",
"data": {
"id": "213",
"approvalCategory": "pm",
"approvalType": "order_trytodo",
"approvalId": "53",
"title": "202207250008",
"createUserid": "042306354323918862",
"createName": "应久生",
"createTime": "2022-07-25 14:55:45",
"approvalAgree": "1",
"approvalStatus": "2",
"approvalFinishTime": "2022-07-25 14:56:47",
"approvalNowUseridList": "",
"approvalDoneUseridList": "042306354323918862,0166656500-1061058887",
"handlerStatus": "0",
"handlerFinishTime": "2000-01-01 00:00:00",
"handlerNowUseridList": "",
"handlerDoneUseridList": "",
"ccUseridList": "042306354323918862",
"stepUsers": [
{
"id": "214",
"instanceId": "213",
"step": "1",
"roleid": "0",
"userid": "042306354323918862",
"name": "应久生",
"isOpen": "0",
"agree": "1",
"excuteUserid": "042306354323918862",
"excuteUsername": "应久生",
"excuteRemark": "",
"excuteAttachment": "[]",
"createTime": "2022-07-25 14:55:45",
"updateTime": "2022-07-25 14:56:28",
"isOpenI18n": "关闭",
"agreeI18n": "审批通过"
},
{
"id": "215",
"instanceId": "213",
"step": "2",
"roleid": "0",
"userid": "0166656500-1061058887",
"name": "罗亚江",
"isOpen": "0",
"agree": "1",
"excuteUserid": "0166656500-1061058887",
"excuteUsername": "罗亚江",
"excuteRemark": "",
"excuteAttachment": "[]",
"createTime": "2022-07-25 14:55:45",
"updateTime": "2022-07-25 14:56:47",
"isOpenI18n": "关闭",
"agreeI18n": "审批通过"
}
],
"ccUsers": [
{
"id": "411",
"instanceId": "213",
"roleid": "0",
"userid": "042306354323918862",
"name": "应久生",
"source": "cc",
"createTime": "2022-07-25 14:55:45",
"sourceI18n": "抄送"
}
],
"handlerUsers": [],
"approvalAgreeI18n": "审批通过",
"approvalStatusI18n": "审批完结",
"handlerStatusI18n": "办理未开启"
}
}
修改于 2023-01-09 06:07:21