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) => {