发起事项(新增,废弃,修改)接口. CreateItemApply
请求
@action.param({ type: 'String', required: true, description: "英文名称", pattern: '^[a-zA-Z0-9-_]{0,64}$', message: '格式不合法' })<br> itemCode: string;<br><br> @action.param({ type: 'String', required: true, description: "名称", pattern: '^[^\<\>]{0,255}$', message: '格式不合法' })<br> itemName: string;<br><br> @action.param({ type: "String", description: "事项目录编码", pattern: '^[a-zA-Z0-9-_]{0,64}$', message: '格式不合法' })<br> categoryCode: string;<br><br> @action.param({ type: 'String', description: "操作:新增,修改,废弃", pattern: '^(add|modify|obsolete)$', message: '格式不合法' })<br> action: string;<br><br> @action.param({ type: 'String', description: "事项信息", min: 0, max: 1048576, message: '格式不合法' })<br> content: string;<br><br> @action.param({ type: "String", description: "描述", pattern: '^[^\<\>]{0,}$', max: 1048576, message: '格式不合法' })<br> comment: string;<br><br> @action.param({ type: "Object[]", description: "附件" })
响应
审核接口
请求
@action.param({ type: 'String', required: true, description: "id", pattern: '^[a-zA-Z0-9]{20}$', message: '格式不合法' })<br> id: string;<br> @action.param({ type: "String", required: true, description: "审核状态", pattern: '^(1|2|3|4|5)$', message: '格式不合法' })<br> status: string;<br> @action.param({ type: "String", required: true, description: "审核状态", pattern: '^(add|modify|obsolete)$', message: '格式不合法' })<br> action: string;
响应
查询审核列表
@action.param({ type: 'Number', required: true, min: 1, description: "开始页数" })<br> start: number;<br> @action.param({ type: 'Number', required: true, min: 1, description: "每页显示数,大小范围10-200,小于10取10,大于200取200。", message: '格式不合法' })<br> limit: number;<br> @action.param({ type: 'SearchParam', required: false, description: "查询条件" })<br> searchParam: SearchParam
@action.param({ type: 'String', required: false, description: "事项名称", pattern: '^[\u4e00-\u9fa5a-zA-Z0-9-_.]{0,64}$', message: '格式不合法' })<br> public itemName?: string<br> @action.param({ type: 'String', required: false, description: "状态", pattern: '^[a-zA-Z0-9-_.]{0,64}$', message: '格式不合法' })<br> public status?: string<br> @action.param({ type: 'String', required: false, description: "申请类型", pattern: '^[a-zA-Z0-9-_.]{0,64}$', message: '格式不合法' })<br> public action?: string<br> @action.param({ type: 'String', required: false, description: "申请部门ID", min: 0, max: 20, message: '格式不合法' })<br> public applyOUID?: string<br> @action.param({ type: 'String', required: false, description: "申请时间", message: '格式不合法' })<br> public createdDateStart?: string<br> @action.param({ type: 'String', required: false, description: "申请时间", message: '格式不合法' })<br> public createdDateEnd?: string