小跟新

This commit is contained in:
b110212000 2021-12-20 16:13:24 +08:00
parent 181300a852
commit 8c096317e8

View File

@ -228,67 +228,71 @@
</div> </div>
</div> </div>
<div class="row mb-5"> <div id="all">
<div class="col-xl-12"> <div class="row mb-5">
<div class="card p-3 w-100" id="overviewtable"> <div class="col-xl-12">
<table class="table m-0"> <div class="card p-3 w-100" id="overviewtable">
<thead id="tothead"> <table class="table m-0">
</thead> <thead id="tothead">
<tbody id="totbody"> </thead>
</tbody> <tbody id="totbody">
</table> </tbody>
</div> </table>
</div> </div>
</div> </div>
<div class="row mb-5"> </div>
<div class="col-xl-12"> <div class="row mb-5">
<div class="card p-3 w-100" id="hiretable" style="overflow-x:auto"> <div class="col-xl-12">
<table class="table m-0"> <div class="card p-3 w-100" id="hiretable" style="overflow-x:auto">
<thead id="HireTableHead"> <table class="table m-0">
<tr> <thead id="HireTableHead">
<th>出租人</th> <tr>
<th>租金比例</th> <th>出租人</th>
<th>租金金額(未稅)</th> <th>租金比例</th>
<th>租金金額(含稅)</th> <th>租金金額(未稅)</th>
</tr> <th>租金金額(含稅)</th>
</thead> </tr>
<tbody id="HireTableBody"> </thead>
</tbody> <tbody id="HireTableBody">
</table> </tbody>
</div> </table>
</div> </div>
</div> </div>
<div class="row mb-5"> </div>
<div class="col-xl-12"> <div class="row mb-5">
<div class="card p-3 w-100 " id="maxtable" style="overflow-x:auto"> <div class="col-xl-12">
<table class="table m-0"> <div class="card p-3 w-100 " id="maxtable" style="overflow-x:auto">
<thead> <table class="table m-0">
<tr> <thead>
<th>縣市</th> <tr>
<th>平均發電量(kWp)</th> <th>縣市</th>
<th>有效發電小時</th> <th>平均發電量(kWp)</th>
</tr> <th>有效發電小時</th>
</thead> </tr>
<tbody id="maxtableBody"> </thead>
</tbody> <tbody id="maxtableBody">
</table> </tbody>
</div> </table>
</div> </div>
</div> </div>
<div class="row mb-5"> </div>
<div class="col-xl-12"> <div class="row mb-5">
<div class="card p-3 w-100" id="detailtable" style="overflow-x:auto"> <div class="col-xl-12">
<table class="table m-0"> <div class="card p-3 w-100" id="detailtable" style="overflow-x:auto">
<thead id="TableHead"> <table class="table m-0">
</thead> <thead id="TableHead">
<tbody id="TableBody"> </thead>
</tbody> <tbody id="TableBody">
</table> </tbody>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>
</main> </main>
</div> </div>
</div> </div>
@ -840,9 +844,11 @@
$(e).removeClass("btn-primary").addClass("btn-success"); $(e).removeClass("btn-primary").addClass("btn-success");
button = e; button = e;
$('#all').hide();
$('#hiretable').hide(); $('#hiretable').hide();
$('#maxtable').hide(); $('#maxtable').hide();
tablehand(form); tablehand(form);
} }
@ -1221,7 +1227,8 @@
} }
$('#overviewtable').show(); $('#overviewtable').show();
$('#detailtable').show(); $('#detailtable').show();
$('#all').show();
nowform = form; nowform = form;
}, 'json'); }, 'json');
} }