|
@@ -177,95 +177,72 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <!-- 焊接、防腐 下管 沟下连头 -->
|
|
|
+ <view v-if="objValue.Label=='焊接、防腐'||objValue.Label=='下管'||objValue.Label=='沟下连头'">
|
|
|
+ <view v-for="(a,index) in czggslList" :key="index" class="num-style">
|
|
|
+ <view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
+ <view>
|
|
|
+ 材质
|
|
|
+ </view>
|
|
|
+ <view class="uni-list-cell-db" @click="pickerShow('cz',index)">
|
|
|
+ <span style="color: black;">{{a.cz.id==''?'请选择材质':a.cz.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
|
|
|
- <view v-for="(a,index) in czggslList" :key="index" class="num-style">
|
|
|
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
- <view>
|
|
|
- 材质
|
|
|
- </view>
|
|
|
- <view class="uni-list-cell-db" @click="pickerShow('cz',index)">
|
|
|
- <span style="color: black;">{{a.cz.id==''?'请选择材质':a.cz.name}}</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
+ <view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
|
|
|
- </view>
|
|
|
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
|
-
|
|
|
- <view>
|
|
|
- 规格
|
|
|
- </view>
|
|
|
+ <view>
|
|
|
+ 规格
|
|
|
+ </view>
|
|
|
|
|
|
- <view class="uni-list-cell-db" @click="pickerShow('gg',index)">
|
|
|
- <span style="color: black;">{{a.gg.id==''?'请选择规格':a.gg.name}}</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ <view class="uni-list-cell-db" @click="pickerShow('gg',index)">
|
|
|
+ <span style="color: black;">{{a.gg.id==''?'请选择规格':a.gg.name}}</span>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
+ </view>
|
|
|
</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="a.sl.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="a.sl.inputDecimalNumberValue"
|
|
|
- maxlength="1"
|
|
|
- style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
+ <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="a.sl.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="a.sl.inputDecimalNumberValue"
|
|
|
+ maxlength="1"
|
|
|
+ style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <button v-if="index!=0" @click="this.czggslList.splice(index,1)" class="sc-btn">删除</button>
|
|
|
</view>
|
|
|
- <button v-if="index!=0" @click="this.czggslList.splice(index,1)" class="sc-btn">删除</button>
|
|
|
- </view>
|
|
|
- <button @click="this.czggslList.push({cz:{id: '',name: ''},gg:{id: '',name: ''},sl: {
|
|
|
+ <button @click="this.czggslList.push({cz:{id: '',name: ''},gg:{id: '',name: ''},sl: {
|
|
|
inputIntegerNumberValue: '',
|
|
|
inputDecimalNumberValue: ''
|
|
|
}})" class="tj-btn">添加</button>
|
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
-
|
|
|
- <view v-if="objValue.Label=='沟上施工'">
|
|
|
+ <view v-if="objValue.Label!='回填、撤场'">
|
|
|
<view class="align-items" style="margin-top: 20px;margin-bottom: 20px;">
|
|
|
- <view class="container" style="color: #b2b2b2;">*请上传焊接照片</view>
|
|
|
+ <view class="container" style="color: #b2b2b2;">*请上传照片</view>
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
|
|
|
<image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
- style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('hj')"
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('other')"
|
|
|
v-show="reviewStatus!='1'"></image>
|
|
|
- <view v-for="(item,index) in imgHjArr" :key="index" style="position: relative;">
|
|
|
+ <view v-for="(item,index) in imgArr" :key="index" style="position: relative;">
|
|
|
<view
|
|
|
v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
|
|
|
<image :src="item" mode="" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
- @click="showPhoto(index,'hj')">
|
|
|
+ @click="showPhoto(index,'other')">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view v-else>
|
|
|
<video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
</view>
|
|
|
- <view @click="remove(index,'hj')"
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
- <image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
- </image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="align-items" style="margin-top: 20px;margin-bottom: 20px;">
|
|
|
- <view class="container" style="color: #b2b2b2;">*请上传防腐照片</view>
|
|
|
- <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
|
|
|
- <image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
- style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('ff')"
|
|
|
- v-show="reviewStatus!='1'"></image>
|
|
|
- <view v-for="(item,index) in imgFfArr" :key="index" style="position: relative;">
|
|
|
- <view
|
|
|
- v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
|
|
|
- <image :src="item" mode="" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
- @click="showPhoto(index,'ff')">
|
|
|
- </image>
|
|
|
- </view>
|
|
|
- <view v-else>
|
|
|
- <video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
- </view>
|
|
|
- <view @click="remove(index,'ff')"
|
|
|
+ <view @click="remove(index,'other')"
|
|
|
style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
</image>
|
|
@@ -273,25 +250,26 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
</view>
|
|
|
<view v-else>
|
|
|
<view class="align-items" style="margin-top: 20px;margin-bottom: 20px;">
|
|
|
- <view class="container" style="color: #b2b2b2;">*请上传管道下沟照片</view>
|
|
|
+ <view class="container" style="color: #b2b2b2;">*请上传回填前照片</view>
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
|
|
|
<image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
- style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('gdxg')"
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('htq')"
|
|
|
v-show="reviewStatus!='1'"></image>
|
|
|
- <view v-for="(item,index) in imgGdxgArr" :key="index" style="position: relative;">
|
|
|
+ <view v-for="(item,index) in imgHtqArr" :key="index" style="position: relative;">
|
|
|
<view
|
|
|
v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
|
|
|
<image :src="item" mode="" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
- @click="showPhoto(index,'gdxg')">
|
|
|
+ @click="showPhoto(index,'htq')">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view v-else>
|
|
|
<video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
</view>
|
|
|
- <view @click="remove(index,'gdxg')"
|
|
|
+ <view @click="remove(index,'htq')"
|
|
|
style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
</image>
|
|
@@ -326,24 +304,24 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="align-items" style="margin-top: 20px;margin-bottom: 20px;">
|
|
|
- <view class="container" style="color: #b2b2b2;">*请上传回填照片</view>
|
|
|
+ <view class="container" style="color: #b2b2b2;">*请上传回填后照片</view>
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
|
|
|
<image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
- style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('ht')"
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('hth')"
|
|
|
v-show="reviewStatus!='1'"></image>
|
|
|
- <view v-for="(item,index) in imgHtArr" :key="index" style="position: relative;">
|
|
|
+ <view v-for="(item,index) in imgHthArr" :key="index" style="position: relative;">
|
|
|
<view
|
|
|
v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
|
|
|
<image :src="item" mode=""
|
|
|
style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
- @click="showPhoto(index,'ht')">
|
|
|
+ @click="showPhoto(index,'hth')">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view v-else>
|
|
|
<video :src="item"
|
|
|
style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
</view>
|
|
|
- <view @click="remove(index,'ht')"
|
|
|
+ <view @click="remove(index,'hth')"
|
|
|
style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
</image>
|
|
@@ -376,7 +354,7 @@
|
|
|
|
|
|
<script>
|
|
|
import SelectPicker from '../../components/selectPicker/select_picker.vue'
|
|
|
- import bottomSheet from '../../components/bottomSheet/bottomSheetMore.vue'
|
|
|
+ import bottomSheet from '../../components/bottomSheet/bottomSheetMoreNew.vue'
|
|
|
import mypopup from '../../components/mypopup/mypopup.vue'
|
|
|
|
|
|
import {
|
|
@@ -385,9 +363,7 @@
|
|
|
import {
|
|
|
getEnginMaterialQualityList,
|
|
|
getEnginSpecificationsList,
|
|
|
- getRoomProjectList,
|
|
|
- getRoomProjectId,
|
|
|
- Submitengineering,
|
|
|
+ submitMunicipalData,
|
|
|
getengineeringNameList,
|
|
|
getEngineeringDetails,
|
|
|
getEngineeringHistoryList,
|
|
@@ -451,9 +427,9 @@
|
|
|
|
|
|
imgHjArr: [],
|
|
|
imgFfArr: [],
|
|
|
- imgGdxgArr: [],
|
|
|
+ imgHtqArr: [],
|
|
|
imgJspsArr: [],
|
|
|
- imgHtArr: [],
|
|
|
+ imgHthArr: [],
|
|
|
|
|
|
fileArr: [],
|
|
|
fileNameArr: [],
|
|
@@ -591,16 +567,20 @@
|
|
|
let typeArr = [];
|
|
|
let newArr = [];
|
|
|
|
|
|
- if (e == 'hj') {
|
|
|
- typeArr = this.imgHjArr;
|
|
|
- } else if (e == 'ff') {
|
|
|
- typeArr = this.imgFfArr;
|
|
|
- } else if (e == 'gdxg') {
|
|
|
- typeArr = this.imgGdxgArr;
|
|
|
+ if (e == 'other') {
|
|
|
+ typeArr = this.imgArr;
|
|
|
+ }
|
|
|
+ // else if (e == 'hj') {
|
|
|
+ // typeArr = this.imgHjArr;
|
|
|
+ // } else if (e == 'ff') {
|
|
|
+ // typeArr = this.imgFfArr;
|
|
|
+ // }
|
|
|
+ else if (e == 'htq') {
|
|
|
+ typeArr = this.imgHtqArr;
|
|
|
} else if (e == 'jsdps') {
|
|
|
typeArr = this.imgJspsArr;
|
|
|
- } else if (e == 'ht') {
|
|
|
- typeArr = this.imgHtArr;
|
|
|
+ } else if (e == 'hth') {
|
|
|
+ typeArr = this.imgHthArr;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -625,16 +605,20 @@
|
|
|
success: (res) => {
|
|
|
if (res.confirm) {
|
|
|
//this.imgArr.splice(index, 1)
|
|
|
- if (e == 'hj') {
|
|
|
- _this.imgHjArr.splice(index, 1)
|
|
|
- } else if (e == 'ff') {
|
|
|
- _this.imgFfArr.splice(index, 1)
|
|
|
- } else if (e == 'gdxg') {
|
|
|
- _this.imgGdxgArr.splice(index, 1)
|
|
|
+ if (e == 'other') {
|
|
|
+ _this.imgArr.splice(index, 1)
|
|
|
+ }
|
|
|
+ // else if (e == 'hj') {
|
|
|
+ // _this.imgHjArr.splice(index, 1)
|
|
|
+ // } else if (e == 'ff') {
|
|
|
+ // _this.imgFfArr.splice(index, 1)
|
|
|
+ // }
|
|
|
+ else if (e == 'htq') {
|
|
|
+ _this.imgHtqArr.splice(index, 1)
|
|
|
} else if (e == 'jsdps') {
|
|
|
_this.imgJspsArr.splice(index, 1)
|
|
|
- } else if (e == 'ht') {
|
|
|
- _this.imgHtArr.splice(index, 1)
|
|
|
+ } else if (e == 'hth') {
|
|
|
+ _this.imgHthArr.splice(index, 1)
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -676,16 +660,20 @@
|
|
|
_this.$modal.msg(data.msg)
|
|
|
} else {
|
|
|
if (_this.progress === 100) {
|
|
|
- if (e == 'hj') {
|
|
|
- _this.imgHjArr.push(data.data.url)
|
|
|
- } else if (e == 'ff') {
|
|
|
- _this.imgFfArr.push(data.data.url)
|
|
|
- } else if (e == 'gdxg') {
|
|
|
- _this.imgGdxgArr.push(data.data.url)
|
|
|
+ if (e == 'other') {
|
|
|
+ _this.imgArr.push(data.data.url)
|
|
|
+ }
|
|
|
+ // else if (e == 'hj') {
|
|
|
+ // _this.imgHjArr.push(data.data.url)
|
|
|
+ // } else if (e == 'ff') {
|
|
|
+ // _this.imgFfArr.push(data.data.url)
|
|
|
+ // }
|
|
|
+ else if (e == 'htq') {
|
|
|
+ _this.imgHtqArr.push(data.data.url)
|
|
|
} else if (e == 'jsdps') {
|
|
|
_this.imgJspsArr.push(data.data.url)
|
|
|
- } else if (e == 'ht') {
|
|
|
- _this.imgHtArr.push(data.data.url)
|
|
|
+ } else if (e == 'hth') {
|
|
|
+ _this.imgHthArr.push(data.data.url)
|
|
|
}
|
|
|
_this.$modal.msg('上传成功!')
|
|
|
}
|
|
@@ -738,16 +726,20 @@
|
|
|
} else {
|
|
|
//上传成功
|
|
|
if (_this.progress === 100) {
|
|
|
- if (e == 'hj') {
|
|
|
- _this.imgHjArr.push(data.data.url)
|
|
|
- } else if (e == 'ff') {
|
|
|
- _this.imgFfArr.push(data.data.url)
|
|
|
- } else if (e == 'gdxg') {
|
|
|
- _this.imgGdxgArr.push(data.data.url)
|
|
|
+ if (e == 'other') {
|
|
|
+ _this.imgArr.push(data.data.url)
|
|
|
+ }
|
|
|
+ // else if (e == 'hj') {
|
|
|
+ // _this.imgHjArr.push(data.data.url)
|
|
|
+ // } else if (e == 'ff') {
|
|
|
+ // _this.imgFfArr.push(data.data.url)
|
|
|
+ // }
|
|
|
+ else if (e == 'htq') {
|
|
|
+ _this.imgHtqArr.push(data.data.url)
|
|
|
} else if (e == 'jsdps') {
|
|
|
_this.imgJspsArr.push(data.data.url)
|
|
|
- } else if (e == 'ht') {
|
|
|
- _this.imgHtArr.push(data.data.url)
|
|
|
+ } else if (e == 'hth') {
|
|
|
+ _this.imgHthArr.push(data.data.url)
|
|
|
}
|
|
|
_this.$modal.msg('上传成功!')
|
|
|
}
|
|
@@ -972,57 +964,64 @@
|
|
|
}
|
|
|
|
|
|
|
|
|
- try {
|
|
|
- this.czggslList.forEach((list) => {
|
|
|
- if (this.isEmpty(list.cz.id)) {
|
|
|
- this.$modal.msg('材质不能为空')
|
|
|
+ if (this.objValue.Label == '焊接、防腐' || this.objValue.Label == '下管' || this.objValue.Label == ' 沟下连头') {
|
|
|
+ try {
|
|
|
+ this.czggslList.forEach((list) => {
|
|
|
+ if (this.isEmpty(list.cz.id)) {
|
|
|
+ this.$modal.msg('材质不能为空')
|
|
|
|
|
|
|
|
|
- throw new Error('End Loop')
|
|
|
+ throw new Error('End Loop')
|
|
|
|
|
|
- }
|
|
|
- if (this.isEmpty(list.gg.id)) {
|
|
|
- this.$modal.msg('规格不能为空')
|
|
|
- throw new Error('End Loop')
|
|
|
+ }
|
|
|
+ if (this.isEmpty(list.gg.id)) {
|
|
|
+ this.$modal.msg('规格不能为空')
|
|
|
+ throw new Error('End Loop')
|
|
|
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
- if (this.isEmpty(list.sl.inputIntegerNumberValue)) {
|
|
|
- this.$modal.msg("请输入米数")
|
|
|
- throw new Error('End Loop')
|
|
|
- }
|
|
|
+ if (this.isEmpty(list.sl.inputIntegerNumberValue)) {
|
|
|
+ this.$modal.msg("请输入米数")
|
|
|
+ throw new Error('End Loop')
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
+ })
|
|
|
+ } catch (e) {
|
|
|
+ if (e.message === 'End Loop') throw e
|
|
|
+ }
|
|
|
|
|
|
+ this.zEngineeringMaterialBo = [];
|
|
|
+ this.czggslList.forEach((list) => {
|
|
|
+ this.zEngineeringMaterialBo.push({
|
|
|
+ materialQuality: list.cz.id,
|
|
|
+ specifications: list.gg.id,
|
|
|
+ number: list.sl.inputIntegerNumberValue + (list.sl.inputDecimalNumberValue ==
|
|
|
+ '' ?
|
|
|
+ '' : "." + list.sl.inputDecimalNumberValue)
|
|
|
+ })
|
|
|
})
|
|
|
- } catch (e) {
|
|
|
- if (e.message === 'End Loop') throw e
|
|
|
+
|
|
|
}
|
|
|
|
|
|
- // if (this.imgArr.length <= 0) {
|
|
|
- // this.$modal.msg('请上传照片或视频')
|
|
|
- // return
|
|
|
- // }
|
|
|
- if (this.objValue.Label == '沟上施工') {
|
|
|
- if (this.imgHjArr.length <= 0) {
|
|
|
- this.$modal.msg('请上传焊接照片')
|
|
|
- return
|
|
|
- }
|
|
|
- if (this.imgFfArr.length <= 0) {
|
|
|
- this.$modal.msg('请上传防腐照片')
|
|
|
- return
|
|
|
- }
|
|
|
- } else {
|
|
|
- if (this.imgGdxgArr.length <= 0) {
|
|
|
- this.$modal.msg('请上传管道下沟照片')
|
|
|
+
|
|
|
+ if (this.objValue.Label == '回填、撤场') {
|
|
|
+ if (this.imgHtqArr.length <= 0) {
|
|
|
+ this.$modal.msg('请上传回填前照片')
|
|
|
return
|
|
|
}
|
|
|
if (this.imgJspsArr.length <= 0) {
|
|
|
this.$modal.msg('请上传警示带铺设照片')
|
|
|
return
|
|
|
}
|
|
|
- if (this.imgHtArr.length <= 0) {
|
|
|
- this.$modal.msg('请上传回填照片')
|
|
|
+ if (this.imgHthArr.length <= 0) {
|
|
|
+ this.$modal.msg('请上传回填后照片')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (this.imgArr.length <= 0) {
|
|
|
+ this.$modal.msg('请上传照片或视频')
|
|
|
return
|
|
|
}
|
|
|
}
|
|
@@ -1030,22 +1029,10 @@
|
|
|
this.$modal.msg('照片或视频未上传完毕,无法提交!')
|
|
|
return
|
|
|
}
|
|
|
- this.zEngineeringMaterialBo = [];
|
|
|
- this.czggslList.forEach((list) => {
|
|
|
- this.zEngineeringMaterialBo.push({
|
|
|
- materialQuality: list.cz.id,
|
|
|
- specifications: list.gg.id,
|
|
|
- number: list.sl.inputIntegerNumberValue + (list.sl.inputDecimalNumberValue ==
|
|
|
- '' ?
|
|
|
- '' : "." + list.sl.inputDecimalNumberValue)
|
|
|
- })
|
|
|
- })
|
|
|
|
|
|
|
|
|
let param = {
|
|
|
- //files: this.fileArr, //文件
|
|
|
id: this.enginId, //工程id
|
|
|
- type: '2', // 用来区分工业工程=1、市政工程=2
|
|
|
|
|
|
enginName: this.projectName.name, //工程名称
|
|
|
enginType: this.projectType.dictValue, // 工程类型
|
|
@@ -1058,20 +1045,17 @@
|
|
|
supervisionUnit: this.jldwValue, // 监理单位
|
|
|
supervisionHead: this.jlfzrValue, // 监理负责人
|
|
|
supervisionPhone: this.jlPhoneValue, // 监理联系电话
|
|
|
- //enginClassification: this.objValue.value, // 工程分类 上一页面传过来的
|
|
|
zEngineeringNodeBo: {
|
|
|
createTime: this.createTime,
|
|
|
type: this.objValue.value,
|
|
|
zEngineeringInfoBo: {
|
|
|
remark: this.projectContent, //施工内容
|
|
|
- //engInfoId: this.infonId,
|
|
|
constructTime: this.time, //施工时间
|
|
|
- //zEngiineeringPhotoBoList: this.imgArr, //照片集合
|
|
|
- welding: this.imgHjArr,
|
|
|
- aczoiling: this.imgFfArr,
|
|
|
- piping: this.imgGdxgArr,
|
|
|
- warning: this.imgJspsArr,
|
|
|
- backfilling: this.imgHtArr,
|
|
|
+ zEngiineeringPhotoBoList: this.imgArr, //照片集合
|
|
|
+ zEngiineeringPhotoBoListOne: this.imgHtqArr,
|
|
|
+ zEngiineeringPhotoBoListTwo: this.imgJspsArr,
|
|
|
+ zEngiineeringPhotoBoListThree: this.imgHthArr,
|
|
|
+
|
|
|
|
|
|
zEngineeringMaterialBo: this.zEngineeringMaterialBo // 用料对象
|
|
|
}
|
|
@@ -1079,7 +1063,7 @@
|
|
|
|
|
|
}
|
|
|
uni.showLoading()
|
|
|
- Submitengineering(param).then(res => {
|
|
|
+ submitMunicipalData(param).then(res => {
|
|
|
if (res.code == '200') {
|
|
|
uni.hideLoading()
|
|
|
uni.showToast({
|