|
|
@@ -1,113 +1,113 @@
|
|
|
-const ROUTER = [
|
|
|
- {
|
|
|
- title: "数据管理", // 厂商数据管理
|
|
|
- path: "/uploadRecord", // 点击数据管理展示的路由
|
|
|
- img1: require("../img/edit-manage1.png"), // 没点击的背景图
|
|
|
- img2: require("../img/edit-manage2.png"), // 点击了的背景图
|
|
|
- role: "manufacturer", // 厂商权限
|
|
|
- list: [
|
|
|
- {
|
|
|
- title: "上传记录",
|
|
|
- path: "/uploadRecord",
|
|
|
- },
|
|
|
- {
|
|
|
- title: "链接上传", // 厂商的链接上传
|
|
|
- path: "/uploadLinks",
|
|
|
- },
|
|
|
- {
|
|
|
- title: "上传资料",
|
|
|
- path: "/uploadInfor",
|
|
|
- },
|
|
|
- ],
|
|
|
- pathList: ['/uploadRecord', '/uploadLinks', '/uploadInfor'] // 方便判断是否展开
|
|
|
- },
|
|
|
- {
|
|
|
- title: "传播项目", // 进销商数据管理
|
|
|
- path: "/inforList", // 点击数据管理展示的路由
|
|
|
- img1: require("../img/edit-manage1.png"), // 没点击的背景图
|
|
|
- img2: require("../img/edit-manage2.png"), // 点击了的背景图
|
|
|
- role: "distributor", // 厂商和经销商都有权限
|
|
|
- list: [
|
|
|
- {
|
|
|
- title: "资料下载",
|
|
|
- path: "/inforList",
|
|
|
- },
|
|
|
- {
|
|
|
- title: "传播反馈", // 经销商链接上传
|
|
|
- path: "/uploadLink",
|
|
|
- },
|
|
|
- ],
|
|
|
- pathList: ['/inforList', '/uploadLink']
|
|
|
- },
|
|
|
- {
|
|
|
- title: "账号管理", // 厂商的账号管理
|
|
|
- path: "/accountIndex",
|
|
|
- img1: require("../img/User-Settings1.png"),
|
|
|
- img2: require("../img/User-Settings2.png"),
|
|
|
- list: [],
|
|
|
- role: "manufacturer", // 厂商有权限
|
|
|
- },
|
|
|
- {
|
|
|
- title: "账号管理",
|
|
|
- path: "/accountManage",
|
|
|
- img1: require("../img/User-Settings1.png"),
|
|
|
- img2: require("../img/User-Settings2.png"),
|
|
|
- list: [],
|
|
|
- role: "distributor", // 经销商有权限
|
|
|
- },
|
|
|
- {
|
|
|
- title: "参数设置",
|
|
|
- path: "/parameterIndex",
|
|
|
- img1: require("../img/Setting1.png"),
|
|
|
- img2: require("../img/Setting2.png"),
|
|
|
- list: [],
|
|
|
- role: "manufacturer", // 厂商有权限
|
|
|
- },
|
|
|
-];
|
|
|
-const TAG = [
|
|
|
- {
|
|
|
- num: 1,
|
|
|
- title: '车系车型',
|
|
|
- path: '/carSeries'
|
|
|
- },
|
|
|
- {
|
|
|
- num: 2,
|
|
|
- title: '平台版块',
|
|
|
- path: '/platformModule'
|
|
|
- },
|
|
|
- {
|
|
|
- num: 3,
|
|
|
- title: '稿件类别',
|
|
|
- path: '/contentCategory1'
|
|
|
- },
|
|
|
- {
|
|
|
- num: 4,
|
|
|
- title: '内容分类',
|
|
|
- path: '/contentCategory2'
|
|
|
- },
|
|
|
- {
|
|
|
- num: 5,
|
|
|
- title: '媒体平台',
|
|
|
- path: '/mediaPlatform'
|
|
|
- },
|
|
|
- {
|
|
|
- num: 6,
|
|
|
- title: '权限分组',
|
|
|
- path: '/grouping'
|
|
|
- }
|
|
|
- // {
|
|
|
- // num: 7,
|
|
|
- // title: '链接上传',
|
|
|
- // path: 'linkUpload'
|
|
|
- // },
|
|
|
- // {
|
|
|
- // num: 8,
|
|
|
- // title: '常用参数',
|
|
|
- // path: 'commonParam'
|
|
|
- // }
|
|
|
-]
|
|
|
-
|
|
|
-module.exports = {
|
|
|
- ROUTER,
|
|
|
- TAG
|
|
|
-}
|
|
|
+const ROUTER = [
|
|
|
+ {
|
|
|
+ title: "数据管理", // 厂商数据管理
|
|
|
+ path: "/uploadRecord", // 点击数据管理展示的路由
|
|
|
+ img1: require("../img/edit-manage1.png"), // 没点击的背景图
|
|
|
+ img2: require("../img/edit-manage2.png"), // 点击了的背景图
|
|
|
+ role: "manufacturer", // 厂商权限
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ title: "传播项目",
|
|
|
+ path: "/uploadRecord",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "传播反馈", // 厂商的链接上传
|
|
|
+ path: "/uploadLinks",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "上传资料",
|
|
|
+ path: "/uploadInfor",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ pathList: ['/uploadRecord', '/uploadLinks', '/uploadInfor'] // 方便判断是否展开
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "传播项目", // 进销商数据管理
|
|
|
+ path: "/inforList", // 点击数据管理展示的路由
|
|
|
+ img1: require("../img/edit-manage1.png"), // 没点击的背景图
|
|
|
+ img2: require("../img/edit-manage2.png"), // 点击了的背景图
|
|
|
+ role: "distributor", // 厂商和经销商都有权限
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ title: "资料下载",
|
|
|
+ path: "/inforList",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "传播反馈", // 经销商链接上传
|
|
|
+ path: "/uploadLink",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ pathList: ['/inforList', '/uploadLink']
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "账号管理", // 厂商的账号管理
|
|
|
+ path: "/accountIndex",
|
|
|
+ img1: require("../img/User-Settings1.png"),
|
|
|
+ img2: require("../img/User-Settings2.png"),
|
|
|
+ list: [],
|
|
|
+ role: "manufacturer", // 厂商有权限
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "账号管理",
|
|
|
+ path: "/accountManage",
|
|
|
+ img1: require("../img/User-Settings1.png"),
|
|
|
+ img2: require("../img/User-Settings2.png"),
|
|
|
+ list: [],
|
|
|
+ role: "distributor", // 经销商有权限
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "参数设置",
|
|
|
+ path: "/parameterIndex",
|
|
|
+ img1: require("../img/Setting1.png"),
|
|
|
+ img2: require("../img/Setting2.png"),
|
|
|
+ list: [],
|
|
|
+ role: "manufacturer", // 厂商有权限
|
|
|
+ },
|
|
|
+];
|
|
|
+const TAG = [
|
|
|
+ {
|
|
|
+ num: 1,
|
|
|
+ title: '车系车型',
|
|
|
+ path: '/carSeries'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 2,
|
|
|
+ title: '平台版块',
|
|
|
+ path: '/platformModule'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 3,
|
|
|
+ title: '稿件类别',
|
|
|
+ path: '/contentCategory1'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 4,
|
|
|
+ title: '内容分类',
|
|
|
+ path: '/contentCategory2'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 5,
|
|
|
+ title: '媒体平台',
|
|
|
+ path: '/mediaPlatform'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 6,
|
|
|
+ title: '权限分组',
|
|
|
+ path: '/grouping'
|
|
|
+ }
|
|
|
+ // {
|
|
|
+ // num: 7,
|
|
|
+ // title: '链接上传',
|
|
|
+ // path: 'linkUpload'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // num: 8,
|
|
|
+ // title: '常用参数',
|
|
|
+ // path: 'commonParam'
|
|
|
+ // }
|
|
|
+]
|
|
|
+
|
|
|
+module.exports = {
|
|
|
+ ROUTER,
|
|
|
+ TAG
|
|
|
+}
|