优化代码

This commit is contained in:
java110 2020-09-15 21:20:26 +08:00
parent 4244b92d61
commit ca313528c6
6 changed files with 17 additions and 15 deletions

8
app.js
View File

@ -36,12 +36,12 @@ let opts = {
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
app.use('/app',proxy('http://192.168.1.16:8012',opts));
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
//app.use('/app',proxy('http://192.168.1.16:8012',opts));
//app.listen(3000);
app.use(express.json());

View File

@ -95,10 +95,10 @@
{{car.stateName}}
</td>
<td class="text-right">
<div class="btn-group" v-if="car.state != 'F'">
<!-- <div class="btn-group" v-if="car.state != 'F'">
<button class="btn-white btn btn-xs" v-on:click="_openCarCreateFeeAddModal(car,false)">创建收费
</button>
</div>
</div> -->
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openViewParkingSpaceCreateFee(car)">查看收费
</button>

View File

@ -53,7 +53,9 @@
<td class="text-center">{{fee.amountOwed}}</td>
<td class="text-center">{{fee.startTime}}</td>
<td class="text-center">{{fee.endTime}}</td>
<td class="text-center">{{fee.deadlineTime}}</td>
<td class="text-center" v-if="fee.amountOwed == 0 && fee.endTime == fee.deadlineTime">-</td>
<td class="text-center" v-else>{{fee.deadlineTime}}</td>
<td class="text-center" v-if="fee.feeTypeCd == '888800010015' || fee.feeTypeCd == '888800010016' ">
<div>上期度数:{{fee.preDegrees}}</div>
<div>本期度数:{{fee.curDegrees}} </div>

View File

@ -19,12 +19,12 @@
</div>
<div class="col-sm-4">
<div class="form-group">
<input size="16" type="text" placeholder="请选择开始时间" readonly class="form-control form_datetime start_time">
<input size="16" type="text" placeholder="请选择开始时间" class="form-control form_datetime start_time">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input size="16" type="text" placeholder="请选择结束时间" readonly class="form-control form_datetime end_time">
<input size="16" type="text" placeholder="请选择结束时间" class="form-control form_datetime end_time">
</div>
</div>
<div class="col-sm-1">

View File

@ -40,8 +40,8 @@
$(".start_time").datetimepicker({
language: 'zh-CN',
fontAwesome: 'fa',
format: 'yyyy-mm-dd',
minView: "month",
format: 'yyyy-mm-dd hh:ii:ss',
initTime: true,
initialDate: new Date(),
autoClose: 1,
todayBtn: true
@ -49,8 +49,8 @@
$(".end_time").datetimepicker({
language: 'zh-CN',
fontAwesome: 'fa',
format: 'yyyy-mm-dd',
minView: "month",
format: 'yyyy-mm-dd hh:ii:ss',
initTime: true,
initialDate: new Date(),
autoClose: 1,
todayBtn: true

View File

@ -123,11 +123,11 @@
{{room.ownerId}}
</td> -->
<td class="text-right">
<div class="btn-group" v-if="room.state == '2001'">
<!-- <div class="btn-group" v-if="room.state == '2001'">
<button class="btn-white btn btn-xs"
v-on:click="_openRoomCreateFeeAddModal(room,false)">创建收费
</button>
</div>
</div> -->
<div class="btn-group" v-if="room.state == '2001'">
<button class="btn-white btn btn-xs" v-on:click="_toOwnerPayFee(room)">欠费缴费
</button>