From a5a3ee9bb521a7c61cb336472d0337b1f61f1b7d Mon Sep 17 00:00:00 2001
From: chenjunyi <314298729@qq.com>
Date: Wed, 4 Feb 2026 11:23:25 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E8=BD=AF=E4=BB=B6?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9B=BE=E5=BD=95=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
cdTMP/package-lock.json | 8 +-
cdTMP/package.json | 2 +-
cdTMP/src/api/project/project.js | 23 ++++++
.../projectInfoOther/InterfaceImage.vue | 80 +++++++++++++++++++
.../components/projectInfoOther/index.vue | 16 ++--
.../projectModal/ImageInput/index.vue | 2 +-
.../projectInfoOther/projectModal/index.vue | 3 +-
7 files changed, 121 insertions(+), 13 deletions(-)
create mode 100644 cdTMP/src/layout/components/projectInfoOther/InterfaceImage.vue
diff --git a/cdTMP/package-lock.json b/cdTMP/package-lock.json
index 8f7edc4..a34c27c 100644
--- a/cdTMP/package-lock.json
+++ b/cdTMP/package-lock.json
@@ -32,7 +32,7 @@
"vue": "^3.5.27",
"vue-clipboard3": "^2.0.0",
"vue-color-kit": "^1.0.6",
- "vue-data-ui": "^3.14.2",
+ "vue-data-ui": "^3.14.5",
"vue-router": "^5.0.2",
"vuedraggable": "^2.24.3"
},
@@ -5699,9 +5699,9 @@
}
},
"node_modules/vue-data-ui": {
- "version": "3.14.2",
- "resolved": "https://registry.npmmirror.com/vue-data-ui/-/vue-data-ui-3.14.2.tgz",
- "integrity": "sha512-gxMhF0DXMfJ+TgErs0fKsM7Se+txRQSFhy+DWtw5XhD2HnjxnlbBSuyJDyNvLdHtPWOVeoXzc1TSMvLzsheZnQ==",
+ "version": "3.14.5",
+ "resolved": "https://registry.npmmirror.com/vue-data-ui/-/vue-data-ui-3.14.5.tgz",
+ "integrity": "sha512-VjRJAHvnb0NFqrz/hB8cG4bNnOVzO0J3kJ1lE9Ir3dMFKA37R1lEriu7Q4tlgkoFLmsvhV/wfan2iiLFCBYKWA==",
"license": "MIT",
"peerDependencies": {
"jspdf": ">=3.0.1",
diff --git a/cdTMP/package.json b/cdTMP/package.json
index 3151936..24f0dbf 100644
--- a/cdTMP/package.json
+++ b/cdTMP/package.json
@@ -35,7 +35,7 @@
"vue": "^3.5.27",
"vue-clipboard3": "^2.0.0",
"vue-color-kit": "^1.0.6",
- "vue-data-ui": "^3.14.2",
+ "vue-data-ui": "^3.14.5",
"vue-router": "^5.0.2",
"vuedraggable": "^2.24.3"
},
diff --git a/cdTMP/src/api/project/project.js b/cdTMP/src/api/project/project.js
index 8bd0776..630abe4 100644
--- a/cdTMP/src/api/project/project.js
+++ b/cdTMP/src/api/project/project.js
@@ -133,6 +133,29 @@ export default {
params: { id: id }
})
},
+ /**
+ * 提交修改或新增软件接口图
+ * @returns 返回新增或修改是否成功
+ */
+ postInterfaceImage(id, data) {
+ return request({
+ url: "/testmanage/project/interface_image/",
+ method: "post",
+ params: { id: id },
+ data
+ })
+ },
+ /**
+ * 提交修改或新增软件接口图
+ * @returns 返回新增或修改是否成功
+ */
+ getInterfaceImage(id) {
+ return request({
+ url: "/testmanage/project/get_interface_image/",
+ method: "get",
+ params: { id: id }
+ })
+ },
/**
* 获取所有状态
* @returns 返回是否填写软件概述等等是否已经填写
diff --git a/cdTMP/src/layout/components/projectInfoOther/InterfaceImage.vue b/cdTMP/src/layout/components/projectInfoOther/InterfaceImage.vue
new file mode 100644
index 0000000..8b890b8
--- /dev/null
+++ b/cdTMP/src/layout/components/projectInfoOther/InterfaceImage.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
diff --git a/cdTMP/src/layout/components/projectInfoOther/index.vue b/cdTMP/src/layout/components/projectInfoOther/index.vue
index 81a03ce..b347201 100644
--- a/cdTMP/src/layout/components/projectInfoOther/index.vue
+++ b/cdTMP/src/layout/components/projectInfoOther/index.vue
@@ -34,26 +34,34 @@
+
+
+