Commit 1b286a52 authored by 程卓's avatar 程卓

小区详情自定义字段拼接完成,邻小慧修改,部分参数修改

parent d9177b89
......@@ -52,16 +52,22 @@ export default {
}
</script>
<style>
.detailContent { margin: -1px; font-size: 14px; line-height: 40px;border: 1px solid #ccc}
.detailContent .label { white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;border-right:1px solid #ccc; background-color: #fafafa; text-align: right; color:rgba(0, 0, 0, 0.65)}
.detailContent .text {white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;padding-left: 8px; text-align: left; word-break:break-all;}
.detailContent { margin: -.5px; font-size: 14px; line-height: 40px;border: 1px solid #ccc}
.detailContent .label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-right:1px solid #ccc;
background-color: #fafafa;
text-align: right; color:rgba(0, 0, 0, 0.65);
}
.detailContent .text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 8px;
text-align: left;
word-break:break-all;
}
</style>
......@@ -48,6 +48,8 @@ async function GetRoutes(router) {
break
}
console.log(MicRouters)
const micSystemRoutersConfigs = Object.assign({}, MicRouters)
const { routes } = router.options
const parent = routes.find(item => item.name === 'Layout')
......
......@@ -709,6 +709,8 @@ export default {
created(){},
mounted(){
console.log('当前登录api: ' + this.$api.BASE_URL)
if (this.$api.BASE_URL.indexOf('xuhui')!=-1 || this.$api.BASE_URL.indexOf('31.0.161.39')!=-1 ) { //徐汇分支
console.log('徐汇')
this.getList()
this.getConfig()
this.getDisposal()
......@@ -724,6 +726,8 @@ export default {
this.getTousuDensity('M')
this.getTousuDensity('Y')
this.getTousuDensity('S')
}
},
methods: {
/**
......
......@@ -3,9 +3,7 @@
<div class="routerWapper">
<div v-if="$route.path == '/houseData/basicInfo'" class="layoutMargin layoutPadding">
<a-form :form="form" class="protalForm" >
<a-row class="formItem" type="flex" :justify="simpleSearchForm ? 'end' : ''"
align="top"
:gutter="simpleSearchForm ? 16 : 0">
<a-row class="formItem" type="flex" :justify="simpleSearchForm ? 'end' : ''" align="top" :gutter="simpleSearchForm ? 16 : 0">
<a-col span="8">
<a-form-item label="小区名称" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-input placeholder="请输入查询内容" v-decorator="['stNameFrst_l']" />
......@@ -68,7 +66,7 @@
<a-col span="8">
<a-form-item v-if="!simpleSearchForm" label="小区层数" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-select
v-decorator="['stLevel']"
v-decorator="['unitKind_in']"
mode="multiple"
style="width: 100%"
placeholder="请选择小区层数(多选)"
......@@ -97,7 +95,7 @@
</a-col>
<a-col span="8" v-if="$store.state.isXuhui">
<a-form-item v-if="!simpleSearchForm" label="邻里小汇类型" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-form-item v-if="!simpleSearchForm" label="邻小汇成立状态" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-select allowClear placeholder="请选择查询内容" v-decorator="['neighbourType'] " @change="changeNeighbourType">
<a-select-option v-for="(item) in neighbourType" :key="item.key" :value="item.key">{{ item.name }}</a-select-option>
</a-select>
......@@ -166,6 +164,10 @@ export default {
name: '多层',
key: '2'
},
{
name: '别墅',
key: '3'
},
],
finishDate: [
{
......@@ -516,7 +518,7 @@ export default {
'c.streetId': !this.form.getFieldValue('c.streetId')?'':this.form.getFieldValue('c.streetId').split('#')[1],
'stKind_in': !this.form.getFieldValue('stKind_in')?'':this.form.getFieldValue('stKind_in').join(','),
'unitAddr': !this.form.getFieldValue('unitAddr')?'':this.form.getFieldValue('unitAddr'),
'unitKind': !this.stLevel?'': this.stLevel,
'unitKind_in': !this.stLevel?'': this.stLevel,
'cspServiceType': !this.cspServiceType? '': this.cspServiceType,
// 'tableName': !this.tableName?'': this.tableName,
'type': !this.type? '': this.type,
......@@ -782,13 +784,15 @@ export default {
},
changeLevel(val) {
console.log(val)
if(val.length == 2) {
this.stLevel = '8'
} else {
this.stLevel = val[0]
}
this.stLevel = val.join(',')
this.getList()
// if(val.indexOf('1')!=-1 && val.indexOf('2')!=-1) {
// this.stLevel = '8'
// } else {
// this.stLevel = val[0]
// }
// this.getList()
},
changeServiceType(val) {
this.cspServiceType = val
......@@ -820,7 +824,7 @@ export default {
break
}
this.getList()
// this.getList()
},
changeFinishDate(val) {
switch (val) {
......@@ -836,7 +840,7 @@ export default {
this.isBeforeTwoThousand = 'none'
break
}
this.getList()
// this.getList()
}
},
......
......@@ -19,285 +19,84 @@
<div style="margin:0 16px;">
<a-row type="flex" justify="start">
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区名称"' :text='detail.stNameFrst'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区别名"' :text='detail.stNameScnd'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区地址"' :text='detail.addrFrst'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"竣工日期"' :text='detail.finishDate&&detail.finishDate.slice(0,4)+ "-"+ detail.finishDate.slice(4,6)+"-"+detail.finishDate.slice(6,8) '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"总建筑面积(平方米)"' :text='detail.stCnstArea'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"收费标准(多层)"' :text='detail.stMultilayerStandard'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"收费标准(高层)"' :text='detail.stTopStandard'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"收费标准(别墅)"' :text='detail.stVillaStandard'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"收费标准(售后)"' :text='detail.stAfterStandard'></DetailsItem>
</a-col>
</a-row>
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"有无历保建筑"' :text='detail.haveHistoryBuilding'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"历保地址"' :text='detail.hbAddr'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"住宅总建筑面积"' :text='detail.resiBuildingAreaTotal'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"住宅总套数"' :text='detail.resiTotal'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非住宅总套数"' :text='detail.nonResiTotal'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"产权车位(地面)"' :text='detail.titleParkUp'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"产权车位(地下)"' :text='detail.titleParkDown'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非产权车位(地下机械)"' :text='detail.nonTitleParkDownMech'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"供水消防总泵数量"' :text='detail.febInfo&&detail.febInfo.firePumpNum'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' label='' :text='""'></DetailsItem>
</a-col>
</a-row> -->
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区封闭与否"' :text='detail.isOpen && detail.isOpen ? "是":"否"'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"房管办"' :text='detail.hoName '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"街道"' :text='detail.streetName'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"环线"' :text='detail.loopLineName '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine" >
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区四至范围东"' :text='detail.stCspEast'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine" >
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区四至范围西"' :text='detail.getStCspWest '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区四至范围南"' :text='detail.stCspSouth '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine" >
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区四至范围北"' :text='detail.stCspNorth '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"四至不包括"' :text='detail.stNotcsparea '></DetailsItem>
</a-col>
</a-row>
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"地面机动车库数量"' :text='detail.totOngParks'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"地下机动车库数量"' :text='detail.totUngParks'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"机械车库数量"' :text='detail.febInfo && detail.febInfo && detail.febInfo.mechGarageNum'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非机动车库数量"' :text='detail.febInfo && detail.febInfo.nonVehicleGarageNum'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非机动车集中充电设施改造"' :text='detail.febInfo && detail.febInfo.nonVehicleChargeNum'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非机动车库烟感喷淋数量"' :text='detail.febInfo && detail.febInfo.nonVehicleSmokeSprayNum'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非产权车位(地面)"' :text='detail.nonTitleParkUp'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"供水生活总泵维保单位"' :text='detail.febInfo&&detail.febInfo.waterPumpRepairComp'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"供水生活总泵数量"' :text='detail.febInfo&&detail.febInfo.waterPumpNum'></DetailsItem>
</a-col>
</a-row> -->
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区性质"' :text='detail.stKind '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine" >
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区类型"' :text='detail.sectType '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业服务类型"' :text='detail.cspServiceTypeName '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"地面停车位数量"' :text='detail.totOngParks '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"地下停车位数量"' :text='detail.totUngParks '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"占地面积"' :text='detail.landArea'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"总门牌数"' :text='detail.totUnits'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"总户数"' :text='detail.totHous'></DetailsItem>
</a-col>
</a-row>
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"生活垃圾库房"' :text='detail.febInfo && detail.febInfo.domesticGarbageWarehouse'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"建筑垃圾库房"' :text='detail.febInfo && detail.febInfo.constructionWasteWarehouse'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"供水消防总泵维保单位"' :text='detail.febInfo && detail.febInfo.firePumpNum'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"监控主控室位置"' :text=' detail.febInfo && detail.febInfo.monitoringRoomPosition'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"非产权车位(机械)"' :text=' detail.nonTitleParkMech'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"开发企业名称"' :text='detail.developer'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"商用总建筑面积"' :text='detail.buisBuildingAreaTotal'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"其他总建筑面积"' :text='detail.ohterBuildingAreaTotal'></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' label='' :text='""'></DetailsItem>
</a-col>
</a-row> -->
</a-col>
</a-row>
</div>
</div>
<!-- 小区管理处信息 -->
......@@ -306,55 +105,35 @@
<div style="margin:0 16px;">
<a-row type="flex" justify="start">
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区管理处名称"' :text='caoInfo.csName'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区管理处办公地址"' :text='caoInfo.csAddress'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区管理处联系人"' :text='caoInfo.csContacter'></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"联系人联系电话"' :text='caoInfo.csTel'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区日间报修电话"' :text='caoInfo.csDayTel'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区夜间报修电话"' :text='caoInfo.nightTel'></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业投诉电话"' :text='caoInfo.complaintTel'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区管理处传真"' :text='caoInfo.csFax'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区管理处邮编"' :text='caoInfo.csPostCode'></DetailsItem>
</a-col>
</a-row>
<!-- 自定义字段 -->
<a-col span="8" v-for="i in extList['tbl_community_amst_office']" :key="i.id">
<DetailsItem :labelSpan='12' :textSpan='12' :label='i.keyName' :text='detail[i.keyCode]'></DetailsItem>
</a-col>
</a-row>
</div>
......@@ -365,52 +144,31 @@
<div style="margin:0 16px;">
<a-row type="flex" justify="start">
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业名称"' :text='ppInfo.cspName '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业企业办公地址"' :text='ppInfo.cspAddr '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业服务合同结束日期"' :text='
detail.cspContractEndDate&&detail.cspContractEndDate.slice(0,4)+ "-"+ detail.cspContractEndDate.slice(4,6)+"-"+detail.cspContractEndDate.slice(6,8)'></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业法人代表"' :text='ppInfo.legalRepName '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业联系电话"' :text='ppInfo.cspTel '></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"企业联系人"' :text='ppInfo.cspContacter '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"物业服务合同开始日期"'
:text='detail.cspContractStartDate&& detail.cspContractStartDate!= " " && detail.cspContractStartDate.slice(0,4)+ "-"+ detail.cspContractStartDate.slice(4,6)+"-"+detail.cspContractStartDate.slice(6,8)'></DetailsItem>
</a-col>
</a-row>
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' label='' :text='""'></DetailsItem>
</a-col>
</a-row> -->
<!-- 自定义字段 -->
<a-col span="8" v-for="i in extList['tbl_prop_company']" :key="i.id">
<DetailsItem :labelSpan='12' :textSpan='12' :label='i.keyName' :text='detail[i.keyCode]'></DetailsItem>
</a-col>
</a-row>
</div>
......@@ -421,60 +179,29 @@
<div style="margin:0 16px;">
<a-row type="flex" justify="start">
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理姓名"' :text='cmInfo.csmName '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理上岗证号"' :text='cmInfo.csmJobCode '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"证件类型"' :text='cmInfo.certType '></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"资格证书名称"' :text='cmInfo.csmJobQualification '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"资格证书编号"' :text='cmInfo.csmJobLog '></DetailsItem>
</a-col>
</a-row>
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理证件号码"' :text='cmInfo.credentialsNo '></DetailsItem>
</a-col>
</a-row> -->
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理固定电话"' :text='cmInfo.csmTel '></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理证件号码"' :text='cmInfo.credentialsNo '></DetailsItem>
</a-col>
</a-row>
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理手机"' :text='cmInfo.csmPhone '></DetailsItem>
</a-col>
</a-row> -->
<!-- <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' label='' :text='""'></DetailsItem>
</a-col>
</a-row> -->
<!-- 自定义字段 -->
<a-col span="8" v-for="i in extList['tbl_community_manager']" :key="i.id">
<DetailsItem :labelSpan='12' :textSpan='12' :label='i.keyName' :text='detail[i.keyCode]'></DetailsItem>
</a-col>
</a-row>
</div>
......@@ -485,81 +212,52 @@
<div style="margin:0 16px;">
<a-row type="flex" justify="start">
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"业主大会代码"' :text='icInfo.hocCode'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"名称"' :text='icInfo.hocName'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"地址"' :text='icInfo.hocAddr'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"选举时间"' :text='icInfo.electionDate&&
icInfo.electionDate.slice(0,4)+ "-"+ icInfo.electionDate.slice(4,6)+"-"+icInfo.electionDate.slice(6,8)
'></DetailsItem>
icInfo.electionDate.slice(0,4)+ "-"+ icInfo.electionDate.slice(4,6)+"-"+icInfo.electionDate.slice(6,8)'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"副主任"' :text='icInfo.deputyDirectorName'></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"任期"' :text='icInfo.commValidDate'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"第几届"' :text='icInfo.hocTerm'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"业主大会备案日期"' :text='icInfo.recordDate &&
icInfo.recordDate.slice(0,4)+ "-"+ icInfo.recordDate.slice(4,6)+"-"+icInfo.recordDate.slice(6,8)'>
</DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"业主大会运作情况类别"' :text='detail.onwersTypeoperName'></DetailsItem>
</a-col>
</a-row>
</a-col>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"换届情况类别"' :text='icInfo.onwersTransitionName'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"业委会任期起始时间"' :text='icInfo.conStartDate&&
icInfo.conStartDate.slice(0,4)+ "-"+ icInfo.conStartDate.slice(4,6)+"-"+icInfo.conStartDate.slice(6,8)'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"业委会任期结束时间"' :text='icInfo.conEndDate &&
icInfo.conEndDate.slice(0,4)+ "-"+ icInfo.conEndDate.slice(4,6)+"-"+icInfo.conEndDate.slice(6,8)'></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan='12' :label='"主任"' :text='icInfo.directorName'></DetailsItem>
</a-col>
</a-row>
<!-- 自定义字段 -->
<a-col span="8" v-for="i in extList['tbl_industry_council']" :key="i.id">
<DetailsItem :labelSpan='12' :textSpan='12' :label='i.keyName' :text='detail[i.keyCode]'></DetailsItem>
</a-col>
</a-row>
</div>
......@@ -578,28 +276,26 @@
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"居委主任姓名"' :text="!!rcInfo?rcInfo.cmtDirectorName:''"></DetailsItem>
</a-col>
</a-row>
<a-row type="flex" justify="start">
<a-col span="8">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"居委书记姓名"' :text="!!rcInfo?rcInfo.cmtSecretaryName:''"></DetailsItem>
</a-col>
<!-- 自定义字段 -->
<a-col span="8" v-for="i in extList['tbl_residents_committees']" :key="i.id">
<DetailsItem :labelSpan='12' :textSpan='12' :label='i.keyName' :text='detail[i.keyCode]'></DetailsItem>
</a-col>
</a-row>
</div>
</div>
<!-- 自定义字段 -->
<div class="layoutMargin detailsPartSection" v-if="customKeyEnable == 'true' && extList.length>0">
<div class="layoutMargin detailsPartSection" v-if="customKeyEnable == 'true' && extList.tbl_community.length>0">
<p id="extList" class="detailsPartTitle">拓展信息</p>
<div style="margin:0 16px;">
<a-row type="flex" justify="start">
<a-col span="24">
<a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="8" v-for="i in extList" :key="i.id">
<a-col span="8" v-for="i in extList['tbl_community']" :key="i.id">
<DetailsItem :labelSpan='12' :textSpan='12' :label='i.keyName' :text='detail[i.keyCode]'></DetailsItem>
</a-col>
</a-row>
</a-col>
</a-row>
</div>
</div>
......@@ -642,10 +338,30 @@ export default {
cmInfo: {},
icInfo: {},
rcInfo: {},
extList: [], // ext所有列表
extList: {
tbl_community: [],
tbl_community_amst_office: [],
tbl_prop_company: [],
tbl_community_manager: [],
tbl_industry_council: [],
tbl_residents_committees: [],
}, // ext所有列表
customKeyEnable: 'false',
}
},
created () {
this.customKeyEnable=this.$cookie.get('customKeyEnable')
if(this.customKeyEnable && this.customKeyEnable == 'true'){
this.getExt('tbl_community')
this.getExt(' tbl_community_amst_office')
this.getExt('tbl_prop_company')
this.getExt('tbl_community_manager')
this.getExt('tbl_industry_council')
this.getExt('tbl_residents_committees')
}else {
this.getList()
}
},
methods: {
handleReturn() {
if (!!this.$route.query.source && this.$route.query.source == 'wy') {
......@@ -725,27 +441,24 @@ export default {
})
},
//查看某条数据的自定义信息
getExt(){
getExt(tblName){
this.$ajax.get({
url: this.$api.GET_TBLS_KEYS,
params: { tbl: 'tbl_community', pageSize: 10000 }
params: {
tbl: tblName,
pageSize: 10000
}
}).then(res => {
if (res.code == 200) {
//先获取全部的自定义字段列表
this.extList = this.$com.confirm(res, 'data.content', [])
this.extList[tblName] = this.$com.confirm(res, 'data.content', [])
console.log(this.extList)
this.getList()
}
})
}
},
created () {
this.customKeyEnable=this.$cookie.get('customKeyEnable')
if(this.customKeyEnable && this.customKeyEnable == 'true'){
this.getExt()
}else {
this.getList()
}
},
}
</script>
......
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