中国算力平台算力登记系统2.0
yanzhaofeige
5 days ago 1d25094b9f0e339d784e6f1b17c95c88c272dd45
commit | author | age
1d2509 1 import request from '@/utils/request'
Y 2
3 // 查询IDC编号索引列表
4 export function listIdcNoIndex(query) {
5   return request({
6     url: '/bis/idcNoIndex/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询IDC编号索引详细
13 export function getIdcNoIndex(id) {
14   return request({
15     url: '/bis/idcNoIndex/' + id,
16     method: 'get'
17   })
18 }
19
20 // 新增IDC编号索引
21 export function addIdcNoIndex(data) {
22   return request({
23     url: '/bis/idcNoIndex',
24     method: 'post',
25     data: data
26   })
27 }
28
29 // 修改IDC编号索引
30 export function updateIdcNoIndex(data) {
31   return request({
32     url: '/bis/idcNoIndex',
33     method: 'put',
34     data: data
35   })
36 }
37
38 // 删除IDC编号索引
39 export function delIdcNoIndex(id) {
40   return request({
41     url: '/bis/idcNoIndex/' + id,
42     method: 'delete'
43   })
44 }