menchuang 1 год назад
Родитель
Сommit
ae1747b51b
1 измененных файлов с 2 добавлено и 51 удалено
  1. 2 51
      pages/statistics/statistics.vue

+ 2 - 51
pages/statistics/statistics.vue

@@ -3,23 +3,6 @@
 		<view class="view-bg">
 			<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.projectValue.dictValue)" style="margin-top: 10;"
-							@click="pickerShow('gczq')">
-							<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('gczq')">
-							<span style="color: black;">{{projectValue.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">
 						行政区
@@ -117,20 +100,6 @@
 		<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.projectValue2.dictValue)" style="margin-top: 10;"
-							@click="pickerShow('gczq2')">
-							<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('gczq2')">
-							<span style="color: black;">{{projectValue2.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">
 						行政区
@@ -193,18 +162,6 @@
 				</view>
 
 			</view>
-			<!-- 	<uni-divider></uni-divider>
-			<view class="view_bg_build" v-if="roomList.length > 0">
-				<view v-for="(item,index) in roomList" :key="index">
-					<uni-grid :column="roomCount">
-						<uni-grid-item class="no-click" v-for="(item2, index2) in roomList[index]" :index="index2" :key="index2">
-							<view :style="{backgroundColor: getColorByStatus(item2.roomStatus)}">
-								<text class="grid-text">{{item2.roomName}}</text>
-							</view>
-						</uni-grid-item>
-					</uni-grid>
-				</view>
-			</view> -->
 			<image :src="loadImgSrc('lou-img-bg.png')" style="width: 110%;
     height: 121px;
     position: absolute;
@@ -440,10 +397,7 @@
 					this.LDValue = ''; //重置楼栋数据
 					this.DYValue = ''; //重置单元数据
 					this.FJValue = ''; //重置房间数据
-					// getBuildingList(item.id).then(res => {
-					// 	this.LDList = res.data
-					// 	// console.log("楼栋=", res)
-					// })
+			
 					this.queryMaterialsUsedList();
 				} else if (this.type == 'ld') {
 					this.LDValue = item;
@@ -519,10 +473,7 @@
 					this.$modal.msg('请选择小区')
 					return;
 				}
-				// if (this.isEmpty(this.specificationValue.id)) {
-				// 	this.$modal.msg('请选择规格')
-				// 	return;
-				// }
+	
 				let param = {
 					enginCycle: this.projectValue.dictValue, //工程周期
 					areaId: this.XQValue.id,