Commit 976901b9 authored by stone's avatar stone

【fix】删除代理店的sbo信息显示

parent 4994d546
...@@ -167,7 +167,6 @@ ...@@ -167,7 +167,6 @@
<!-- <bm:data-filter enforceOperations="query" expression="t1.contract_id = t2.contract_id"/>--> <!-- <bm:data-filter enforceOperations="query" expression="t1.contract_id = t2.contract_id"/>-->
<!-- <bm:data-filter enforceOperations="query" expression="t2.write_off_flag = &apos;FULL&apos;"/>--> <!-- <bm:data-filter enforceOperations="query" expression="t2.write_off_flag = &apos;FULL&apos;"/>-->
<bm:data-filter enforceOperations="query" expression="t1.vat_interface_status = &apos;BACK&apos;"/> <bm:data-filter enforceOperations="query" expression="t1.vat_interface_status = &apos;BACK&apos;"/>
<bm:data-filter enforceOperations="query" expression="t1.claim_status not in ( &apos;UNCLAIMED&apos;)"/> <bm:data-filter enforceOperations="query" expression="t1.claim_status not in (&apos;UNCLAIMED&apos;)"/>
<!-- <bm:data-filter name="query" expression="rownum &lt;=1000"/>-->
</bm:data-filters> </bm:data-filters>
</bm:model> </bm:model>
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_icinfo.lview"/> url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_icinfo.lview"/>
<a:link id="hls_bp_master_billing_link" <a:link id="hls_bp_master_billing_link"
url="${/request/@context_path}/modules/hls/HLS214N/hls_bp_master_billing.lview"/> url="${/request/@context_path}/modules/hls/HLS214N/hls_bp_master_billing.lview"/>
<a:link id="identify_cert_link" model="hls.HLS214N.hls_bp_master_modify_user"
modelaction="query"/>
<script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/> <script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/>
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
...@@ -232,6 +233,41 @@ ...@@ -232,6 +233,41 @@
} }
}; };
//加载时调用(grid,table,gridBox)
window.addEventListener("load", function (_event) {
Leaf.request({
url: $('identify_cert_link').getUrl(),
para: {},
success: function(res) {
var code=res.result.record.employee_type_id;
if(code==64){
//代理店进行隐藏
var elements=document.querySelector('td[title="SBO反馈信息"]');
elements.remove();
$('BP_MODIFY_ENTRANCE_G_BP_RESULT_hls_bp_master_layout_grid_id').hideColumn('SBO_BP_MESSAGE');
}
},
failure: function() {
},
error: function() {
},
scope: this
});
});
/* Leaf.onReady(function(){
for (var i=0;i<elements.length;i++){
elements[i].parentNode.remove();
}
console.log(elements);
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master');
console.log($(ds_id));
})*/
]]></script> ]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=BP&amp;function_code=HLS214"/> <a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=BP&amp;function_code=HLS214"/>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
<a:link id="hls_bp_ccx_icinfo_link" <a:link id="hls_bp_ccx_icinfo_link"
url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_icinfo.lview"/> url="${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_icinfo.lview"/>
<!-- <script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/>--> <!-- <script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/>-->
<a:link id="identify_cert_link" model="hls.HLS214N.hls_bp_master_modify_user"
modelaction="query"/>
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
// stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master'); // stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
...@@ -127,6 +129,27 @@ ...@@ -127,6 +129,27 @@
//异步打印 //异步打印
// ds.setQueryParameter('__async__', 'Y'); // ds.setQueryParameter('__async__', 'Y');
}; };
window.addEventListener("load", function (_event) {
Leaf.request({
url: $('identify_cert_link').getUrl(),
para: {},
success: function(res) {
var code=res.result.record.employee_type_id;
if(code==64){
//代理店进行隐藏
var elements=document.querySelector('td[title="SBO反馈信息"]');
elements.remove();
$('BP_MODIFY_ENTRANCE_G_BP_RESULT_hls_bp_master_layout_grid_id').hideColumn('SBO_BP_MESSAGE');
}
},
failure: function() {
},
error: function() {
},
scope: this
});
});
]]></script> ]]></script>
<a:screen-include <a:screen-include
screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=BP&amp;function_code=HLS214"/> screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=BP&amp;function_code=HLS214"/>
......
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