fix reward paginate problem
This commit is contained in:
@@ -268,6 +268,9 @@ function htmlLoadSimpleData(loadRewardListData, responsePageIndex) {
|
||||
${n}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width7">
|
||||
<div class="Rtable-cell--content ">${item.grantDateFa}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell justify-content-start width2">
|
||||
<div class="Rtable-cell--content text-start">${item.employeeFullName}</div>
|
||||
@@ -278,16 +281,18 @@ function htmlLoadSimpleData(loadRewardListData, responsePageIndex) {
|
||||
<div class="Rtable-cell d-md-block d-none width4">
|
||||
<div class="Rtable-cell--content ">${item.title ?? "-"}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width6">
|
||||
<div class="tooltipfull-container">
|
||||
<div class="Rtable-cell--content ellipsed" style="width: 280px;">${item.description}</div>
|
||||
<span class="tooltipfull">
|
||||
<span>${item.description}</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width5">
|
||||
<div class="Rtable-cell--content ">${item.amount}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width6">
|
||||
<div class="Rtable-cell--content " style="text-overflow: ellipsis;overflow: hidden;width: 90%;white-space: nowrap;">${item.description}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width7">
|
||||
<div class="Rtable-cell--content ">${item.grantDateFa}</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="Rtable-cell width8">
|
||||
<div class="Rtable-cell--content align-items-center justify-content-end d-flex text-end">
|
||||
<button type="button" class="btn-print d-md-none d-none" onclick="printReward()">
|
||||
@@ -434,8 +439,7 @@ function htmlLoadSimpleData(loadRewardListData, responsePageIndex) {
|
||||
pageIndexJs++;
|
||||
});
|
||||
|
||||
|
||||
pageIndexJs = pageIndex + responsePageIndex;
|
||||
//pageIndexJs = pageIndexJs + responsePageIndex;
|
||||
$('#PageIndex').val(pageIndexJs);
|
||||
|
||||
$('#rewardListAjax').append(html);
|
||||
@@ -491,16 +495,15 @@ function htmlLoadWithEmployeeData(loadRewardListData, responsePageIndex) {
|
||||
<div class="Rtable-cell d-md-flex justify-content-center d-none width53">
|
||||
<div class="Rtable-cell--content">${item.personnelCode}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width6">
|
||||
<div class="Rtable-cell--content ">${item.amount}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width7">
|
||||
<div class="Rtable-cell--content " style="text-overflow: ellipsis;overflow: hidden;width: 90%;white-space: nowrap;">${item.description}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell d-md-block d-none width8">
|
||||
<div class="Rtable-cell--content ">${item.grantDateFa}</div>
|
||||
</div>
|
||||
|
||||
<div class="Rtable-cell d-md-block d-none width6">
|
||||
<div class="Rtable-cell--content ">${item.amount}</div>
|
||||
</div>
|
||||
<div class="Rtable-cell width9">
|
||||
<div class="Rtable-cell--content align-items-center justify-content-end d-flex text-end">
|
||||
<button type="button" class="btn-print d-md-none d-none" onclick="printReward()">
|
||||
|
||||
Reference in New Issue
Block a user