Commit e890f488 authored by 蒋金城's avatar 蒋金城

物业企业详情增加小区列表

parent 9e56024a
...@@ -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
...@@ -21,90 +21,101 @@ ...@@ -21,90 +21,101 @@
<p v-if="urls.name == 'buildingView'" class="detailsPartTitle">小区楼栋信息</p> <p v-if="urls.name == 'buildingView'" class="detailsPartTitle">小区楼栋信息</p>
<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-col span="8"> <a-row type="flex" justify="start">
<a-row type="flex" justify="start" class="detailsPartLine"> <a-col span="8">
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业名称"' :text='detail.cspName'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业名称"' :text='detail.cspName'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"组织机构代码"' :text='detail.orgCode'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"组织机构代码"' :text='detail.orgCode'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"代码证有效期"' :text='detail.codeValidDate'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"代码证有效期"' :text='detail.codeValidDate'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业注册地址"' :text='detail.registerAddress'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业注册地址"' :text='detail.registerAddress'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业办公地址"' :text='detail.cspAddr'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业办公地址"' :text='detail.cspAddr'/>
</a-row> </a-col>
</a-col> </a-row>
<a-col span="8"> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> <a-col span="8">
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业法人代表"' :text='detail.legalRepName '/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"企业法人代表"' :text='detail.legalRepName '/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业联系人"' :text='detail.cspContacter'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"企业联系人"' :text='detail.cspContacter'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业联系电话"' :text='detail.cspTel'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"企业联系电话"' :text='detail.cspTel'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业传真"' :text='detail.cspFax'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"企业传真"' :text='detail.cspFax'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"营业执照号"' :text='detail.bizLicenseCode'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"营业执照号"' :text='detail.bizLicenseCode'/>
</a-row> </a-col>
</a-col> </a-row>
<a-col span="8"> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> <a-col span="8">
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"营业执照有效期"' :text='detail.bizLicenseValidDate'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"营业执照有效期"' :text='detail.bizLicenseValidDate'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业公司原资质等级"' :text='detail.cspEntQualification'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"物业公司原资质等级"' :text='detail.cspEntQualification'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业公司在管小区数"' :text='detail.managedNum'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"物业公司在管小区数"' :text='detail.managedNum'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"注册区县"' :text='detail.hpbName'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan="12" :label='"注册区县"' :text='detail.hpbName'/>
</a-row> </a-col>
<a-row type="flex" justify="start" class="detailsPartLine"> </a-row>
<a-col span="24"> <a-row type="flex" justify="start" class="detailsPartLine">
<DetailsItem :labelSpan='12' :textSpan='12' label='' :text='""'/> <a-col span="24">
</a-col> <DetailsItem :labelSpan='12' :textSpan='12' label='' :text='""'/>
</a-row> </a-col>
</a-col> </a-row>
</a-row> </a-col>
</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>
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