Commit 05b05621 authored by panhong18943's avatar panhong18943

五级分类优化

parent ebcf8f4c
......@@ -71,15 +71,29 @@
//加载时调用(grid,table,gridBox)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function (ds, record, config_records, bp_seq) {
if ('${/model/wolkflow_path/record/@current_seq}' == '30') {
if (document.getElementById("RSC_FIVE_CLASS_WFL_query")){
document.getElementById("RSC_FIVE_CLASS_WFL_query").style.display = "none";
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_user_button1")){
document.getElementById("RSC_FIVE_CLASS_WFL_user_button1").style.display = "none";
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_user_button2")){
document.getElementById("RSC_FIVE_CLASS_WFL_user_button2").style.display = "none";
}
}
if('${/model/wolkflow_path/record/@current_seq}' == '20'){
if (document.getElementById("RSC_FIVE_CLASS_WFL_user_button1")){
document.getElementById("RSC_FIVE_CLASS_WFL_user_button1").style.display = "none";
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_user_button2")){
document.getElementById("RSC_FIVE_CLASS_WFL_user_button2").style.display = "none";
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_RESULT_SAVE_layout_dynamic_button_id")){
document.getElementById("RSC_FIVE_CLASS_WFL_RESULT_SAVE_layout_dynamic_button_id").style.display = "none";
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_RESULT_ADD_layout_dynamic_button_id")){
document.getElementById("RSC_FIVE_CLASS_WFL_RESULT_ADD_layout_dynamic_button_id").style.display = "none";
}
}
var estimate_num = '${/parameter/@estimate_num}';
......@@ -112,6 +126,15 @@
}
}
}
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
var estimate_num = '${/parameter/@estimate_num}';
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'RESULT', 'con_five_classification');
var ds_id_s=get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'RESULT_SAME', 'con_five_classification');
if ('${/parameter/@modify_flag}' == 'Y'){
Leaf.request({
url: $('update_final_sort_id').getUrl(),
para: {
......@@ -128,8 +151,8 @@
scope: this
})
}
};
//刷新
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
var estimate_num = '${/parameter/@estimate_num}';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment