APP相关模块统一使用appCode作为检索条件
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user