Blame view

src/api/work.js 2.5 KB
xiaomiao committed
1 2 3 4 5
/*
 * @Description  :工作台表格api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 16:41:39
 */
xiaomiao committed
6
import request from '@/utils/request'
7
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
xiaomiao committed
8

任超 committed
9
class work {
yuanbo committed
10 11 12 13 14
  /**
   * @description: 登记类型总量
   * @param {*} data
   * @author: renchao
   */
任超 committed
15
  async getDjlxtotal (data) {
xiaomiao committed
16 17 18 19 20 21
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/getDjlxtotal',
      method: 'post',
      data
    })
  }
yuanbo committed
22 23 24 25 26
  /**
   * @description: 登记业务量
   * @param {*} data
   * @author: renchao
   */
任超 committed
27
  async getdjywltotal (data) {
xiaomiao committed
28 29 30 31 32 33
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/getdjywltotal',
      method: 'post',
      data
    })
  }
yuanbo committed
34 35 36 37 38
  /**
   * @description: 省厅汇交-区县接入
   * @param {*} data
   * @author: renchao
   */
任超 committed
39
  async getsthjqxjrtotal (data) {
xiaomiao committed
40 41 42 43 44 45
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/getsthjqxjrtotal',
      method: 'post',
      data
    })
  }
yuanbo committed
46 47 48 49 50
  /**
   * @description: 地图区县总量统计,code区县编码,汉中为:A20
   * @param {*} code
   * @author: renchao
   */
任超 committed
51
  async mapViews (code) {
xiaomiao committed
52 53 54 55 56 57 58 59
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/mapViews',
      method: 'get',
      params: {
        code: code
      }
    })
  }
yuanbo committed
60 61 62 63 64
  /**
   * @description: 数据趋势
   * @param {*} code
   * @author: renchao
   */
任超 committed
65
  async dataTrend (code) {
xiaomiao committed
66 67 68 69 70 71 72 73
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend',
      method: 'get',
      params: {
        code: code
      }
    })
  }
yuanbo committed
74 75 76 77 78
  /**
   * @description: 新建国有房屋信息
   * @param {*} code
   * @author: renchao
   */
任超 committed
79
  async addhousetotal (code) {
xiaomiao committed
80 81 82 83 84 85 86 87
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal',
      method: 'get',
      params: {
        code: code
      }
    })
  }
88
  // /bdcsjsb/rest/reg/work/qxmrjrsb
yuanbo committed
89 90 91 92 93
  /**
   * @description: 新建国有房屋信息
   * @param {*} code
   * @author: renchao
   */
94 95 96 97 98 99 100 101 102 103
  async qxmrjrsb (code) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/qxmrjrsb',
      method: 'get',
      params: {
        code: code
      }
    })
  }

yuanbo committed
104 105 106 107 108
  /**
   * @description: 地图区县成功失败统计,code区县编码,汉中为:A20
   * @param {*} code
   * @author: renchao
   */
任超 committed
109
  async submitViews (code) {
xiaomiao committed
110 111 112 113 114 115 116 117 118 119 120
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/work/submitViews',
      method: 'get',
      params: {
        code: code
      }
    })
  }


}
任超 committed
121
export default new work()