文档
测试

获取模板属性

POST
http://58.48.161.2:17201/approval/template/attribute

请求参数

参数名
类型
描述
必填
templateNo
string
模板编号
必填

响应参数

参数名
类型
描述
必填
attrList
array
属性列表
必填
attributeId
string
示例:375 主键id
必填
templateName
string
示例:mytask提现付款 模板名
必填
templateNo
string
示例:12 模板编号
必填
attribute
string
示例:taskId 属性
必填
attributeName
string
示例:任务ID 属性中文名
必填
isList
string
示例:0 是否为列表 0是 1否
必填
attrState
string
示例:1 是否必填 0否 1是
必填
isShow
string
示例:0 是否展示 0否 1是
必填
isFlowType
string
示例:0 是否区分流程 0否 1是
必填
isClick
string
示例:1 是否为点击 0否 1是
必填
attrType
string
示例:08 00输入框 01文本 02日期 03单选下拉框 04单选框 05附件 06头类型 07多选框 08 只读 09 显示隐藏 10 只读跳任务页面
必填
dateType
string
示例:0 时间类型 0时间 1日期
必填
hintName
string
示例:请输入内容 提示
必填
checkType
string
示例:00 校验类型:00无 01文本 02数字
必填
totalLength
int
示例:0 总长度
必填
decimalLength
int
示例:0 小数长度
必填
sort
int
示例:1 列顺序
必填
cascadeNum
int
示例:0 级联 0无
必填
setSort
int
示例:0 填充属性sort
必填
reqMethod
string
示例: 请求方法
必填
createTime
int
示例:0
必填
widthType
string
示例:1 宽度类型 1:整行 2左边 3右边
必填
attributeList
object
示例:null 属性列表
必填
id
String
必填
attributeId
String
属性id
必填
attribute
String
属性
必填
attributeName
String
属性中文名
必填
attrState
String
是否必填 0否 1是
必填
attrType
String
属性类型 00输入框 01文本 02日期 03下拉框 04图片 05附件 06头类型 07多选下拉框
必填
dateType
String
时间类型 0时间 1日期
必填
hintName
String
提示
必填
checkType
String
校验类型 00文本 01数字
必填
totalLength
int
总长度
必填
decimalLength
int
小数长度
必填
sort
int
列顺序
必填
attrValueList
属性选择值
必填
attrValueList
object
示例:null 属性选择值
必填
attributeId
String
属性id
必填
name
String
属性名
必填
value
String
属性值
必填
flowApprovalList
array
流程审批人列表
必填
userName
string
示例:朱林健 用户名
必填
userId
string
示例:278 用户id
必填
icon
string
示例:http://118.178.132.220/oa/file/test/278_20201120091614_702059.jpg
必填
flowRecipientsList
array
流程抄送人列表
必填
userName
string
示例:高雯
必填
userId
string
示例:17
必填
icon
object
示例:null
必填

说明 / 示例

``` { "code": 1000, "message": null, "data": { "attrList": [ { "attributeId": "375", "templateName": "mytask提现付款", "templateNo": "12", "attribute": "taskId", "attributeName": "任务ID", "isList": "0", "attrState": "1", "isShow": "0", "isFlowType": "0", "isClick": "1", "attrType": "08", "dateType": "0", "hintName": "请输入内容", "checkType": "00", "totalLength": 0, "decimalLength": 0, "sort": 1, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "376", "templateName": "mytask提现付款", "templateNo": "12", "attribute": "taskName", "attributeName": "任务名称", "isList": "0", "attrState": "1", "isShow": "1", "isFlowType": "0", "isClick": "1", "attrType": "08", "dateType": "0", "hintName": "请输入内容", "checkType": "00", "totalLength": 0, "decimalLength": 0, "sort": 2, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "64", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "comment", "attributeName": "项目名称", "isList": "0", "attrState": "1", "isShow": "1", "isFlowType": "0", "isClick": "0", "attrType": "00", "dateType": "0", "hintName": "请输入内容", "checkType": "01", "totalLength": 50, "decimalLength": 0, "sort": 3, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "65", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "startDate", "attributeName": "结算开始时间", "isList": "0", "attrState": "1", "isShow": "0", "isFlowType": "0", "isClick": "0", "attrType": "02", "dateType": "0", "hintName": "请输入内容", "checkType": "00", "totalLength": 0, "decimalLength": 0, "sort": 4, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "66", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "endDate", "attributeName": "结算结束时间", "isList": "0", "attrState": "1", "isShow": "0", "isFlowType": "0", "isClick": "0", "attrType": "02", "dateType": "0", "hintName": "请输入内容", "checkType": "00", "totalLength": 0, "decimalLength": 0, "sort": 5, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "67", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "commissionRate", "attributeName": "返佣比例", "isList": "0", "attrState": "1", "isShow": "0", "isFlowType": "0", "isClick": "0", "attrType": "00", "dateType": "0", "hintName": "请输入内容", "checkType": "01", "totalLength": 10, "decimalLength": 0, "sort": 6, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "68", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "totalPrice", "attributeName": "申请返佣金额", "isList": "0", "attrState": "1", "isShow": "1", "isFlowType": "0", "isClick": "0", "attrType": "00", "dateType": "0", "hintName": "请输入内容", "checkType": "02", "totalLength": 10, "decimalLength": 2, "sort": 7, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "69", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "accessoryFile", "attributeName": "添加附件", "isList": "0", "attrState": "1", "isShow": "0", "isFlowType": "0", "isClick": "0", "attrType": "05", "dateType": "0", "hintName": "请输入内容", "checkType": "00", "totalLength": 0, "decimalLength": 0, "sort": 8, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null }, { "attributeId": "911", "templateName": "MyTask提现付款", "templateNo": "12", "attribute": "isPyment", "attributeName": "是否付款", "isList": "0", "attrState": "0", "isShow": "0", "isFlowType": "0", "isClick": "0", "attrType": "08", "dateType": "0", "hintName": "请输入内容", "checkType": "00", "totalLength": 0, "decimalLength": 0, "sort": 20, "cascadeNum": 0, "setSort": 0, "reqMethod": "", "createTime": 0, "widthType": "1", "attributeList": null, "attrValueList": null } ], "flowApprovalList": [ { "userName": "朱林健", "userId": "278", "nodeName": "发起人", "icon": "http://118.178.132.220/oa/file/test/278_20201120091614_702059.jpg", "state": null, "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": null, "createTime": 0 }, { "userName": "贾晓雯", "userId": "52", "nodeName": "审批人", "icon": "http://118.178.132.220/oa/file/test/278_20201120091614_702059.jpg", "state": null, "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": null, "createTime": 0 }, { "userName": "邓艳丽", "userId": "16", "nodeName": "审批人", "icon": null, "state": null, "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": null, "createTime": 0 } ], "flowRecipientsList": [ { "userName": "高雯", "userId": "17", "nodeName": null, "icon": null, "state": null, "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": null, "createTime": 0 } ] } } ```