评估页优化

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