|
@@ -2,7 +2,7 @@
|
|
|
* @Author: code4eat awesomedema@gmail.com
|
|
|
* @Date: 2022-12-14 14:14:32
|
|
|
* @LastEditors: code4eat awesomedema@gmail.com
|
|
|
- * @LastEditTime: 2023-05-29 13:46:13
|
|
|
+ * @LastEditTime: 2023-05-29 14:31:46
|
|
|
* @FilePath: /BudgetManaSystem/src/app.ts
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
*/
|
|
@@ -352,6 +352,10 @@ const reportCheck = (params: any) => {
|
|
|
return <IconFont type='icon-baobiaochaxun' />
|
|
|
};
|
|
|
|
|
|
+const crosstabReport = (params: any) => {
|
|
|
+ return <IconFont type='icon-baobiaochaxun' />
|
|
|
+};
|
|
|
+
|
|
|
//布局配置
|
|
|
|
|
|
export const layout = ({ initialState, setInitialState }: { initialState: any, setInitialState: any }) => {
|
|
@@ -458,6 +462,9 @@ export const layout = ({ initialState, setInitialState }: { initialState: any, s
|
|
|
if (node.path == '/reportCheck') {
|
|
|
node.icon = <Icon component={reportCheck} />;
|
|
|
}
|
|
|
+ if (node.path == '/crosstabReport') {
|
|
|
+ node.icon = <Icon component={reportCheck} />;
|
|
|
+ }
|
|
|
}
|
|
|
if (node.children) {
|
|
|
node.children.forEach((child: any) => addIconToPath(child, paths));
|
|
@@ -465,7 +472,7 @@ export const layout = ({ initialState, setInitialState }: { initialState: any, s
|
|
|
}
|
|
|
|
|
|
data.forEach((item: any) => {
|
|
|
- addIconToPath(item, ['/home', '/budgetMana', '/setting', '/reportCheck', '/secondaryDistribute']);
|
|
|
+ addIconToPath(item, ['/home', '/budgetMana', '/setting', '/reportCheck', '/secondaryDistribute','/crosstabReport']);
|
|
|
});
|
|
|
|
|
|
return data
|