import request from '@/utils/request' let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) class work { // 登记类型总量 async getDjlxtotal (data) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/getDjlxtotal', method: 'post', data }) } // 登记业务量 async getdjywltotal (data) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/getdjywltotal', method: 'post', data }) } // 省厅汇交-区县接入 async getsthjqxjrtotal (data) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/getsthjqxjrtotal', method: 'post', data }) } // 地图区县总量统计,code区县编码,汉中为:A20 async mapViews (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/mapViews', method: 'get', params: { code: code } }) } // 数据趋势 async dataTrend (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend', method: 'get', params: { code: code } }) } // 新建国有房屋信息 async addhousetotal (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal', method: 'get', params: { code: code } }) } // 地图区县成功失败统计,code区县编码,汉中为:A20 async submitViews (code) { return request({ url: SERVER.SERVERAPI + '/rest/reg/work/submitViews', method: 'get', params: { code: code } }) } } export default new work()