Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhichao
whp-xl
Commits
41860244
Commit
41860244
authored
Aug 26, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据统计
parent
9789ebb1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
21 deletions
+80
-21
index.ts
dcit-hcsystem-hcsystem-master/src/router/index.ts
+28
-19
methods.ts
dcit-hcsystem-hcsystem-master/src/utils/methods.ts
+4
-2
EnterprisesInformation.vue
...m-master/src/views/Enterprises/EnterprisesInformation.vue
+48
-0
No files found.
dcit-hcsystem-hcsystem-master/src/router/index.ts
View file @
41860244
...
@@ -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'
);
...
...
dcit-hcsystem-hcsystem-master/src/utils/methods.ts
View file @
41860244
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'
,
...
...
dcit-hcsystem-hcsystem-master/src/views/Enterprises/EnterprisesInformation.vue
0 → 100644
View file @
41860244
<
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment