907_home.js 1.71 KB
/*
 * @Author: 前端 qianduan01@didihu.com.cn
 * @Date: 2024-03-11 18:04:47
 * @LastEditors: 前端 qianduan01@didihu.com.cn
 * @LastEditTime: 2024-03-12 10:58:35
 * @FilePath: \dj-car-life-system\src\router\modules\907_home.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/* eslint-disable node/prefer-global/process */
const _import = require("@/libs/util.import." + process.env.NODE_ENV);
export const routerName = {
	907: {
		path: "/index",
		name: "index",
		meta: {
			title: "总览",
			authId: "907",
			parentId: "1",
			icon: "s-home",
			cache: false,
			sideHidden: false,
		},
		auth: [{
			authId: "90701",
			parentId: "907",
			label: "报表模块",
		}, {
			authId: "90702",
			parentId: "907",
			category: "Button",
			label: "查看企微推送对象",
			addRoutePath: [{
				authId: "90703",
				name: "企微推送配置",
				parentId: "907",
			}],
		},
		// {
		//   authId: "90705",
		//   parentId: "907",
		//   category: "Button",
		//   label: "编辑单店信息"
		// },
		{
			authId: "90706",
			parentId: "907",
			category: "Button",
			type: "primary",
			label: "导出日报",
			handle: "exportDailyReport",
		}, {
			authId: "90707",
			parentId: "907",
			category: "Button",
			label: "渗透率报表",
			addRoutePath: [{
				authId: "90704",
				name: "渗透率报表",
				parentId: "907",
			}, {
				authId: "90709",
				name: "店端实际交车数",
				parentId: "907",
			}],
		}, {
			authId: "90708",
			parentId: "907",
			category: "Button",
			handle: "handleOutputImport",
			label: "导入",
		}],
		component: _import("index/simple"),
	},
};