新增整改方案(组件)
<p><strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/deliberationopinion/subassemblyFlowSchemeAdd</p>
<p><strong>请求方式</strong></p>
<p>> POST</p>
<p><strong>Content-Type</strong></p>
<p>> json</p>
<p><strong>请求Body参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>deliberationOpinionId</td>
<td>审议意见id</td>
<td>Long</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>flowNodeType</td>
<td>流程节点类型</td>
<td>int</td>
<td>是</td>
<td>2:整改方案</td>
</tr>
<tr>
<td>rectificationMeasures</td>
<td>整改措施</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>implementationPlan</td>
<td>实施计划</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>expectedResults</td>
<td>预期成效</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>flowDocumentsSubassembly</td>
<td>附件</td>
<td>Array</td>
<td>否</td>
<td>层级1</td>
</tr>
<tr>
<td>documentId</td>
<td>附件id</td>
<td>Long</td>
<td>否</td>
<td>层级2</td>
</tr>
<tr>
<td>documentPath</td>
<td>附件地址</td>
<td>String</td>
<td>否</td>
<td>层级2</td>
</tr>
<tr>
<td>documentName</td>
<td>附件名称</td>
<td>String</td>
<td>否</td>
<td>层级2</td>
</tr>
</tbody>
</table>
<p><strong>请求Body示例</strong></p>
<pre><code class="language-javascript">{
&quot;deliberationOpinionId&quot;: 123345435,
&quot;flowNodeType&quot;: 2,
&quot;rectificationMeasures&quot;:&quot;整改措施&quot;,
&quot;implementationPlan&quot;:&quot;实施计划&quot;,
&quot;expectedResults&quot;:&quot;预期成效&quot;,
&quot;flowDocumentsSubassembly&quot;:
[
{
&quot;documentId&quot;:0,
&quot;documentPath&quot;:&quot;xxxx/xxxx.docx&quot;,
&quot;documentName&quot;:&quot;xxxx.docx&quot;
}
]
}</code></pre>
<p><strong>响应示例</strong></p>
<pre><code class="language-javascript">{
&quot;code&quot;: 1200,
&quot;data&quot;: true,
&quot;desc&quot;: &quot;操作成功&quot;,
&quot;ex&quot;: null,
&quot;refreshPermission&quot;: false
}</code></pre>
<ul>
<li>失败(404)</li>
</ul>
<pre><code class="language-javascript">{
&quot;code&quot;: 1601,
&quot;data&quot;: null,
&quot;desc&quot;: &quot;未选择职位&quot;,
&quot;ex&quot;: &quot;未选择职位&quot;,
&quot;refreshPermission&quot;: false
}</code></pre>