/* * @Description :工作台数据相关api文件 * @Autor : miaofang * @LastEditTime : 2023-05-17 10:53:31 */ import request from '@/utils/request' let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) class work { /** * @description: 登记类型总量 * @param {*} data * @author: renchao */ async getDjlxtotal (data) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/getDjlxtotal', method: 'post', data }) } /** * @description: 登记业务量 * @param {*} data * @author: renchao */ async getdjywltotal (data) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/getdjywltotal', method: 'post', data }) } /** * @description: 省厅汇交-区县接入 * @param {*} data * @author: renchao */ async getsthjqxjrtotal (data) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/getsthjqxjrtotal', method: 'post', data }) } /** * @description: 地图区县总量统计,code区县编码,汉中为:A20 * @param {*} code * @author: renchao */ async mapViews (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/mapViews', method: 'get', params: { code: code } }) } /** * @description: 数据趋势 * @param {*} code * @author: renchao */ async dataTrend (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend', method: 'get', params: { code: code } }) } /** * @description: 新建国有房屋信息 * @param {*} code * @author: renchao */ async addhousetotal (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal', method: 'get', params: { code: code } }) } /** * @description: 地图区县成功失败统计,code区县编码,汉中为:A20 * @param {*} code * @author: renchao */ async submitViews (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/submitViews', method: 'get', params: { code: code } }) } } export default new work()