|
@@ -29,16 +29,16 @@
|
|
|
placeholder="请选择回填日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="是否按图纸施工" prop="constructAccordingDrawings" v-if="currentContain.includes('constructAccordingDrawings')">
|
|
|
- <el-select v-model="nodeInfo.constructAccordingDrawings" :disabled="formType">
|
|
|
- <el-option
|
|
|
- v-for="e in constructAccordingDrawingsOption"
|
|
|
- :key="e.value"
|
|
|
- :label="e.label"
|
|
|
- :value="e.value"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
+<!-- <el-form-item label="是否按图纸施工" prop="constructAccordingDrawings" v-if="currentContain.includes('constructAccordingDrawings')">-->
|
|
|
+<!-- <el-select v-model="nodeInfo.constructAccordingDrawings" :disabled="formType">-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="e in constructAccordingDrawingsOption"-->
|
|
|
+<!-- :key="e.value"-->
|
|
|
+<!-- :label="e.label"-->
|
|
|
+<!-- :value="e.value"-->
|
|
|
+<!-- ></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
<el-form-item label="分段打压" prop="segmentedCompressionQualified" v-if="currentContain.includes('segmentedCompressionQualified')">
|
|
|
<el-select v-model="nodeInfo.segmentedCompressionQualified" :disabled="formType">
|
|
|
<el-option
|
|
@@ -85,10 +85,15 @@
|
|
|
<ObsImageUpload ref="inferiorSulcus" :limit="9999" :fileType="['png', 'jpg', 'jpeg']" :value="nodeInfo.inferiorSulcus"
|
|
|
@input="getinferiorSulcusUrl"></ObsImageUpload>
|
|
|
</el-form-item>
|
|
|
+
|
|
|
<el-form-item label="视频" prop="Video" v-if="currentContain.includes('Video')" class="obsImage" :class=" enginType == '顶管工程' ? 'obsActiveImage' : enginType == '基建工程' ? 'obsActiveImageStructure' : '' ">
|
|
|
<ObsVideoUpload ref="Video" :limit="9999" :fileType="['mp4']" :value="nodeInfo.video"
|
|
|
@input="getVideoUrl"></ObsVideoUpload>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="管道施工记录" prop="constructionRecords" v-if="currentContain.includes('constructionRecords')" class="obsImage" :class=" enginType == '顶管工程' ? 'obsActiveImage' : enginType == '基建工程' ? 'obsActiveImageStructure' : '' ">
|
|
|
+ <ObsImageUpload ref="constructionRecords" :limit="9999" :fileType="['png', 'jpg', 'jpeg']" :value="nodeInfo.constructionRecords"
|
|
|
+ @input="getconstructionRecordsUrl"></ObsImageUpload>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="备注" prop="remark" v-if="currentContain.includes('remark')">
|
|
|
<el-input
|
|
|
v-model="nodeInfo.remark"
|
|
@@ -187,28 +192,61 @@
|
|
|
</el-col>
|
|
|
<!-- end -->
|
|
|
<el-col :span="7" v-if="materialComponList.includes('number')">
|
|
|
+<!-- <el-form-item-->
|
|
|
+<!-- :prop="'zEngineeringMaterialBo.' + index + '.number'"-->
|
|
|
+<!-- label-width="50px"-->
|
|
|
+<!-- label="米数"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <!– :rules="[{required: true, message: '请输入数量', trigger: 'change'},{validator: [checkPositiveInteger], trigger: 'blur'}]"–>-->
|
|
|
+<!-- <div class="block" style="display: inline-block; margin-right: 20px;">-->
|
|
|
+<!-- <el-input v-model="item.number" placeholder="请输入米数" style="width: 100%" oninput="value=value.match(/\d+(\.\d{0,1})?/) ? value.match(/\d+(\.\d{0,1})?/)[0] : ''" :disabled="status == 'read-only'"><template slot="append">米</template></el-input>-->
|
|
|
+
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="7" v-if="materialComponList.includes('caliber')">
|
|
|
<el-form-item
|
|
|
:prop="'zEngineeringMaterialBo.' + index + '.number'"
|
|
|
label-width="50px"
|
|
|
- label="米数"
|
|
|
+ label="管径"
|
|
|
>
|
|
|
<!-- :rules="[{required: true, message: '请输入数量', trigger: 'change'},{validator: [checkPositiveInteger], trigger: 'blur'}]"-->
|
|
|
<div class="block" style="display: inline-block; margin-right: 20px;">
|
|
|
- <el-input v-model="item.number" placeholder="请输入米数" style="width: 100%" oninput="value=value.match(/\d+(\.\d{0,1})?/) ? value.match(/\d+(\.\d{0,1})?/)[0] : ''" :disabled="status == 'read-only'"><template slot="append">米</template></el-input>
|
|
|
-
|
|
|
+<!-- <el-input-number v-model="item.number" placeholder="请输入管径" style="width: 100%" type="number" oninput="value = value.replace(/[^\d]/g, '');if(value.length>9); value=value.slice(0,9)" :disabled="status == 'read-only'"></el-input-number>-->
|
|
|
+ <el-input-number v-model="item.number" placeholder="请输入管径" style="width: 100%" max="999999" precision="1" :controls="false" :disabled="status == 'read-only'"></el-input-number>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="7" v-if="materialComponList.includes('caliber')">
|
|
|
+ <el-col :span="7" v-if="materialComponList.includes('constructAddre')">
|
|
|
<el-form-item
|
|
|
- :prop="'zEngineeringMaterialBo.' + index + '.number'"
|
|
|
+ :prop="'zEngineeringMaterialBo.' + index + '.constructAddre'"
|
|
|
label-width="50px"
|
|
|
- label="管径"
|
|
|
+ label="位置"
|
|
|
>
|
|
|
<!-- :rules="[{required: true, message: '请输入数量', trigger: 'change'},{validator: [checkPositiveInteger], trigger: 'blur'}]"-->
|
|
|
<div class="block" style="display: inline-block; margin-right: 20px;">
|
|
|
-<!-- <el-input-number v-model="item.number" placeholder="请输入管径" style="width: 100%" type="number" oninput="value = value.replace(/[^\d]/g, '');if(value.length>9); value=value.slice(0,9)" :disabled="status == 'read-only'"></el-input-number>-->
|
|
|
- <el-input-number v-model="item.number" placeholder="请输入管径" style="width: 100%" max="999999" precision="1" :controls="false" :disabled="status == 'read-only'"></el-input-number>
|
|
|
+ <!-- <el-input-number v-model="item.number" placeholder="请输入管径" style="width: 100%" type="number" oninput="value = value.replace(/[^\d]/g, '');if(value.length>9); value=value.slice(0,9)" :disabled="status == 'read-only'"></el-input-number>-->
|
|
|
+ <el-select v-model="item.constructAddre" style="width: 100%;">
|
|
|
+ <el-option
|
|
|
+ v-for="e in dict.type.construct_addre"
|
|
|
+ :key="e.value"
|
|
|
+ :label="e.label"
|
|
|
+ :value="e.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="7" v-if="materialComponList.includes('specificConstruction')">
|
|
|
+ <el-form-item
|
|
|
+ :prop="'zEngineeringMaterialBo.' + index + '.remark'"
|
|
|
+ label-width="100px"
|
|
|
+ label="具体施工位置"
|
|
|
+ >
|
|
|
+ <!-- :rules="[{required: true, message: '请输入数量', trigger: 'change'},{validator: [checkPositiveInteger], trigger: 'blur'}]"-->
|
|
|
+ <div class="block" style="display: inline-block; margin-right: 20px;">
|
|
|
+ <!-- <el-input-number v-model="item.number" placeholder="请输入管径" style="width: 100%" type="number" oninput="value = value.replace(/[^\d]/g, '');if(value.length>9); value=value.slice(0,9)" :disabled="status == 'read-only'"></el-input-number>-->
|
|
|
+ <el-input v-model="item.remark" placeholder="请输入具体施工位置" style="width: 100%" :controls="false" :disabled="status == 'read-only'"></el-input>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -311,7 +349,8 @@ export default {
|
|
|
dicts:[
|
|
|
'visit_type',
|
|
|
'self_closing_valve_type',
|
|
|
- 'brand'
|
|
|
+ 'brand',
|
|
|
+ 'construct_addre'
|
|
|
|
|
|
],
|
|
|
components:{ObsVideoUpload},
|
|
@@ -466,7 +505,8 @@ export default {
|
|
|
this.nodeInfoBo.zEngineeringInfoBo.beforeBottom=this.nodeInfo.beforeBottom
|
|
|
this.nodeInfoBo.zEngineeringInfoBo.inferiorSulcus=this.nodeInfo.inferiorSulcus
|
|
|
this.nodeInfoBo.zEngineeringInfoBo.legBackfilling=this.nodeInfo.legBackfilling
|
|
|
- this.nodeInfoBo.zEngineeringInfoBo.Video=this.nodeInfo.Video
|
|
|
+ this.nodeInfoBo.zEngineeringInfoBo.constructionRecords=this.nodeInfo.constructionRecords
|
|
|
+ this.nodeInfoBo.zEngineeringInfoBo.video=this.nodeInfo.video
|
|
|
this.nodeInfoBo.zEngineeringInfoBo.zEngineeringMaterialBo = this.zEngineeringMaterialBo
|
|
|
delete this.nodeInfo.zEngiineeringPhotoBoList
|
|
|
console.log('即将返回的节点Info',this.nodeInfoBo)
|
|
@@ -513,6 +553,9 @@ export default {
|
|
|
getstonePowderUrl(url) {
|
|
|
this.nodeInfo.stonePowder = this.$refs.stonePowder.fileList ? this.$refs.stonePowder.fileList.map(e=>e.url):[];
|
|
|
},
|
|
|
+ gettrenchProspectUrl(url) {
|
|
|
+ this.nodeInfo.trenchProspect = this.$refs.trenchProspect.fileList ? this.$refs.trenchProspect.fileList.map(e=>e.url):[];
|
|
|
+ },
|
|
|
getwarningtTapeUrl(url) {
|
|
|
this.nodeInfo.warningtTape = this.$refs.warningtTape.fileList ? this.$refs.warningtTape.fileList.map(e=>e.url):[];
|
|
|
},
|
|
@@ -528,6 +571,9 @@ export default {
|
|
|
getinferiorSulcusUrl(url) {
|
|
|
this.nodeInfo.inferiorSulcus = this.$refs.inferiorSulcus.fileList ? this.$refs.inferiorSulcus.fileList.map(e=>e.url):[];
|
|
|
},
|
|
|
+ getconstructionRecordsUrl(url) {
|
|
|
+ this.nodeInfo.constructionRecords = this.$refs.constructionRecords.fileList ? this.$refs.constructionRecords.fileList.map(e=>e.url):[];
|
|
|
+ },
|
|
|
getVideoUrl(url) {
|
|
|
this.nodeInfo.video = this.$refs.Video.fileList ? this.$refs.Video.fileList.map(e=>e.url):[];
|
|
|
},
|