Files
OMS/app/taoexlib/lib/service/actionbar.php
2025-12-28 23:13:25 +08:00

32 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class taoexlib_service_actionbar {
function getOmeanalystsDelivery(){
// 新增app接管csv导出任务
return array(
array(
'label'=>'导出任务',
'id'=>'export_task',
'href'=>'index.php?app=taoexlib&ctl=ietask&act=export_task&e_app=omeanalysts&e_model=ome_delivery&task_name=快递费结算表',
//index.php?app=ome&ctl=admin_order&act=index&_finder%5Bfinder_id%5D=d58620&action=export&finder_id=d58620
'target'=>"dialog::{width:400,height:170,title:'导出'}"),
);
}
function getActionBar(){
// 新增app接管csv导出任务
return array(
array(
'label'=>'导出任务',
'id'=>'export_task',
'submit'=>'index.php?app=taoexlib&ctl=ietask&act=export_task&e_app=ome&e_model=orders&task_name='.base64_encode('订单'),
//index.php?app=ome&ctl=admin_order&act=index&_finder%5Bfinder_id%5D=d58620&action=export&finder_id=d58620
'target'=>"dialog::{width:400,height:170,title:'导出任务'}"),
);
}
}