|
@@ -0,0 +1,158 @@
|
|
|
+import { Controller, Get, Inject } from "@midwayjs/core";
|
|
|
+import { PartsService } from "../service/parts.service";
|
|
|
+import { RF } from "../response/CustomerResponse";
|
|
|
+
|
|
|
+@Controller('/xxgk', { tagName: '信息公开' })
|
|
|
+export class XxgkController {
|
|
|
+ @Inject()
|
|
|
+ service: PartsService;
|
|
|
+
|
|
|
+ @Get('/jgsz', { routerName: '机构设置' })
|
|
|
+ async jgsz() {
|
|
|
+ const data = await this.service.jgsz()
|
|
|
+ return RF.success(data)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/psgsxxgk', { routerName: '排水公司信息公开' })
|
|
|
+ async psgsxxgk() {
|
|
|
+ const channel_id = 212;
|
|
|
+ const data = await this.service.channelDetail(channel_id)
|
|
|
+ return RF.success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/schjxxgk', { routerName: '水厂环境信息公开' })
|
|
|
+ async schjxxgk() {
|
|
|
+ const channel_id = 213;
|
|
|
+ const data = await this.service.channelDetail(channel_id)
|
|
|
+ return RF.success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/xyzl', { routerName: '行业自律' })
|
|
|
+ async xyzl() {
|
|
|
+ const channel_id = 214;
|
|
|
+ const data = await this.service.channelDetail(channel_id)
|
|
|
+ return RF.success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/ccswjt2018nzfxxgkndgzbg', { routerName: '长春水务集团2018年政府信息公开年度工作报告' })
|
|
|
+ async ccswjt2018nzfxxgkndgzbg() {
|
|
|
+ const channel_id = 215;
|
|
|
+ const data = await this.service.channelDetail(channel_id)
|
|
|
+ return RF.success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/ccswjt2019ngz', { routerName: '长春水务集团2019年工作' })
|
|
|
+ async ccswjt2019ngz() {
|
|
|
+ const channel_id = 216;
|
|
|
+ const data = await this.service.channelDetail(channel_id)
|
|
|
+ return RF.success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/zhswfw', { routerName: '智慧水务(互联网+供水服务)' })
|
|
|
+ async zhswfw() {
|
|
|
+ const channel_id = 217;
|
|
|
+ const data = await this.service.channelDetail(channel_id)
|
|
|
+ return RF.success(data);
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * 只有获得用水是channel的数据,剩下的几个都显示的是content列表
|
|
|
+ */
|
|
|
+ @Get('/hdysz', { routerName: '获得用水(用水发展)' })
|
|
|
+ async hdysz() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('hdysz')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/zhswz', { routerName: '智慧水务' })
|
|
|
+ async zhswz() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('zhswz')
|
|
|
+ const contentList = await this.service.contentList(channel_id)
|
|
|
+ return RF.success(contentList)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/khfwz', { routerName: '客户服务' })
|
|
|
+ async khfwz() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('khfwz')
|
|
|
+ const contentList = await this.service.contentList(channel_id)
|
|
|
+ return RF.success(contentList)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/yscsz', { routerName: '用水常识' })
|
|
|
+ async yscsz() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('yscsz')
|
|
|
+ const contentList = await this.service.contentList(channel_id)
|
|
|
+ return RF.success(contentList)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/xqyshj', { routerName: '新区营商环境' })
|
|
|
+ async xqyshj() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('xqyshj')
|
|
|
+ const contentList = await this.service.contentList(channel_id)
|
|
|
+ return RF.success(contentList)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/fwxx', { routerName: '服务信息' })
|
|
|
+ async fwxx() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('fwxx')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/fwxm', { routerName: '服务项目' })
|
|
|
+ async fwxm() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('fwxm')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/fwsf', { routerName: '服务收费' })
|
|
|
+ async fwsf() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('fwsf')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/fwjd', { routerName: '服务监督' })
|
|
|
+ async fwjd() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('fwjd')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/yjfwya', { routerName: '应急服务预案' })
|
|
|
+ async yjfwya() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('yjfwya')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/jcxxgk', { routerName: '决策信息公开' })
|
|
|
+ async jcxxgk() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('jcxxgk')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/zyzclsqk', { routerName: '重要政策落实情况' })
|
|
|
+ async zyzclsqk() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('zyzclsqk')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/qyscjyqk', { routerName: '企业生产经营情况' })
|
|
|
+ async qyscjyqk() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('qyscjyqk')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+ @Get('/qyyxdrdzyjjfs', { routerName: '企业与相对人的争议解决方式' })
|
|
|
+ async qyyxdrdzyjjfs() {
|
|
|
+ const channel_id = await this.service.searchChannelIdByCode('qyyxdrdzyjjfs')
|
|
|
+ const channelData = await this.service.channelDetail(channel_id);
|
|
|
+ return RF.success(channelData)
|
|
|
+ }
|
|
|
+
|
|
|
+}
|