Jelajahi Sumber

删除无用资源

zhnghongrui 1 tahun lalu
induk
melakukan
6b37a9462f

+ 3 - 19
components/selectPicker/select_picker.vue

@@ -4,18 +4,13 @@
 			<view class="liy-search-warp">
 
 				<view class="liy-search-input">
-					<!-- 	<view @click="closeOverlay">
-						取消
-					</view> -->
+				
 					<view class="lsi-warp">
 						<image :src="loadImgSrc('search.png')" mode="widthFix" class="lsi-icon"></image>
 						<input class="lsi-input" v-model="keyword" placeholder="请输入搜索内容" @input="getParamsList" />
-						<!-- <unieasyinput prefixIcon="search" v-model="keyword" placeholder="请输入搜索内容"
-							@input="getParamsList"/> -->
+						
 					</view>
-					<!-- 	<view @click="confirm">
-						确定
-					</view> -->
+				
 				</view>
 				<scroll-view scroll-y="true" class="scroll-Y" @scrolltolower="lower">
 					<view class="liy-search-list" v-if="outPutList.length > 0">
@@ -26,18 +21,8 @@
 								</view>
 								<view class="liy-search-title" v-else>未选择标题
 								</view>
-								<!-- 	<view class="liy-search-desc" v-if="subtitleKey">{{item[subtitleKey]}}</view> -->
 							</view>
-							<!-- <view class="liy-search-icon" v-if="mapSelectIndex == index">
-								<image class="lsi-icon" src="../../static/images/check_mark.png" mode="widthFix">
-								</image>
-							</view> -->
 						</view>
-						<!-- <view class="liy-loading">
-							<image class="liy-loading-img" src="../../static/images/complete.png" mode="widthFix">
-							</image>
-							<view class="liy-loading-text">加载完成</view>
-						</view> -->
 					</view>
 					<view v-else class="liy-void">
 						<image class="liy-void-img" :src="loadImgSrc('void.png')" mode="widthFix"></image>
@@ -51,7 +36,6 @@
 </template>
 
 <script>
