From 98835a3225c33520497d9d337465df0a7a41339c Mon Sep 17 00:00:00 2001
From: chenjunyi <314298729@qq.com>
Date: Thu, 5 Feb 2026 18:27:47 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E9=9D=99=E6=80=81?=
=?UTF-8?q?=E3=80=81=E5=8A=A8=E6=80=81=E7=8E=AF=E5=A2=83=E5=86=85=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
cdTMP/src/api/project/project.js | 22 +++++
.../projectInfoOther/StaticDynamicTable.vue | 95 +++++++++++++++++++
.../components/projectInfoOther/index.vue | 47 ++++++++-
.../projectModal/hooks/useTable.tsx | 2 +-
.../projectInfoOther/projectModal/index.vue | 28 +++++-
cdTMP/xxx.dio | 0
6 files changed, 183 insertions(+), 11 deletions(-)
create mode 100644 cdTMP/src/layout/components/projectInfoOther/StaticDynamicTable.vue
create mode 100644 cdTMP/xxx.dio
diff --git a/cdTMP/src/api/project/project.js b/cdTMP/src/api/project/project.js
index 630abe4..ed3e20b 100644
--- a/cdTMP/src/api/project/project.js
+++ b/cdTMP/src/api/project/project.js
@@ -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 返回是否填写软件概述等等是否已经填写
diff --git a/cdTMP/src/layout/components/projectInfoOther/StaticDynamicTable.vue b/cdTMP/src/layout/components/projectInfoOther/StaticDynamicTable.vue
new file mode 100644
index 0000000..c52c492
--- /dev/null
+++ b/cdTMP/src/layout/components/projectInfoOther/StaticDynamicTable.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
diff --git a/cdTMP/src/layout/components/projectInfoOther/index.vue b/cdTMP/src/layout/components/projectInfoOther/index.vue
index b347201..3c28671 100644
--- a/cdTMP/src/layout/components/projectInfoOther/index.vue
+++ b/cdTMP/src/layout/components/projectInfoOther/index.vue
@@ -38,30 +38,37 @@
+
+