Files
cdTestPlant3/cdTMP/src/api/project/designDemand.js
2023-06-28 21:02:31 +08:00

27 lines
635 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { request } from "@/api/request"
export default {
/**
* 根据项目id、round信息请求详细designDemand数据
* @returns 设计需求数组数据
*/
getDesignDemandList(params = {}) {
return request({
url: `project/getDesignDemandList`,
method: "get",
params
})
},
/**
* 传入id以及data编辑设计需求
* @returns 成功编辑或失败
*/
editDesignDemand(id, data = {}) {
return request({
url: `project/editDesignDemand/` + id,
method: "put",
data
})
}
}