import { ApiClientFactory } from '../core/api.client.factory'; export class HardWareService { constructor(private factory: ApiClientFactory) {} // 硬件质量 2020年09月10日09:28:02 jc async getAllDatas(data: any): Promise { const result = await this.factory.gssParent.post(`/api/iotsafety-service/safety/problem/getSafetyData`, data); return result; } // 硬件质量 渠道检查问题排名 2020年09月14日14:58:44 jc async getChart1(data: any): Promise { const result = await this.factory.gssParent.post( `/api/iotsafety-service/iotsafety/gssiotclpbranking/countclpbranking`, data ); return result; } //月度整体情况和检查月度趋势-明细 (二级弹窗表格) 2020年09月15日08:24:03 JC async getDetail( pageNo: string, pageSize: string, orgId: string, orgType: string, currentYearAndDay: string, problemDistributionId: string, deliveryProblemId: string, checkResult: string, problemDistributionBase64Value: string ): Promise { const result = await this.factory.gssParent.get( `/api/iotsafety-service/iotsafety/gssiotmonthsituation/getsafetydetailpagelist?pageNo=${pageNo}&pageSize=${pageSize}&orgId=${orgId}&orgType=${orgType}¤tYearAndDay=${currentYearAndDay}&problemDistributionId=${problemDistributionId}&deliveryProblemId=${deliveryProblemId}&checkResult=${checkResult}&problemDistributionBase64Value=${problemDistributionBase64Value}` ); return result; } // 检查问题的月度趋势 async getLineChart(data: any): Promise { const result = await this.factory.gssParent.post( `/api/iotsafety-service/safety/problem/getProblemMonthlyTrend`, data ); return result; } }