...
This commit is contained in:
parent
be77b74c9f
commit
a3d5b1656f
@ -468,7 +468,7 @@
|
|||||||
FROM
|
FROM
|
||||||
data_dict_item item
|
data_dict_item item
|
||||||
LEFT JOIN content_tags tags ON item.id = tags.tid
|
LEFT JOIN content_tags tags ON item.id = tags.tid
|
||||||
LEFT JOIN content c ON c.id = tags.cid
|
LEFT JOIN content c ON c.id = tags.cid and c.online_time is not null
|
||||||
WHERE
|
WHERE
|
||||||
item.dictid = 26
|
item.dictid = 26
|
||||||
GROUP BY
|
GROUP BY
|
||||||
|
|||||||
@ -445,7 +445,6 @@ var caseType = [[${caseType}]];
|
|||||||
if(release === '1' ){
|
if(release === '1' ){
|
||||||
$("#applicationStatus").append("<option value='"+release+"'>未发布</option>\n").attr("selected",true);
|
$("#applicationStatus").append("<option value='"+release+"'>未发布</option>\n").attr("selected",true);
|
||||||
}else if(release === '2' ){
|
}else if(release === '2' ){
|
||||||
console.log(release)
|
|
||||||
$("#applicationStatus").append("<option value='"+release+"'>已发布</option>\n").attr("selected",true);
|
$("#applicationStatus").append("<option value='"+release+"'>已发布</option>\n").attr("selected",true);
|
||||||
}else if(release === '4' ){
|
}else if(release === '4' ){
|
||||||
$("#applicationStatus").append("<option value='"+release+"'>已下线</option>\n").attr("selected",true);
|
$("#applicationStatus").append("<option value='"+release+"'>已下线</option>\n").attr("selected",true);
|
||||||
@ -535,6 +534,14 @@ var caseType = [[${caseType}]];
|
|||||||
|
|
||||||
// 提交保存
|
// 提交保存
|
||||||
$("#btn_save").on('click', function () {
|
$("#btn_save").on('click', function () {
|
||||||
|
//编辑器需输入文本值 不然只输入图片 编辑器会出bug
|
||||||
|
var str = $("#desct").val();
|
||||||
|
str = str.substr(str.length-1,1);
|
||||||
|
if(str === ">"){
|
||||||
|
alert("请输入文本值!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if($("#contentType26").val() === null){
|
if($("#contentType26").val() === null){
|
||||||
alert('关联部门不能为空!');
|
alert('关联部门不能为空!');
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user