Commit 41860244 authored by yaqizhang's avatar yaqizhang

数据统计

parent 9789ebb1
...@@ -207,24 +207,33 @@ export const defalutRouterMap = [ ...@@ -207,24 +207,33 @@ export const defalutRouterMap = [
}, },
component: () => import('@/views/Enterprises/EnterprisesMg.vue') component: () => import('@/views/Enterprises/EnterprisesMg.vue')
}, },
{ {
path: '/EnterprisesCheck', path: '/EnterprisesCheck',
name: 'qyshgl', name: 'qyshgl',
meta: { meta: {
title: '企业审核管理', title: '企业审核管理',
icon: '', icon: '',
}, },
component: () => import('@/views/Enterprises/EnterprisesCheck.vue') component: () => import('@/views/Enterprises/EnterprisesCheck.vue')
}, },
{ {
path: '/EnterprisesQt', path: '/EnterprisesQt',
name: 'qytj', name: 'qytj',
meta: { meta: {
title: '企业统计', title: '企业统计',
icon: '', icon: '',
}, },
component: () => import('@/views/Enterprises/EnterprisesQt.vue') 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({ ...@@ -417,7 +426,7 @@ export const createrouter = (routes: any) => new VueRouter({
base: process.env.BASE_URL, base: process.env.BASE_URL,
routes: routes routes: routes
}); });
const router = createrouter( getAsyncRouterMap() ); const router = createrouter(getAsyncRouterMap());
function getAsyncRouterMap() { function getAsyncRouterMap() {
const isLogin = sessionStorage.getItem('token'); const isLogin = sessionStorage.getItem('token');
......
export default { export default {
// URL:'http://192.168.1.104:60018/danger', // 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: [], titleArray: [],
enterpriseId:'', enterpriseId:'',
componentUrl: { componentUrl: {
AlarmMg:'Alarm', AlarmMg:'Alarm',
EnseList:'EnseList', EnseList:'EnseList',
EnterprisesMg:'Enterprises', EnterprisesMg:'Enterprises',
EnterprisesCheck:'Enterprises', EnterprisesCheck:'Enterprises',
EnterprisesInformation:'Enterprises',
GIS:'GIS', GIS:'GIS',
EnterprisesQt:'Enterprises', EnterprisesQt:'Enterprises',
HazardsListMg:'Hazards', 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