Commit 41860244 authored by yaqizhang's avatar yaqizhang

数据统计

parent 9789ebb1
......@@ -207,24 +207,33 @@ export const defalutRouterMap = [
},
component: () => import('@/views/Enterprises/EnterprisesMg.vue')
},
{
path: '/EnterprisesCheck',
name: 'qyshgl',
meta: {
title: '企业审核管理',
icon: '',
},
component: () => import('@/views/Enterprises/EnterprisesCheck.vue')
},
{
path: '/EnterprisesQt',
name: 'qytj',
meta: {
title: '企业统计',
icon: '',
},
component: () => import('@/views/Enterprises/EnterprisesQt.vue')
},
{
path: '/EnterprisesCheck',
name: 'qyshgl',
meta: {
title: '企业审核管理',
icon: '',
},
component: () => import('@/views/Enterprises/EnterprisesCheck.vue')
},
{
path: '/EnterprisesQt',
name: 'qytj',
meta: {
title: '企业统计',
icon: '',
},
component: () => import('@/views/Enterprises/EnterprisesQt.vue')
},
{
path: '/EnterprisesInformation',
name: 'sjtj',
meta: {
title: '数据统计',
icon: '',
},
component: () => import('@/views/Enterprises/EnterprisesInformation.vue')
},
]
},
{
......@@ -417,7 +426,7 @@ export const createrouter = (routes: any) => new VueRouter({
base: process.env.BASE_URL,
routes: routes
});
const router = createrouter( getAsyncRouterMap() );
const router = createrouter(getAsyncRouterMap());
function getAsyncRouterMap() {
const isLogin = sessionStorage.getItem('token');
......
export default {
// URL:'http://192.168.1.104:60018/danger',
URL:'http://127.0.0.1:60018/danger',
// URL:'http://127.0.0.1:60018/danger',
URL:'http://36.148.23.59:8901/danger',
titleArray: [],
enterpriseId:'',
componentUrl: {
AlarmMg:'Alarm',
EnseList:'EnseList',
EnterprisesMg:'Enterprises',
EnterprisesCheck:'Enterprises',
EnterprisesCheck:'Enterprises',
EnterprisesInformation:'Enterprises',
GIS:'GIS',
EnterprisesQt:'Enterprises',
HazardsListMg:'Hazards',
......
<template>
<el-table
:data="tableData"
border
stripe
show-summary
style="width: 100%">
<el-table-column
prop="qiye"
label="企业名称"
width="180">
</el-table-column>
<el-table-column
prop="date"
label="危险源"
width="180">
</el-table-column>
<el-table-column
prop="name"
label="监控设备"
width="180">
</el-table-column>
<el-table-column
prop="address"
label="职业危害场所">
</el-table-column>
<el-table-column
prop="yinhuan"
label="隐患数量">
</el-table-column>
</el-table>
</template>
<script>
export default {
data() {
return {
tableData: [{
qiye: '奔腾',
date: '6',
name: '3',
address: '5',
yinhuan: '9'
}]
}
},
}
</script>
\ No newline at end of file
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