|
@@ -109,7 +109,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="view-bg" style="margin-bottom: 40rpx;">
|
|
|
- <text class="title-txt">工程进度统计</text>
|
|
|
+ <text class="title-txt">室内工程进度统计</text>
|
|
|
<view>
|
|
|
<view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
<view class="uni-list-cell-left">
|
|
@@ -195,7 +195,8 @@
|
|
|
<view class="h-td" style="flex: 1">{{ item.willDone }}</view>
|
|
|
<view class="h-td" style="flex: 1">{{ item.done }}</view>
|
|
|
</view>
|
|
|
- <scroll-view :scroll-x="true" class="view_bg_build" v-if="roomList.length > 0" style="margin-top: 10px;">
|
|
|
+ <scroll-view :scroll-x="true" class="view_bg_build" v-if="roomList.length > 0"
|
|
|
+ style="margin-top: 10px;">
|
|
|
<view class="HuaDongBiao">
|
|
|
<view class="NeiRong" v-for="(item,index) in roomList" :key="index">
|
|
|
<view class="Fang" v-for="(item2, index2) in roomList[index]" :key="index2">
|
|
@@ -230,6 +231,265 @@
|
|
|
|
|
|
</view>
|
|
|
|
|
|
+
|
|
|
+ <view class="view-bg" style="margin-bottom: 40rpx;">
|
|
|
+ <text class="title-txt">庭院工程进度统计</text>
|
|
|
+ <view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left">
|
|
|
+ 行政区
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.XZQValueCourtyard.dictValue)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('xzqCourtyard')">
|
|
|
+ <span style="color: darkgray;">请选择行政区</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view v-else style="margin-top: 10;" @click="pickerShow('xzqCourtyard')">
|
|
|
+ <span style="color: black;">{{XZQValueCourtyard.dictLabel}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left"> 小区</view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.XQValueCourtyard.id)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('xqCourtyard')">
|
|
|
+ <span style="color: darkgray;">请选择小区</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view v-else style="margin-top: 10;" @click="pickerShow('xqCourtyard')">
|
|
|
+ <span style="color: black;">{{XQValueCourtyard.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ <scroll-view :scroll-x="true" class="view_bg_build" v-if="CourtyardRoomList.length > 0"
|
|
|
+ style="margin-top: 10px;">
|
|
|
+ <view class="HuaDongBiao">
|
|
|
+ <view class="NeiRong" v-for="(item,index) in CourtyardRoomList" :key="index">
|
|
|
+ <view class="Fang" v-for="(item2, index2) in CourtyardRoomList[index]" :key="index2">
|
|
|
+ <view v-if="item2.buildingStatus=='施工中'" class="ShiGongZhong"
|
|
|
+ @click="goHistory(item2)">
|
|
|
+ {{ item2.buildingName }}
|
|
|
+ </view>
|
|
|
+ <view v-else-if="item2.buildingStatus=='未施工'" class="WeiShiGong">
|
|
|
+ {{ item2.buildingName }}
|
|
|
+ </view>
|
|
|
+ <view v-else class="JunGong" @click="goHistory(item2)">{{ item2.buildingName }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </scroll-view>
|
|
|
+ <view v-if="CourtyardRoomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
|
|
|
+ <view style="align-items: center; margin-top: 20rpx;">
|
|
|
+ <view style="display: flex;align-items: center;justify-content:center">
|
|
|
+ <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
|
|
|
+ <div class="block-iv" style="background-color: #80d9ae;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
|
|
|
+ <div class="block-iv" style="background-color: #5bd3ff;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
|
|
|
+ <div class="block-iv" style="background-color: #ffc881;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="view-bg" style="margin-bottom: 40rpx;">
|
|
|
+ <text class="title-txt">架空工程进度统计</text>
|
|
|
+ <view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left">
|
|
|
+ 行政区
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.XZQValueOverhead.dictValue)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('xzqOverhead')">
|
|
|
+ <span style="color: darkgray;">请选择行政区</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view v-else style="margin-top: 10;" @click="pickerShow('xzqOverhead')">
|
|
|
+ <span style="color: black;">{{XZQValueOverhead.dictLabel}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left"> 小区</view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.XQValueOverhead.id)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('xqOverhead')">
|
|
|
+ <span style="color: darkgray;">请选择小区</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view v-else style="margin-top: 10;" @click="pickerShow('xqOverhead')">
|
|
|
+ <span style="color: black;">{{XQValueOverhead.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left">楼栋</view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.LDValueOverhead.id)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('ldOverhead')">
|
|
|
+ <span style="color: darkgray;">请选择楼栋</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view style="margin-top: 10;" @click="pickerShow('ldOverhead')">
|
|
|
+ <span style="color: black;">{{LDValueOverhead.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ <scroll-view :scroll-x="true" class="view_bg_build" v-if="OverheadRoomList.length > 0"
|
|
|
+ style="margin-top: 10px;">
|
|
|
+ <view class="HuaDongBiao">
|
|
|
+ <view class="NeiRong" v-for="(item,index) in OverheadRoomList" :key="index">
|
|
|
+ <view class="Fang" v-for="(item2, index2) in OverheadRoomList[index]" :key="index2">
|
|
|
+ <view v-if="item2.unitStatus=='施工中'" class="ShiGongZhong" @click="goHistory(item2)">
|
|
|
+ {{ item2.unitName }}
|
|
|
+ </view>
|
|
|
+ <view v-else-if="item2.unitStatus=='未施工'" class="WeiShiGong">{{ item2.unitName }}
|
|
|
+ </view>
|
|
|
+ <view v-else class="JunGong" @click="goHistory(item2)">{{ item2.unitName }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </scroll-view>
|
|
|
+ <view v-if="OverheadRoomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
|
|
|
+ <view style="align-items: center; margin-top: 20rpx;">
|
|
|
+ <view style="display: flex;align-items: center;justify-content:center">
|
|
|
+ <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
|
|
|
+ <div class="block-iv" style="background-color: #80d9ae;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
|
|
|
+ <div class="block-iv" style="background-color: #5bd3ff;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
|
|
|
+ <div class="block-iv" style="background-color: #ffc881;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="view-bg" style="margin-bottom: 40rpx;">
|
|
|
+ <text class="title-txt">底腿工程进度统计</text>
|
|
|
+ <view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left">
|
|
|
+ 行政区
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.XZQValueBottomLeg.dictValue)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('xzqBottomLeg')">
|
|
|
+ <span style="color: darkgray;">请选择行政区</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view v-else style="margin-top: 10;" @click="pickerShow('xzqBottomLeg')">
|
|
|
+ <span style="color: black;">{{XZQValueBottomLeg.dictLabel}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left"> 小区</view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.XQValueBottomLeg.id)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('xqBottomLeg')">
|
|
|
+ <span style="color: darkgray;">请选择小区</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view v-else style="margin-top: 10;" @click="pickerShow('xqBottomLeg')">
|
|
|
+ <span style="color: black;">{{XQValueBottomLeg.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view class="uni-list-cell-left">楼栋</view>
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
+ <view v-if="this.isEmpty(this.LDValueBottomLeg.id)" style="margin-top: 10;"
|
|
|
+ @click="pickerShow('ldBottomLeg')">
|
|
|
+ <span style="color: darkgray;">请选择楼栋</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ <view style="margin-top: 10;" @click="pickerShow('ldBottomLeg')">
|
|
|
+ <span style="color: black;">{{LDValueBottomLeg.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ <scroll-view :scroll-x="true" class="view_bg_build" v-if="BottomLegRoomList.length > 0"
|
|
|
+ style="margin-top: 10px;">
|
|
|
+ <view class="HuaDongBiao">
|
|
|
+ <view class="NeiRong" v-for="(item,index) in BottomLegRoomList" :key="index">
|
|
|
+ <view class="Fang" v-for="(item2, index2) in BottomLegRoomList[index]" :key="index2">
|
|
|
+ <view v-if="item2.unitStatus=='施工中'" class="ShiGongZhong" @click="goHistory(item2)">
|
|
|
+ {{ item2.unitName }}
|
|
|
+ </view>
|
|
|
+ <view v-else-if="item2.unitStatus=='未施工'" class="WeiShiGong">{{ item2.unitName }}
|
|
|
+ </view>
|
|
|
+ <view v-else class="JunGong" @click="goHistory(item2)">{{ item2.unitName }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </scroll-view>
|
|
|
+ <view v-if="BottomLegRoomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
|
|
|
+ <view style="align-items: center; margin-top: 20rpx;">
|
|
|
+ <view style="display: flex;align-items: center;justify-content:center">
|
|
|
+ <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
|
|
|
+ <div class="block-iv" style="background-color: #80d9ae;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
|
|
|
+ <div class="block-iv" style="background-color: #5bd3ff;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
|
|
|
+ <div class="block-iv" style="background-color: #ffc881;"></div>
|
|
|
+ <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="view-bg" style="margin-bottom: 40rpx;">
|
|
|
<text class="title-txt">工业工程</text>
|
|
|
<view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
|
|
@@ -765,6 +1025,7 @@
|
|
|
getEnginSpecificationsList,
|
|
|
getMunicipalStatisticsData,
|
|
|
getObtainRoomcCompletionInformationList,
|
|
|
+ getObtainUnitCompletionInformationList,
|
|
|
getRoomProjectId,
|
|
|
getRoomProjectList,
|
|
|
getHistoryByUserList,
|
|
@@ -845,6 +1106,32 @@
|
|
|
LDValue3: {},
|
|
|
DYValue3: {},
|
|
|
FJValue3: {},
|
|
|
+
|
|
|
+ //庭院
|
|
|
+ XZQValueCourtyard: {},
|
|
|
+ XQValueCourtyard: {},
|
|
|
+
|
|
|
+ XQListCourtyard: [],
|
|
|
+
|
|
|
+ //架空
|
|
|
+ XZQValueOverhead: {},
|
|
|
+ XQValueOverhead: {},
|
|
|
+ LDValueOverhead: {},
|
|
|
+
|
|
|
+ XQListOverhead: [],
|
|
|
+ LDListOverhead: [],
|
|
|
+
|
|
|
+
|
|
|
+ //底腿
|
|
|
+ XZQValueBottomLeg: {},
|
|
|
+ XQValueBottomLeg: {},
|
|
|
+ LDValueBottomLeg: {},
|
|
|
+
|
|
|
+ XQListBottomLeg: [],
|
|
|
+ LDListBottomLeg: [],
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
ProjectType: {},
|
|
|
ProjectClassification: {},
|
|
|
ProjectSteps: {},
|
|
@@ -856,6 +1143,9 @@
|
|
|
materialList: [],
|
|
|
materialUsageList: [],
|
|
|
roomList: [],
|
|
|
+ CourtyardRoomList: [],
|
|
|
+ OverheadRoomList: [],
|
|
|
+ BottomLegRoomList: [],
|
|
|
roomCount: 4,
|
|
|
nodeId: '',
|
|
|
nodeType: '',
|
|
@@ -1078,7 +1368,7 @@
|
|
|
obj))
|
|
|
})
|
|
|
|
|
|
- }
|
|
|
+ }
|
|
|
// else if (this.nodeType == 'pressure_regulating') { //调压柜
|
|
|
// let obj = {
|
|
|
// id: this.nodeId,
|
|
@@ -1092,7 +1382,7 @@
|
|
|
// })
|
|
|
|
|
|
// }
|
|
|
- else {
|
|
|
+ else {
|
|
|
this.handleShowSheet();
|
|
|
}
|
|
|
} else if (this.EngineeringValue == '开栓') {
|
|
@@ -1110,7 +1400,6 @@
|
|
|
})
|
|
|
} else if (this.EngineeringValue == '市政工程' || this.EngineeringValue == '基建工程' || this.EngineeringValue ==
|
|
|
'顶管工程' || this.EngineeringValue == '工业工程' || this.EngineeringValue == '碰口作业') {
|
|
|
- console.log("=====", item)
|
|
|
this.nodeId = item.id;
|
|
|
let result = JSON.parse(JSON.stringify(item.status).replace(/type/g, 'Type'));
|
|
|
this.typeList = result;
|
|
@@ -1119,7 +1408,6 @@
|
|
|
id: this.nodeId,
|
|
|
type: '调压柜',
|
|
|
};
|
|
|
- console.log("===", obj)
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
|
|
|
.stringify(
|
|
@@ -1442,7 +1730,8 @@
|
|
|
getDicts("engin_cycle").then(response => {
|
|
|
this.dictOptions = response.data;
|
|
|
});
|
|
|
- } else if (e == 'xzq2' || e == 'xzq3') {
|
|
|
+ } else if (e == 'xzq2' || e == 'xzq3' || e == 'xzqCourtyard' || e == 'xzqOverhead' || e ==
|
|
|
+ 'xzqBottomLeg') {
|
|
|
if (this.isEmpty(this.projectValue2.dictValue)) {
|
|
|
this.$modal.msg('请选择工程周期')
|
|
|
|
|
@@ -1465,6 +1754,45 @@
|
|
|
this.selectList = this.XQList2;
|
|
|
}
|
|
|
|
|
|
+ } else if (e == 'xqCourtyard') {
|
|
|
+
|
|
|
+ if (this.isEmpty(this.XZQValueCourtyard.dictValue)) {
|
|
|
+ getAreaList('').then(res => {
|
|
|
+ this.XQListCourtyard = res.data;
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.XQListCourtyard;
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.XQListCourtyard;
|
|
|
+ }
|
|
|
+
|
|
|
+ } else if (e == 'xqOverhead') {
|
|
|
+
|
|
|
+ if (this.isEmpty(this.XZQValueOverhead.dictValue)) {
|
|
|
+ getAreaList('').then(res => {
|
|
|
+ this.XQListOverhead = res.data;
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.XQListOverhead;
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.XQListOverhead;
|
|
|
+ }
|
|
|
+
|
|
|
+ } else if (e == 'xqBottomLeg') {
|
|
|
+
|
|
|
+ if (this.isEmpty(this.XZQValueBottomLeg.dictValue)) {
|
|
|
+ getAreaList('').then(res => {
|
|
|
+ this.XQListBottomLeg = res.data;
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.XQListBottomLeg;
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.XQListBottomLeg;
|
|
|
+ }
|
|
|
+
|
|
|
} else if (e == 'ld2') {
|
|
|
|
|
|
if (this.isEmpty(this.XQValue2.id)) {
|
|
@@ -1475,6 +1803,36 @@
|
|
|
this.selectList = this.LDList2;
|
|
|
}
|
|
|
|
|
|
+ } else if (e == 'ldCourtyard') {
|
|
|
+
|
|
|
+ if (this.isEmpty(this.XQValueCourtyard.id)) {
|
|
|
+ this.$modal.msg('请选择小区')
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.LDListCourtyard;
|
|
|
+ }
|
|
|
+
|
|
|
+ } else if (e == 'ldOverhead') {
|
|
|
+
|
|
|
+ if (this.isEmpty(this.XQValueOverhead.id)) {
|
|
|
+ this.$modal.msg('请选择小区')
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.LDListOverhead;
|
|
|
+ }
|
|
|
+
|
|
|
+ } else if (e == 'ldBottomLeg') {
|
|
|
+
|
|
|
+ if (this.isEmpty(this.XQValueBottomLeg.id)) {
|
|
|
+ this.$modal.msg('请选择小区')
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.LDListBottomLeg;
|
|
|
+ }
|
|
|
+
|
|
|
} else if (e == 'dy2') {
|
|
|
if (this.isEmpty(this.LDValue2.id)) {
|
|
|
this.$modal.msg('请选择楼栋')
|
|
@@ -1483,6 +1841,22 @@
|
|
|
this.open = true;
|
|
|
this.selectList = this.DYList2;
|
|
|
}
|
|
|
+ } else if (e == 'dyOverhead') {
|
|
|
+ if (this.isEmpty(this.LDValueOverhead.id)) {
|
|
|
+ this.$modal.msg('请选择楼栋')
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.DYListOverhead;
|
|
|
+ }
|
|
|
+ } else if (e == 'dyBottomLeg') {
|
|
|
+ if (this.isEmpty(this.LDValueBottomLeg.id)) {
|
|
|
+ this.$modal.msg('请选择楼栋')
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.open = true;
|
|
|
+ this.selectList = this.DYListBottomLeg;
|
|
|
+ }
|
|
|
} else if (e == 'xq3') {
|
|
|
if (this.isEmpty(this.XZQValue3.dictValue)) {
|
|
|
getAreaList('').then(res => {
|
|
@@ -1647,6 +2021,26 @@
|
|
|
getAreaList(item.dictValue).then(res => {
|
|
|
this.XQList3 = res.data;
|
|
|
})
|
|
|
+ } else if (this.type == 'xzqCourtyard') {
|
|
|
+ this.XZQValueCourtyard = item;
|
|
|
+ this.XQValueCourtyard = '';
|
|
|
+ getAreaList(item.dictValue).then(res => {
|
|
|
+ this.XQListCourtyard = res.data;
|
|
|
+ })
|
|
|
+ } else if (this.type == 'xzqOverhead') {
|
|
|
+ this.XZQValueOverhead = item;
|
|
|
+ this.XQValueOverhead = '';
|
|
|
+ this.LDValueOverhead = '';
|
|
|
+ getAreaList(item.dictValue).then(res => {
|
|
|
+ this.XQListOverhead = res.data;
|
|
|
+ })
|
|
|
+ } else if (this.type == 'xzqBottomLeg') {
|
|
|
+ this.XZQValueBottomLeg = item;
|
|
|
+ this.XQValueBottomLeg = '';
|
|
|
+ this.LDValueBottomLeg = '';
|
|
|
+ getAreaList(item.dictValue).then(res => {
|
|
|
+ this.XQListBottomLeg = res.data;
|
|
|
+ })
|
|
|
} else if (this.type == 'xq2') {
|
|
|
this.XZQValue2 = {
|
|
|
dictValue: item.district,
|
|
@@ -1676,6 +2070,37 @@
|
|
|
getBuildingList(item.id).then(res => {
|
|
|
this.LDList3 = res.data
|
|
|
})
|
|
|
+ } else if (this.type == 'xqBottomLeg') {
|
|
|
+ this.XZQValueBottomLeg = {
|
|
|
+ dictValue: item.district,
|
|
|
+ dictLabel: item.districtName
|
|
|
+ };
|
|
|
+ this.XQValueBottomLeg = item;
|
|
|
+
|
|
|
+ this.LDValueBottomLeg = '';
|
|
|
+ getBuildingList(item.id).then(res => {
|
|
|
+ this.LDListBottomLeg = res.data
|
|
|
+ })
|
|
|
+ } else if (this.type == 'xqCourtyard') {
|
|
|
+ this.XZQValueCourtyard = {
|
|
|
+ dictValue: item.district,
|
|
|
+ dictLabel: item.districtName
|
|
|
+ };
|
|
|
+ this.XQValueCourtyard = item;
|
|
|
+
|
|
|
+
|
|
|
+ this.getCourtyardList();
|
|
|
+ } else if (this.type == 'xqOverhead') {
|
|
|
+ this.XZQValueOverhead = {
|
|
|
+ dictValue: item.district,
|
|
|
+ dictLabel: item.districtName
|
|
|
+ };
|
|
|
+ this.XQValueOverhead = item;
|
|
|
+
|
|
|
+ this.LDValueOverhead = '';
|
|
|
+ getBuildingList(item.id).then(res => {
|
|
|
+ this.LDListOverhead = res.data
|
|
|
+ })
|
|
|
} else if (this.type == 'ld2') {
|
|
|
this.LDValue2 = item;
|
|
|
|
|
@@ -1694,6 +2119,16 @@
|
|
|
this.DYList3 = res.data
|
|
|
})
|
|
|
|
|
|
+ } else if (this.type == 'ldOverhead') {
|
|
|
+ this.LDValueOverhead = item;
|
|
|
+
|
|
|
+ this.getOverheadList();
|
|
|
+
|
|
|
+ } else if (this.type == 'ldBottomLeg') {
|
|
|
+ this.LDValueBottomLeg = item;
|
|
|
+
|
|
|
+ this.getBottomLegList();
|
|
|
+
|
|
|
} else if (this.type == 'dy3') {
|
|
|
this.DYValue3 = item;
|
|
|
this.FJValue3 = '';
|
|
@@ -1722,6 +2157,39 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+ getCourtyardList() {
|
|
|
+ let param = {
|
|
|
+ enginCycle: this.projectValue2.dictValue, //工程周期
|
|
|
+ areaId: this.XQValueCourtyard.id,
|
|
|
+ enginClassification: 'courtyard',
|
|
|
+ };
|
|
|
+ getObtainUnitCompletionInformationList(param).then(res => {
|
|
|
+ this.CourtyardRoomList = res.data[0].buildingStatusVoList;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getOverheadList() {
|
|
|
+ let param = {
|
|
|
+ enginCycle: this.projectValue2.dictValue, //工程周期
|
|
|
+ areaId: this.XQValueOverhead.id,
|
|
|
+ buildingId: this.LDValueOverhead.id,
|
|
|
+ enginClassification: 'overhead',
|
|
|
+ };
|
|
|
+ getObtainUnitCompletionInformationList(param).then(res => {
|
|
|
+ this.OverheadRoomList = res.data[0].unitStatusVoList;
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getBottomLegList() {
|
|
|
+ let param = {
|
|
|
+ enginCycle: this.projectValue2.dictValue, //工程周期
|
|
|
+ areaId: this.XQValueBottomLeg.id,
|
|
|
+ buildingId: this.LDValueBottomLeg.id,
|
|
|
+ enginClassification: 'bottom_leg',
|
|
|
+ };
|
|
|
+ getObtainUnitCompletionInformationList(param).then(res => {
|
|
|
+ this.BottomLegRoomList = res.data[0].unitStatusVoList;
|
|
|
+ })
|
|
|
+ },
|
|
|
close(e) {
|
|
|
this.open = false
|
|
|
},
|