Commit f505b199 authored by 18083's avatar 18083

电子档案池按钮优化

parent c5ebe9fa
......@@ -23,10 +23,10 @@
function efile_archive_pool_batch_trans() {
var records=$('pool_temp_ds').getAll();
var records=$('pool_temp_ds').getAll();
var saveData = [];
var param = {};
Leaf.showConfirm('${l:PROMPT}', '是否确定批量传输?', function() {
Leaf.showConfirm('特别注意', '<span style="color: #ff0000; ">该操作将导致上个月满足条件的电子档案全部传输!!!如果不需要传输所有数据,请一定点击取消按钮!!!</span>', function() {
var detail_mask = Ext.getBody();
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
for (var i = 0;i < records.length;i++) {
......@@ -42,19 +42,20 @@
para: param,
success: function() {
Leaf.Masker.unmask(detail_mask);
Leaf.showMessage('提示','传输成功',function(){
Leaf.showMessage('提示','传输成功',function(){
$('efile_archive_pool_ds').query();
});
},
},
failure: function() {
Leaf.Masker.unmask(detail_mask);
},
},
error: function() {
Leaf.Masker.unmask(detail_mask);
},
},
scope: this
});
});
}, function () {
}, 300, 150);
}
......@@ -198,7 +199,7 @@
<!--<a:screenTitle/>-->
<a:gridButton click="efile_archive_pool_query" text="HLS.QUERY"/>
<a:gridButton click="efile_archive_pool_reset" text="重置"/>
<a:gridButton click="efile_archive_pool_batch_trans" text="启动批量传输"/>
<a:gridButton id="efile_archive_pool_batch_id" click="efile_archive_pool_batch_trans" text="启动批量传输"/>
<a:gridButton click="efile_archive_pool_manual_trans" text="手动传输"/>
</a:screenTopToolbar>
<a:form column="4" marginWidth="30" title="查询条件">
......
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