|
@@ -2,7 +2,7 @@
|
|
|
* @Author: code4eat awesomedema@gmail.com
|
|
|
* @Date: 2023-01-04 14:12:31
|
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
|
- * @LastEditTime: 2023-08-21 16:27:13
|
|
|
+ * @LastEditTime: 2023-09-06 16:29:19
|
|
|
* @FilePath: /BudgetManaSystem/src/pages/budgetMana/oneBatch/index.tsx
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
*/
|
|
@@ -41,10 +41,6 @@ const ReportTemplate = () => {
|
|
|
|
|
|
const { reportCode: urlReportCode } = useParams();
|
|
|
|
|
|
- // const location = useLocation();
|
|
|
- // console.log({location});
|
|
|
- // const menuName = location.pathname.replace('/', '');
|
|
|
-
|
|
|
const [tableColumn, set_tableColumn] = useState<ProColumns[] | any[]>([]);
|
|
|
|
|
|
const [tableData, set_tableData] = useState<any[]>([]);
|
|
@@ -241,7 +237,7 @@ const ReportTemplate = () => {
|
|
|
...data
|
|
|
];
|
|
|
|
|
|
- exportTableToExcel(excelTableData, tableColumn, reportName);
|
|
|
+ exportTableToExcel(excelTableData, tableColumn as any[], reportName);
|
|
|
}
|
|
|
|
|
|
|