Commit 0c178f9d1cbabbd7a281c9474f8bf175f8d67408

Authored by xu
1 parent 1a132462
Exists in master

app-ht

1. F 导出数据的文件名改为指定名称
app-ht/modules/datas/views/device-stats/export.php
... ... @@ -3,7 +3,7 @@
3 3 use domain\upgrade\UpgradeLogStatus;
4 4  
5 5 header('Content-Type: application/vnd.ms-excel;charset=utf-8');
6   -$title = date('Y-m-d') . '_机器状态统计数据';
  6 +$title = iconv('UTF-8','GBK','机器状态统计数据');
7 7 $name = $title . ".xls";
8 8 header('Content-Disposition: attachment;filename=' . $name . '');
9 9 header('Cache-Control: max-age=0');
... ...
app-ht/modules/datas/views/device/batch-export.php
1 1 <?php
2 2  
3 3 header('Content-Type: application/vnd.ms-excel;charset=utf-8');
4   -$title = date('Y-m-d') . '_批次导出';
  4 +$title = iconv('UTF-8','GBK','序列号按批次统计');
5 5 $name = $title . ".xls";
6 6 header('Content-Disposition: attachment;filename=' . $name . '');
7 7 header('Cache-Control: max-age=0');
... ...
app-ht/modules/datas/views/device/export.php
1 1 <?php
2 2  
3 3 header('Content-Type: application/vnd.ms-excel;charset=utf-8');
4   -$title = date('Y-m-d') . '_批次统计';
  4 +$title = iconv('UTF-8','GBK','批次统计');
5 5 $name = $title . ".xls";
6 6 header('Content-Disposition: attachment;filename=' . $name . '');
7 7 header('Cache-Control: max-age=0');
... ...
app-ht/modules/datas/views/device/fail-list-export.php
1 1 <?php
2 2 use domain\device\Device;
3 3 header('Content-Type: application/vnd.ms-excel;charset=utf-8');
4   -$title = date('Y-m-d') . '_超出部分导出';
  4 +$title = iconv('UTF-8','GBK','超出部分导出');
5 5 $name = $title . ".xls";
6 6 header('Content-Disposition: attachment;filename=' . $name . '');
7 7 header('Cache-Control: max-age=0');
... ...
app-ht/modules/datas/views/upgrade-log/export.php
... ... @@ -3,7 +3,7 @@
3 3 use domain\upgrade\UpgradeLogStatus;
4 4  
5 5 header('Content-Type: application/vnd.ms-excel;charset=utf-8');
6   -$title = date('Y-m-d') . '_升级统计数据';
  6 +$title = iconv('UTF-8','GBK','升级统计数据');
7 7 $name = $title . ".xls";
8 8 header('Content-Disposition: attachment;filename=' . $name . '');
9 9 header('Cache-Control: max-age=0');
... ...
app-ht/modules/device/views/device/export.php
1 1 <?php
2 2  
3 3 header('Content-Type: application/vnd.ms-excel;charset=utf-8');
4   -$title = date('Y-m-d') . '_设备';
  4 +$title = iconv('UTF-8','GBK','序列号');
5 5 $name = $title . ".xls";
6 6 header('Content-Disposition: attachment;filename=' . $name . '');
7 7 header('Cache-Control: max-age=0');
... ...