| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- import request from '@/config/axios'
- export const reportInfoApi = {
- /**
- * 获取报告档案列表数据
- * @param params
- * @returns
- */
- getReportInfoList: async (params: any) => {
- return await request.get({ url: `/pressure/task-order-item-report/page`, params })
- },
- /**
- * 查询检验通知书列表
- * @param params
- * @returns
- */
- getCheckBookList: async (params: any) => {
- return await request.get({ url: '/pressure/task-order/inspection-opinion/page', params })
- },
- /**
- * 上报市局
- * @param params
- * @returns
- */
- reportUpload: async (data: any) => {
- return await request.put({ url: `/pressure/task-order/inspection-opinion/Reported`, data })
- },
- /**
- * 导出意见通知书
- * @param params
- * @returns
- */
- exportCheckBook: async (params) => {
- return await request.download({
- url: `/pressure/appointment-confirm-order-refuse-item/export-excel`,
- params
- })
- },
- opinionReportedExcel: async (data: any) => {
- return await request.download2({
- url: `/pressure/task-order/opinionReportedExcel/export-excel`,
- data
- })
- },
- exportInspection: async (data: any) => {
- return await request.download2({
- url: `/pressure/task-order/inspection-opinion/export-excel`,
- data
- })
- },
- exportInspectionReported: async (data: any) => {
- return await request.download2({
- url: `/pressure/task-order/inspection-opinion-reported/export-excel`,
- data
- })
- },
- /**
- * 意见通知书详情
- * @param params
- * @returns
- */
- exportCheckBookDetail: async (params) => {
- return await request.get({ url: `/pressure/task-order/inspection-opinion/details`, params })
- },
- /** 隐患上报下载 */
- downloadReport: async (data) => {
- const timeout = 1000 * 60 * 5 // 5min
- return await request.post({ url: `/pressure/task-order/opinion/reported`, data, timeout })
- },
- /** 隐患上报上报 */
- hiddenDangerReportingApi: async (data) => {
- // const timeout = 1000 * 60 * 5 // 5min
- return await request.post({ url: `/pressure/task-order/opinion/hiddenDangerReporting`, data })
- },
- /** 隐患上报上报 */
- reportTheCompletionApi: async (data) => {
- // const timeout = 1000 * 60 * 5 // 5min
- return await request.post({ url: `/pressure/task-order/opinion/reportTheCompletion`, data })
- },
- /**获取统计数量 */
- getReportCount: async (params) => {
- return await request.get({ url: `/pressure/task-order/opinion/reported-count`, params })
- },
- /** 更新情况 */
- updateSituation: async (data: any) => {
- return await request.post({ url: `/pressure/task-order/order-item/update-situation`, data })
- },
- // 检验意见通知跟进记录
- getFollowRecordList: (params) => {
- return request.get({ url: '/pressure/opinion-notification-follow-record/page', params })
- },
- /**
- * 新增跟进记录
- * @param data
- * @returns
- */
- createFollowRecord: async (data: any) => {
- return await request.post({ url: `/pressure/opinion-notification-follow-record/create`, data })
- },
- updateFollowRecord: async (data: any) => {
- return await request.put({ url: `/pressure/task-order-item-report/update`, data })
- },
- // 任务单-设备项记录录入非空检查
- getOrderItemRecordCheckApi: (params) => {
- return request.get({ url: '/pressure/task-order/order-item/record-check', params })
- },
- // 任务单-设备项记录录入非空检查 (批量)
- getOrderItemBatchRecordCheckApi: (data) => {
- return request.post({ url: '/pressure/task-order/order-item/batch-record-check', data })
- },
- }
|