优化代码

This commit is contained in:
java110 2020-11-12 18:06:00 +08:00
parent e210fce5dd
commit c719f79ad4
5 changed files with 22 additions and 12 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

@ -2015,4 +2015,14 @@ a:hover {
width:100%;
height:2px;
background: -webkit-linear-gradient(left, #fff -4%,#1ab394 50%,#fff 100%);
}
.vc-table-border{
border: 1px solid #000000;
}
.vc-table-border tr td{
border: 1px solid #000000;
}
.vc-table-border tr th{
border: 1px solid #000000;
}

View File

@ -16,7 +16,7 @@
<span>打印时间:{{printPayFeeInfo.feeTime}}</span>
</div>
</div>
<table class="table table-bordered margin-top">
<table class="table vc-table-border margin-top">
<thead>
<tr>
<th scope="col" class="text-center">项目名称</th>
@ -28,7 +28,7 @@
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in printPayFeeInfo.fees">
<tr v-for="(item,index) in printPayFeeInfo.fees" class="vc-table-border">
<td class="text-center">{{item.feeName}}</td>
<td class="text-center">{{vc.dateFormat(item.endTime)}}至{{vc.dateFormat(item.deadlineTime)}}
</td>

View File

@ -16,9 +16,9 @@
<span>缴费时间:{{printPayFeeInfo.feeTime}}</span>
</div>
</div>
<table class="table table-bordered margin-top">
<table class="table vc-table-border margin-top">
<thead>
<tr>
<tr >
<th scope="col" class="text-center">编号</th>
<th scope="col" class="text-center">收费项目</th>
<th scope="col" class="text-center">收费范围</th>
@ -30,8 +30,8 @@
<th scope="col" class="text-center">备注</th>
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in printPayFeeInfo.fees">
<tbody class="vc-table-border">
<tr v-for="(item,index) in printPayFeeInfo.fees" class="vc-table-border">
<th scope="row" class="text-center">{{index +1}}</th>
<td class="text-center">{{item.feeName}}</td>
<td class="text-center">{{vc.dateFormat(item.startTime)}}至{{vc.dateFormat(item.endTime)}}</td>

View File

@ -24,7 +24,7 @@
<span>面积:{{printPayFeeInfo.roomArea}} 平方米</span>
</div>
</div>
<table class="table table-bordered margin-top" >
<table class="table vc-table-border margin-top" >
<thead>
<tr>
<th scope="col" class="text-center">收费项目</th>
@ -37,7 +37,7 @@
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in printPayFeeInfo.fees">
<tr v-for="(item,index) in printPayFeeInfo.fees" class="vc-table-border">
<!-- <th scope="row" class="text-center">{{index +1}}</th> -->
<td class="text-center">{{item.feeName}}</td>
<td v-if="printPayFeeInfo.type== 3 || printPayFeeInfo.type==4 " scope="col" class="text-center">{{item.carNum}}</td>