-	//import unieasyinput from '../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue'
 	export default {
 		name: 'select_picker',
 

+ 2 - 15
pages/bottom_leg/bottom_leg.vue

@@ -121,16 +121,7 @@
 					</view>
 
 				</view>
-				<!-- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
-					<text>米 数</text>
-					<view style="display: flex; justify-content: right; width: 70%;">
-						<input class="uni-input" type="number" v-model="inputIntegerNumberValue" maxlength="6"
-							style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx"></input>
-						<text style="font-weight:bold;margin-left: 10px;margin-right: 10px;">.</text>
-						<input class="uni-input" type="number" v-model="inputDecimalNumberValue" maxlength="1"
-							style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
-					</view>
-				</view> -->
+				
 				<view class="container" style="color: #b2b2b2;">*沟上部分照片</view>
 				<view style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
 					<image :src="loadImgSrc('updateimg.png')" mode=""
@@ -425,11 +416,7 @@
 					} else if (this.imgArr3.length <= 0) {
 						this.$modal.msg("请上传回填照片")
 					} else {
-						// if (this.isEmpty(this.inputDecimalNumberValue)) {
-						// 	this.inputNumberValue = this.inputIntegerNumberValue;
-						// } else {
-						// 	this.inputNumberValue = this.inputIntegerNumberValue + "." + this.inputDecimalNumberValue;
-						// }
+						
 
 						uni.showLoading()
 						let param = {

+ 4 - 32
pages/enginproject/enginproject.vue

@@ -192,13 +192,7 @@
 									<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
 								</view>
 							</view>
-							<!-- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
-
-								<text>数量</text>
-								<input class="uni-input" type="number" v-model="a.sl" placeholder="请填写数量" maxlength="11"
-									style="margin-left: 10px;text-align: right;"></input>
-								<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
-							</view> -->
+						
 							<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 								<text>米 数</text>
 								<!-- style="margin-left: 10px;text-align: right;" -->
@@ -365,16 +359,7 @@
 			onLoad(options) {
 				if ('params' in options) {
 					this.objValue = JSON.parse(decodeURIComponent(options.params));
-					// if (this.objValue.enginType == `old_renovation`) {
-					// 	this.title = '旧改工程-庭院'
-
-					// } else if (this.objValue.enginType == `new_built`) {
-					// 	this.title = '新建工程-庭院'
-					// }
-
-					// uni.setNavigationBarTitle({
-					// 	title: this.title
-					// })
+					
 				}
 
 
@@ -488,9 +473,6 @@
 						success: (res) => {
 							if (res.confirm) {
 								this.imgArr.splice(index, 1)
-								// if (this.imgArr.length <= 0) {
-								// 	this.photo = true;
-								// }
 							}
 						}
 					})
@@ -524,24 +506,19 @@
 									header: _this.headers,
 
 									success: res => {
-										// 判断是否json字符串,将其转为json格式
-										// let data = _this.$u.test.jsonString(res
-										// 	.data) ? JSON.parse(res.data) : res.data;
+										
 										let data = JSON.parse(res.data);
 										if (![200].includes(data.code)) {
-											// this.uploadError(index, data);
 											_this.$modal.msg(data.msg)
 										} else {
 											if (_this.progress === 100) {
 												_this.imgArr.push(data.data.url)
 												_this.$modal.msg('上传成功!')
-												//_this.photo = false;
 											}
 										}
 									},
 									fail: e => {
 										_this.$modal.msg('上传失败!')
-										//_this.uploadError(index, e);
 									},
 									complete: res => {
 										uni.hideLoading();
@@ -828,12 +805,7 @@
 								throw new Error('End Loop')
 
 							}
-							// if (this.isEmpty(list.sl)) {
-							// 	this.$modal.msg('数量不能为空')
-
-							// 	throw new Error('End Loop')
-
-							// }
+							
 							if (this.isEmpty(list.sl.inputIntegerNumberValue)) {
 								this.$modal.msg("请输入米数")
 								throw new Error('End Loop')

+ 5 - 35
pages/municipal/municipal.vue

@@ -191,15 +191,9 @@
 									<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
 								</view>
 							</view>
-							<!-- <view class="container">
-
-								<text>数量</text>
-								<input class="uni-input" type="number" v-model="a.sl" placeholder="请填写数量" maxlength="11"
-									style="margin-left: 10px;text-align: right;"></input>
-							</view> -->
+							
 							<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 								<text>米 数</text>
-								<!-- style="margin-left: 10px;text-align: right;" -->
 								<view style="display: flex; justify-content: right; width: 70%;">
 								<input class="uni-input" type="number" v-model="a.sl.inputIntegerNumberValue" maxlength="6"
 									style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
@@ -364,16 +358,7 @@
 			onLoad(options) {
 				if ('params' in options) {
 					this.objValue = JSON.parse(decodeURIComponent(options.params));
-					// if (this.objValue.enginType == `old_renovation`) {
-					// 	this.title = '旧改工程-庭院'
-
-					// } else if (this.objValue.enginType == `new_built`) {
-					// 	this.title = '新建工程-庭院'
-					// }
-
-					// uni.setNavigationBarTitle({
-					// 	title: this.title
-					// })
+					
 				}
 
 
@@ -488,9 +473,7 @@
 						success: (res) => {
 							if (res.confirm) {
 								this.imgArr.splice(index, 1)
-								// if (this.imgArr.length <= 0) {
-								// 	this.photo = true;
-								// }
+								
 							}
 						}
 					})
@@ -524,24 +507,19 @@
 									header: _this.headers,
 
 									success: res => {
-										// 判断是否json字符串,将其转为json格式
-										// let data = _this.$u.test.jsonString(res
-										// 	.data) ? JSON.parse(res.data) : res.data;
+										
 										let data = JSON.parse(res.data);
 										if (![200].includes(data.code)) {
-											// this.uploadError(index, data);
 											_this.$modal.msg(data.msg)
 										} else {
 											if (_this.progress === 100) {
 												_this.imgArr.push(data.data.url)
 												_this.$modal.msg('上传成功!')
-												//_this.photo = false;
 											}
 										}
 									},
 									fail: e => {
 										_this.$modal.msg('上传失败!')
-										//_this.uploadError(index, e);
 									},
 									complete: res => {
 										uni.hideLoading();
@@ -589,7 +567,6 @@
 										if (_this.progress === 100) {
 											_this.imgArr.push(data.data.url)
 											_this.$modal.msg('上传成功!')
-											//_this.photo = false;
 										}
 									}
 								},
@@ -639,8 +616,6 @@
 
 				},
 				changeSelect(item, index) {
-					// this.index = index;
-					// this.address = item.communityName;
 					this.open = false;
 
 					if (this.type == 'cz') {
@@ -827,12 +802,7 @@
 								throw new Error('End Loop')
 
 							}
-							// if (this.isEmpty(list.sl)) {
-							// 	this.$modal.msg('数量不能为空')
-
-							// 	throw new Error('End Loop')
-
-							// }
+						
 
 							if (this.isEmpty(list.sl.inputIntegerNumberValue)) {
 								this.$modal.msg("请输入米数")

+ 1 - 15
pages/oldrenovation/courtyard/courtyard.vue

@@ -117,16 +117,9 @@
 									<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
 								</view>
 							</view>
-							<!-- 	<view class="container" style="border-bottom: 1px solid #f8f8f8;">
-
-								<text>数量</text>
-								<input class="uni-input" type="number" v-model="a.sl" placeholder="请填写数量" maxlength="11"
-									style="margin-left: 10px;text-align: right;"></input>
-								<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
-							</view> -->
+						
 							<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 								<text>米 数</text>
-								<!-- style="margin-left: 10px;text-align: right;" -->
 								<view style="display: flex; justify-content: right; width: 70%;">
 									<input class="uni-input" type="number" v-model="a.sl.inputIntegerNumberValue"
 										maxlength="6"
@@ -621,7 +614,6 @@
 								this.dictOptions = response.data;
 							});
 						}
