杭州统一监督组件

组件


新增监督议题

<p>POST /subassembly/su/w/v1/superviseoperation/embed/add</p> <p>&gt; Body 请求参数</p> <pre><code class="language-json">{ &amp;quot;sourceId&amp;quot;: 584395346408453, &amp;quot;year&amp;quot;: false, &amp;quot;parentId&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;yearClassification&amp;quot;: 1, &amp;quot;configModeId&amp;quot;: 584395346408453, &amp;quot;termId&amp;quot;: 572734969107461, &amp;quot;yearId&amp;quot;: 572735075050501, &amp;quot;title&amp;quot;: &amp;quot;测测测 &amp;quot;, &amp;quot;content&amp;quot;: &amp;quot;测测测&amp;quot;, &amp;quot;superviseProgramme&amp;quot;: &amp;quot;测测测&amp;quot;, &amp;quot;superviseDocuments&amp;quot;: [ { &amp;quot;documentId&amp;quot;: 0, &amp;quot;documentPath&amp;quot;: &amp;quot;/temp/uploads/1726709479326457.xlsx&amp;quot;, &amp;quot;documentName&amp;quot;: &amp;quot;议案建议目录表.xlsx&amp;quot;, &amp;quot;id&amp;quot;: 0 } ], &amp;quot;startTime&amp;quot;: &amp;quot;2024-09-19 09:31:24&amp;quot;, &amp;quot;pushMessage&amp;quot;: false, &amp;quot;thirdSourceId&amp;quot;: &amp;quot;575257793889285&amp;quot;, &amp;quot;themeClassifyId&amp;quot;: 592612701791237, &amp;quot;month&amp;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>&gt; 返回示例</p> <p>&gt; 成功</p> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 1200, &amp;quot;data&amp;quot;: true, &amp;quot;desc&amp;quot;: &amp;quot;操作成功&amp;quot;, &amp;quot;ex&amp;quot;: null, &amp;quot;refreshPermission&amp;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>&gt; /subassembly/su/w/v1/supervise/getThemeClassifyDropList</p> <p><strong>请求方式</strong></p> <p>&gt; GET</p> <p><strong>响应示例</strong></p> <ul> <li>成功(200)</li> </ul> <pre><code class="language-javascript">{     &amp;quot;code&amp;quot;: 1200,     &amp;quot;data&amp;quot;: [ { &amp;quot;value&amp;quot;: 576371004933125, &amp;quot;label&amp;quot;: &amp;quot;主题1&amp;quot;, }, { &amp;quot;value&amp;quot;: 576371004933125, &amp;quot;label&amp;quot;: &amp;quot;主题2&amp;quot;, } ],     &amp;quot;desc&amp;quot;: &amp;quot;操作成功&amp;quot;,     &amp;quot;ex&amp;quot;: null,     &amp;quot;refreshPermission&amp;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>

页面列表

ITEM_HTML