diff --git a/.env.development b/.env.development index 2bd86fc..cd182d8 100644 --- a/.env.development +++ b/.env.development @@ -9,9 +9,9 @@ VITE_APP_ENV='development' # 开发环境 VITE_APP_BASE_API='/dev-api' # # 开发环境 接口代理地址 -VITE_APP_PROXY_API='http://192.168.1.222:8080' +#VITE_APP_PROXY_API='http://192.168.1.222:8080' # 开发环境 接口代理地址 -#VITE_APP_PROXY_API='http://192.168.1.6:8080' +VITE_APP_PROXY_API='http://192.168.1.6:8080' # 图片基础地址 VITE_IMG_URL='http://192.168.1.222:8080' diff --git a/src/api/system/parking/index.ts b/src/api/system/parking/index.ts index 2612a48..6f73ec5 100644 --- a/src/api/system/parking/index.ts +++ b/src/api/system/parking/index.ts @@ -102,3 +102,25 @@ export const GetVillageListParking = (villageid: string, houseId: string = undef } }); }; + +/** + * 查询 车位持有人信息 + * @returns {*} + * @param residentId + */ +export const getParkingResidentInfo = ( + residentId: string +): AxiosPromise<{ + id: ''; + name: ''; + type: ''; + status: ''; + idCard: ''; + phone: ''; + houseName: ''; +}> => { + return request({ + url: `/car/holder/${residentId}`, + method: 'GET' + }); +}; diff --git a/src/views/system/MonthCard/index.vue b/src/views/system/MonthCard/index.vue index fc6b826..ec6f148 100644 --- a/src/views/system/MonthCard/index.vue +++ b/src/views/system/MonthCard/index.vue @@ -54,7 +54,7 @@ - +