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