...
|
...
|
@@ -128,25 +128,14 @@ $(document).on("click", ".add2", function() { |
|
|
/**
|
|
|
* 预发布版本
|
|
|
*/
|
|
|
/*$(document).on("click", ".delbtn", function() {
|
|
|
var item = g.rows[$(this).data("index")];
|
|
|
common.dialog.confirm("警告", "是否确认删除?",function() {
|
|
|
common.util.__ajax({
|
|
|
url: "/resources/deleteAllResourceByCode",
|
|
|
data: {code: item.code}
|
|
|
}, function () {
|
|
|
g.reload();
|
|
|
});
|
|
|
});
|
|
|
});*/
|
|
|
$(document).on("click", ".delbtn", function () {
|
|
|
var item = g.rows[$(this).data("index")];
|
|
|
common.dialog.confirm("警告", "是否确认删除?", function () {
|
|
|
common.util.__ajax({
|
|
|
url: "/resources/deleteResourceById",
|
|
|
data: {id: item.id}
|
|
|
}, function () {
|
|
|
g.reload();
|
|
|
});
|
|
|
});
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
$(document).on("click", ".delbtn", function() {
|
|
|
var item = g.rows[$(this).data("index")];
|
|
|
common.dialog.confirm("警告", "是否确认删除?",function() {
|
|
|
common.util.__ajax({
|
|
|
url: "/resources/deleteAllResourceByCode",
|
|
|
data: {code: item.code}
|
|
|
}, function () {
|
|
|
g.reload();
|
|
|
});
|
|
|
});
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|