年度工作计划添加、编辑、删除
<p><strong>年度工作计划添加</strong>
<strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/supervise/add</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>yearClassification</td>
<td>分类 [1:五年监督工作计划, 2:年度监督工作计划]</td>
<td>Integer</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>configModeId</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>监督方式id(接口configModeList获取数据)</td>
</tr>
<tr>
<td>termId</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>所属届次(接口year获取termid)</td>
</tr>
<tr>
<td>yearId</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>所属年度(接口year获取id)</td>
</tr>
<tr>
<td>title</td>
<td>议题</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>content</td>
<td>议题内容</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>superviseProgramme</td>
<td>监督方案</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>title</td>
<td>议题</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>startTime</td>
<td>计划启动时间</td>
<td>String</td>
<td>是</td>
<td>yyyy-MM-dd+HH:mm:ss</td>
</tr>
<tr>
<td>sourceId</td>
<td>来源系统数据唯一标识</td>
<td>String</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>thirdSourceCode</td>
<td>来源系统编码</td>
<td>String</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>thirdSourceName</td>
<td>来源系统名称</td>
<td>String</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>pushMessage</td>
<td>是否推送通知</td>
<td>Boolean</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>themeClassifyId</td>
<td>主题分类id</td>
<td>Long</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>month</td>
<td>计划月份</td>
<td>Int</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>superviseDocuments</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;yearClassification&quot;: 1,
&quot;configModeId&quot;: 4332234234,
&quot;termId&quot;: 2212123,
&quot;yearId&quot;: 20342343424,
&quot;title&quot;: &quot;议题标题1&quot;,
&quot;content&quot;: &quot;议题内容1&quot;,
&quot;startTime&quot;: &quot;2024-08-01 12:32:11&quot;,
&quot;superviseProgramme&quot;: &quot;监督方案1&quot;,
&quot;sourceId&quot;: &quot;1234567&quot;,
&quot;thirdSourceCode&quot;:&quot;scq&quot;,
&quot;thirdSourceName&quot;:&quot;上城区&quot;,
&quot;themeClassifyId&quot;:345435345435,
&quot;month&quot;:1,
&quot;superviseDocuments&quot;:[
{
&quot;documentId&quot;:0,
&quot;documentPath&quot;:&quot;&quot;,
&quot;documentName&quot;:&quot;&quot;
},
{
&quot;documentId&quot;:0,
&quot;documentPath&quot;:&quot;&quot;,
&quot;documentName&quot;:&quot;&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>
<p><strong>年度工作计划编辑</strong>
<strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/supervise/edit/put</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>id</td>
<td>数据id</td>
<td>Long</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>yearClassification</td>
<td>分类 [1:五年监督工作计划, 2:年度监督工作计划]</td>
<td>Integer</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>configModeId</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>监督方式id(接口configModeList获取数据)</td>
</tr>
<tr>
<td>termId</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>所属届次(接口year获取termid)</td>
</tr>
<tr>
<td>yearId</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>所属年度(接口year获取id)</td>
</tr>
<tr>
<td>title</td>
<td>议题</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>content</td>
<td>议题内容</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>superviseProgramme</td>
<td>监督方案</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>title</td>
<td>议题</td>
<td>String</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>startTime</td>
<td>计划启动时间</td>
<td>String</td>
<td>是</td>
<td>yyyy-MM-dd+HH:mm:ss</td>
</tr>
<tr>
<td>sourceId</td>
<td>来源系统数据唯一标识</td>
<td>String</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>pushMessage</td>
<td>是否推送通知</td>
<td>Boolean</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>themeClassifyId</td>
<td>主题分类id</td>
<td>Long</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>month</td>
<td>计划月份</td>
<td>Int</td>
<td>否</td>
<td>-</td>
</tr>
<tr>
<td>superviseDocuments</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;id&quot;: 12312312332,
&quot;yearClassification&quot;: 1,
&quot;configModeId&quot;: 4332234234,
&quot;termId&quot;: 2212123,
&quot;yearId&quot;: 20342343424,
&quot;title&quot;: &quot;议题标题1&quot;,
&quot;content&quot;: &quot;议题内容1&quot;,
&quot;startTime&quot;: &quot;2024-08-01 12:32:11&quot;,
&quot;superviseProgramme&quot;: &quot;监督方案1&quot;,
&quot;sourceId&quot;: &quot;1234567&quot;,
&quot;themeClassifyId&quot;:345435345435,
&quot;month&quot;:1,
&quot;superviseDocuments&quot;:[
{
&quot;documentId&quot;:0,
&quot;documentPath&quot;:&quot;&quot;,
&quot;documentName&quot;:&quot;&quot;
},
{
&quot;documentId&quot;:0,
&quot;documentPath&quot;:&quot;&quot;,
&quot;documentName&quot;:&quot;&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>
<p><strong>年度工作计划删除</strong>
<strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/supervise/delete/{id}</p>
<p><strong>请求方式</strong></p>
<p>> POST</p>
<p><strong>Content-Type</strong></p>
<p>> json</p>
<p><strong>请求Body参数</strong></p>
<pre><code class="language-javascript">{
&quot;id&quot;: 572816650757125
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>-</td>
<td>Long</td>
<td>是</td>
<td>id</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong></p>
<ul>
<li>成功(1200)</li>
</ul>
<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>失败(200)</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>