评估页优化

This commit is contained in:
majintao
2024-12-19 11:30:18 +08:00
parent 1f7d611bc7
commit c5c222c45c
4 changed files with 104 additions and 72 deletions
@@ -92,6 +92,8 @@ public class FjtEvaluation implements SqlEntity{
private String contact;
private String reportNum;
private Double carSiteArea;
private Integer carSitePrice; // 车位价
private String source;
private String accountChecker;
private String floorDesc; //别墅楼层描述
@@ -783,6 +785,15 @@ public class FjtEvaluation implements SqlEntity{
this.loan = loan;
}
@Column(name = "car_site_price")
public Integer getCarSitePrice() {
return carSitePrice;
}
public void setCarSitePrice(Integer carSitePrice) {
this.carSitePrice = carSitePrice;
}
@Override
public String toString() {
return "FjtEvaluation{" +
@@ -66,41 +66,41 @@ $(document).on('click', '.create-actions01', function () {
$.actions(groups);
});
// 选择操作-房型-室
$(document).on('click', '.create-actions01', function () {
var buttons1 = [
{
text: '请选择室',
label: true
}
];
for (var i = 1; i < 6; i++) {
buttons1.push({
text: i + '',
onClick: function () {
$("#room").val(this.text)
$(".create-actions01").empty().text(this.text).addClass("selected")
}
})
}
buttons1.push({
text: '>5',
onClick: function () {
$("#room").val("")
$(".create-actions01").empty().text(">5")
}
})
var buttons2 = [
{
text: '取消',
bg: 'gray'
}
];
var groups = [buttons1, buttons2];
$.actions(groups);
});
//
// // 选择操作-房型-室
// $(document).on('click', '.create-actions01', function () {
// var buttons1 = [
// {
// text: '请选择室',
// label: true
// }
// ];
// for (var i = 1; i < 6; i++) {
// buttons1.push({
// text: i + '',
// onClick: function () {
// $("#room").val(this.text)
// $(".create-actions01").empty().text(this.text).addClass("selected")
// }
// })
// }
// buttons1.push({
// text: '>5',
// onClick: function () {
// $("#room").val("")
// $(".create-actions01").empty().text(">5")
// }
// })
//
// var buttons2 = [
// {
// text: '取消',
// bg: 'gray'
// }
// ];
// var groups = [buttons1, buttons2];
// $.actions(groups);
// });
// 选择操作-房型-号
$(document).on('click', '.create-actions02', function () {
@@ -211,13 +211,33 @@
</div>
</div>
</li>
<#-- <li>-->
<#-- <div class="item-content">-->
<#-- <div class="item-inner">-->
<#-- <div class="content-block">-->
<#-- <div class="item-title label di">车位情况:</div>-->
<#-- <input name="fjtEvaluation.carport" id="carport" type="hidden">-->
<#-- <p class="di"><a href="#" class="create-actions07">请选择车位情况</a></p>-->
<#-- </div>-->
<#-- </div>-->
<#-- </div>-->
<#-- </li>-->
<li>
<div class="item-content">
<div class="item-inner">
<div class="content-block">
<div class="item-title label di">车位情况:</div>
<input name="fjtEvaluation.carport" id="carport" type="hidden">
<p class="di"><a href="#" class="create-actions07">请选择车位情况</a></p>
<div class="item-title label">车位面积:</div>
<div class="item-input">
<input name="fjtEvaluation.carSiteArea" min="0" type="number" placeholder="请输入车位面积">
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">车位价:</div>
<div class="item-input">
<input name="fjtEvaluation.carSitePrice" min="0" type="number" placeholder="请输入车位价">
</div>
</div>
</div>
@@ -209,21 +209,22 @@
-
</#if>
</span></p>
<p><label>车位价格:</label><span>-</span></p>
<#if role?? && role==16>
<p>
<label>是否唯一:</label>
<span>
<#if fjtEvaluation.onlyOne! == 1>
是
<#elseif fjtEvaluation.onlyOne! == 2>
否
<#else>
-
</#if>
</span>
</p>
</#if>
<p><label>车位价:</label><span><#if fjtEvaluation.carSitePrice??>${fjtEvaluation.carSitePrice!}万元<#else>-</#if></span></p>
<#-- <p><label>车位价格:</label><span>-</span></p>-->
<#-- <#if role?? && role==16>-->
<#-- <p>-->
<#-- <label>是否唯一:</label>-->
<#-- <span>-->
<#-- <#if fjtEvaluation.onlyOne! == 1>-->
<#-- 是-->
<#-- <#elseif fjtEvaluation.onlyOne! == 2>-->
<#-- 否-->
<#-- <#else>-->
<#-- - -->
<#-- </#if>-->
<#-- </span>-->
<#-- </p>-->
<#-- </#if> -->
</div>
<div class="left leftMore dn">
<p><label>小区位置:</label>
@@ -273,10 +274,7 @@
</p>
<p><label>花园面积:</label><span><#if fjtEvaluation.gardenArea??>${fjtEvaluation.gardenArea!?string('0.##')}平米<#else>-</#if></span></p>
<p><label>露台面积:</label><span><#if fjtEvaluation.outerArea??>${fjtEvaluation.outerArea!?string('0.##')}平米<#else>-</#if></span></p>
<p><label>车位面积:</label><span><#if fjtEvaluation.carSiteArea??>${fjtEvaluation.carSiteArea!?string('0.##')}平米<#else>-</#if></p>
<#if fjtEvaluation.city! == "上海">
<p><label>环线:</label><span>${fjtEvaluation.loopLine!}</span></p>
</#if>
<p><label>车位面积:</label><span><#if fjtEvaluation.carSiteArea??>${fjtEvaluation.carSiteArea!?string('0.##')}平米<#else>-</#if></span></p>
</div>
<div class="right rightMore dn">
<p>
@@ -326,20 +324,23 @@
</p>
<p><label>地下室面积:</label><span><#if fjtEvaluation.basementArea??&&(fjtEvaluation.basementArea!>0)>${fjtEvaluation.basementArea!?string('0.##')}平米<#else>-</#if></span></p>
<p><label>阁楼面积:</label><span><#if fjtEvaluation.basementArea??&&(fjtEvaluation.atticArea!>0)>${fjtEvaluation.atticArea!?string('0.##')}平米<#else>-</#if></span></p>
<p>
<label>车位情况:</label>
<span>
<#if fjtEvaluation.carport! == 1>
已租
<#elseif fjtEvaluation.carport! == 3>
已购
<#elseif fjtEvaluation.carport! == 2>
暂无
<#else>
-
</#if>
</span>
</p>
<#if fjtEvaluation.city! == "上海">
<p><label>环线:</label><span>${fjtEvaluation.loopLine!}</span></p>
</#if>
<#-- <p>-->
<#-- <label>车位情况:</label>-->
<#-- <span>-->
<#-- <#if fjtEvaluation.carport! == 1>-->
<#-- 已租-->
<#-- <#elseif fjtEvaluation.carport! == 3>-->
<#-- 已购-->
<#-- <#elseif fjtEvaluation.carport! == 2>-->
<#-- 暂无-->
<#-- <#else>-->
<#-- --->
<#-- </#if>-->
<#-- </span>-->
<#-- </p>-->
</div>
</div>
<div class="more_btn">全部信息</div>