Authored by 张帅

文章编辑页二级话题不展示问题修复

... ... @@ -2048,7 +2048,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService {
if(sort == 4){
rspBo.setCoverImg(videoMap.get(article.getId()) == null ? "" : videoMap.get(article.getId()).getString("coverUrl"));
}else {
String coverImage = imgMap.get(article.getId()).get(0);
String coverImage = imgMap.get(article.getId()) == null ? "" : imgMap.get(article.getId()).get(0);
rspBo.setCoverImg(coverImage);
}
rspBo.setCoverImgSquare(coverImageMap.get(article.getId()));
... ...
... ... @@ -94,7 +94,7 @@
</input>
<input class="easyui-combobox" id="markFlag">
</input>-->
<input class="easyui-combobox" id="topicId">
<input class="easyui-combobox" id="topicIdReq">
</input>
<input class="easyui-textbox" id="channelIdReq"/>
<a id="searchBtn" class="btn-info">筛选</a>
... ... @@ -130,7 +130,7 @@
$("#authStatus").combobox("setValue","-1");
/*$("#markFlag").combobox("setValue","");
$("#markType").combobox("setValue","");*/
$("#topicId").combobox("setValue","");
$("#topicIdReq").combobox("setValue","");
$("#channelIdReq").combobox("setValue","");
$("#activityListTable").datagrid("load", {
authStatus: "1"
... ... @@ -241,7 +241,7 @@
data:[{text:"全部",value:"-1"},{text:"达人搭配",value:"1"},{text:"发现好货",value:"2"}]
});*/
$("#topicId").combobox({
$("#topicIdReq").combobox({
valueField: "id",
textField: "topicName",
required: false,
... ... @@ -281,7 +281,7 @@
var startTime="";
var endTime="";
//var markType = $("#markType").combobox('getValue');
var topicId = $("#topicId").combobox('getValue');
var topicId = $("#topicIdReq").combobox('getValue');
//var markFlag;
var markFindgoods;
if ($("#startTimeStr").datetimebox('getValue')!='') {
... ...