Commit 817ba19c authored by 李苏's avatar 李苏 💬

添加模块调整bug

parent 97a6d75d
...@@ -1373,6 +1373,44 @@ export const powerRoutes=[ ...@@ -1373,6 +1373,44 @@ export const powerRoutes=[
name:'paper', name:'paper',
}, },
/* 查询统计 */ /* 查询统计 */
{
path: '/cxtj',
component: 'Layout',
hidden: false,
alwaysShow:true,
redirect: 'yhznytj',
meta: {title: "查询统计", icon: "fa-cog", noCache: false, link: null,mkid:907000000},
children: [
/* */
{
component:'dangerManagement/cxcqyh/index',
hidden:false,
meta:{
"title": "查询超期隐患记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":'907000400',
},
name:'cxcqyh',
path:"cxcqyh"
},
{
component:'dangerManagement/yhznytj/index',
hidden:false,
meta:{
"title": "安全隐患逐年汇总",
"icon": "",
"noCache": false,
"link": null,
"mkid":'907000200',
},
name:'yhznytj',
path:"yhznytj"
}
]
},
/* 设备管理 */ /* 设备管理 */
{ {
...@@ -1492,6 +1530,57 @@ export const powerRoutes=[ ...@@ -1492,6 +1530,57 @@ export const powerRoutes=[
} }
] ]
}, },
/* 事故管理*/
{
path: '/sggl',
component: 'Layout',
hidden: false,
alwaysShow:true,
redirect: 'shlx',
meta: {title: "事故管理", icon: "fa-cog", noCache: false, link: null,mkid:1912000000},
children: [
/* */
{
component:'riskPrecontrol/shlx/index',
hidden:false,
meta:{
"title": "伤害类型维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":1912000100,
},
name:'shlx',
path:"shlx"
},
{
component:'riskPrecontrol/maintenanceRisk/index',
hidden:false,
meta:{
"title": "维护风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid":1912000200,
},
name:'maintenanceRisk',
path:"maintenanceRisk"
},
{
component:'riskPrecontrol/queryRisk/index',
hidden:false,
meta:{
"title": "查询风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid":1912000300,
},
name:'queryRisk',
path:"queryRisk"
},
]
},
/* 外协管理 */ /* 外协管理 */
{ {
path: '/outsourcingDirector', path: '/outsourcingDirector',
......
...@@ -69,12 +69,17 @@ ...@@ -69,12 +69,17 @@
} from 'common' } from 'common'
export default { export default {
mixins: [tableMixin], mixins: [tableMixin],
name: 'appVersion', mounted() {
async mounted() { this.getYearsToNow()
var yhtjChart = document.getElementById('yhtjChart'); this.$refs['TablePager'].pageQuery()
var inityhtjChart = echarts.init(yhtjChart); this.$nextTick(()=>{
this.myChart=inityhtjChart var yhtjChart = document.getElementById('yhtjChart');
this.$refs['TablePager'].pageQuery() console.log(yhtjChart,'yhtjChart')
var inityhtjChart = this.$echarts.init(yhtjChart);
this.myChart=inityhtjChart
})
}, },
computed: { computed: {
radio() { radio() {
...@@ -84,10 +89,10 @@ ...@@ -84,10 +89,10 @@
}, },
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { // async mounted() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery() // this.$refs['TablePager'].pageQuery()
}, // },
data() { data() {
return { return {
myChart:{}, myChart:{},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment