微调
This commit is contained in:
12
frontend/src/api/device/testSource/index.ts
Normal file
12
frontend/src/api/device/testSource/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ResPage } from '@/api/interface'
|
||||
import type { TestSource } from '@/api/device/interface/testSource'
|
||||
import http from '@/api'
|
||||
|
||||
/**
|
||||
* @name 检测源管理模块
|
||||
*/
|
||||
// 获取检测脚本列表
|
||||
export const getTestSourceList = (params: TestSource.ReqTestSourceParams) => {
|
||||
return http.post<ResPage<TestSource.TestSourceBO>>(`/testSource/list`, params)
|
||||
// return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testSource/list`, params)
|
||||
}
|
||||
28
frontend/src/api/device/testSource/testSourceData.ts
Normal file
28
frontend/src/api/device/testSource/testSourceData.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
const data = [
|
||||
{
|
||||
id: 'testSource1',
|
||||
testSourceName: '标准源-福禄克-6100A',
|
||||
testSourceType: 'FLUKE.6100A电能功率标准源',
|
||||
testSourceModel: '标准源',
|
||||
},
|
||||
{
|
||||
id: 'testSource2',
|
||||
testSourceName: '标准源-昂立-PF2',
|
||||
testSourceType: 'ANGLI-FP2高性能数字信号源',
|
||||
testSourceModel: '标准源',
|
||||
},
|
||||
{
|
||||
id: 'testSource3',
|
||||
testSourceName: '标准源-丹迪克-DKLN1',
|
||||
testSourceType: 'DKLN-1电能质量测试分析仪智能检定装置',
|
||||
testSourceModel: '标准源',
|
||||
},
|
||||
{
|
||||
id: 'testSource4',
|
||||
testSourceName: '高精度设备-PQV520-1',
|
||||
testSourceType: 'PQV-520电能质量监测装置',
|
||||
testSourceModel: '高精度设备',
|
||||
},
|
||||
]
|
||||
|
||||
export default data
|
||||
Reference in New Issue
Block a user