title
This commit is contained in:
parent
31a613dc9c
commit
36a7eb5da7
@ -102,6 +102,22 @@ class CompanyReportDetailExport extends AbstractExport implements FromQuery, Wit
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 表格标题
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function title(): string
|
||||||
|
{
|
||||||
|
$title = $this->tag();
|
||||||
|
|
||||||
|
if (($conditions = $this->conditions) && $conditions['month']) {
|
||||||
|
$title .= Carbon::parse($conditions['month'])->format('Ym');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $title ?? '列表';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 类型
|
* 类型
|
||||||
*
|
*
|
||||||
|
@ -64,6 +64,22 @@ class CompanyReportExport extends AbstractExport implements FromCollection, With
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 表格标题
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function title(): string
|
||||||
|
{
|
||||||
|
$title = $this->tag();
|
||||||
|
|
||||||
|
if (($conditions = $this->conditions) && $conditions['month']) {
|
||||||
|
$title .= Carbon::parse($conditions['month'])->format('Ym');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $title ?? '列表';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 类型
|
* 类型
|
||||||
*
|
*
|
||||||
|
@ -153,13 +153,13 @@ class PermissionSeeder extends Seeder
|
|||||||
'type' => 0,
|
'type' => 0,
|
||||||
'open' => 3,
|
'open' => 3,
|
||||||
'children' => [
|
'children' => [
|
||||||
['name' => 'stats.company-index', 'title' => '企业统计', 'path' => '/stats/company-count', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.company-index', 'title' => '企业统计', 'path' => '/stats/company-count', 'icon' => 'md-git-merge', 'type' => 0, 'open' => 3],
|
||||||
['name' => 'stats.order.0', 'title' => '销售订单统计', 'path' => '/stats/order/0', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.order.0', 'title' => '销售订单统计', 'path' => '/stats/order/0', 'icon' => 'ios-bulb', 'type' => 0, 'open' => 3],
|
||||||
['name' => 'stats.order.1', 'title' => '续费订单统计', 'path' => '/stats/order/1', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.order.1', 'title' => '续费订单统计', 'path' => '/stats/order/1', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
||||||
['name' => 'stats.order.2', 'title' => '续费包订单统计', 'path' => '/stats/order/2', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.order.2', 'title' => '续费包订单统计', 'path' => '/stats/order/2', 'icon' => 'md-basket', 'type' => 0, 'open' => 3],
|
||||||
['name' => 'stats.order.3', 'title' => '加油包订单统计', 'path' => '/stats/order/3', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.order.3', 'title' => '加油包订单统计', 'path' => '/stats/order/3', 'icon' => 'ios-color-fill', 'type' => 0, 'open' => 3],
|
||||||
['name' => 'stats.company-report.1', 'title' => '用户月报表', 'path' => '/stats/company-report/1', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.company-report.1', 'title' => '用户月报表', 'path' => '/stats/company-report/1', 'icon' => 'ios-contacts', 'type' => 0, 'open' => 3],
|
||||||
['name' => 'stats.company-report.2', 'title' => '增值包月报表', 'path' => '/stats/company-report/2', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3],
|
['name' => 'stats.company-report.2', 'title' => '增值包月报表', 'path' => '/stats/company-report/2', 'icon' => 'md-bonfire', 'type' => 0, 'open' => 3],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -173,6 +173,17 @@ class PermissionSeeder extends Seeder
|
|||||||
['name' => 'exports.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
|
['name' => 'exports.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'name' => 'artisan_ctrl',
|
||||||
|
'title' => '任务管理',
|
||||||
|
'path' => '#',
|
||||||
|
'icon' => 'ios-locate',
|
||||||
|
'type' => 0,
|
||||||
|
'open' => 3,
|
||||||
|
'children' => [
|
||||||
|
['name' => 'artisan.real-sync', 'title' => 'RD数据同步', 'path' => '/artisan/real-sync', 'icon' => 'ios-color-filter', 'type' => 0, 'open' => 3],
|
||||||
|
],
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user