-						//this.selectList = this.dictOptions;
 
 					} else if (e == 'xq') { //小区
 						if (this.isEmpty(this.XZQValue.dictValue)) {
@@ -810,12 +802,6 @@
 								throw new Error('End Loop')
 
 							}
-							// if (this.isEmpty(list.sl)) {
-							// 	this.$modal.msg('数量不能为空')
-
-							// 	throw new Error('End Loop')
-
-							// }
 							if (this.isEmpty(list.sl.inputIntegerNumberValue)) {
 								this.$modal.msg("请输入米数")
 								throw new Error('End Loop')

+ 0 - 13
pages/oldrenovation/overhead/newoverhead.vue

@@ -137,13 +137,6 @@
 									<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
 								</view>
 							</view>
-							<!-- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
-
-								<text>数量</text>
-								<input class="uni-input" type="number" v-model="a.sl" placeholder="请填写数量" maxlength="11"
-									style="margin-left: 10px;text-align: right;"></input>
-								<image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
-							</view> -->
 
 							<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 								<text>米 数</text>
@@ -753,12 +746,6 @@
 								throw new Error('End Loop')
 
 							}
-							// if (this.isEmpty(list.sl)) {
-							// 	this.$modal.msg('数量不能为空')
-
-							// 	throw new Error('End Loop')
-
-							// }
 							if (this.isEmpty(list.sl.inputIntegerNumberValue)) {
 								this.$modal.msg("请输入米数")
 								throw new Error('End Loop')

+ 0 - 2
pages/open_bolt/open_bolt.vue

@@ -287,8 +287,6 @@
 						uni.showActionSheet({
 							itemList: array,
 							success: (res) => {
-								// console.log('选择了第' + (res.tapIndex + 1) + '个选项');
-								// console.log(this.dictOptions[res.tapIndex].dictValue)
 								this.openBoltKey = this.dictOptions[res.tapIndex].dictValue;
 								this.openBoltValue = this.dictOptions[res.tapIndex].dictLabel;
 							},

+ 1 - 29
pages/statistics/historyDetails.vue

@@ -289,17 +289,12 @@
 								header: _this.headers,
 
 								success: res => {
-									// 判断是否json字符串,将其转为json格式
-									// let data = _this.$u.test.jsonString(res
-									// 	.data) ? JSON.parse(res.data) : res.data;
 									let data = JSON.parse(res.data);
 									if (![200].includes(data.code)) {
-										// this.uploadError(index, data);
 										_this.$modal.msg(data.msg)
 									} else {
 										if (_this.progress === 100) {
 
-											// _this.imgArr.push(data.data.url)
 											_this.dataJson.zEngineeringNodeBo
 												.zEngineeringInfoBoList[_this.dataIndex]
 												.zEngiineeringPhotoBoList.push(data.data.url);
@@ -310,7 +305,6 @@
 								},
 								fail: e => {
 									_this.$modal.msg('上传失败!')
-									//_this.uploadError(index, e);
 								},
 								complete: res => {
 									uni.hideLoading();
@@ -349,14 +343,12 @@
 							formData: {},
 							header: _this.headers,
 							success: res => {
-								// 判断是否json字符串,将其转为json格式
 								let data = JSON.parse(res.data);
 								if (![200].includes(res.statusCode)) {
 									this.uploadError(index, data);
 								} else {
 									//上传成功
 									if (_this.progress === 100) {
-										//_this.imgArr.push(data.data.url)
 										_this.dataJson.zEngineeringNodeBo
 											.zEngineeringInfoBoList[_this.dataIndex]
 											.zEngiineeringPhotoBoList.push(data.data.url);
@@ -442,7 +434,6 @@
 				}
 				if (e == 'zbf') {
 					this.open = true;
-					//this.getFSDJLevel();
 					getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this.title, '自闭阀厂家')
 						.then(
 							response => {
@@ -492,7 +483,6 @@
 					this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
 						.corrosionLevel = item.id;
 				} else if (this.chooseType == 'cz') {
-					console.log("ddd")
 					this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
 						.materialQuality = item.id;
 					this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
@@ -697,25 +687,7 @@
 			margin: 30rpx 35rpx;
 			align-items: center;
 
-			// &::after {
-			// 	content: '';
-			// 	width: 240rpx;
-			// 	height: 0rpx;
-			// 	border-top: 1px solid #E4E7ED;
-			// 	-webkit-transform: scaleY(0.5);
-			// 	transform: scaleY(0.5);
-			// 	margin-left: 30rpx;
-			// }
-
-			// &::before {
-			// 	content: '';
-			// 	width: 240rpx;
-			// 	height: 0rpx;
-			// 	border-top: 1px solid #E4E7ED;
-			// 	-webkit-transform: scaleY(0.5);
-			// 	transform: scaleY(0.5);
-			// 	margin-right: 30rpx;
-			// }
+		
 		}
 
 		.content {