Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
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
Yulun Yao
multiSystem
Commits
5f2a7287
Commit
5f2a7287
authored
Feb 07, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加徐汇特有设备勘验页面
parent
f501ffc5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
357 additions
and
6 deletions
+357
-6
detailItem.vue
src/components/detail/detailItem.vue
+1
-1
routes.js
src/router/routes.js
+8
-0
api.js
src/server/api.js
+6
-0
basicView.vue
src/views/houseData/basicView.vue
+6
-3
propertyInfoView.vue
src/views/houseData/propertyInfoView.vue
+4
-2
shebeiKanyan.vue
src/views/xuhui/shebeiKanyan.vue
+332
-0
No files found.
src/components/detail/detailItem.vue
View file @
5f2a7287
...
...
@@ -52,7 +52,7 @@ export default {
}
</
script
>
<
style
>
.detailContent
{
margin
:
0
;
font-size
:
14px
;
line-height
:
40px
;
border
:
1px
solid
#ccc
}
.detailContent
{
margin
:
1px
;
font-size
:
14px
;
line-height
:
40px
;
border
:
1px
solid
#ccc
}
.detailContent
.label
{
white-space
:
nowrap
;
overflow
:
hidden
;
...
...
src/router/routes.js
View file @
5f2a7287
...
...
@@ -79,6 +79,14 @@ const appRoutes = [
]
},
{
path
:
'/houseData/shebeikanyan/:id'
,
name
:
'shebeiKanyan'
,
component
:
resolve
=>
require
([
'@/views/xuhui/shebeiKanyan'
],
resolve
),
//Shebei,
meta
:
{
title
:
'设施设备(勘验)'
,
menuPath
:
true
,
hideInBread
:
false
,
},
children
:
[
]
},
]
},
{
//业委会列表
...
...
src/server/api.js
View file @
5f2a7287
...
...
@@ -153,6 +153,11 @@ export default {
GET_MEMBER_ID
:
'/service-basicdatasync-ddd/indcou/member/{id}'
,
// 设施设备列表
GET_FACEQUS_LIST
:
'/service-basicdatasync-ddd/community/facEqus'
,
// 设备勘验
GET_base_KANYAN_INFO
:
'/service-basicdatasync-ddd/facilitiesEquipmentLife/pages'
,
// 设备勘验基础信息
GET_ELE_KANYAN_LIST
:
'/service-basicdatasync-ddd/facilitiesEquipmentElevator/pages'
,
// 设备勘验电梯列表
GET_GATE_KANYAN_LIST
:
'/service-basicdatasync-ddd/facilitiesEquipmentElevatorDoor/pages'
,
// 设备勘验大门列表
// 房办列表
GET_HOS_LIST
:
'/service-basicdatasync-ddd/hos'
,
// 首页统计列表
...
...
@@ -181,4 +186,5 @@ export default {
GET_TOUSUDENSITY_LIST
:
'/service-documents-ddd/tsDensityRank'
,
//投诉密度排行
GET_TOUSUQUESTION_DETAILS
:
'/service-documents-ddd/tsDetial/{id}'
,
//投诉问题详情
GET_TOUSUQUESTION_LIST
:
'/service-documents-ddd/tsRank'
,
//投诉问题排行
}
src/views/houseData/basicView.vue
View file @
5f2a7287
...
...
@@ -8,8 +8,7 @@
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.push(
{path: `/houseData/buildings`,query:{id:$route.query.id,name:$route.query.name}})"> 门牌幢
</a-button>
<a-button
@
click=
"$router.push(
{path: `/houseData/shebei/${$route.query.id}`})"> 设施设备
</a-button>
<a-button
@
click=
"showModal(detail)"
>
拓展信息维护
</a-button>
<a-button
v-if=
"$store.state.isXuhui"
@
click=
"$router.push(
{path: `/houseData/shebei/${$route.query.id}`})"> 设施设备(勘验)
</a-button>
<a-button
v-if=
"$store.state.isXuhui"
@
click=
"$router.push(
{path: `/houseData/shebeikanyan/${$route.query.id}`,query:{id:$route.query.id,communityName:detail.stNameFrst}})"> 设施设备(勘验)
</a-button>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
</div>
</div>
...
...
@@ -291,7 +290,10 @@
<!-- 自定义字段 -->
<div
class=
"layoutMargin detailsPartSection"
v-if=
"customKeyEnable == 'true' && extList.tbl_community.length>0"
>
<p
id=
"extList"
class=
"detailsPartTitle"
>
拓展信息
</p>
<p
id=
"extList"
class=
"detailsPartTitle"
style=
"display:flex;alignItems:center;"
>
<span
style=
"flex:1"
>
拓展信息
</span>
<a-button
style=
""
@
click=
"showModal(detail)"
>
拓展信息维护
</a-button>
</p>
<div
style=
"margin:0 16px;"
>
<a-row
type=
"flex"
justify=
"start"
>
<a-col
span=
"8"
v-for=
"i in extList['tbl_community']"
:key=
"i.id"
>
...
...
@@ -510,5 +512,6 @@ export default {
text-align
:
right
;
cursor
:
pointer
;
color
:
#1890ff
;
}
</
style
>
src/views/houseData/propertyInfoView.vue
View file @
5f2a7287
...
...
@@ -6,7 +6,6 @@
<span
class=
"title"
>
详情
</span>
<div
class=
"detailOperations"
>
<a-button
v-if=
"urls.name == 'propertyInfoView'"
@
click=
"$router.push(
{path: `/houseData/basicInfo`,query:{id:$route.query.id,name:$route.query.name}})"> 查看管理小区列表
</a-button>
<a-button
@
click=
"showModal(detail)"
>
拓展信息维护
</a-button>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
</div>
</div>
...
...
@@ -785,7 +784,10 @@
</div>
<!-- 自定义字段 -->
<div
class=
"layoutMargin detailsPartSection"
v-if=
"customKeyEnable == 'true' && extList.length>0"
>
<p
id=
"extList"
class=
"detailsPartTitle"
>
拓展信息
</p>
<p
id=
"extList"
class=
"detailsPartTitle"
style=
"display:flex;alignItems:center;"
>
<span
style=
"flex:1"
>
拓展信息
</span>
<a-button
style=
""
@
click=
"showModal(detail)"
>
拓展信息维护
</a-button>
</p>
<div
style=
"margin:0 16px;"
>
<a-row
type=
"flex"
justify=
"start"
>
<a-col
span=
"24"
>
...
...
src/views/xuhui/shebeiKanyan.vue
0 → 100644
View file @
5f2a7287
<
template
>
<div
class=
"routerWapper"
>
<div
v-if=
"$route.name =='shebeiKanyan'"
class=
"portalDetailWapper"
>
<div
class=
"portalDetailContentWapper"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
设施设备(勘验)详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
</div>
</div>
<div
class=
"portalDetailContentBody"
>
<template
>
<!-- 基础信息 -->
<div
class=
"layoutMargin detailsPartSection"
>
<p
id=
"basic"
class=
"detailsPartTitle"
>
基础信息
</p>
<div
style=
"margin:0 16px;"
>
<a-row
type=
"flex"
justify=
"start"
>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"小区名称"'
:text=
'$route.query.communityName|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水消防总泵数量"'
:text=
'baseInfo.firePumpsNum|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水消防总泵维保单位"'
:text=
'baseInfo.firePumpsServiceUnit|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水生活总泵数量"'
:text=
'baseInfo.lifeWaterPumpsNum|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水生活总泵维保单位"'
:text=
'baseInfo.lifeWaterPumpsServiceUnit|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"生活垃圾库房数量"'
:text=
'baseInfo.lifeRubbishNum|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"建筑垃圾库房数量"'
:text=
'baseInfo.buildingRubbishNum|| "" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"监控主控室位置"'
:text=
'baseInfo.monitorControlRoomAddr|| "" '
></DetailsItem>
</a-col>
</a-row>
</div>
</div>
<div
class=
"layoutMargin detailsPartSection"
>
<p
id=
"basic"
class=
"detailsPartTitle"
>
大门列表
</p>
<div
style=
"margin:0 16px;"
>
<a-table
class=
"portalTable"
size=
"small"
row-key=
"id"
:pagination=
"pagination"
:columns=
"damen"
:dataSource=
"damenList"
/>
</div>
</div>
<div
class=
"layoutMargin detailsPartSection"
>
<p
id=
"basic"
class=
"detailsPartTitle"
>
电梯列表
</p>
<div
style=
"margin:0 16px;"
>
<a-table
class=
"portalTable"
size=
"small"
row-key=
"id"
:pagination=
"pagination_ele"
:columns=
"dianti"
:dataSource=
"diantiList"
/>
</div>
</div>
</
template
>
</div>
</div>
</div>
<RouterWapper
v-else
/>
</div>
</template>
<
script
>
export
default
{
name
:
'shebei'
,
data
()
{
return
{
baseInfo
:
{},
febInfo
:
{},
tabList
:
[
{
name
:
'大门信息'
,
key
:
'大门'
},
{
name
:
'防盗门信息'
,
key
:
'防盗门'
},
{
name
:
'电梯信息'
,
key
:
'电梯'
},
{
name
:
'监控设备信息'
,
key
:
'监控设备'
},
{
name
:
'消防泵、生活泵信息'
,
key
:
'消防泵、生活泵'
},
],
// 大门
damen
:
[
{
title
:
'位置'
,
// width: 240,
dataIndex
:
'position'
,
key
:
'position'
,
width
:
'20%'
,
align
:
'center'
,
},
{
title
:
'类型'
,
dataIndex
:
'type'
,
align
:
'center'
,
key
:
'type'
,
width
:
'20%'
},
{
title
:
'是否是主出入口'
,
dataIndex
:
'isMain'
,
align
:
'center'
,
key
:
'isMain'
,
width
:
'10%'
},
{
title
:
'是否有门卫室'
,
align
:
'center'
,
dataIndex
:
'haveGuardRoom'
,
key
:
'haveGuardRoom'
,
width
:
'10%'
},
],
damenList
:
[],
// dianti
dianti
:
[
{
align
:
'center'
,
title
:
'设备注册码'
,
dataIndex
:
'elevatorId'
,
key
:
'elevatorId'
,
width
:
'10%'
},
{
align
:
'center'
,
title
:
'安装位置'
,
dataIndex
:
'elevatorInstallAddr'
,
key
:
'elevatorInstallAddr'
,
width
:
'10%'
},
{
align
:
'center'
,
title
:
'设备类型'
,
dataIndex
:
'elevatorType'
,
key
:
'elevatorType'
,
width
:
'7%'
},
{
align
:
'center'
,
title
:
'启用日期'
,
dataIndex
:
'startUsedDate'
,
key
:
'startUsedDate'
,
width
:
'8%'
},
{
align
:
'center'
,
title
:
'单位内编号'
,
dataIndex
:
'elevatorUnitInnerNo'
,
key
:
'elevatorUnitInnerNo'
,
width
:
'8%'
},
{
align
:
'center'
,
title
:
'品牌'
,
dataIndex
:
'elevatorBrand'
,
key
:
'elevatorBrand'
,
width
:
'6%'
},
{
align
:
'center'
,
title
:
'型号'
,
dataIndex
:
'elevatorModel'
,
key
:
'elevatorModel'
,
width
:
'6%'
},
{
align
:
'center'
,
title
:
'位置码'
,
dataIndex
:
'elevatorAddrNo'
,
key
:
'elevatorAddrNo'
,
width
:
'5%'
},
{
align
:
'center'
,
title
:
'维保单位'
,
dataIndex
:
'elevatorServiceUnit'
,
key
:
'elevatorServiceUnit'
,
width
:
'12%'
},
{
align
:
'center'
,
title
:
'救援电话'
,
dataIndex
:
'elevatorHelpTel'
,
key
:
'elevatorHelpTel'
,
width
:
'8%'
},
],
diantiList
:
[],
pagination_ele
:
{
pageNo
:
1
,
pageSize
:
10
,
total
:
0
,
current
:
1
,
defaultCurrent
:
10
,
showQuickJumper
:
true
,
showTotal
:
total
=>
`总条数:
${
total
}
`
,
onChange
:
this
.
ELEpageChange
},
pagination
:
{
pageNo
:
1
,
pageSize
:
10
,
total
:
0
,
current
:
1
,
defaultCurrent
:
10
,
showQuickJumper
:
true
,
showTotal
:
total
=>
`总条数:
${
total
}
`
,
onChange
:
this
.
pageChange
},
tableData
:
[
]
}
},
created
()
{
this
.
get_ELE_list
()
this
.
get_gate_list
()
this
.
get_info
()
},
computed
:
{
},
mounted
()
{
if
(
this
.
$route
.
name
==
'shebei'
){
this
.
$nextTick
(
function
()
{
this
.
getSearchParams
()
})
}
},
methods
:
{
pageChange
(
page
){
//分页切换
this
.
pagination
.
pageNo
=
page
this
.
pagination
.
current
=
page
this
.
get_ELE_list
()
},
ELEpageChange
(
page
){
//分页切换
this
.
pagination_ele
.
pageNo
=
page
this
.
pagination_ele
.
current
=
page
this
.
get_ELE_list
()
},
handleReturn
()
{
this
.
$router
.
back
()
},
// 获取基础信息
get_info
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_base_KANYAN_INFO
,
params
:
{
pageNo
:
1
,
pageSize
:
1
,
sectId
:
this
.
$route
.
query
.
id
}
}).
then
(
res
=>
{
let
data
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
baseInfo
=
data
[
0
]
})
},
// 获取电梯信息
get_ELE_list
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_ELE_KANYAN_LIST
,
params
:
{
pageNo
:
this
.
pagination_ele
.
pageNo
,
pageSize
:
this
.
pagination_ele
.
pageSize
,
sectId
:
this
.
$route
.
query
.
id
}
}).
then
(
res
=>
{
let
data
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
diantiList
=
data
this
.
pagination_ele
.
total
=
this
.
$com
.
confirm
(
res
,
'data.totalRows'
,
0
)
})
},
// 获取大门信息
get_gate_list
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_GATE_KANYAN_LIST
,
params
:
{
pageNo
:
this
.
pagination
.
pageNo
,
sectId
:
this
.
$route
.
query
.
id
,
pageSize
:
this
.
pagination
.
pageSize
,
}
}).
then
(
res
=>
{
let
data
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
damenList
=
data
this
.
pagination
.
total
=
this
.
$com
.
confirm
(
res
,
'data.totalRows'
,
0
)
})
},
},
}
</
script
>
<
style
scoped
>
</
style
>
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