Newer
Older
KaiFengPC / src / api / publicService / index.js
@鲁yixuan 鲁yixuan on 11 Sep 14 KB updata
  1. import request from '@/utils/request';
  2.  
  3. // 培训宣传 搜索列表
  4. export function specialNavPage(query) {
  5. return request({
  6. url: '/publicService/trainAndPublicize/page',
  7. method: 'get',
  8. params: query,
  9. });
  10. }
  11. export function specialNavList(query) {
  12. return request({
  13. url: '/publicService/trainAndPublicize/list',
  14. method: 'get',
  15. params: query,
  16. });
  17. }
  18. // 培训宣传 新增
  19. export function specialNavAdd(data) {
  20. return request({
  21. url: '/publicService/trainAndPublicize/add',
  22. method: 'post',
  23. data: data,
  24. });
  25. }
  26. // 培训宣传 修改
  27. export function specialNavEdit(data) {
  28. return request({
  29. url: '/publicService/trainAndPublicize/edit',
  30. method: 'put',
  31. data: data,
  32. });
  33. }
  34. // 培训宣传 删除
  35. export function specialNavDel(id) {
  36. return request({
  37. url: '/publicService/trainAndPublicize/' + id,
  38. method: 'delete',
  39. });
  40. }
  41. // 培训宣传 详情
  42. export function specialNavDetail(id) {
  43. return request({
  44. url: '/publicService/trainAndPublicize/' + id,
  45. method: 'get',
  46. });
  47. }
  48.  
  49. // 通知公告 技术标准 政策法规 搜索列表
  50. export function articlePage(query) {
  51. return request({
  52. url: '/publicService/articleConfig/page',
  53. method: 'get',
  54. params: query,
  55. });
  56. }
  57. // 通知公告 技术标准 政策法规 新增
  58. export function articleAdd(data) {
  59. return request({
  60. url: '/publicService/articleConfig/add',
  61. method: 'post',
  62. data: data,
  63. });
  64. }
  65. // 通知公告 技术标准 政策法规 修改
  66. export function articleEdit(data) {
  67. return request({
  68. url: '/publicService/articleConfig/edit',
  69. method: 'put',
  70. data: data,
  71. });
  72. }
  73. // 通知公告 技术标准 政策法规 删除
  74. export function articleDel(id) {
  75. return request({
  76. url: '/publicService/articleConfig/' + id,
  77. method: 'delete',
  78. });
  79. }
  80. // 通知公告 技术标准 政策法规 详情
  81. export function articleDetail(id) {
  82. return request({
  83. url: '/publicService/articleConfig/' + id,
  84. method: 'get',
  85. });
  86. }
  87.  
  88. // 科普知识类别 搜索列表全部
  89. export function knowledgeTypeList(query) {
  90. return request({
  91. url: '/publicService/scienceKnowledgeType/list',
  92. method: 'get',
  93. params: query,
  94. });
  95. }
  96. // 科普知识类别 搜索列表
  97. export function knowledgeTypePage(query) {
  98. return request({
  99. url: '/publicService/scienceKnowledgeType/page',
  100. method: 'get',
  101. params: query,
  102. });
  103. }
  104. // 科普知识类别 新增
  105. export function knowledgeTypeAdd(data) {
  106. return request({
  107. url: '/publicService/scienceKnowledgeType/add',
  108. method: 'post',
  109. data: data,
  110. });
  111. }
  112. // 科普知识类别 修改
  113. export function knowledgeTypeEdit(data) {
  114. return request({
  115. url: '/publicService/scienceKnowledgeType/edit',
  116. method: 'put',
  117. data: data,
  118. });
  119. }
  120. // 科普知识类别 删除
  121. export function knowledgeTypeDel(id) {
  122. return request({
  123. url: '/publicService/scienceKnowledgeType/' + id,
  124. method: 'delete',
  125. });
  126. }
  127. // 科普知识类别 详情
  128. export function knowledgeTypeDetail(id) {
  129. return request({
  130. url: '/publicService/scienceKnowledgeType/' + id,
  131. method: 'get',
  132. });
  133. }
  134.  
  135. // 科普知识管理 搜索列表
  136. export function knowledgePage(query) {
  137. return request({
  138. url: '/publicService/scienceKnowledgeConfig/page',
  139. method: 'get',
  140. params: query,
  141. });
  142. }
  143. // 科普知识管理 新增
  144. export function knowledgeAdd(data) {
  145. return request({
  146. url: '/publicService/scienceKnowledgeConfig/add',
  147. method: 'post',
  148. data: data,
  149. });
  150. }
  151. // 科普知识管理 修改
  152. export function knowledgeEdit(data) {
  153. return request({
  154. url: '/publicService/scienceKnowledgeConfig/edit',
  155. method: 'put',
  156. data: data,
  157. });
  158. }
  159. // 科普知识管理 删除
  160. export function knowledgeDel(id) {
  161. return request({
  162. url: '/publicService/scienceKnowledgeConfig/' + id,
  163. method: 'delete',
  164. });
  165. }
  166. // 科普知识管理 详情
  167. export function knowledgeDetail(id) {
  168. return request({
  169. url: '/publicService/scienceKnowledgeConfig/' + id,
  170. method: 'get',
  171. });
  172. }
  173.  
  174. // 调查问卷 搜索列表
  175. export function quesNairePage(query) {
  176. return request({
  177. url: '/publicService/adjustmentQuestionnaireConfig/page',
  178. method: 'get',
  179. params: query,
  180. });
  181. }
  182. // 调查问卷 新增
  183. export function quesNaireAdd(data) {
  184. return request({
  185. url: '/publicService/adjustmentQuestionnaireConfig/add',
  186. method: 'post',
  187. data: data,
  188. });
  189. }
  190. // 调查问卷 修改
  191. export function quesNaireEdit(data) {
  192. return request({
  193. url: '/publicService/adjustmentQuestionnaireConfig/edit',
  194. method: 'put',
  195. data: data,
  196. });
  197. }
  198. // 调查问卷 删除
  199. export function quesNaireDel(id) {
  200. return request({
  201. url: '/publicService/adjustmentQuestionnaireConfig/' + id,
  202. method: 'delete',
  203. });
  204. }
  205. // 调查问卷 详情
  206. export function quesNaireDetail(id) {
  207. return request({
  208. url: '/publicService/adjustmentQuestionnaireConfig/' + id,
  209. method: 'get',
  210. });
  211. }
  212. // 调查问卷 满意度调查
  213. export function quesNaireCount(id) {
  214. return request({
  215. url: '/publicService/adjustmentQuestionnaireConfig/satisfactionStatistics/' + id,
  216. method: 'get',
  217. });
  218. }
  219. //群众满意度接口
  220.  
  221. export function satisfactionStatisticsByYear(id) {
  222. return request({
  223. url: '/publicService/adjustmentQuestionnaireConfig/satisfactionStatisticsByYear/' + id,
  224. method: 'get',
  225. });
  226. }
  227. // 粉丝信息认证 列表
  228. export function fansList(query) {
  229. return request({
  230. url: '/publicService/wechartMiniuser/page',
  231. method: 'get',
  232. params: query,
  233. });
  234. }
  235. // 粉丝信息认证 认证
  236. export function fansCert(id) {
  237. return request({
  238. url: '/publicService/wechartMiniuser/authentication/' + id,
  239. method: 'put',
  240. });
  241. }
  242. // 粉丝信息认证 取消认证
  243. export function fansCertCancel(id) {
  244. return request({
  245. url: '/publicService/wechartMiniuser/unAuthentication/' + id,
  246. method: 'put',
  247. });
  248. }
  249. // 粉丝信息认证 删除
  250. export function fansDel(id) {
  251. return request({
  252. url: '/publicService/wechartMiniuser/' + id,
  253. method: 'delete',
  254. });
  255. }
  256. // 投诉建议 列表
  257. export function suggestList(query) {
  258. return request({
  259. url: '/publicService/wechartSuggest/page',
  260. method: 'get',
  261. params: query,
  262. });
  263. }
  264. // 投诉建议 删除
  265. export function suggestDel(id) {
  266. return request({
  267. url: '/publicService/wechartSuggest/' + id,
  268. method: 'delete',
  269. });
  270. }
  271. // 投诉建议 转工单则进行转案件处理
  272. export function suggestOrder(id) {
  273. return request({
  274. url: '/publicService/wechartSuggest/changeEventCenter/' + id,
  275. method: 'put',
  276. });
  277. }
  278. // 投诉建议 详情
  279. export function suggestDetail(id) {
  280. return request({
  281. url: '/publicService/wechartSuggest/' + id,
  282. method: 'get',
  283. });
  284. }
  285.  
  286. // 项目评论留言 列表
  287. export function projectComList(query) {
  288. return request({
  289. url: '/publicService/projectMiniuserComment/page',
  290. method: 'get',
  291. params: query,
  292. });
  293. }
  294. // 项目评论留言 删除
  295. export function projectComDel(id) {
  296. return request({
  297. url: '/publicService/projectMiniuserComment/' + id,
  298. method: 'delete',
  299. });
  300. }
  301.  
  302. // 项目基础信息管理 列表
  303. export function projectInfoList(query) {
  304. return request({
  305. url: '/business/projectInfoNew/page',
  306. method: 'get',
  307. params: query,
  308. });
  309. }
  310. // 项目基础信息管理 置顶
  311. export function projectInfoTop(query) {
  312. return request({
  313. url: '/business/projectInfoNew/top',
  314. method: 'post',
  315. data: query,
  316. });
  317. }
  318.  
  319. // 新闻资讯 搜索列表
  320. export function manageNewsPage(query) {
  321. return request({
  322. url: '/system/sysNewsInfo/page',
  323. method: 'get',
  324. params: query,
  325. });
  326. }
  327. // 新闻资讯 新增
  328. export function manageNewsAdd(data) {
  329. return request({
  330. url: '/system/sysNewsInfo/add',
  331. method: 'post',
  332. data: data,
  333. });
  334. }
  335. // 新闻资讯 修改
  336. export function manageNewsEdit(data) {
  337. return request({
  338. url: '/system/sysNewsInfo/edit',
  339. method: 'put',
  340. data: data,
  341. });
  342. }
  343. // 新闻资讯 删除
  344. export function manageNewsDel(id) {
  345. return request({
  346. url: '/system/sysNewsInfo/' + id,
  347. method: 'delete',
  348. });
  349. }
  350.  
  351. // 新闻资讯 详情
  352. export function manageNewsDetail(id) {
  353. return request({
  354. url: '/system/sysNewsInfo/' + id,
  355. method: 'get',
  356. });
  357. }
  358.  
  359. // 宣传片配置 搜索列表
  360. export function manageVideoPage(query) {
  361. return request({
  362. url: '/publicService/propagandaVideo/page',
  363. method: 'get',
  364. params: query,
  365. });
  366. }
  367. // 宣传片配置 新增
  368. export function manageVideoAdd(data) {
  369. return request({
  370. url: '/publicService/propagandaVideo/add',
  371. method: 'post',
  372. data: data,
  373. });
  374. }
  375. // 宣传片配置 修改
  376. export function manageVideoEdit(data) {
  377. return request({
  378. url: '/publicService/propagandaVideo/edit',
  379. method: 'put',
  380. data: data,
  381. });
  382. }
  383. // 宣传片配置 删除
  384. export function manageVideoDel(id) {
  385. return request({
  386. url: '/publicService/propagandaVideo/' + id,
  387. method: 'delete',
  388. });
  389. }
  390. // 宣传片配置 详情
  391. export function manageVideoDetail(id) {
  392. return request({
  393. url: '/publicService/propagandaVideo/' + id,
  394. method: 'get',
  395. });
  396. }
  397.  
  398. // 公众意见 列表
  399. export function peopleOpinionPage(query) {
  400. return request({
  401. url: '/publicService/peopleOpinion/page',
  402. method: 'get',
  403. params: query,
  404. });
  405. }
  406.  
  407. // 通知公告 列表
  408. export function articleConfigPage(query) {
  409. return request({
  410. url: '/publicService/articleConfig/page',
  411. method: 'get',
  412. params: query,
  413. });
  414. }
  415.  
  416. // 通知公告 新增
  417. export function articleConfigAdd(data) {
  418. return request({
  419. url: '/publicService/articleConfig/add',
  420. method: 'post',
  421. data: data,
  422. });
  423. }
  424.  
  425. // 通知公告 修改
  426. export function articleConfigEdit(data) {
  427. return request({
  428. url: '/publicService/articleConfig/edit',
  429. method: 'put',
  430. data: data,
  431. });
  432. }
  433. // 宣传片配置 删除
  434. export function articleConfigDel(id) {
  435. return request({
  436. url: '/publicService/articleConfig/' + id,
  437. method: 'delete',
  438. });
  439. }
  440. // 宣传片配置 详情
  441. export function articleConfigDetail(id) {
  442. return request({
  443. url: '/publicService/articleConfig/' + id,
  444. method: 'get',
  445. });
  446. }
  447.  
  448. // 验收台账列表
  449. export function checkAndAcceptPage(query) {
  450. return request({
  451. url: '/business/checkAndAccept/page',
  452. method: 'get',
  453. params: query,
  454. });
  455. }
  456.  
  457. // 验收台账列表 详情
  458. export function checkAndAcceptDetail(id) {
  459. return request({
  460. url: '/business/checkAndAccept/' + id,
  461. method: 'get',
  462. });
  463. }
  464.  
  465. // 验收台账列表 新增
  466. export function checkAndAcceptAdd(data) {
  467. return request({
  468. url: '/business/checkAndAccept/add',
  469. method: 'post',
  470. data: data,
  471. });
  472. }
  473.  
  474. // 验收台账 修改
  475. export function checkAndAcceptEdit(data) {
  476. return request({
  477. url: '/business/checkAndAccept/edit',
  478. method: 'put',
  479. data: data,
  480. });
  481. }
  482. // 验收台账 删除
  483. export function checkAndAcceptDel(id) {
  484. return request({
  485. url: '/business/checkAndAccept/' + id,
  486. method: 'delete',
  487. });
  488. }
  489.  
  490. //分页搜索督察巡查台账
  491. export function overSeePage(query) {
  492. return request({
  493. url: '/business/overSee/page',
  494. method: 'get',
  495. params: query,
  496. });
  497. }
  498. // 督察巡查台账 新增
  499. export function overSeeAdd(data) {
  500. return request({
  501. url: '/business/overSee/add',
  502. method: 'post',
  503. data: data,
  504. });
  505. }
  506.  
  507. // 督察巡查台账 修改
  508. export function overSeeEdit(data) {
  509. return request({
  510. url: '/business/overSee/edit',
  511. method: 'put',
  512. data: data,
  513. });
  514. }
  515.  
  516. // 督察巡查台账 删除
  517. export function overSeeDel(id) {
  518. return request({
  519. url: '/business/overSee/' + id,
  520. method: 'delete',
  521. });
  522. }
  523.  
  524. // 分页搜索污水处理厂bod浓度填报
  525. export function sewageBodPage(query) {
  526. return request({
  527. url: '/business/sewageBod/page',
  528. method: 'get',
  529. params: query,
  530. });
  531. }
  532. // 下拉框 污水处理厂
  533. export function facilitySewagelist(query) {
  534. return request({
  535. url: '/business/facilitySewage/list',
  536. method: 'get',
  537. params: query,
  538. });
  539. }
  540. // 污水处理厂 新增
  541. export function sewageBodAdd(data) {
  542. return request({
  543. url: '/business/sewageBod/add',
  544. method: 'post',
  545. data: data,
  546. });
  547. }
  548.  
  549. // 污水处理厂 修改
  550. export function sewageBodEdit(data) {
  551. return request({
  552. url: '/business/sewageBod/edit',
  553. method: 'put',
  554. data: data,
  555. });
  556. }
  557.  
  558. // 污水处理厂 删除
  559. export function sewageBodDel(id) {
  560. return request({
  561. url: '/business/sewageBod/' + id,
  562. method: 'delete',
  563. });
  564. }
  565. // 验收台账列表 详情
  566. export function sewageBodDetail(id) {
  567. return request({
  568. url: '/business/sewageBod/' + id,
  569. method: 'get',
  570. });
  571. }
  572. // 分页搜索项目通知
  573. export function projectNoticePage(query) {
  574. return request({
  575. url: '/business/projectNotice/page',
  576. method: 'get',
  577. params: query,
  578. });
  579. }
  580. export function projectNoticeUserPage(query) {
  581. return request({
  582. url: '/business/projectNoticeUser/page',
  583. method: 'get',
  584. params: query,
  585. });
  586. }
  587.  
  588. // 项目通知 新增
  589. export function projectNoticeAdd(data) {
  590. return request({
  591. url: '/business/projectNotice/add',
  592. method: 'post',
  593. data: data,
  594. });
  595. }
  596. // 项目通知 修改
  597. export function projectNoticeEdit(data) {
  598. return request({
  599. url: '/business/projectNotice/edit',
  600. method: 'put',
  601. data: data,
  602. });
  603. }
  604. export function projectNoticeUserEdit(data) {
  605. return request({
  606. url: '/business/projectNoticeUser/edit',
  607. method: 'put',
  608. data: data,
  609. });
  610. }
  611.  
  612. // 项目通知 删除
  613. export function projectNoticeDel(id) {
  614. return request({
  615. url: '/business/projectNotice/' + id,
  616. method: 'delete',
  617. });
  618. }
  619. // 项目人员通知
  620. export function countUnread(data) {
  621. return request({
  622. url: '/business/projectNoticeUser/countUnread',
  623. method: 'post',
  624. data: data,
  625. });
  626. }
  627.  
  628. // 一张图 降雨报告
  629. export function rainfallSessionInfoList(query) {
  630. return request({
  631. url: '/business/preventFlood/rainfallSessionInfo/list',
  632. method: 'get',
  633. params: query,
  634. });
  635. }
  636.  
  637. // 分页运维应急管理
  638. export function devopsEmergencyPage(query) {
  639. return request({
  640. url: '/business/devopsEmergency/page',
  641. method: 'get',
  642. params: query,
  643. });
  644. }
  645.  
  646. // 运维应急管理 新增
  647. export function devopsEmergencyAdd(data) {
  648. return request({
  649. url: '/business/devopsEmergency/add',
  650. method: 'post',
  651. data: data,
  652. });
  653. }
  654.  
  655. // 运维应急管理 修改
  656. export function devopsEmergencyEdit(data) {
  657. return request({
  658. url: '/business/devopsEmergency/edit',
  659. method: 'put',
  660. data: data,
  661. });
  662. }
  663.  
  664. // 运维应急管理 删除
  665. export function devopsEmergencyDel(id) {
  666. return request({
  667. url: '/business/devopsEmergency/' + id,
  668. method: 'delete',
  669. });
  670. }