123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313 |
- // 首页九宫格
- let homeRouter = [
- {
- imgUrl: "/static/icons/index/APP-xunjian.svg",
- badge: 0,
- name: "巡检",
- redirectUrl: "/pages/business/zhaf/xunJian/xunJian",
- },
- // {
- // imgUrl: "/static/images/square/square-xf.png",
- // badge: 0,
- // name: "未开发",
- // redirectUrl: "",
- // },
- ];
- // 首页报警数据
- let staticData = {
- msg: "\u64cd\u4f5c\u6210\u529f",
- flag: true,
- companyCode: "1,2,3,4,5,6,7,8,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39",
- data: [
- {
- statisticalPeriod: "2021-03-16~2021-04-16",
- smartElectricityCount: "178",
- videoMonitoringCount: "12456",
- alarmCount: 12627,
- eventCount: 2,
- hiddenDangerCount: 4,
- offlineCount: 20,
- faultCount: 30,
- earlyWarningCount: 100,
- otherCount: 99,
- normalCount: 66,
- integratedAlarmCount: 12627,
- unprocessedCount: 0,
- },
- ],
- };
- // 巡检模块
- let xunJianList = [
- {
- id: 1,
- title: "巡检任务",
- num: "0",
- imgUrl: "/static/images/xunjian/xunJian-icon1.png",
- redirectUrl: "/pages/business/zhaf/xunJian/plan/index",
- },
- {
- id: 2,
- title: "巡检记录",
- num: "0",
- imgUrl: "/static/images/xunjian/xunJian-icon2.png",
- redirectUrl: "/pages/business/zhaf/xunJian/plan/index",
- },
- {
- id: 3,
- title: "巡检采集",
- num: "0",
- imgUrl: "/static/images/xunjian/xunJian-icon3.png",
- redirectUrl: "/pages/business/zhaf/xunJian/collect/index",
- },
- ];
- // 首页底部导航栏
- let homeTabbar = [
- {
- pagePath: "/pages/index",
- iconClass: "oaIcon-tab-home",
- iconPath: "/static/images/tabBar/tab-home.png",
- selectedIconPath: "/static/images/tabBar/tab-home-blue.png",
- text: "工作台",
- dot: false,
- },
- // {
- // "pagePath": "pages/analyse/analyse",
- // "iconPath": "/static/images/tabBar/analyse.png",
- // "selectedIconPath": "/static/images/tabBar/analyse-selected.png",
- // "text": "分析"
- // },
- {
- pagePath: "/pages/info",
- iconClass: "oaIcon-tab-info",
- iconPath: "/static/images/tabBar/tab-info.png",
- selectedIconPath: "/static/images/tabBar/tab-info-blue.png",
- text: "消息",
- dot: false,
- },
- {
- pagePath: "/pages/mine",
- iconClass: "oaIcon-tab-mine",
- iconPath: "/static/images/tabBar/tab-my.png",
- selectedIconPath: "/static/images/tabBar/tab-my-blue.png",
- text: "我的",
- dot: false,
- },
- ]
- // 工作报告底部导航栏
- let projectTabbar = [
- {
- pagePath: "/pages/business/common/projectMange/record/index",
- iconClass: "oaIcon-tab-reportRecord",
- iconPath: "/static/images/tabBar/tab-home.png",
- selectedIconPath: "/static/images/tabBar/tab-home-blue.png",
- text: "报告记录",
- dot: false,
- },
- {
- pagePath: "/pages/business/common/projectMange/write/index",
- iconClass: "oaIcon-tab-reportInsert",
- iconPath: "/static/images/tabBar/tab-info.png",
- selectedIconPath: "/static/images/tabBar/tab-info-blue.png",
- text: "报告填写",
- dot: false,
- },
- {
- pagePath: "/pages/business/common/projectMange/list/index",
- iconClass: "oaIcon-tab-projectsList",
- iconPath: "/static/images/tabBar/tab-my.png",
- selectedIconPath: "/static/images/tabBar/tab-my-blue.png",
- text: "项目列表",
- dot: false,
- },
- // {
- // pagePath: "/pages/mine",
- // iconPath: "/static/images/tabBar/tab-my.png",
- // selectedIconPath: "/static/images/tabBar/tab-my-blue.png",
- // text: "统计导出",
- // dot: false,
- // },
- // {
- // pagePath: "/pages/info",
- // iconPath: "/static/images/tabBar/tab-info.png",
- // selectedIconPath: "/static/images/tabBar/tab-info-blue.png",
- // text: "模板管理",
- // dot: false,
- // },
- ]
- // OA-我的申请导航栏
- let oaApprovalTabbar = [
- {
- pagePath: "/pages/business/oa/approval/index",
- iconClass: "oaIcon-tab-reportRecord",
- iconPath: "/static/images/tabBar/tab-approval-gray.png",
- selectedIconPath: "/static/images/tabBar/tab-approval-blue.png",
- text: "我的申请",
- dot: false,
- },
- {
- pagePath: "/pages/business/oa/toDo/index",
- iconClass: "oaIcon-tab-reportInsert",
- iconPath: "/static/images/tabBar/tab-toDo-gray.png",
- selectedIconPath: "/static/images/tabBar/tab-toDo-blue.png",
- text: "我的待办",
- dot: false,
- }
- ]
- export default {
- // 主题列表
- themeList: [
- {
- title: '官方',
- name: 'rf',
- color: '#149eff',
- tabList: [
- '/static/images/tabBar/tab-home-blue.png',
- '/static/images/tabBar/tab-info-blue.png',
- '/static/images/tabBar/tab-my-blue.png'
- ]
- },
- {
- title: '海蓝',
- name: 'blue',
- color: '#0081ff',
- tabList: [
- '/static/images/tabBar/tab-home-blue.png',
- '/static/images/tabBar/tab-info-blue.png',
- '/static/images/tabBar/tab-my-blue.png'
- ]
- },
- {
- title: '嫣红',
- name: 'red',
- color: '#e54d42',
- tabList: [
- '/static/images/tabBar/tab-home-red.png',
- '/static/images/tabBar/tab-info-red.png',
- '/static/images/tabBar/tab-my-red.png'
- ]
- },
- {
- title: '桔橙',
- name: 'orange',
- color: '#f37b1d',
- tabList: [
- '/static/images/tabBar/tab-home-orange.png',
- '/static/images/tabBar/tab-info-orange.png',
- '/static/images/tabBar/tab-my-orange.png'
- ]
- },
- {
- title: '明黄',
- name: 'yellow',
- color: '#fbbd08',
- tabList: [
- '/static/images/tabBar/tab-home-yellow.png',
- '/static/images/tabBar/tab-info-yellow.png',
- '/static/images/tabBar/tab-my-yellow.png'
- ]
- },
- {
- title: '橄榄',
- name: 'olive',
- color: '#8dc63f',
- tabList: [
- '/static/images/tabBar/tab-home-olive.png',
- '/static/images/tabBar/tab-info-olive.png',
- '/static/images/tabBar/tab-my-olive.png'
- ]
- },
- {
- title: '森绿',
- name: 'green',
- color: '#39b54a',
- tabList: [
- '/static/images/tabBar/tab-home-green.png',
- '/static/images/tabBar/tab-info-green.png',
- '/static/images/tabBar/tab-my-green.png'
- ]
- },
- {
- title: '天青',
- name: 'cyan',
- color: '#1cbbb4',
- tabList: [
- '/static/images/tabBar/tab-home-cyan.png',
- '/static/images/tabBar/tab-info-cyan.png',
- '/static/images/tabBar/tab-my-cyan.png'
- ]
- },
- {
- title: '姹紫',
- name: 'purple',
- color: '#6739b6',
- tabList: [
- '/static/images/tabBar/tab-home-purple.png',
- '/static/images/tabBar/tab-info-purple.png',
- '/static/images/tabBar/tab-my-purple.png'
- ]
- },
- {
- title: '木槿',
- name: 'mauve',
- color: '#9c26b0',
- tabList: [
- '/static/images/tabBar/tab-home-mauve.png',
- '/static/images/tabBar/tab-info-mauve.png',
- '/static/images/tabBar/tab-my-mauve.png'
- ]
- },
- {
- title: '桃粉',
- name: 'pink',
- color: '#e03997',
- tabList: [
- '/static/images/tabBar/tab-home-pink.png',
- '/static/images/tabBar/tab-info-pink.png',
- '/static/images/tabBar/tab-my-pink.png'
- ]
- },
- {
- title: '棕褐',
- name: 'brown',
- color: '#a5673f',
- tabList: [
- '/static/images/tabBar/tab-home-brown.png',
- '/static/images/tabBar/tab-info-brown.png',
- '/static/images/tabBar/tab-my-brown.png'
- ]
- },
- {
- title: '玄灰',
- name: 'grey',
- color: '#8799a3',
- tabList: [
- '/static/images/tabBar/tab-home-grey.png',
- '/static/images/tabBar/tab-info-grey.png',
- '/static/images/tabBar/tab-my-grey.png'
- ]
- },
- {
- title: '墨黑',
- name: 'black',
- color: '#333333',
- tabList: [
- '/static/images/tabBar/tab-home-black.png',
- '/static/images/tabBar/tab-info-black.png',
- '/static/images/tabBar/tab-my-black.png'
- ]
- }
- ],
- staticData: staticData,
- homeRouter: homeRouter,
- xunJianList: xunJianList,
- homeTabbar: homeTabbar,
- projectTabbar: projectTabbar,
- oaApprovalTabbar:oaApprovalTabbar
- };
|