MicroCommunityWeb/public/pages/property/assetImportLogDetail/assetImportLogDetail.html
2023-09-04 00:50:33 +08:00

82 lines
4.5 KiB
HTML

<div class="animated fadeInRight ecommerce">
<div class="row">
<div class="col-md-2 padding-r-0">
<div class=" border-radius ">
<div class="margin-xs-r treeview attendance-staff">
<ul class="list-group text-center border-radius">
<!-- -->
<li class="list-group-item node-orgTree " v-for="(item,index) in assetImportLogDetailInfo.states" :key="index" @click="swatchDetailState(item)" :class="{'vc-node-selected':assetImportLogDetailInfo.state == item.value}">
{{item.name}}
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-10">
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>
<vc:i18n name="导入详情" namespace="assetImportLogDetail"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="queryAssetImportLogDetail()">
刷新
</button>
<button type="button" class="btn btn-white btn-sm" v-on:click="_goBack()">
返回
</button>
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center" v-for="(item,index) in assetImportLogDetailInfo.logTypes">
{{item.logColumn}}
</th>
<th class="text-center">
<vc:i18n name="导入时间" namespace="assetImportLogDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="状态" namespace="assetImportLogDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="描述" namespace="assetImportLogDetail"></vc:i18n>
</th>
</tr>
</thead>
<tbody>
<tr v-for="log in assetImportLogDetailInfo.logs">
<td class="text-center" v-for="(item,index) in assetImportLogDetailInfo.logTypes">
{{log[item.logProperty]}}
</td>
<td class="text-center">{{log.createTime}}</td>
<td class="text-center" v-if="log.state == 'W'">待导入</td>
<td class="text-center" v-else-if="log.state == 'C'">成功</td>
<td class="text-center" v-else>失败</td>
<td class="text-center">
<div class="textAuto" style="max-width: 200px;">
{{log.message}}
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="7">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
</div>
</div>
</div>