app/views/educode_sales/places/index.html.erb in educode_sales-0.7.4 vs app/views/educode_sales/places/index.html.erb in educode_sales-0.7.5
- old
+ new
@@ -44,10 +44,13 @@
<script type="text/html" id="showchance">
<a href="/missions/businesses" class="layui-table-link">{{ d.chance }}</a>
</script>
+
+
+
<script>
layui.use(['form', 'table', 'miniPage', 'element', 'request'], function () {
var $ = layui.jquery,
form = layui.form,
table = layui.table,
@@ -170,12 +173,11 @@
limit: 20,
limits: [10,15,20,30,40,50,60,70,80,90],
page: true
});
- /**
- * toolbar事件监听
- */
+
+ // * toolbar事件监听
table.on('toolbar(currentTableFilter)', function (obj) {
if (obj.event === 'add') { // 监听添加操作
var content = miniPage.getHrefContent('/missions/places/new');
var openWH = miniPage.getOpenWidthHeight();
\ No newline at end of file