Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
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
wbx-PCAndMobi
pc
Commits
e890f488
Commit
e890f488
authored
Dec 09, 2020
by
蒋金城
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物业企业详情增加小区列表
parent
9e56024a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
199 additions
and
86 deletions
+199
-86
pudongRoutes.json
src/router/pudongRoutes.json
+36
-0
propertyInfoView.vue
src/views/houseData/propertyInfoView.vue
+163
-86
No files found.
src/router/pudongRoutes.json
View file @
e890f488
...
@@ -67,6 +67,42 @@
...
@@ -67,6 +67,42 @@
"meta"
:
{
"title"
:
"隐患点管理"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"隐患点管理"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
}
}
]
]
},
{
"path"
:
"/danger/propertyScore"
,
"name"
:
"propertyScore"
,
"meta"
:
{
"title"
:
"服务考核"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"children"
:
[
{
"path"
:
"/danger/propertyScore/scoreTemplateList"
,
"name"
:
"scoreTemplateList"
,
"meta"
:
{
"title"
:
"物业评分模版列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/danger/propertyScore/scoreTemplateList/scoreTempImport"
,
"name"
:
"scoreTempImport"
,
"meta"
:
{
"title"
:
"物业评分模版导入"
,
"menuPath"
:
false
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/danger/propertyScore/propertyQuarterScoreList"
,
"name"
:
"propertyQuarterScoreList"
,
"meta"
:
{
"title"
:
"物业评分季度列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/danger/propertyScore/propertyQuarterScoreList/propertyScoreList"
,
"name"
:
"propertyScoreList"
,
"meta"
:
{
"title"
:
"物业评分列表"
,
"menuPath"
:
false
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/danger/propertyScore/propertyPhoneList"
,
"name"
:
"propertyPhoneList"
,
"meta"
:
{
"title"
:
"物业手机号列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/danger/propertyScore/propertyPhoneList/addPhone"
,
"name"
:
"addPhone"
,
"meta"
:
{
"title"
:
"添加手机号"
,
"menuPath"
:
false
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
}
]
}
]
}
}
]
]
}
}
\ No newline at end of file
src/views/houseData/propertyInfoView.vue
View file @
e890f488
...
@@ -22,7 +22,8 @@
...
@@ -22,7 +22,8 @@
<p
v-if=
"urls.name == 'memberView'"
class=
"detailsPartTitle"
>
成员信息
</p>
<p
v-if=
"urls.name == 'memberView'"
class=
"detailsPartTitle"
>
成员信息
</p>
<div
style=
"margin:0 16px;"
>
<div
style=
"margin:0 16px;"
>
<!-- 物业 -->
<!-- 物业 -->
<a-row
v-if=
"urls.name == 'propertyInfoView' "
type=
"flex"
justify=
"start"
>
<div
v-if=
"urls.name == 'propertyInfoView' "
>
<a-row
type=
"flex"
justify=
"start"
>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
<a-row
type=
"flex"
justify=
"start"
class=
"detailsPartLine"
>
<a-row
type=
"flex"
justify=
"start"
class=
"detailsPartLine"
>
<a-col
span=
"24"
>
<a-col
span=
"24"
>
...
@@ -105,6 +106,16 @@
...
@@ -105,6 +106,16 @@
</a-row>
</a-row>
</a-col>
</a-col>
</a-row>
</a-row>
<div>
<p
style=
" text-align: left; font-weight: bold; color: #232323; font-size: 16px; text-indent: 0.5rem;
line-height: 60px; border-bottom: 1px solid #e0e0e0; margin-top: 20px;"
>
管理小区列表
</p>
<a-table
class=
"elevator-table portalTable propertyInfoViewTable"
:dataSource=
"tableData"
:columns=
"columns"
size=
"small"
:pagination=
"pagination"
rowKey=
"id"
bordered
>
</a-table>
</div>
</div>
<!-- 小区管理处 -->
<!-- 小区管理处 -->
<a-row
v-if=
"urls.name == 'cmDivisionView'"
type=
"flex"
justify=
"start"
>
<a-row
v-if=
"urls.name == 'cmDivisionView'"
type=
"flex"
justify=
"start"
>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
...
@@ -616,11 +627,74 @@ export default {
...
@@ -616,11 +627,74 @@ export default {
extList
:
[],
//ext所有列表
extList
:
[],
//ext所有列表
customKeyEnable
:
'false'
,
customKeyEnable
:
'false'
,
tbl
:
''
,
tbl
:
''
,
tableData
:
[],
columns
:
[
{
title
:
'小区名称'
,
dataIndex
:
'stNameFrst'
,
key
:
'stNameFrst'
},
{
title
:
'小区地址'
,
dataIndex
:
'addrFrst'
,
key
:
'addrFrst'
},
{
title
:
'房管办'
,
dataIndex
:
'hoName'
,
key
:
'hoName'
},
{
title
:
'街道'
,
dataIndex
:
'streetName'
,
key
:
'streetName'
},
{
title
:
'小区性质'
,
dataIndex
:
'stKindName'
,
key
:
'stKindName'
},
{
title
:
'小区类型'
,
dataIndex
:
'sectTypeName'
,
key
:
'sectTypeName'
}
],
pagination
:
{
//分页
pageNo
:
1
,
pageSize
:
10
,
total
:
10
,
current
:
1
,
defaultCurrent
:
1
,
showQuickJumper
:
true
,
onChange
:
this
.
pageChange
},
}
}
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
getStList
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_BASIC_LIST
,
params
:
{
cspId
:
this
.
$route
.
query
.
id
,
pageSize
:
10
,
pageNo
:
this
.
pagination
.
pageNo
}
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
content
this
.
pagination
.
pageNo
=
res
.
data
.
totalPages
this
.
pagination
.
current
=
res
.
data
.
page
this
.
pagination
.
pageSize
=
res
.
data
.
pageSize
this
.
pagination
.
total
=
res
.
data
.
totalRows
}
})
},
pageChange
(
page
,
pageSize
){
//分页切换
this
.
pagination
.
pageNo
=
page
this
.
pagination
.
current
=
page
this
.
getStList
()
},
handleReturn
()
{
handleReturn
()
{
this
.
$router
.
back
()
this
.
$router
.
back
()
},
},
...
@@ -640,6 +714,7 @@ export default {
...
@@ -640,6 +714,7 @@ export default {
}
}
// 物业原资质
// 物业原资质
if
(
this
.
$route
.
name
==
'propertyInfoView'
){
if
(
this
.
$route
.
name
==
'propertyInfoView'
){
this
.
getStList
()
for
(
const
text
in
data
)
{
for
(
const
text
in
data
)
{
if
(
text
==
'cspEntQualification'
)
{
if
(
text
==
'cspEntQualification'
)
{
if
(
data
[
text
]
==
'1'
)
{
if
(
data
[
text
]
==
'1'
)
{
...
@@ -828,6 +903,8 @@ export default {
...
@@ -828,6 +903,8 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
>
.propertyInfoViewTable
.ant-table-tbody
>
tr
>
td
:nth-last-child
(
1
)
{
text-align
:
left
;
}
</
style
>
</
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