南昌市物联网技防平台-学校版前端
Administrator
2021-06-03 f451c972e2dadccb068949f5edeac10705cacfc6
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
import request from '@/router/axios';
 
export const getList = (current, size, params) => {
  return request({
    url: '/api/blade-system/tenant/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
 
export const getDetail = (id) => {
  return request({
    url: '/api/blade-system/tenant/detail',
    method: 'get',
    params: {
      id
    }
  })
}
export const selectTy = (hn) => {
  return request({
    url: '/api/blade-system/tenant/selectTy',
    method: 'post',
    params: {
      hn
    }
  })
}
export const deletey = (hn) => {
  return request({
    url: '/api/blade-system/tenant/deletey',
    method: 'post',
    params: {
      hn
    }
  })
}
export const deletes = (hn) => {
  return request({
    url: '/api/blade-system/tenant/deletes',
    method: 'post',
    params: {
      hn
    }
  })
}
export const deleter = (hn) => {
  return request({
    url: '/api/blade-system/tenant/deleter',
    method: 'post',
    params: {
      hn
    }
  })
}
 
 
export const selectTs = (hn) => {
  return request({
    url: '/api/blade-system/tenant/selectTs',
    method: 'post',
    params: {
      hn
    }
  })
}
export const selectTr = (hn) => {
  return request({
    url: '/api/blade-system/tenant/selectTr',
    method: 'post',
    params: {
      hn
    }
  })
}
 
export const remove = (ids) => {
  return request({
    url: '/api/blade-system/tenant/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
 
export const add = (row) => {
  return request({
    url: '/api/blade-system/tenant/submit',
    method: 'post',
    data: row
  })
}
 
export const update = (row) => {
  return request({
    url: '/api/blade-system/tenant/submit',
    method: 'post',
    data: row
  })
}
export const instery = (dj, ht, ctime, content,hn) => {
  return request({
    url: '/api/blade-system/tenant/instery',
    method: 'post',
    params: {
      dj,
      ht,
      ctime,
      content,
      hn
    }
  })
}
export const insertsr = (category, attributes, developers, housetype, content, hn) => {
  return request({
    url: '/api/blade-system/tenant/insertsr',
    method: 'post',
    params: {
      category,
      attributes,
      developers,
      housetype,
      content,
      hn
    }
  })
}
export const updateInfor = (category, attributes, developers, had, housetype, content, hn) => {
  return request({
    url: '/api/blade-system/tenant/updateInfor',
    method: 'post',
    params: {
      category,
      attributes,
      developers,
      had,
      housetype,
      content,
      hn
    }
  })
}
 
export const updateInfoy = (dj, had, ht, ctime, content,hn) => {
  return request({
    url: '/api/blade-system/tenant/updateInfoy',
    method: 'post',
    params: {
      dj,
      had,
      ht,
      ctime,
      content,
      hn
    }
  })
}
export const insertss = (nature, had, motto, ctime, content,hn) => {
  return request({
    url: '/api/blade-system/tenant/insertss',
    method: 'post',
    params: {
      nature,
      had,
      motto,
      ctime,
      content,
      hn
    }
  })
}
export const updateInfos = (nature, had, motto, ctime, content,hn) => {
  return request({
    url: '/api/blade-system/tenant/updateInfos',
    method: 'post',
    params: {
      nature,
      had,
      motto,
      ctime,
      content,
      hn
    }
  })
}
 
export const setting = (ids, form) => {
  return request({
    url: '/api/blade-system/tenant/setting',
    method: 'post',
    params: {
      ...form,
      ids
    }
  })
}
 
export const datasource = (tenantId, datasourceId) => {
  return request({
    url: '/api/blade-system/tenant/datasource',
    method: 'post',
    params: {
      tenantId,
      datasourceId
    }
  })
}
 
export const info = (domain) => {
  return request({
    url: '/api/blade-system/tenant/info',
    method: 'get',
    params: {
      domain
    }
  })
}