diff --git a/test-ui/src/api/uiTest/automationTest.js b/test-ui/src/api/uiTest/automationTest.js index 5d1beae..afdfcd5 100644 --- a/test-ui/src/api/uiTest/automationTest.js +++ b/test-ui/src/api/uiTest/automationTest.js @@ -1 +1,45 @@ -import request from '@/utils/request' \ No newline at end of file +import request from '@/utils/request' + +// 自动化 - 列表查询 +export function getAutomationList(query) { + return request({ + url: '/test/automation/list', + method: 'get', + params: query + }) +} + +// 自动化 - 新增 +export function addAutomation(data) { + return request({ + url: '/test/automation/add', + method: 'post', + data: data + }) +} + +// 自动化 - 删除 +export function deleteAutomation(data) { + return request({ + url: '/test/automation/delete/' + data, + method: 'put', + }) +} + +// 自动化- 编辑 +export function updateAutomation(data) { + return request({ + url: '/test/automation/update', + method: 'put', + data: data + }) +} + +// 自动化 - 详情 + +export function getAutomationDetail(data) { + return request({ + url: '/test/automation/getInfo' + data, + method: 'get', + }) +} \ No newline at end of file diff --git a/test-ui/src/views/test/uiTest/automationTest.vue b/test-ui/src/views/test/uiTest/automationTest.vue index eb66177..807ffec 100644 --- a/test-ui/src/views/test/uiTest/automationTest.vue +++ b/test-ui/src/views/test/uiTest/automationTest.vue @@ -11,23 +11,35 @@
- +
- - - - - - - - - - + + + + + + + + + + + + + + +