|
@@ -1,10 +1,11 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div>
|
|
|
- <el-row class="handle-box">
|
|
|
+ <el-row>
|
|
|
<el-col :span="24">
|
|
|
<span class="card_title">项目基础信息</span>
|
|
|
</el-col>
|
|
|
+ <el-divider />
|
|
|
</el-row>
|
|
|
<el-row class="handle-box">
|
|
|
<el-col :span="8">
|
|
@@ -87,18 +88,19 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<span>行政区划:</span>
|
|
|
- <span>{{ groupForm.regionalismCode }}</span>
|
|
|
+ <span>{{ groupForm.regionalismCodeStr }}</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="handle-box">
|
|
|
- <span>行政区划:</span>
|
|
|
+ <el-row class="handle-box" style="margin-bottom: 24px">
|
|
|
+ <span>详细地址:</span>
|
|
|
<span>{{ groupForm.address }}</span>
|
|
|
</el-row>
|
|
|
- <el-divider />
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<span class="card_title">分期信息</span>
|
|
|
</el-col>
|
|
|
+ <el-divider />
|
|
|
</el-row>
|
|
|
<el-row class="handle-box">
|
|
|
<el-col :span="8">
|
|
@@ -120,42 +122,40 @@
|
|
|
<span>{{ discForm.subscriptionFunds }}</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="handle-box">
|
|
|
+ <el-row class="handle-box" style="margin-bottom: 24px">
|
|
|
<el-col :span="8">
|
|
|
<span>共持比例:</span>
|
|
|
<span>{{ discForm.proportion }}</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="handle-box">
|
|
|
- <el-col :span="4">
|
|
|
- <div class="xuanfang">已选房</div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <div class="qianyue">已签约</div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <div class="shoukuan">已收款</div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <div class="ruzhu">已入驻</div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <div class="tuifang">已退房</div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <div class="chushi">初始状态</div>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <span class="card_title">图例</span>
|
|
|
</el-col>
|
|
|
+ <el-divider />
|
|
|
</el-row>
|
|
|
+
|
|
|
+ <div class="tuli" style="margin-bottom: 24px">
|
|
|
+ <div class="dis_flex align_center mr15px"><div class="mr10px">已订房:</div><div class="dingfang" style="width: 15px;height: 15px" /></div>
|
|
|
+
|
|
|
+ <div class="dis_flex align_center mr15px"><div class="mr10px">已选房:</div><div class="xuanfang" style="width: 15px;height: 15px" /></div>
|
|
|
+ <div class="dis_flex align_center mr15px"><div class="mr10px">已签约:</div><div class="qianyue" style="width: 15px;height: 15px" /></div>
|
|
|
+ <div class="dis_flex align_center mr15px "><div class="mr10px">已收款:</div><div class="shoukuan" style="width: 15px;height: 15px" /></div>
|
|
|
+ <div class="dis_flex align_center mr15px "><div class="mr10px">已入驻:</div><div class="ruzhu" style="width: 15px;height: 15px" /></div>
|
|
|
+ <div class="dis_flex align_center mr15px "><div class="mr10px">已退房:</div><div class="tuifang" style="width: 15px;height: 15px" /></div>
|
|
|
+ <div class="dis_flex align_center mr15px "><div class="mr10px">初始状态:</div><div class="chushi" style="width: 15px;height: 15px" /></div>
|
|
|
+
|
|
|
+ </div>
|
|
|
<el-row v-for="(item, index) in houseData" :key="index">
|
|
|
<el-col :span="24">
|
|
|
<span class="card_title">单元/楼栋号:{{ item.buildName }}</span>
|
|
|
</el-col>
|
|
|
<el-divider />
|
|
|
- <div class="buildList" v-loading="loading">
|
|
|
- <div class="buildList-row" v-for="(roomItem, roomIndex) in item.roomList" :key="roomIndex">
|
|
|
- <div :class="grtProjectStatusStr(roomItem.projectStatusStr)">{{ roomItem.roomNo }}</div>
|
|
|
- </div>
|
|
|
+ <div v-loading="loading" class="buildList">
|
|
|
+ <div v-for="(roomItem, roomIndex) in item.roomList" :key="roomIndex" class="buildList-row">
|
|
|
+ <div :class="grtProjectStatusStr(roomItem.projectStatusStr)">{{ roomItem.roomNo }}</div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
@@ -181,8 +181,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- loading:false,
|
|
|
- dc_key: ['DECORATION_SITUATION', 'GROUP_NATURE', 'MAPPING_STATUS', 'SALE_STATUS'],
|
|
|
+ loading: false,
|
|
|
+ dc_key: ['DECORATION_SITUATION', 'GROUP_NATURE', 'MAPPING_STATUS', 'SALE_STATUS', 'REGIONALISM_CODE'],
|
|
|
groupForm: {},
|
|
|
discForm: {},
|
|
|
groupId: '',
|
|
@@ -214,6 +214,11 @@ export default {
|
|
|
if (e === '初始状态') {
|
|
|
return 'chushi status_box '
|
|
|
}
|
|
|
+ if (e === '已订房') {
|
|
|
+ return 'dingfang status_box '
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ return 'dingfang status_box'
|
|
|
}
|
|
|
},
|
|
|
initData(data) {
|
|
@@ -233,10 +238,16 @@ export default {
|
|
|
if (res.data) {
|
|
|
this.groupForm = res.data
|
|
|
if (res.data.nature) {
|
|
|
- this.groupForm.natureStr = this.dc_map.GROUP_NATURE[res.data.nature]
|
|
|
- this.groupForm.areaStatusStr = this.dc_map.MAPPING_STATUS[res.data.areaStatus]
|
|
|
- this.groupForm.saleStatusStr = this.dc_map.SALE_STATUS[res.data.saleStatus]
|
|
|
+ const arr = res.data.nature.split(',')
|
|
|
+ let temp = ''
|
|
|
+ arr.forEach(item => {
|
|
|
+ temp = temp + this.dc_map.GROUP_NATURE[item] + ','
|
|
|
+ })
|
|
|
+ this.groupForm.natureStr = temp
|
|
|
}
|
|
|
+ this.groupForm.regionalismCodeStr = this.dc_map.REGIONALISM_CODE[res.data.regionalismCode]
|
|
|
+ this.groupForm.areaStatusStr = this.dc_map.MAPPING_STATUS[res.data.areaStatus]
|
|
|
+ this.groupForm.saleStatusStr = this.dc_map.SALE_STATUS[res.data.saleStatus]
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -254,14 +265,13 @@ export default {
|
|
|
const postData = {
|
|
|
discId: this.discId
|
|
|
}
|
|
|
- this.loading=true
|
|
|
+ this.loading = true
|
|
|
this.baseRoomRequest('projectHouseVoList', postData).then(res => {
|
|
|
if (res.data) {
|
|
|
this.houseData = res.data
|
|
|
- this.loading=false
|
|
|
+ this.loading = false
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
},
|
|
|
getItemJson: function(item) {
|
|
|
return item
|
|
@@ -284,6 +294,24 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.mr15px{
|
|
|
+ margin-right: 15px;
|
|
|
+}
|
|
|
+.ml15px{
|
|
|
+ margin-left: 15px;
|
|
|
+}
|
|
|
+.mr10px{
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
+.align_center{
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.dis_flex{
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+.tuli{
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
.xuanfang {
|
|
|
text-align: center;
|
|
|
width: 75px;
|
|
@@ -334,4 +362,11 @@ export default {
|
|
|
border: 2px solid black;
|
|
|
background-color: #ffffff;
|
|
|
}
|
|
|
+.dingfang{
|
|
|
+ text-align: center;
|
|
|
+ width: 75px;
|
|
|
+ border: 2px solid black;
|
|
|
+ background-color: #8200ff;
|
|
|
+ color: white;
|
|
|
+}
|
|
|
</style>
|