...
|
...
|
@@ -80,7 +80,9 @@ var g = new common.grid({ |
|
|
{display: "内容", name: "content"},
|
|
|
{display: "频道", name: "channelNames"},
|
|
|
{display: "链接", name: "url", render: function (item) {
|
|
|
return '<a href="'+item.url+'">'+item.url+'</a>'
|
|
|
|
|
|
var url = item.url?item.url:"";
|
|
|
return '<a href="'+item.url+'" target="_blank"> '+url+'</a>' //'+item.url?item.url:""+'
|
|
|
}},
|
|
|
{display: "状态", name: "status", render: function (item) {
|
|
|
if (item.status === StatusEnum.ON) {
|
...
|
...
|
@@ -278,7 +280,7 @@ function searchWordOp (prefix, url, item) { |
|
|
common.dialog.confirm(prefix+templ.title, common.util.__template( t.join(""), item), function () {
|
|
|
|
|
|
//
|
|
|
a.submit(url,function(option){
|
|
|
return a.submit(url,function(option){
|
|
|
option.success=function(res){
|
|
|
res=res.data;
|
|
|
if(res.code=="200"){
|
...
|
...
|
|