12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- import request from '@/utils/request'
- // 查询构建流程列表
- export function listFlow(query) {
- return request({
- url: '/suport/flow/list',
- method: 'get',
- params: query
- })
- }
- // 查询构建流程详细
- export function getInfo(id) {
- return request({
- url: '/suport/flow/' + id,
- method: 'get'
- })
- }
- // 新增构建流程
- export function addFlow(data) {
- return request({
- url: '/suport/flow',
- method: 'post',
- data: data
- })
- }
- // 修改构建流程
- export function updateFlow(data) {
- return request({
- url: '/suport/flow',
- method: 'put',
- data: data
- })
- }
- // 删除构建流程
- export function delFlow(id) {
- return request({
- url: '/suport/flow/' + id,
- method: 'delete'
- })
- }
- // 查看构建结果
- export function getFlow(subTaskId) {
- return request({
- url: '/suport/flow/getFlow/' + subTaskId,
- method: 'get'
- })
- }
|