APP相关模块统一使用appCode作为检索条件

This commit is contained in:
duandongmei
2019-05-13 19:10:21 +08:00
parent 35ca1636ef
commit d4e153533a
15 changed files with 701 additions and 60 deletions

View File

@@ -1,11 +1,16 @@
$(function(){
var ids=[];
var cfgType='';
$(".appCode").each(function(){
if($(this).attr("id")&&$(this).attr("id")!=''){
ids.push($(this).attr("id"));
}
//ids.push($(this).attr("id"));
if(cfgType == null || cfgType == '' ){
cfgType=$(this).attr("cfgType");
}
});
$(".behavCode").each(function(){
if($(this).attr("id")&&$(this).attr("id")!=''){
ids.push($(this).attr("id"));
@@ -17,7 +22,7 @@ $(function(){
type:'post',
async:false,
url:pathName+'/app/ajaxAppName',
data:{"ids":ids.join(",")},
data:{"ids":ids.join(","),"cfgType":cfgType},
success:function(data){
if(data&&data.length==2){
var apps=data[0];