| | |
| | | }} |
| | | <span>{{ type.title }}</span> |
| | | </script> |
| | | <script type="text/html" id="status-able"> |
| | | {{# |
| | | var status = { |
| | | 1: {title: '进行中', color: 'blue'}, |
| | | 2: {title: '成功', color: 'green'}, |
| | | 3: {title: '失败', color: 'red'} |
| | | }[d.status]; |
| | | }} |
| | | <span class="layui-badge febs-bg-{{status.color}}">{{ status.title }}</span> |
| | | </script> |
| | | <script data-th-inline="none" type="text/javascript"> |
| | | layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect'], function () { |
| | | var $ = layui.jquery, |
| | |
| | | }, minWidth: 80,align:'center'}, |
| | | {field: 'fee', title: '手续费', minWidth: 80}, |
| | | {field: 'createTime', title: '创建时间', minWidth: 150}, |
| | | {title: '状态', templet: '#status-able', minWidth: 80}, |
| | | {field: 'fromHash', title: 'fromHash', minWidth: 150}, |
| | | {field: 'toHash', title: 'toHash', minWidth: 150}, |
| | | ]] |