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/views/system/houseRental/index.vue b/src/views/system/houseRental/index.vue index e87f409..23321bf 100644 --- a/src/views/system/houseRental/index.vue +++ b/src/views/system/houseRental/index.vue @@ -99,10 +99,14 @@ - + + + - + + + @@ -191,7 +195,9 @@ import { UploadFilled } from '@element-plus/icons-vue'; import { ElMessage, UploadUserFile } from 'element-plus'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; -const { com_rental_status, com_rental_method } = toRefs(proxy?.useDict('com_rental_status', 'com_rental_method')); +const { com_rental_status, com_rental_method, com_house_rental_pricing_model, com_house_rental_pricing } = toRefs( + proxy?.useDict('com_rental_status', 'com_rental_method', 'com_house_rental_pricing_model', 'com_house_rental_pricing') +); const uploadApi = '/houseRental/uploadImages'; const router = useRouter(); @@ -407,7 +413,7 @@ function sign(row: HouseRentalVO) { form.value.villageName = info.villageName; form.value.houseName = row.name; form.value.houseArea = row.houseArea; - form.value.tenantPhone = row.phone; + form.value.tenantPhone = ''; form.value.houseId = row.houseId; form.value.villageId = info.villageId; form.value.rentalId = row.id;