bug
This commit is contained in:
@ -89,8 +89,8 @@ var selectMPint = function(pid) {
|
||||
formatResult: function formatRepo(repo){return repo.text;}, // 函数用来渲染结果
|
||||
formatSelection: function formatRepoSelection(repo){return repo.text;} // 函数用于呈现当前的选择
|
||||
});
|
||||
selelct_.val('${kPIPoint.processsectionid}').trigger("change");
|
||||
},'json');
|
||||
selelct_.val('${kPIPoint.processsectionid}').trigger("change.select2");
|
||||
},'json');
|
||||
};
|
||||
|
||||
$(function(){
|
||||
@ -116,8 +116,8 @@ var selectMPint = function(pid) {
|
||||
formatResult: function formatRepo(repo){return repo.text;}, // 函数用来渲染结果
|
||||
formatSelection: function formatRepoSelection(repo){return repo.text;} // 函数用于呈现当前的选择
|
||||
});
|
||||
selelct_.val('${kPIPoint.processsectionid}').trigger("change");
|
||||
},'json');
|
||||
selelct_.val('${kPIPoint.processsectionid}').trigger("change.select2");
|
||||
},'json');
|
||||
}else{
|
||||
$("#hidden_bizid").attr("disabled","disabled");
|
||||
$("#input_bizid").css("display", "none");
|
||||
@ -133,8 +133,8 @@ var selectMPint = function(pid) {
|
||||
formatResult: function formatRepo(repo){return repo.text;}, // 函数用来渲染结果
|
||||
formatSelection: function formatRepoSelection(repo){return repo.text;} // 函数用于呈现当前的选择
|
||||
});
|
||||
selelct.val('${kPIPoint.bizid}').trigger("change");
|
||||
selelct.on("change",function(e){
|
||||
selelct.val('${kPIPoint.bizid}').trigger("change.select2");
|
||||
selelct.off("select2:select select2:clear").on("select2:select select2:clear",function(){
|
||||
var companyId= $(this).val();
|
||||
$.post(ext.contextPath + "/user/processSection/getProcessSection4Select.do", {companyId:companyId}, function(data) {
|
||||
$("#processsectionid").empty();
|
||||
@ -149,8 +149,8 @@ var selectMPint = function(pid) {
|
||||
formatResult: function formatRepo(repo){return repo.text;}, // 函数用来渲染结果
|
||||
formatSelection: function formatRepoSelection(repo){return repo.text;} // 函数用于呈现当前的选择
|
||||
});
|
||||
selelct_.val('').trigger("change");
|
||||
},'json');
|
||||
selelct_.val('').trigger("change.select2");
|
||||
},'json');
|
||||
});
|
||||
}
|
||||
},'json');
|
||||
|
||||
Reference in New Issue
Block a user