From 338b1ef8bd5cfc79be84bc0b7dc16f27f1d92f19 Mon Sep 17 00:00:00 2001 From: rdpnr_hemingxia Date: Fri, 21 Mar 2025 18:00:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=8C=E9=9C=80=E6=B1=82=E7=AE=A1=E7=90=86=E8=B5=B7?= =?UTF-8?q?=E6=AD=A5=E7=BC=96=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.js | 7 ++ src/views/project/list.vue | 104 +++++++++++++++----------- src/views/projectBank/projectUser.vue | 2 +- 3 files changed, 70 insertions(+), 43 deletions(-) diff --git a/src/utils/api.js b/src/utils/api.js index 7ebfd68..537014a 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -196,4 +196,11 @@ export const taskApi = { +} +export const demandApi = { + getDemandTree: (data) => request({ + url: `/projectVersion/tree`, + method: 'get', + params: data, + }), } diff --git a/src/views/project/list.vue b/src/views/project/list.vue index f2f8b63..37b928f 100644 --- a/src/views/project/list.vue +++ b/src/views/project/list.vue @@ -1,5 +1,15 @@