Skip to content

Commit 59a940a

Browse files
吴学文吴学文
authored andcommitted
首页开发测试完成
1 parent 6c41b26 commit 59a940a

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

WebService/src/main/java/com/java110/web/smo/impl/FeeServiceSMOImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ private void validateListFee(IPageData pd) {
379379
JSONObject paramIn = JSONObject.parseObject(pd.getReqData());
380380
Assert.hasLength(paramIn.getString("communityId"), "小区ID不能为空");
381381
Assert.hasLength(paramIn.getString("feeTypeCd"), "停车位feeTypeCd不能为空");
382-
Assert.isInteger("row", "row必须为数字");
383-
Assert.isInteger("page", "page必须为数字");
382+
Assert.isInteger(paramIn.getString("row"), "row必须为数字");
383+
Assert.isInteger(paramIn.getString("page"), "page必须为数字");
384384
}
385385

386386

WebService/src/main/resources/components/index-arrears/indexArrears.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,21 @@
44
<div class="ibox ">
55
<div class="ibox-title">
66
<h5>欠费信息</h5>
7-
<div class="ibox-tools">
8-
<div data-toggle="buttons" class="btn-group btn-group-toggle">
9-
<label class="btn btn-sm btn-white active"> <input type="radio" v-on:click="_switchFeeType(888800010001)" name="options"> 物业费 </label>
10-
<label class="btn btn-sm btn-white "> <input type="radio" v-on:click="_switchFeeType(888800010006)" name="options"> 停车费 </label>
7+
<div class="ibox-tools" style="top: 10px;">
8+
9+
<div class="btn-group" role="group" aria-label="Basic example">
10+
<button type="button"
11+
class="btn btn-light btn-sm"
12+
v-bind:class="{'btn-primary': indexArrearsInfo.feeTypeCd == 888800010001}"
13+
v-on:click="_switchFeeType(888800010001)"
14+
>物业费</button>
15+
16+
17+
<button type="button"
18+
class="btn btn-light btn-sm"
19+
v-bind:class="{'btn-primary': indexArrearsInfo.feeTypeCd == 888800010005}"
20+
v-on:click="_switchFeeType(888800010005)"
21+
>停车费</button>
1122
</div>
1223
</div>
1324
</div>

WebService/src/main/resources/components/index-arrears/indexArrears.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454

5555
},
5656
_switchFeeType:function(_feeTypeCd){
57+
console.log('_feeTypeCd')
5758
vc.component.indexArrearsInfo.feeTypeCd = _feeTypeCd;
5859
vc.component._listArrearsData(DEFAULT_PAGE,DEFAULT_ROWS);
5960
}

0 commit comments

Comments
 (0)