Commit f3c155ca authored by liyuan.chen's avatar liyuan.chen

商业伙伴修改流程开发

parent 16bd52fd
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: wangwei
$Date: 2014-12-19 下午7:07:43
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="update">
<!--<bm:parameters>
<bm:parameter name="cdd_list_id" dataType="java.lang.Long" input="true" output="true" outputPath="@cdd_list_id"/>
</bm:parameters>-->
<bm:update-sql><![CDATA[
BEGIN
-- 校验组织机构代码,身份证号,配偶身份证号
hls_bp_master_change_req_pkg.check_bp_class(p_change_req_id => ${@change_req_id}, p_user_id => ${/session/@user_id});
hls_bp_master_change_req_pkg.bp_create_user_authority(p_change_req_id => ${@change_req_id}, p_user_id => ${/session/@user_id}, p_company_id => ${/session/@company_id});
END;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: wangwei
$Date: 2014-12-19 下午7:07:43
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="update">
<!--<bm:parameters>
<bm:parameter name="cdd_list_id" dataType="java.lang.Long" input="true" output="true" outputPath="@cdd_list_id"/>
</bm:parameters>-->
<bm:update-sql><![CDATA[
BEGIN
hls_bp_master_change_req_pkg.check_bp_master_req_role(p_change_req_id => ${@change_req_id},
p_role_req_id => ${@role_req_id},
p_bp_type => ${@bp_type},
p_user_id => ${/session/@user_id});
END;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: wangwei
$Date: 2014-12-19 下午7:07:43
$Revision: 1.0
$Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="update">
<!--<bm:parameters>
<bm:parameter name="cdd_list_id" dataType="java.lang.Long" input="true" output="true" outputPath="@cdd_list_id"/>
</bm:parameters>-->
<bm:update-sql><![CDATA[
BEGIN
hls_bp_master_change_req_pkg.check_bp_master_role(p_bp_id => ${@bp_id},
p_bp_role_id => ${@bp_role_id},
p_bp_type => ${@bp_type},
p_user_id => ${/session/@user_id});
END;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<f:standard-who/> <f:standard-who/>
</bm:features> </bm:features>
<bm:query-fields> <bm:query-fields>
<bm:query-field name="table_name" queryExpression="t1.table_name=${@table_name}"/> <bm:query-field name="table_name" queryExpression="upper(t1.table_name)=upper(${@table_name})"/>
<bm:query-field name="table_pk_value" queryExpression="t1.table_pk_value=${@table_pk_value}"/> <bm:query-field name="table_pk_value" queryExpression="t1.table_pk_value=${@table_pk_value}"/>
<bm:query-field name="source_table" queryExpression="t1.source_table=${@source_table}"/> <bm:query-field name="source_table" queryExpression="t1.source_table=${@source_table}"/>
<bm:query-field name="source_table_pk_value" queryExpression="t1.source_table_pk_value=${@source_table_pk_value}"/> <bm:query-field name="source_table_pk_value" queryExpression="t1.source_table_pk_value=${@source_table_pk_value}"/>
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
}; };
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) { window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) {
debugger;
if ((ds.id).indexOf('hls_bp_master') != -1) { if ((ds.id).indexOf('hls_bp_master') != -1) {
// record.getField('cell_phone').setRequired(true); // record.getField('cell_phone').setRequired(true);
//record.getField('cell_phone').setRequired(true); //record.getField('cell_phone').setRequired(true);
...@@ -537,7 +537,7 @@ ...@@ -537,7 +537,7 @@
}, 20); }, 20);
} }
} }
if (name == 'invoice_bp_phone_num' && value) { /*if (name == 'invoice_bp_phone_num' && value) {
if (!checkMobile(value)) { if (!checkMobile(value)) {
Leaf.showMessage('提示', '基本信息中,请输入正确格式的手机号码!'); Leaf.showMessage('提示', '基本信息中,请输入正确格式的手机号码!');
setTimeout(function () { setTimeout(function () {
...@@ -545,7 +545,7 @@ ...@@ -545,7 +545,7 @@
}, 20); }, 20);
return false; return false;
} }
} }*/
} }
if (ds.id == f_bp_create_ds_id) { if (ds.id == f_bp_create_ds_id) {
...@@ -636,7 +636,7 @@ ...@@ -636,7 +636,7 @@
//超链接渲染 //超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) { window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) {
debugger;
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record; window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'attachment') { if (name == 'attachment') {
link_function = 'upload_file'; link_function = 'upload_file';
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}, 20); }, 20);
} }
} }
if (name == 'invoice_bp_phone_num' && value) { /*if (name == 'invoice_bp_phone_num' && value) {
if (!checkMobile(value)) { if (!checkMobile(value)) {
Leaf.showMessage('提示', '基本信息中,请输入正确格式的手机号码!'); Leaf.showMessage('提示', '基本信息中,请输入正确格式的手机号码!');
setTimeout(function () { setTimeout(function () {
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
}, 20); }, 20);
return false; return false;
} }
} }*/
if (name == 'invoice_method' && value) { if (name == 'invoice_method' && value) {
if (record.get('bp_class') == 'ORG') { if (record.get('bp_class') == 'ORG') {
if (value == 'BILLING') { if (value == 'BILLING') {
...@@ -116,14 +116,24 @@ ...@@ -116,14 +116,24 @@
//超链接渲染 //超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) { window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) {
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record; window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'attachment') { if (name == 'attachment') {
link_function = 'upload_file'; link_function = 'upload_file';
if (record.get('attach_count') == 0 || !record.get('attach_count')) { if('${/parameter/@query_only}' == 'Y'){
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');">' + config_record.get('prompt') + '</a>'; if (record.get('attach_count') == 0 || !record.get('attach_count')) {
} else { return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + '${/parameter/@query_only}' + '\');">' + '附件下载' + '</a>';
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');">' + config_record.get('prompt') + '(' + record.get('attach_count') + ')' + '</a>'; } else {
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + '${/parameter/@query_only}' + '\');">' + '附件下载' + '(' + record.get('attach_count') + ')' + '</a>';
}
}else{
if (record.get('attach_count') == 0 || !record.get('attach_count')) {
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');">' + config_record.get('prompt') + '</a>';
} else {
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');">' + config_record.get('prompt') + '(' + record.get('attach_count') + ')' + '</a>';
}
} }
} else if (name == 'attach_file_name') { } else if (name == 'attach_file_name') {
if (value != null) { if (value != null) {
var link = '${/request/@context_path}/atm_download.lsc?attachment_id='; var link = '${/request/@context_path}/atm_download.lsc?attachment_id=';
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
$(ds_id).query(); $(ds_id).query();
} }
// 简称校验 // 简称校验
// debugger; //
// var Pattern = /^[A-Za-z]+$/; // var Pattern = /^[A-Za-z]+$/;
// //
// if(record.getField('extra_nam')=='extra_nam'){ // if(record.getField('extra_nam')=='extra_nam'){
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
//新增和加载时调用form //新增和加载时调用form
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) { window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) {
debugger;
// if ((ds.id).indexOf('hls_bp_master_credit') != -1 && (ds.id).indexOf('F_ORG_CREDIT') != -1) { // if ((ds.id).indexOf('hls_bp_master_credit') != -1 && (ds.id).indexOf('F_ORG_CREDIT') != -1) {
// if (ds.fields.fin_institution_code) { // if (ds.fields.fin_institution_code) {
// ds.fields.fin_institution_code.pro.validator = fin_institution_code_validate; // ds.fields.fin_institution_code.pro.validator = fin_institution_code_validate;
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
record.getField('parent_id_n').setReadOnly(true); record.getField('parent_id_n').setReadOnly(true);
} }
} }
if (name == 'social_code') { if (name == 'social_code' && value) {
if (!CheckSocialCreditCode(value)) { if (!CheckSocialCreditCode(value)) {
Leaf.showMessage('提示', '统一社会信用代码有误,请重新输入!'); Leaf.showMessage('提示', '统一社会信用代码有误,请重新输入!');
setTimeout(function () { setTimeout(function () {
...@@ -427,7 +427,7 @@ ...@@ -427,7 +427,7 @@
// ds.fields.id_card_no.pro.validator = id_card_no_validate; // ds.fields.id_card_no.pro.validator = id_card_no_validate;
// ds.fields.id_no_sp.pro.validator = id_card_no_validate; // ds.fields.id_no_sp.pro.validator = id_card_no_validate;
// } // }
if (name == 'cell_phone') { if (name == 'cell_phone' && value) {
if (!checkMobile(value)) { if (!checkMobile(value)) {
Leaf.showMessage('提示', '基本信息中,请输入正确格式的手机号码!'); Leaf.showMessage('提示', '基本信息中,请输入正确格式的手机号码!');
setTimeout(function () { setTimeout(function () {
...@@ -436,7 +436,7 @@ ...@@ -436,7 +436,7 @@
return false; return false;
} }
} }
if (name == 'leader_mobile_number') { if (name == 'leader_mobile_number' && value) {
if (!checkMobile(value)) { if (!checkMobile(value)) {
Leaf.showMessage('提示', '公司负责人中,请输入正确格式的手机号码!'); Leaf.showMessage('提示', '公司负责人中,请输入正确格式的手机号码!');
setTimeout(function () { setTimeout(function () {
...@@ -487,14 +487,15 @@ ...@@ -487,14 +487,15 @@
//record.set('resident_addres_sp', get_native_place(value)); //record.set('resident_addres_sp', get_native_place(value));
record.set('date_of_birth_sp', new Date(value.substr(6, 4) + '/' + value.substr(10, 2) + '/' + value.substr(12, 2))); record.set('date_of_birth_sp', new Date(value.substr(6, 4) + '/' + value.substr(10, 2) + '/' + value.substr(12, 2)));
record.set('age', new Date().getFullYear() - value.substr(6, 4)); // 配偶的信息不能回写
/*record.set('age', new Date().getFullYear() - value.substr(6, 4));
if (value.substr(16, 1) % 2 == 1) { if (value.substr(16, 1) % 2 == 1) {
record.set('gender', 'MALE'); record.set('gender', 'MALE');
record.set('gender_n', '男'); record.set('gender_n', '男');
} else if (value.substr(16, 1) % 2 == 0) { } else if (value.substr(16, 1) % 2 == 0) {
record.set('gender', 'FEMALE'); record.set('gender', 'FEMALE');
record.set('gender_n', '女'); record.set('gender_n', '女');
} }*/
} }
} }
...@@ -507,12 +508,12 @@ ...@@ -507,12 +508,12 @@
var test_ds_id2 = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_SPOUSE', 'hls_bp_master'); var test_ds_id2 = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_SPOUSE', 'hls_bp_master');
if (ds.id == f_bp_create_ds_id) { if (ds.id == f_bp_create_ds_id) {
debugger;
var hd_ds = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_BASIC', 'hls_bp_master'); var hd_ds = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_BASIC', 'hls_bp_master');
record = $(hd_ds).getCurrentRecord(); record = $(hd_ds).getCurrentRecord();
if(record.get('bp_class')=='NP'){ if(record.get('bp_class')=='NP'){
if (name == 'marital_status') { if (name == 'marital_status' && value) {
debugger;
if (value == '30' || value == '40') { if (value == '30' || value == '40') {
document.getElementById('${/parameter/@layout_code}_F_SPOUSE_1_component_id').style.display = 'block'; document.getElementById('${/parameter/@layout_code}_F_SPOUSE_1_component_id').style.display = 'block';
record.getField('bp_name_sp').setRequired(true); record.getField('bp_name_sp').setRequired(true);
......
...@@ -36,21 +36,22 @@ ...@@ -36,21 +36,22 @@
//信息变更 //信息变更
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () { window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
debugger;
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master');
var record=$(ds_id).selected[0]; var record=$(ds_id).selected[0];
var param = record.data; var param = record.data;
var bp_class = record.get('bp_class'); var bp_class = record.get('bp_class');
if(record.get('bp_wfl_status') == 'APPROVING'){ if(record.get('invoice_wfl_status') == 'APPROVING' || record.get('bp_wfl_status') == 'APPROVING'){
// 展示变更信息 // 展示变更信息
param['function_code'] = 'HLS214BR'; param['function_code'] = 'HLS214BR';
param['function_usage'] = 'QUERY'; param['function_usage'] = 'QUERY';
param['query_only'] = 'Y';
param['bp_class'] = bp_class; param['bp_class'] = bp_class;
param['change_req_id'] = record.get('invoice_change_id'); param['change_req_id'] = record.get('invoice_change_id');
param['document_id'] = record.get('invoice_change_id'); param['document_id'] = record.get('invoice_change_id');
param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}'; param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_modify_link', ds_id); hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_billing_link', ds_id);
}else { }else if (record.get('invoice_wfl_status') != 'APPROVING' && record.get('bp_wfl_status') != 'APPROVING'){
window['${/parameter/@layout_code}_lock_layout_dynamic_window'](); window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
var url = '${/request/@context_path}/autocrud/hls.HLS214N.hls_bp_master_req_create/update'; var url = '${/request/@context_path}/autocrud/hls.HLS214N.hls_bp_master_req_create/update';
Leaf.request({ Leaf.request({
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
success: function (res) { success: function (res) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window'](); window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
if (res.result.change_req_id) { if (res.result.change_req_id) {
debugger;
param['winid'] = 'bp_master_invoice_detail_win'; param['winid'] = 'bp_master_invoice_detail_win';
param['function_code'] = 'HLS214B'; param['function_code'] = 'HLS214B';
param['bp_class'] = bp_class; param['bp_class'] = bp_class;
...@@ -70,7 +71,7 @@ ...@@ -70,7 +71,7 @@
param['change_req_id'] = res.result.change_req_id; param['change_req_id'] = res.result.change_req_id;
param['document_id'] = res.result.change_req_id; param['document_id'] = res.result.change_req_id;
param['function_usage'] = 'MODIFY'; param['function_usage'] = 'MODIFY';
param['maintain_type'] = 'MODIFY'; param['query_only'] = 'N';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_billing_link', ds_id); hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_billing_link', ds_id);
} }
...@@ -89,21 +90,22 @@ ...@@ -89,21 +90,22 @@
// stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master'); // stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
function open_bp_modify_win(ds_id, record_id) { function open_bp_modify_win(ds_id, record_id) {
debugger;
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
var bp_class = record.get('bp_class'); var bp_class = record.get('bp_class');
var user_category ='${/model/default_value/record/@user_category}'; var user_category ='${/model/default_value/record/@user_category}';
var submit_flag = record.get('submit_flag'); var submit_flag = record.get('submit_flag');
var param = record.data; var param = record.data;
if(record.get('bp_wfl_status') == 'APPROVING'){ if(record.get('bp_wfl_status') == 'APPROVING' || record.get('invoice_wfl_status') == 'APPROVING'){
// 展示原始信息,后续待定 // 展示原始信息,后续待定
param['function_code'] = 'HLS215D'; param['function_code'] = 'HLS215D';
param['function_usage'] = 'QUERY'; param['function_usage'] = 'QUERY';
param['bp_class'] = bp_class; param['bp_class'] = bp_class;
param['cond_para1'] = user_category; param['cond_para1'] = user_category;
param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}'; param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}';
param['query_only'] = 'Y';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_modify_link', ds_id); hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_modify_link', ds_id);
}else{ }else if (record.get('invoice_wfl_status') != 'APPROVING' && record.get('bp_wfl_status') != 'APPROVING'){
if(submit_flag == 'Y'){ if(submit_flag == 'Y'){
window['${/parameter/@layout_code}_lock_layout_dynamic_window'](); window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
var url = '${/request/@context_path}/autocrud/hls.HLS214N.hls_bp_master_req_create/execute'; var url = '${/request/@context_path}/autocrud/hls.HLS214N.hls_bp_master_req_create/execute';
...@@ -114,14 +116,17 @@ ...@@ -114,14 +116,17 @@
success: function (res) { success: function (res) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window'](); window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
if(res.result.change_req_id){ if(res.result.change_req_id){
debugger;
param['function_code'] = 'HLS214F'; param['function_code'] = 'HLS214F';
param['function_usage'] = 'MODIFY'; param['function_usage'] = 'MODIFY';
param['bp_class'] = bp_class; param['bp_class'] = bp_class;
param['change_req_id'] = res.result.change_req_id; param['change_req_id'] = res.result.change_req_id;
param['document_id'] = res.result.change_req_id; param['document_id'] = res.result.change_req_id;
param['cond_para1'] = user_category; param['cond_para1'] = user_category;
param['bp_name_updated_flag'] = record.get('bp_name_updated_flag');
param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}'; param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}';
param['query_only'] = 'N';
// param['layout_debugger_flag']='Y';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_req_modify_link', ds_id); hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_req_modify_link', ds_id);
} }
}, },
...@@ -139,6 +144,7 @@ ...@@ -139,6 +144,7 @@
param['bp_class'] = bp_class; param['bp_class'] = bp_class;
param['cond_para1'] = user_category; param['cond_para1'] = user_category;
param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}'; param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}';
param['query_only'] = 'N';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_modify_link', ds_id); hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'hls_bp_master_modify_link', ds_id);
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<a:init-procedure> <a:init-procedure>
<a:model-query defaultWhereClause="v.code=&apos;ZJ_WFL_WORKFLOW_STATUS&apos; and v.code_value = &apos;1&apos;" model="zjwfl.sys_code_default_value" rootPath="workflow_status_default_value"/> <a:model-query defaultWhereClause="v.code=&apos;ZJ_WFL_WORKFLOW_STATUS&apos; and v.code_value = &apos;1&apos;" model="zjwfl.sys_code_default_value" rootPath="workflow_status_default_value"/>
<a:model-query defaultWhereClause="v.code=&apos;ZJ_WFL_WORKFLOW_STATUS&apos; and v.code_value in (&apos;1&apos;,&apos;10&apos;,&apos;-1&apos;,&apos;-1000&apos;)" model="zjwfl.sys_code_default_value" rootPath="workflow_status_list"/> <a:model-query defaultWhereClause="v.code=&apos;ZJ_WFL_WORKFLOW_STATUS&apos; and v.code_value in (&apos;1&apos;,&apos;10&apos;,&apos;-1&apos;,&apos;-1000&apos;)" model="zjwfl.sys_code_default_value" rootPath="workflow_status_list"/>
<a:model-query defaultWhereClause="v.role_id = ${/session/@role_id} and v.role_code in (&apos;0014&apos;,&apos;0013&apos;,&apos;0012&apos;,&apos;0006&apos;,&apos;0005&apos;,&apos;0008&apos;,&apos;0022&apos;)" model="zjwfl.sys_role_flag" rootPath="role_flag_path"/> <a:model-query defaultWhereClause="v.role_id = ${/session/@role_id} and v.role_code in (&apos;0017&apos;,&apos;HAND&apos;)" model="zjwfl.sys_role_flag" rootPath="role_flag_path"/>
</a:init-procedure> </a:init-procedure>
<a:view> <a:view>
<a:link id="pageLink_node_approve_history" url="${/request/@context_path}/modules/zjwfl/ZJWFL1060/zj_wfl_monitoring_node_approve_history.lview"/> <a:link id="pageLink_node_approve_history" url="${/request/@context_path}/modules/zjwfl/ZJWFL1060/zj_wfl_monitoring_node_approve_history.lview"/>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
} }
function onload(ds) { function onload(ds) {
var grid_id = $('monitorDs_grid'); var grid_id = $('monitorDs_grid');
if('${/model/role_flag_path/record/@sys_role_flag}' == 'Y') { if('${/model/role_flag_path/record/@sys_role_flag}' == 'N') {
grid_id.hideColumn('do_operation'); grid_id.hideColumn('do_operation');
} }
} }
......
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