|
@@ -130,6 +130,31 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view v-if="objValue.enginClassValue=='打孔'">
|
|
|
|
+ <view class="uni-list">
|
|
|
|
+ <view style="font-size: 16px;margin-left: 10px;margin-top: 10px;">
|
|
|
|
+ 打孔
|
|
|
|
+
|
|
|
|
+ <span
|
|
|
|
+ style="color: blue;font-size: 14px; display: flex;justify-content:flex-end; margin-right: 15px;"
|
|
|
|
+ @click="history">历史</span>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <view class="container" style="margin-bottom: 20PX;">
|
|
|
|
+
|
|
|
|
+ <view>
|
|
|
|
+ 孔距
|
|
|
|
+ </view>
|
|
|
|
+ <view v-if="this.isEmpty(this.LevelValue.dictValue)" style="margin-top: 10;"
|
|
|
|
+ @click="pickerShow('kj')">
|
|
|
|
+ <span style="color: darkgray;">请选择孔距</span>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('kj')">
|
|
|
|
+ <span style="color: black;">{{LevelValue.dictLabel}}</span>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<!--立杠-->
|
|
<!--立杠-->
|
|
<view v-else-if="objValue.enginClassValue=='立杠'">
|
|
<view v-else-if="objValue.enginClassValue=='立杠'">
|
|
<view class="uni-list" style="margin-bottom: 20px;">
|
|
<view class="uni-list" style="margin-bottom: 20px;">
|
|
@@ -670,6 +695,13 @@
|
|
this.dictOptions = response.data;
|
|
this.dictOptions = response.data;
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ } else if (e == 'kj') {
|
|
|
|
+ //孔距
|
|
|
|
+ this.openDict = true;
|
|
|
|
+ getDicts("perforated_pipe_diameter").then(response => {
|
|
|
|
+ this.dictOptions = response.data;
|
|
|
|
+ });
|
|
|
|
+
|
|
} else if (e == 'gczq') { //工程周期
|
|
} else if (e == 'gczq') { //工程周期
|
|
this.openDict = true;
|
|
this.openDict = true;
|
|
getDicts("engin_cycle").then(response => {
|
|
getDicts("engin_cycle").then(response => {
|
|
@@ -829,6 +861,12 @@
|
|
this.$modal.msg("请选择单元")
|
|
this.$modal.msg("请选择单元")
|
|
} else if (this.isEmpty(this.FJValue.id)) {
|
|
} else if (this.isEmpty(this.FJValue.id)) {
|
|
this.$modal.msg("请选择房间")
|
|
this.$modal.msg("请选择房间")
|
|
|
|
+ } else if (this.objValue.enginClassValue == '打孔') {
|
|
|
|
+ if (this.isEmpty(this.LevelValue.dictValue)) {
|
|
|
|
+ this.$modal.msg("请选择孔距") //打孔 判断孔距
|
|
|
|
+ } else {
|
|
|
|
+ this.onsubmit();
|
|
|
|
+ }
|
|
} else if (this.objValue.enginClassValue == '拆旧管') {
|
|
} else if (this.objValue.enginClassValue == '拆旧管') {
|
|
|
|
|
|
if (this.isEmpty(this.LevelValue.dictValue)) {
|
|
if (this.isEmpty(this.LevelValue.dictValue)) {
|
|
@@ -871,9 +909,9 @@
|
|
this.$modal.msg('照片或视频未上传完毕,无法提交!')
|
|
this.$modal.msg('照片或视频未上传完毕,无法提交!')
|
|
} else {
|
|
} else {
|
|
const hasImage = this.imgArr.some(item => item.endsWith('.jpg') || item.endsWith('.png') || item
|
|
const hasImage = this.imgArr.some(item => item.endsWith('.jpg') || item.endsWith('.png') || item
|
|
- .endsWith('.jpeg'));
|
|
|
|
- const hasVideo = this.imgArr.some(item => item.endsWith('.mp4') || item.endsWith('.avi') || item
|
|
|
|
- .endsWith('.mov'));
|
|
|
|
|
|
+ .endsWith('.jpeg') || item.endsWith('.JPG') || item.endsWith('.PNG') || item
|
|
|
|
+ .endsWith('.JPEG'));
|
|
|
|
+ const hasVideo = this.imgArr.some(item => item.endsWith('.mp4') || item.endsWith('.MP4'));
|
|
|
|
|
|
if (hasImage && hasVideo) {
|
|
if (hasImage && hasVideo) {
|
|
//表后管 特殊 提交
|
|
//表后管 特殊 提交
|
|
@@ -945,7 +983,7 @@
|
|
} else {
|
|
} else {
|
|
//提交
|
|
//提交
|
|
let param = ';'
|
|
let param = ';'
|
|
- if (this.objValue.enginClassValue == '拆旧管') { //拆旧管
|
|
|
|
|
|
+ if (this.objValue.enginClassValue == '拆旧管'||this.objValue.enginClassValue == '打孔') { //拆旧管 打孔
|
|
param = {
|
|
param = {
|
|
district: this.XZQValue.dictValue,
|
|
district: this.XZQValue.dictValue,
|
|
areaId: this.XQValue.id,
|
|
areaId: this.XQValue.id,
|
|
@@ -962,7 +1000,7 @@
|
|
zEngiineeringPhotoBoList: this.imgArr, //照片集合
|
|
zEngiineeringPhotoBoList: this.imgArr, //照片集合
|
|
|
|
|
|
zEngineeringMaterialBo: [{
|
|
zEngineeringMaterialBo: [{
|
|
- corrosionLevel: this.LevelValue.dictValue //腐蚀等级
|
|
|
|
|
|
+ corrosionLevel: this.LevelValue.dictValue //腐蚀等级 //孔距
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
}
|
|
}
|