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

添加模块调整bug

parent 97a6d75d
......@@ -1373,6 +1373,44 @@ export const powerRoutes=[
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=[
}
]
},
/* 事故管理*/
{
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',
......
......@@ -69,12 +69,17 @@
} from 'common'
export default {
mixins: [tableMixin],
name: 'appVersion',
async mounted() {
mounted() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery()
this.$nextTick(()=>{
var yhtjChart = document.getElementById('yhtjChart');
var inityhtjChart = echarts.init(yhtjChart);
console.log(yhtjChart,'yhtjChart')
var inityhtjChart = this.$echarts.init(yhtjChart);
this.myChart=inityhtjChart
this.$refs['TablePager'].pageQuery()
})
},
computed: {
radio() {
......@@ -84,10 +89,10 @@
},
/* 初始额外赋值*/
async mounted() {
this.getYearsToNow()
this.$refs['TablePager'].pageQuery()
},
// async mounted() {
// this.$refs['TablePager'].pageQuery()
// },
data() {
return {
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