|
@@ -94,10 +94,10 @@
|
|
|
<view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
<text>米 数</text>
|
|
|
<!-- style="margin-left: 10px;text-align: right;" -->
|
|
|
- <input class="uni-input" type="number" v-model="inputIntegerNumberValue" maxlength="3"
|
|
|
+ <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="2"
|
|
|
+ <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 class="container" style="color: #b2b2b2;">*开挖前照片</view>
|
|
@@ -303,7 +303,7 @@
|
|
|
handleSubmit(e) {
|
|
|
this.time = `${e.year}-${e.month}-${e.day} ${e.hour}:${e.minute}:${e.second}`;
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
getStatus() {
|
|
|
let buildingId = '';
|
|
|
if (this.isEmpty(this.LDValue.id)) {
|
|
@@ -320,25 +320,25 @@
|
|
|
enginClassification: this.objValue.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|
|
|
}
|
|
|
getRoomProjectId(param).then(res => {
|
|
|
-
|
|
|
+
|
|
|
if (res.code == '200') {
|
|
|
-
|
|
|
+
|
|
|
if (res.data != null && res.data.zEngineeringNodeBoList != null) {
|
|
|
-
|
|
|
+
|
|
|
res.data.zEngineeringNodeBoList.forEach((item, index) => {
|
|
|
if (this.objValue.enginClassValue == item.type) {
|
|
|
this.reviewStatus = item.reviewStatus;
|
|
|
if (item.reviewStatus == '1')
|
|
|
this.$modal.msg('当前工程已结束')
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
} else {
|
|
|
this.reviewStatus = '' //置空
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
} else {
|
|
|
this.$modal.msg(res.msg)
|
|
|
this.reviewStatus = '' //置空
|
|
@@ -362,12 +362,14 @@
|
|
|
this.$modal.msg("请上传下沟照片")
|
|
|
} else if (this.imgArr3.length <= 0) {
|
|
|
this.$modal.msg("请上传回填照片")
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
if (this.isEmpty(this.inputDecimalNumberValue)) {
|
|
|
this.inputNumberValue = this.inputIntegerNumberValue;
|
|
|
} else {
|
|
|
this.inputNumberValue = this.inputIntegerNumberValue + "." + this.inputDecimalNumberValue;
|
|
|
}
|
|
|
+
|
|
|
+ uni.showLoading()
|
|
|
let param = {
|
|
|
district: this.XZQValue.dictValue,
|
|
|
areaId: this.XQValue.id,
|
|
@@ -394,6 +396,7 @@
|
|
|
}
|
|
|
|
|
|
addTearOldPipe(param).then(res => {
|
|
|
+ uni.hideLoading()
|
|
|
if (res.code == '200') {
|
|
|
uni.showToast({
|
|
|
title: res.msg,
|
|
@@ -625,23 +628,23 @@
|
|
|
this.LDValue = item;
|
|
|
//根据楼栋ID 获取单元数据
|
|
|
this.DYValue = ''; //重置单元数据
|
|
|
-
|
|
|
+
|
|
|
if (!this.isEmpty(this.projectValue.dictValue)) {
|
|
|
//选完 判断 工程周期
|
|
|
this.getStatus();
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
getUnitList(item.id).then(res => {
|
|
|
this.DYList = res.data
|
|
|
})
|
|
|
} else if (this.type == 'dy') {
|
|
|
this.DYValue = item;
|
|
|
-
|
|
|
+
|
|
|
if (!this.isEmpty(this.projectValue.dictValue)) {
|
|
|
-
|
|
|
+
|
|
|
//选完 判断 工程周期
|
|
|
this.getStatus();
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|