Blame view

admin-web-master/src/api/information.js 2.39 KB
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
  // import request from '@/api/map'
  import request from '@/utils/request'
  //查询列表
  export  function getAlls(data) {
    return request({
      url: '/cereBasicInformationShop/queryByPage',
      method: 'post',
      data
    })
  }
  
  
  // 新增
  export  function addList(data) {
    return request({
      url: '/cereBasicInformationShop/add',
      method: 'post',
      data
    })
  }
  // 编辑
  export  function editList(data) {
    return request({
      url: '/cereBasicInformationShop/edit',
      method: 'post',
      data
    })
  }
  
  // 删除
  export  function delList(data) {
    return request({
      url: '/cereBasicInformationShop/deleteById',
      method: 'post',
      data
    })
  }
  
  // 查询指定数据
  export  function likeGet(data) {
    return request({
      url: '/cereBasicInformationShop/queryById',
      method: 'post',
      data
    })
  }
  
  // 获取绿道段
  export  function lvdaoduan(data) {
    return request({
      url: '/queryTheJunYi/searchGreenwaySections',
      method: 'post',
      data
    })
  }
40a0b33d   杨鑫   '最新'
56
  // 获取步道
3f535f30   杨鑫   '初始'
57
58
59
60
61
62
63
  export  function gongyuan(data) {
    return request({
      url: '/queryTheJunYi/searchTrail',
      method: 'post',
      data
    })
  }
40a0b33d   杨鑫   '最新'
64
65
66
67
68
69
70
71
  // 获取公园
  export  function parkTrails(data) {
    return request({
      url: '/queryTheJunYi/searchParkTrails',
      method: 'post',
      data
    })
  }
3f535f30   杨鑫   '初始'
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
  //场地查询列表
  export  function changAlls(data) {
    return request({
      url: '/cereBasicInformationVenue/queryByPage',
      method: 'post',
      data
    })
  }
  
  
  // 场地新增
  export  function changadd(data) {
    return request({
      url: '/cereBasicInformationVenue/add',
      method: 'post',
      data
    })
  }
  // 场地编辑
  export  function changedit(data) {
    return request({
      url: '/cereBasicInformationVenue/edit',
      method: 'post',
      data
    })
  }
  
  // 场地删除
  export  function changDel(data) {
    return request({
      url: '/cereBasicInformationVenue/deleteById',
      method: 'post',
      data
    })
  }
  
  // 统计分析
  export  function statistical(data) {
    return request({
      url: '/statistical/resourceQuantityGrowth',
      method: 'post',
      data
    })
  }
a54f027f   杨鑫   '1'
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
  
  // 商户导入管理模板
  export const excelAdd = (data = {}) => {
    return request({
      url: '/cereBasicInformationShop/excelAdd',
      method: 'post',
      data,
      headers: {
        'Content-type': 'multipart/form-data'
      }
    })
  }
  
  // 租赁信息
  export  function zulxin(data) {
    return request({
      url: `cereBasicInformationShop/${data.venueNumber}`,
      method: 'get',
      data
    })
  }