multiSecCategoryCusFieldBrowser_wev8.js
1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
function showMultiDocDialog(selectids){
var config = null;
config= rightsplugingForBrowser.createConfig();
config.srchead=[SystemEnv.getHtmlNoteName(3539,readCookie("languageidweaver")),SystemEnv.getHtmlNoteName(3540,readCookie("languageidweaver"))];
config.container =$("#colShow");
config.searchLabel="";
config.hiddenfield="id";
config.saveLazy = true;//取消实时保存
config.saveurl= "/docs/category/DocSecCategoryCusFieldMutiBrowserAjax.jsp?src=save";
config.srcurl = "/docs/category/DocSecCategoryCusFieldMutiBrowserAjax.jsp?src=src";
config.desturl = "/docs/category/DocSecCategoryCusFieldMutiBrowserAjax.jsp?src=dest";
config.delteurl="/docs/category/DocSecCategoryCusFieldMutiBrowserAjax.jsp?src=save";
config.pagesize = 10;
config.formId = "SearchForm";
config.selectids = selectids;
try{
config.dialog = dialog;
}catch(e){
}
jQuery("#colShow").html("");
rightsplugingForBrowser.createRightsPluing(config);
jQuery("#btnok").bind("click",function(){
rightsplugingForBrowser.system_btnok_onclick(config);
});
jQuery("#btnclear").bind("click",function(){
rightsplugingForBrowser.system_btnclear_onclick(config);
});
jQuery("#btncancel").bind("click",function(){
rightsplugingForBrowser.system_btncancel_onclick(config);
});
jQuery("#btnsearch").bind("click",function(){
rightsplugingForBrowser.system_btnsearch_onclick(config);
});
}
function btnOnSearch(){
jQuery("#btnsearch").trigger("click");
}
function btnok_onclick(){
jQuery("#btnok").trigger("click");
}
function submitClear(){
jQuery("#btnclear").trigger("click");
}
function onClose(){
try{
if(dialog){
jQuery("#btncancel").trigger("click");
}else{
window.parent.close();
}
}catch(e){
window.parent.close();
}
}
function onReset(){
SearchForm.reset();
}