创建需求单
- 方法说明
根据指定的参数创建新的需求单。
typescript
function addDemand(demandJson: string): string
1
- 输入参数
- demandJson,string 类型,表示需求单的详情,反序列化后的示例如下:
json
{
"defLabel": "", // 需求单的名称
"content": "", // 需求内容,序列化之后的 JSON 数据
"createdBy": "", // 当前需求单的创建者
"description": "", // 需求单的描述
"menuId": "", // 补充需求菜单id
"workTypes": "", // 可操作当前需求单的岗位
"workStations": "" // 可操作当前需求单的工位
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
- 输出参数
成功时,返回需求单的 ID。 - 异常
本方法会抛出异常。
最近更新 2022/11/28
有用
没用