From 755b4bf40d8d4e8ccffdbe727d0220ff2726ed42 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Thu, 30 Oct 2025 19:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E5=B7=A5=E7=A8=8B=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue b/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue index 338a2af..e0332a0 100644 --- a/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue +++ b/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue @@ -231,6 +231,7 @@ import { getProListByDepartApi } from '@/services/materialsStation' import { useMemberStore } from '@/stores' +import {getProjectInfoApi} from "../../../services/materialsStation"; const memberStore = useMemberStore() const userInfo = ref(memberStore.userInfo || {}) @@ -408,7 +409,10 @@ const getTeamList = async () => { // 获取工程 const getProjectListApi = async () => { try { - const res = await getProListByDepartApi({ teamName: formData.teamName }) + const params = { + teamName: formData.teamName + } + const res = await getProjectInfoApi(params) if (!res.data || !res.data.length) return console.log('🚀 ~ getProjectListApi ~ res:', res) prodRange.value = res.data.map((item) => {