新增:静态、动态环境内容

This commit is contained in:
2026-02-05 18:27:47 +08:00
parent a5a3ee9bb5
commit 98835a3225
6 changed files with 183 additions and 11 deletions

View File

@@ -156,6 +156,28 @@ export default {
params: { id: id }
})
},
/**
* 获取静态软件项、静态硬件项、动态软件项、动态硬件项的数据
* @returns 返回数据
*/
getStaticDynamicItems(id, category) {
return request({
url: "/testmanage/project/get_static_dynamic_items/",
method: "get",
params: { id: id, category }
})
},
/**
* 提交修改或新增静态软件项、静态硬件项、动态软件项、动态硬件项
* @returns null
*/
postStaticDynamicItems(data) {
return request({
url: "/testmanage/project/post_static_dynamic_item/",
method: "post",
data
})
},
/**
* 获取所有状态
* @returns 返回是否填写软件概述等等是否已经填写