调整系统所有SubscribeID的配置,均支持SubscribeID单独下发。

This commit is contained in:
leijun
2019-04-09 15:31:07 +08:00
parent da9ea20e8f
commit add20445ad
9 changed files with 44 additions and 41 deletions

View File

@@ -34,19 +34,19 @@
submitHandler : function(form) {
//loading('onloading...');
var flag = true;
var subscribeId=0;
/* var subscribeId=0;
//console.log("boxSolid:"+$(".boxSolid.hidden").length);
//console.log("hidden subscribeId:"+$(".boxSolid,.hidden").hasClass("subscribeId"));
//存在隐藏的subscribeId不算进域配置
if($(".boxSolid.hidden").hasClass("subscribeId")){
subscribeId=1;
}
} */
var boxSolidLenth=$(".boxSolid").length;
if($(".boxSolid").hasClass("subscribeId")){
/* if($(".boxSolid").hasClass("subscribeId")){
boxSolidLenth=boxSolidLenth-1;
}
} */
//代表所有业务都隐藏了,提示必须增加一种业务数据
if(boxSolidLenth ==($(".boxSolid.hidden").length-subscribeId)){
if(boxSolidLenth ==($(".boxSolid.hidden").length)){
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
return;
}