Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
7d762c43
Commit
7d762c43
authored
Nov 28, 2025
by
panhong18943
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
五级分类工作流优化
parent
9bc05f46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
20 deletions
+43
-20
rsc_five_class_wfl.lview
src/main/webapp/modules/rsc/RSC510/rsc_five_class_wfl.lview
+43
-20
No files found.
src/main/webapp/modules/rsc/RSC510/rsc_five_class_wfl.lview
View file @
7d762c43
...
@@ -70,32 +70,51 @@
...
@@ -70,32 +70,51 @@
}
}
//加载时调用(grid,table,gridBox)
//加载时调用(grid,table,gridBox)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function (ds, record, config_records, bp_seq) {
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 ('${/parameter/@button_flag}' == 'Y'){
if (document.getElementById("RSC_FIVE_CLASS_WFL_query")){
if ('${/model/wolkflow_path/record/@current_seq}' == '30') {
document.getElementById("RSC_FIVE_CLASS_WFL_query").style.display = "none";
if (document.getElementById("${/parameter/@layout_code}_query")){
document.getElementById("${/parameter/@layout_code}_query").style.display = "none";
}
if (document.getElementById("${/parameter/@layout_code}_user_button1")){
document.getElementById("${/parameter/@layout_code}_user_button1").style.display = "none";
}
if (document.getElementById("${/parameter/@layout_code}_user_button2")){
document.getElementById("${/parameter/@layout_code}_user_button2").style.display = "none";
}
}
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_user_button1")){
if('${/model/wolkflow_path/record/@current_seq}' == '20'){
document.getElementById("RSC_FIVE_CLASS_WFL_user_button1").style.display = "none";
if (document.getElementById("${/parameter/@layout_code}_user_button1")){
document.getElementById("${/parameter/@layout_code}_user_button1").style.display = "none";
}
if (document.getElementById("${/parameter/@layout_code}_user_button2")){
document.getElementById("${/parameter/@layout_code}_user_button2").style.display = "none";
}
if (document.getElementById("${/parameter/@layout_code}_RESULT_SAVE_layout_dynamic_button_id")){
document.getElementById("${/parameter/@layout_code}_RESULT_SAVE_layout_dynamic_button_id").style.display = "none";
}
if (document.getElementById("${/parameter/@layout_code}_RESULT_ADD_layout_dynamic_button_id")){
document.getElementById("${/parameter/@layout_code}_RESULT_ADD_layout_dynamic_button_id").style.display = "none";
}
}
}
if (document.getElementById("RSC_FIVE_CLASS_WFL_user_button2")){
}else{
document.getElementById("RSC_FIVE_CLASS_WFL_user_button2").style.display = "none";
if (document.getElementById("${/parameter/@layout_code}_query")){
document.getElementById("${/parameter/@layout_code}_query").style.display = "none";
}
}
}
if (document.getElementById("${/parameter/@layout_code}_user_button1")){
if('${/model/wolkflow_path/record/@current_seq}' == '20'){
document.getElementById("${/parameter/@layout_code}_user_button1").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")){
if (document.getElementById("
${/parameter/@layout_code}
_user_button2")){
document.getElementById("
RSC_FIVE_CLASS_WFL
_user_button2").style.display = "none";
document.getElementById("
${/parameter/@layout_code}
_user_button2").style.display = "none";
}
}
if (document.getElementById("
RSC_FIVE_CLASS_WFL
_RESULT_SAVE_layout_dynamic_button_id")){
if (document.getElementById("
${/parameter/@layout_code}
_RESULT_SAVE_layout_dynamic_button_id")){
document.getElementById("
RSC_FIVE_CLASS_WFL
_RESULT_SAVE_layout_dynamic_button_id").style.display = "none";
document.getElementById("
${/parameter/@layout_code}
_RESULT_SAVE_layout_dynamic_button_id").style.display = "none";
}
}
if (document.getElementById("
RSC_FIVE_CLASS_WFL
_RESULT_ADD_layout_dynamic_button_id")){
if (document.getElementById("
${/parameter/@layout_code}
_RESULT_ADD_layout_dynamic_button_id")){
document.getElementById("
RSC_FIVE_CLASS_WFL
_RESULT_ADD_layout_dynamic_button_id").style.display = "none";
document.getElementById("
${/parameter/@layout_code}
_RESULT_ADD_layout_dynamic_button_id").style.display = "none";
}
}
}
}
var estimate_num = '${/parameter/@estimate_num}';
var estimate_num = '${/parameter/@estimate_num}';
if('${/model/wolkflow_path/record/@current_seq}' == '10'){
if('${/model/wolkflow_path/record/@current_seq}' == '10'){
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'RESULT', 'con_five_classification');
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'RESULT', 'con_five_classification');
...
@@ -107,9 +126,9 @@
...
@@ -107,9 +126,9 @@
}else{
}else{
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'RESULT', 'con_five_classification');
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');
var ds_id_s=get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'RESULT_SAME', 'con_five_classification');
var records = $(ds_id).getAll();
var records_s = $(ds_id_s).getAll();
if (ds_id){
var records = $(ds_id).getAll();
for (var i = 0;i < records.length;i++) {
for (var i = 0;i < records.length;i++) {
records[i].getField('contract_number').setReadOnly(true);
records[i].getField('contract_number').setReadOnly(true);
records[i].getField('contract_number_n').setReadOnly(true);
records[i].getField('contract_number_n').setReadOnly(true);
...
@@ -117,6 +136,9 @@
...
@@ -117,6 +136,9 @@
records[i].getField('final_sort').setReadOnly(true);
records[i].getField('final_sort').setReadOnly(true);
records[i].getField('final_sort_n').setReadOnly(true);
records[i].getField('final_sort_n').setReadOnly(true);
}
}
}
if (ds_id_s){
var records_s = $(ds_id_s).getAll();
for (var i = 0;i < records_s.length;i++) {
for (var i = 0;i < records_s.length;i++) {
records_s[i].getField('contract_number').setReadOnly(true);
records_s[i].getField('contract_number').setReadOnly(true);
records_s[i].getField('contract_number_n').setReadOnly(true);
records_s[i].getField('contract_number_n').setReadOnly(true);
...
@@ -125,6 +147,7 @@
...
@@ -125,6 +147,7 @@
records_s[i].getField('final_sort_n').setReadOnly(true);
records_s[i].getField('final_sort_n').setReadOnly(true);
}
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment