8/19 dev
This commit is contained in:
@@ -9,9 +9,9 @@ VITE_APP_ENV='development'
|
|||||||
# 开发环境
|
# 开发环境
|
||||||
VITE_APP_BASE_API='/dev-api'
|
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'
|
VITE_IMG_URL='http://192.168.1.222:8080'
|
||||||
|
|
||||||
|
|||||||
@@ -99,10 +99,14 @@
|
|||||||
<el-input disabled maxlength="20" show-word-limit v-model.trim="form.houseArea" placeholder="请输入面积" />
|
<el-input disabled maxlength="20" show-word-limit v-model.trim="form.houseArea" placeholder="请输入面积" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="收费模式" prop="chargeMode">
|
<el-form-item label="收费模式" prop="chargeMode">
|
||||||
<el-input v-model.trim="form.chargeMode" show-word-limit placeholder="请输入收费模式" maxlength="200" />
|
<el-select v-model.trim="form.chargeMode" placeholder="请选择收费模式">
|
||||||
|
<el-option v-for="(item, index) in com_house_rental_pricing_model" :key="index" :label="item.label" :value="item.value"></el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="收费标准" prop="chargeStandard">
|
<el-form-item label="收费标准" prop="chargeStandard">
|
||||||
<el-input v-model.trim="form.chargeStandard" show-word-limit placeholder="请输入收费标准" maxlength="200" />
|
<el-select v-model.trim="form.chargeStandard" placeholder="请选择收费标准">
|
||||||
|
<el-option v-for="(item, index) in com_house_rental_pricing" :key="index" :label="item.label" :value="item.value"></el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="合同编号" prop="contractNo">
|
<el-form-item label="合同编号" prop="contractNo">
|
||||||
<el-input maxlength="20" show-word-limit v-model.trim="form.contractNo" placeholder="请输入合同编号" />
|
<el-input maxlength="20" show-word-limit v-model.trim="form.contractNo" placeholder="请输入合同编号" />
|
||||||
@@ -191,7 +195,9 @@ import { UploadFilled } from '@element-plus/icons-vue';
|
|||||||
import { ElMessage, UploadUserFile } from 'element-plus';
|
import { ElMessage, UploadUserFile } from 'element-plus';
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||||
const { com_rental_status, com_rental_method } = toRefs<any>(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<any>(
|
||||||
|
proxy?.useDict('com_rental_status', 'com_rental_method', 'com_house_rental_pricing_model', 'com_house_rental_pricing')
|
||||||
|
);
|
||||||
|
|
||||||
const uploadApi = '/houseRental/uploadImages';
|
const uploadApi = '/houseRental/uploadImages';
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
@@ -407,7 +413,7 @@ function sign(row: HouseRentalVO) {
|
|||||||
form.value.villageName = info.villageName;
|
form.value.villageName = info.villageName;
|
||||||
form.value.houseName = row.name;
|
form.value.houseName = row.name;
|
||||||
form.value.houseArea = row.houseArea;
|
form.value.houseArea = row.houseArea;
|
||||||
form.value.tenantPhone = row.phone;
|
form.value.tenantPhone = '';
|
||||||
form.value.houseId = row.houseId;
|
form.value.houseId = row.houseId;
|
||||||
form.value.villageId = info.villageId;
|
form.value.villageId = info.villageId;
|
||||||
form.value.rentalId = row.id;
|
form.value.rentalId = row.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user