This commit is contained in:
sjl
2024-11-18 09:02:57 +08:00
parent a8eaccc53e
commit 5cdbee88b4
54 changed files with 375 additions and 836 deletions

View 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)
}

View 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