From 1eb4e4f46ee3ca24dbfe0a33a2a1d3699ea0e714 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 6 Dec 2022 17:48:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=B5=84=E6=BA=90=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/home.js | 14 +- front/src/views/home/DetailsPageconetent.vue | 11 +- .../views/home/detailsPageconetentTree.vue | 145 ++++++++++-------- 3 files changed, 99 insertions(+), 71 deletions(-) diff --git a/front/src/api/home.js b/front/src/api/home.js index 722783b3..1e5c88d4 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-01 19:19:40 * @LastEditors: Light - * @LastEditTime: 2022-12-01 17:53:16 + * @LastEditTime: 2022-12-06 11:43:03 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' @@ -302,7 +302,7 @@ export function workdynamicsDetails(params) { params, }) } -//工作状态详情 +// 应用资源 组件服务左侧树 export function selectDeptList(data) { return request({ url: '/resource/selectDeptList', @@ -310,7 +310,15 @@ export function selectDeptList(data) { data, }) } -//工作状态详情 +// 数据资源左侧树 +export function getDataResourceDeptList(data) { + return request({ + url: '/resource/getDataResourceDeptList', + method: 'post', + data, + }) +} + export function updateRes(data) { return request({ url: '/resource/update', diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index 4df38c0f..52fdfd2d 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -2,10 +2,17 @@
-
+
-
+
diff --git a/front/src/views/home/detailsPageconetentTree.vue b/front/src/views/home/detailsPageconetentTree.vue index d3bd2e2f..f0478cb1 100644 --- a/front/src/views/home/detailsPageconetentTree.vue +++ b/front/src/views/home/detailsPageconetentTree.vue @@ -113,7 +113,7 @@