新增监督议题
<p>POST /subassembly/su/w/v1/superviseoperation/embed/add</p>
<p>> Body 请求参数</p>
<pre><code class="language-json">{
&quot;sourceId&quot;: 584395346408453,
&quot;year&quot;: false,
&quot;parentId&quot;: &quot;&quot;,
&quot;yearClassification&quot;: 1,
&quot;configModeId&quot;: 584395346408453,
&quot;termId&quot;: 572734969107461,
&quot;yearId&quot;: 572735075050501,
&quot;title&quot;: &quot;测测测 &quot;,
&quot;content&quot;: &quot;测测测&quot;,
&quot;superviseProgramme&quot;: &quot;测测测&quot;,
&quot;superviseDocuments&quot;: [
{
&quot;documentId&quot;: 0,
&quot;documentPath&quot;: &quot;/temp/uploads/1726709479326457.xlsx&quot;,
&quot;documentName&quot;: &quot;议案建议目录表.xlsx&quot;,
&quot;id&quot;: 0
}
],
&quot;startTime&quot;: &quot;2024-09-19 09:31:24&quot;,
&quot;pushMessage&quot;: false,
&quot;thirdSourceId&quot;: &quot;575257793889285&quot;,
&quot;themeClassifyId&quot;: 592612701791237,
&quot;month&quot;: 10
}</code></pre>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>位置</th>
<th>类型</th>
<th>必选</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>x-auth</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>签名</td>
</tr>
<tr>
<td>x-request-id</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>请求唯一ID</td>
</tr>
<tr>
<td>x-tenant-code</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>租户code</td>
</tr>
<tr>
<td>x-timestamp</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>时间戳</td>
</tr>
<tr>
<td>X-Menu-Id</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>菜单id</td>
</tr>
<tr>
<td>areaId</td>
<td>header</td>
<td>string</td>
<td>是</td>
<td>区域id</td>
</tr>
<tr>
<td>body</td>
<td>body</td>
<td>object</td>
<td>否</td>
<td>none</td>
</tr>
<tr>
<td>» termId</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>届次ID</td>
<td>none</td>
</tr>
<tr>
<td>» startTime</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>计划启动日期</td>
<td>none</td>
</tr>
<tr>
<td>» sourceId</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>数据源id</td>
<td>none</td>
</tr>
<tr>
<td>» year</td>
<td>body</td>
<td>boolean</td>
<td>是</td>
<td>是否年度议题</td>
<td>none</td>
</tr>
<tr>
<td>» parentId</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>父议题id</td>
<td>none</td>
</tr>
<tr>
<td>» yearClassification</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>年度分类</td>
<td>0=未知 1=五年监督工作计划 2=年度监督工作计划</td>
</tr>
<tr>
<td>» configModeId</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>监督方式id</td>
<td>none</td>
</tr>
<tr>
<td>» yearId</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>年度id</td>
<td>none</td>
</tr>
<tr>
<td>» title</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>议题</td>
<td>标题不能超过255字</td>
</tr>
<tr>
<td>» content</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>议题内容</td>
<td>none</td>
</tr>
<tr>
<td>» superviseProgramme</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>监督方案</td>
<td>none</td>
</tr>
<tr>
<td>» superviseDocuments</td>
<td>body</td>
<td>[object]</td>
<td>是</td>
<td>议题附件</td>
<td>none</td>
</tr>
<tr>
<td>»» documentId</td>
<td>body</td>
<td>integer</td>
<td>否</td>
<td>附件id</td>
<td>none</td>
</tr>
<tr>
<td>»» documentPath</td>
<td>body</td>
<td>string</td>
<td>否</td>
<td>附件地址</td>
<td>none</td>
</tr>
<tr>
<td>»» documentName</td>
<td>body</td>
<td>string</td>
<td>否</td>
<td>附件名称</td>
<td>none</td>
</tr>
<tr>
<td>»» id</td>
<td>body</td>
<td>integer</td>
<td>否</td>
<td>none</td>
</tr>
<tr>
<td>» pushMessage</td>
<td>body</td>
<td>boolean</td>
<td>是</td>
<td>推送通知</td>
<td>none</td>
</tr>
<tr>
<td>» thirdSourceId</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>来源系统数据唯一标识</td>
<td>none</td>
</tr>
<tr>
<td>» themeClassifyId</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>主题分类</td>
<td>none</td>
</tr>
<tr>
<td>» month</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>计划月份</td>
<td>ALL=0,one=1,two=2,three=3,four=4,five=5,six=6...</td>
</tr>
</tbody>
</table>
<p>> 返回示例</p>
<p>> 成功</p>
<pre><code class="language-json">{
&quot;code&quot;: 1200,
&quot;data&quot;: true,
&quot;desc&quot;: &quot;操作成功&quot;,
&quot;ex&quot;: null,
&quot;refreshPermission&quot;: false
}</code></pre>
<h3>返回结果</h3>
<table>
<thead>
<tr>
<th>状态码</th>
<th>状态码含义</th>
<th>说明</th>
<th>数据模型</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td>
<td>成功</td>
<td>Inline</td>
</tr>
</tbody>
</table>
<h3>返回数据结构</h3>
<p>状态码 <strong>200</strong></p>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>» code</td>
<td>integer</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» data</td>
<td>boolean</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» desc</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» ex</td>
<td>null</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
<tr>
<td>» refreshPermission</td>
<td>boolean</td>
<td>true</td>
<td>none</td>
<td>none</td>
</tr>
</tbody>
</table>
<p><strong>获取主题分类</strong>
<strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/supervise/getThemeClassifyDropList</p>
<p><strong>请求方式</strong></p>
<p>> GET</p>
<p><strong>响应示例</strong></p>
<ul>
<li>成功(200)</li>
</ul>
<pre><code class="language-javascript">{
&quot;code&quot;: 1200,
&quot;data&quot;:
[
{
&quot;value&quot;: 576371004933125,
&quot;label&quot;: &quot;主题1&quot;,
},
{
&quot;value&quot;: 576371004933125,
&quot;label&quot;: &quot;主题2&quot;,
}
],
&quot;desc&quot;: &quot;操作成功&quot;,
&quot;ex&quot;: null,
&quot;refreshPermission&quot;: false
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>1200</td>
<td>Number</td>
<td>-</td>
</tr>
<tr>
<td>data</td>
<td>-</td>
<td>Object</td>
<td>返回数据</td>
</tr>
<tr>
<td>data.total</td>
<td>13</td>
<td>Number</td>
<td>-</td>
</tr>
<tr>
<td>data</td>
<td>-</td>
<td>Array</td>
<td>-</td>
</tr>
<tr>
<td>data.value</td>
<td>576371004933125</td>
<td>Long</td>
<td>主题分类ID</td>
</tr>
<tr>
<td>data.label</td>
<td>-</td>
<td>String</td>
<td>主题分类名称</td>
</tr>
<tr>
<td>data.sortIndex</td>
<td>-</td>
<td>Int</td>
<td>排序</td>
</tr>
<tr>
<td>data.code</td>
<td>-</td>
<td>String</td>
<td>code标识</td>
</tr>
</tbody>
</table>