微调
This commit is contained in:
12
frontend/src/api/device/testScript/index.ts
Normal file
12
frontend/src/api/device/testScript/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ResPage } from '@/api/interface'
|
||||
import type { TestScript } from '@/api/device/interface/testScript'
|
||||
import http from '@/api'
|
||||
|
||||
/**
|
||||
* @name 检测脚本管理模块
|
||||
*/
|
||||
// 获取检测脚本列表
|
||||
export const getTestScriptList = (params: TestScript.ReqTestScriptParams) => {
|
||||
return http.post<ResPage<TestScript.TestScriptBO>>(`/testScript/list`, params)
|
||||
// return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testScript/list`, params)
|
||||
}
|
||||
32
frontend/src/api/device/testScript/testScriptData.ts
Normal file
32
frontend/src/api/device/testScript/testScriptData.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
const data = [
|
||||
{
|
||||
testScriptModel:"模拟",
|
||||
id: 'operatorrole',
|
||||
testScriptType:"脚本",
|
||||
testScriptValueType:"绝对值",
|
||||
testScriptName:"国网入网检测脚本(单影响量-模拟式)",
|
||||
},
|
||||
{
|
||||
testScriptModel:"模拟",
|
||||
id: 'managerrole',
|
||||
testScriptType:"脚本",
|
||||
testScriptValueType:"相对值",
|
||||
testScriptName:"国网入网检测脚本(Q/GDW 10650.4 - 2021) 模拟式",
|
||||
},
|
||||
{
|
||||
testScriptModel:"模拟",
|
||||
id: 'superManagerrole',
|
||||
testScriptType:"脚本",
|
||||
testScriptValueType:"相对值",
|
||||
testScriptName:"国网入网检测脚本(Q/GDW 1650.4 - 2016) 模拟式",
|
||||
},
|
||||
{
|
||||
testScriptModel:"模拟",
|
||||
id: 'superManagerroletest',
|
||||
testScriptType:"脚本",
|
||||
testScriptValueType:"相对值",
|
||||
testScriptName:"GBT 19862 - 2016 模拟式",
|
||||
},
|
||||
]
|
||||
|
||||
export default data
|
||||
Reference in New Issue
Block a user