From 459783fd4af8e8c0566b57690e7f0579373d2db8 Mon Sep 17 00:00:00 2001 From: tian <3072314689@qq.com> Date: 星期五, 26 九月 2025 11:42:46 +0800 Subject: [PATCH] ‘列表查询 --- src/views/archiveManager/index.vue | 8 ++++---- src/api/system/projectName.js | 6 ++++-- src/api/system/placeName.js | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/api/system/placeName.js b/src/api/system/placeName.js index 4b3b43e..a3586ed 100644 --- a/src/api/system/placeName.js +++ b/src/api/system/placeName.js @@ -11,7 +11,8 @@ // 鏌ヨ銆愯濉啓鍔熻兘鍚嶇О銆戝垪琛� export function listAllPlaceName() { return request({ - url: '/system/placeName/listAll', + // url: '/system/placeName/listAll', + url: '/system/placeName/list', method: 'get', }) diff --git a/src/api/system/projectName.js b/src/api/system/projectName.js index c5cc84e..3ceb91b 100644 --- a/src/api/system/projectName.js +++ b/src/api/system/projectName.js @@ -11,8 +11,10 @@ // 鏌ヨ銆愯濉啓鍔熻兘鍚嶇О銆戝垪琛� export function listAllProjectName() { return request({ - url: '/system/projectName/listAll', - method: 'get', + // url: '/system/projectName/listAll', + url: '/system/projectName/list', + method: 'get' + }) } diff --git a/src/views/archiveManager/index.vue b/src/views/archiveManager/index.vue index 9d92a36..51f93be 100644 --- a/src/views/archiveManager/index.vue +++ b/src/views/archiveManager/index.vue @@ -858,8 +858,8 @@ { try { const response = await listAllPlaceName() - console.log(response.data) - this.zoneTypeOptions = response.data.map(item => ({ + console.log("1111111333333",response.data) + this.zoneTypeOptions = response.data.data.map(item => ({ value: item.nnumber, label: item.name })) @@ -870,8 +870,8 @@ async fetchProjectOptions() { try { const response = await listAllProjectName() - console.log(response) - this.projectOptions = response.data.map(item => ({ + console.log("1111111",response) + this.projectOptions = response.data.data.map(item => ({ value: item.name, label: item.name })) -- Gitblit v1.9.1