From ca9e281119a804260fea675260805a07bd71facd Mon Sep 17 00:00:00 2001
From: dj <1042039504@qq.com>
Date: Sat, 29 Mar 2025 20:24:53 +0800
Subject: [PATCH] =?UTF-8?q?feat(project-manage):=20=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=99=84=E4=BB=B6=E6=A0=87=E7=AD=BE=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/project-manage/index.js | 29 ++
.../DetailComponent/ProjectAttachment.vue | 286 ++++++++++++------
2 files changed, 215 insertions(+), 100 deletions(-)
diff --git a/src/api/project-manage/index.js b/src/api/project-manage/index.js
index 8faa1b3..6e6eeae 100644
--- a/src/api/project-manage/index.js
+++ b/src/api/project-manage/index.js
@@ -85,6 +85,35 @@ export const getTags = (projectId) => {
method: "get"
});
};
+export const getTagList = (projectId) => {
+ return request({
+ url: `/workflow/mosr/file/tag/list`,
+ method: "get",
+ params:{
+ projectId: projectId
+ }
+ });
+};
+export const addTag = (data) => {
+ return request({
+ url: '/workflow/mosr/file/tag/add',
+ method: "post",
+ data:data
+ });
+};
+export const updateTag = (data) => {
+ return request({
+ url: '/workflow/mosr/file/tag/update',
+ method: "post",
+ data:data
+ });
+};
+export const delTag = (tageId) => {
+ return request({
+ url: `/workflow/mosr/file/tag/${tageId}`,
+ method: "delete"
+ });
+};
export const getPhaseProcess = () => {
return request({
url: '/workflow/phase/change/process',
diff --git a/src/components/DetailComponent/ProjectAttachment.vue b/src/components/DetailComponent/ProjectAttachment.vue
index 43beee8..10e37b0 100644
--- a/src/components/DetailComponent/ProjectAttachment.vue
+++ b/src/components/DetailComponent/ProjectAttachment.vue
@@ -1,56 +1,64 @@
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+ 编辑
+
-
-
-
-
-
+
+
+
+
+
-
- 标签:
-
- 确定
- 取消
-
-
+
+ 标签:
+
+
+
+
+ 确定
+ 取消
+
+
@@ -314,29 +394,35 @@ onActivated(() => {
}