add delete action button
This commit is contained in:
parent
94daabfc88
commit
e4307011e7
|
@ -108,6 +108,9 @@ table thead tr th {background:#EBF2F6;}
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<td>
|
<td>
|
||||||
<a href="/admin/data/fund/ac/edit/id/<?= $item['id']?>">编辑</a>
|
<a href="/admin/data/fund/ac/edit/id/<?= $item['id']?>">编辑</a>
|
||||||
|
<?php if(empty($this->ct)) { ?>
|
||||||
|
<a href="javascript:void(0);" onclick="onedel(<?= $item['id']?>)" id="delbtn_<?= $item['id']?>">删除</a>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
@ -128,4 +131,11 @@ $('.addtomd').each(function(index, element) {
|
||||||
self.location='/admin/data/fund/ac/formd/uuid/<?= $this->md['uuid'] ?>/id/'+id+'/order/'+ order
|
self.location='/admin/data/fund/ac/formd/uuid/<?= $this->md['uuid'] ?>/id/'+id+'/order/'+ order
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
<?php if(empty($this->ct)) { ?>
|
||||||
|
var info = {
|
||||||
|
btn_prefix : "delbtn_",
|
||||||
|
item_prefix : "DataLine_",
|
||||||
|
url : "/admin/data/fund/ac/del"
|
||||||
|
}
|
||||||
|
<?php } ?>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue