From 0ce6113ffade1553be05cb69edea3729108d03eb Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Mon, 4 Jul 2022 17:15:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9D=A5=E6=BA=90=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/personalCenter.js | 8 + .../components/PutOnTheShelf.vue | 1056 +++++++++-------- 2 files changed, 557 insertions(+), 507 deletions(-) diff --git a/front/src/api/personalCenter.js b/front/src/api/personalCenter.js index faed5074..d6a61432 100644 --- a/front/src/api/personalCenter.js +++ b/front/src/api/personalCenter.js @@ -215,3 +215,11 @@ export function selectResourceListByDept(params) { params, }) } +// 获取来源应用列表 +export function queryApplicationRelByResourceId(params) { + return request({ + url: '/dataResourceRel/queryApplicationRelByResourceId', + method: 'get', + params, + }) +} diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 5178bdfd..fa7e57a2 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -16,21 +16,14 @@ From 0db6fb95fe03fcce0e05a6aabeb7ea4133bdc530 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Mon, 4 Jul 2022 17:21:43 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9D=A5=E6=BA=90=E5=BA=94=E7=94=A82.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/capacityOnTheShelf/components/PutOnTheShelf.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 42e274ce..789dabd6 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -328,8 +328,7 @@ const ApplicationArea = (item, itemson) => { const visibleAssociatedApplication = ref(false) const mockData = ref([]) -const sourceClick = (title) => { - console.log(title, 'title') +const sourceClick = () => { visibleAssociatedApplication.value = true queryApplicationRelByResourceId({ referenceId: 0,