|
@@ -123,12 +123,13 @@
|
|
|
|
|
|
table.on('tool(table)', function (obj) {
|
|
|
if (obj.event == 'edit') {
|
|
|
- window.parent.tab.tabAdd({
|
|
|
- icon: "fa-bookmark",
|
|
|
- id: "tplay_address" + obj.data.id,
|
|
|
- title: obj.data.title == null ? "地址" + obj.data.id : obj.data.title,
|
|
|
- url: "/admin/address/publish?id=" + obj.data.id
|
|
|
- });
|
|
|
+ // window.parent.tab.tabAdd({
|
|
|
+ // icon: "fa-bookmark",
|
|
|
+ // id: "tplay_address" + obj.data.id,
|
|
|
+ // title: obj.data.title == null ? "地址" + obj.data.id : obj.data.title,
|
|
|
+ // url: "/admin/address/publish?id=" + obj.data.id
|
|
|
+ // });
|
|
|
+ location.href = "/admin/address/publish?id=" + obj.data.id
|
|
|
}
|
|
|
else if (obj.event == 'del') {
|
|
|
layer.confirm('确定要删除?', function (index) {
|