demo20230512/Views/Partial/LCA/Index.cshtml
2023-05-12 10:20:28 +08:00

67 lines
3.1 KiB
Plaintext

<div class="body_content receive_tool_menu">
@*<div class="header_search">
<img class="header_image_button" src="../Browser_Local/img/view.png" ng-click="search()">
<input class="expand" type="text" ng-model="searchText" />
</div>*@
@*<form class="form-inline header_search" style="float: right">
<input class="form-control mr-sm-2" type="search" ng-model="searchText"
placeholder="@Resource.StaticLabelGlobal_Search" aria-label="Search">
</form>*@
</div>
<div class="body_content"
ng-model="currentPage"
ng-init="currentPage = 1">
<div class="table-responsive">
<div class="table_overflow">
<table class="table">
<!-- Table header-->
<thead>
<tr class="table-active" style="text-align:center">
<th>@Resource.LCAid</th>
<th>@Resource.LCAname</th>
<th>@Resource.LCAType</th>
<th>@Resource.LCADescription</th>
<th>@Resource.SendTime</th>
<th>@Resource.LCAitemName</th>
<th>@Resource.LCAStatus</th>
<th></th>
</tr>
</thead>
<tbody>
<!-- Table row -->
<tr ng-repeat="lca in lcaList | filter : searchText | orderBy : predicate : reverse | smarterLimitTo : 10 : (currentPage - 1) * 10">
@*<div style="position: relative; margin: 0 auto;">*@
<td ng-bind="lca.ID"></td>
<td ng-bind="lca.LCAname"></td>
<td ng-bind="lca.LCATypeDisplayName"></td>
<td ng-bind="lca.Description"></td>
<td ng-bind="lca.CreatedDate | date : 'yyyy/MM/dd HH:mm:ss' "></td>
<td ng-bind="lca.LCATypeDisplayName=='產品型' ? lca.productName : '組織型'"></td>
<td><span ng-bind="lca.StatusDisplayName" class="label-default"
ng-class="{ 'label-inAnalyze': lca.Status === 0, 'label-inProgress': lca.Status === 1,
'label-unSigned': lca.Status === 2, 'label-rejected': lca.Status === 3,
'label-signed': lca.Status === 4, 'label-completed': lca.Status === 5}">
</span></td>
@*</div>*@
<td>
<img style="cursor: pointer;"
ng-init="editIcon = 'edit'"
ng-src="@ViewBag.baseUrl/Browser_Local/img/{{ editIcon }}.png"
ng-click="redirectToEditLca(lca)"
ng-mouseenter="editIcon = 'edit_active'"
ng-mouseleave="editIcon = 'edit'" />
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script>
</script>
<page passed-total-page="Math.ceil((lcaList | filter : searchText).length / 10)" passed-current-page="currentPage"></page>