Преглед на файлове

工程审核照片及顶管工程变更

wang_xy преди 11 месеца
родител
ревизия
e06a75420a

+ 12 - 12
src/components/ConstructionDetails/index.vue

@@ -139,7 +139,7 @@
                       :prop="i.materialQuality"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       :label="activeNames == '阀管' ? '灶具管厂家': '材质'"
-                      v-show="i.materialQuality != null && (enginClassification != null && !enginClassification.includes('调压柜'))"
+                      v-show="i.materialQuality != null || (enginClassification != null && !enginClassification.includes('调压柜'))"
                       label-width="95px"
                       >
                       <el-select  v-model="i.materialQuality" placeholder="请选择材质" style="width: 100%" @change="getEnginSpecificationsList(i, index,idx)" :disabled="status == 'read-only' ">
@@ -155,7 +155,7 @@
                       :prop="i.specifications"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       label="规格"
-                      v-show="i.materialQuality != null && (enginClassification != null && !enginClassification.includes('调压柜'))"
+                      v-show="i.materialQuality != null || (enginClassification != null && !enginClassification.includes('调压柜'))"
                       label-width="95px"
 
                       >
@@ -224,7 +224,7 @@
                       :prop="i.number + ''"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       label="数量"
-                      v-show="i.number != null && (enginClassification != null && !enginClassification.includes('调压柜'))"
+                      v-show="i.number != null || (enginClassification != null && !enginClassification.includes('调压柜'))"
                       label-width="95px"
                       >
                       <div class="block" style="display: inline-block; margin-right: 20px;">
@@ -957,7 +957,7 @@ export default {
   created(){
       // 获取材质
     // alert(this.enginType)
-      let enginStep = this.enginType == '市政工程' ? null : this.activeNames
+      let enginStep = this.enginType == '民用工程' ? this.activeNames:null;
       getEnginMaterialQualityList({enginType:this.enginType,enginStep:enginStep}).then(res => {
           console.log('材质',res)
           this.materialQualityList = res.data
@@ -1070,6 +1070,7 @@ export default {
       this.$refs.checking.validate(valid => {
         if(valid){
           try {
+            this.infoIdList.nodeName = this.activeNames
             this.checkingInfo.engInfoId = this.currentEnginId
             this.checkingInfo.delInfoIdList=this.delinfoidList
             this.checkingInfo.infoIdList= this.infoIdList
@@ -1104,9 +1105,11 @@ export default {
       // alert(this.node)
       this.nodesource=e
       let data = {enginType:this.enginType}
-      data.enginSort = this.enginSort
-      data.enginStep = this.node
-      data.enginNode = this.enginClassification
+      if(this.enginType=='民用工程'){
+        data.enginSort = this.enginSort
+        data.enginStep = this.node
+        data.enginNode = this.enginClassification
+      }
       if(this.node == '阀管'){
         data.nameType = "自闭阀厂家";
         getEnginMaterialQualityList(data).then(res => {
@@ -1199,14 +1202,11 @@ export default {
         this.enginSort=enginSort
         this.enginClassification=enginClassification
         let data = {enginType:enginType}
+      if(this.enginType =='民用工程'){
         data.enginSort = enginSort
         data.enginNode = enginClassification
         data.enginStep = Array.isArray(dicts) ? dicts[0].value: null;
-      console.log("datadatadata=",data)
-        if(data.enginType == '市政工程'){
-          data.enginStep = null // "trench_construction"
-        }
-      console.log("datadatadata2=",data)
+      }
         getEnginMaterialQualityList(data).then(res => {
           this.materialQualityList = res.data
         })

+ 1 - 0
src/components/ConstructionDetails/indexGY.vue

@@ -596,6 +596,7 @@ export default {
       this.$refs.checking.validate(valid => {
         if (valid) {
           try {
+            this.checkingInfo.engInfoName = this.activeNames
             this.checkingInfo.engInfoId = this.currentEnginId
             this.checkingInfo.delInfoIdList = this.delinfoidList
             this.checkingInfo.infoIdList = this.infoIdList

+ 1 - 0
src/components/ConstructionDetails/indexPK.vue

@@ -292,6 +292,7 @@ export default {
       this.$refs.checking.validate(valid => {
         if (valid) {
           try {
+            this.checkingInfo.engInfoName = this.activeNames
             this.checkingInfo.engInfoId = this.currentEnginId
             this.checkingInfo.delInfoIdList = this.delinfoidList
             this.checkingInfo.infoIdList = this.infoIdList

+ 1 - 0
src/components/ConstructionDetails/indexSZ.vue

@@ -432,6 +432,7 @@ export default {
       this.$refs.checking.validate(valid => {
         if (valid) {
           try {
+            this.checkingInfo.engInfoName = this.activeNames
             this.checkingInfo.engInfoId = this.currentEnginId
             this.checkingInfo.delInfoIdList = this.delinfoidList
             this.checkingInfo.infoIdList = this.infoIdList

+ 1 - 1
src/components/EnginNodeInfo/index.vue

@@ -447,9 +447,9 @@ export default {
     if (this.enginSort !== undefined){
       data['enginSort'] = this.enginSort
       data['enginNode'] = this.enginNode
+      data.enginStep = this.name;
     }
     // 腐蚀等级
-    data.enginStep = this.name;
     if(this.name == '阀管'){
       data.nameType = "自闭阀厂家";
       getEnginMaterialQualityList(data).then(res => {

+ 15 - 5
src/components/EngineePipe/index.vue

@@ -74,6 +74,18 @@
           </el-row>
           <el-row :gutter="20">
             <el-col :span="12">
+              <el-form-item label="PE管材预设" prop="pePreset">
+                <el-input v-model="queryParams.pePreset" placeholder="请填写PE管材预设" maxlength="20" oninput="value=value.match(/\d+(\.\d{0,1})?/) ? value.match(/\d+(\.\d{0,1})?/)[0] : ''"></el-input>
+              </el-form-item>
+            </el-col>
+            <el-col :span="12">
+              <el-form-item label="钢材预设" prop="gcPreset">
+                <el-input v-model="queryParams.gcPreset" placeholder="请填写钢材预设" maxlength="13" oninput="value=value.match(/\d+(\.\d{0,1})?/) ? value.match(/\d+(\.\d{0,1})?/)[0] : ''"></el-input>
+              </el-form-item>
+            </el-col>
+          </el-row>
+          <el-row :gutter="20">
+            <el-col :span="12">
               <el-form-item label="施工进度" prop="constructSchedule">
                 <el-input v-model="queryParams.constructSchedule" placeholder="请填写施工进度" maxlength="50" :disabled="title == '添加用料' "/>
               </el-form-item>
@@ -191,6 +203,8 @@ export default {
         constructQuality: '',        // 施工质量
         constructSchedule: "",       // 施工进度
         remark: '',                  // 备注
+        pePreset: 0, // PE管材预设量
+        gcPreset: 0, // 钢材预设量
         constructUnit: null,
         zEngineeringNodeBo: {
           type: null,
@@ -250,9 +264,6 @@ export default {
         enginCode: [
           {required: true, message: "工程编码不能为空", trigger: 'blur'}
         ],
-        remark: [
-          {required: false, message: "备注不能为空", trigger: "blur"}
-        ],
         files: [
           { required: false, message: '必须上传文件!', trigger: 'change' },
         ]
@@ -376,10 +387,9 @@ export default {
         this.queryParams.enginAddre =
           sata.district + ' - ' + sata.areaName + ' - ' + sata.buildingName + ' - ' + sata.unitName + ' - ' + sata.houseName;
       }
-      if (['工业工程','市政工程'].includes(data.type)){
+      if (['工业工程','市政工程','顶管工程','碰口作业'].includes(data.type)){
         this.queryParams.enginName = sata.enginName;
       }
-      console.log('顶管params',this.queryParams)
       //带值
       this.queryParams.enginName = sata.enginName?sata.enginName:'';
       this.open = true

+ 75 - 73
src/views/zdsz/engineeringCivil/index.vue

@@ -931,6 +931,7 @@ export default {
         ]
       },
       listContain: [
+        ///////////////////////////////////////////////室内工程//////////////////////////////////////////
         {
           name: '拆旧管',
           components: [
@@ -942,34 +943,32 @@ export default {
           ]
         },
         {
-          name: '报警器',
+          name: '打孔',
           components: [
             [
-              'brand',                                 // 品牌
+              'corrosionLevel',                        // 孔径/腐蚀等级
             ],
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
-            // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '切断阀',
+          name: '立杠',
           components: [
             [
-              'brand',                                 // 品牌
+              'materialQuality',                       // 材质
+              'specifications',                        // 规格
+              'number',                                // 数量
             ],
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
-            // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '开挖前',
+          name: '挂表',
           components: [
             [
-              // 'materialQuality',                       // 材质
-              // 'specifications',                        // 规格
-              // 'number',                                // 数量
+              'brand',                                 // 品牌
             ],
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
@@ -977,25 +976,23 @@ export default {
           ]
         },
         {
-          name: '开挖后',
+          name: '表后管',
           components: [
             [
-              // 'materialQuality',                       // 材质
-              // 'specifications',                        // 规格
-              // 'number',                                // 数量
+              'materialQuality',                       // 材质
+              'specifications',                        // 规格
+              'number',                                // 数量
             ],
+            'constructAccordingDrawings',              // 是否按图纸施工
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
-            // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '焊口照片',
+          name: '报警器',
           components: [
             [
-              // 'materialQuality',                       // 材质
-              // 'specifications',                        // 规格
-              // 'number',                                // 数量
+              'brand',                                 // 品牌
             ],
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
@@ -1003,55 +1000,47 @@ export default {
           ]
         },
         {
-          name: '下沟',
+          name: '切断阀',
           components: [
             [
-              // 'ductalEpithelium',                       // 材质
-              // 'trenchProspect',              // 规格
-              // 'number',                                // 数量
+              'brand',                                 // 品牌
             ],
-            'ductalEpithelium',                       // 材质
-            'constructionRecords',
-            'trenchProspect',
-            'constructTime',
-            'Video'// 施工时间
-            // 'zEngiineeringPhotoBoList',                // 照片
+            'constructTime',                           // 施工时间
+            'zEngiineeringPhotoBoList',                // 照片
             // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '回填',
+          name: '阀管',
           components: [
             [
-              // 'materialQuality',                       // 材质
-              // 'specifications',                        // 规格
-              // 'number',                                // 数量
+              'materialQuality',                       // 材质
+              'specifications',                        // 规格
+              'number',                                // 数量
+              'visitType',                             // 上门类型
+              'selfClosingValveType',                  // 自闭阀类型
             ],
-            'stonePowder',
-            'warningtTape',
-            'photosAfter',
-            // 'backfillTime',                            // 回填时间
             'constructTime',                           // 施工时间
-            // 'zEngiineeringPhotoBoList',                // 照片
-            // 'remark',                                  // 施工内容
+            'zEngiineeringPhotoBoList',                // 照片
           ]
         },
+        ///////////////////////////////////////////////室内工程//////////////////////////////////////////
+        ///////////////////////////////////////////////庭院工程//////////////////////////////////////////
         {
-          name: '隐蔽工程',
+          name: '开挖前',
           components: [
             [
               // 'materialQuality',                       // 材质
               // 'specifications',                        // 规格
               // 'number',                                // 数量
             ],
-            // 'segmentedCompressionQualified',           // 分段打压
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
             // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '除锈刷油',
+          name: '开挖后',
           components: [
             [
               // 'materialQuality',                       // 材质
@@ -1064,59 +1053,75 @@ export default {
           ]
         },
         {
-          name: '全貌照片',
+          name: '焊口照片',
           components: [
             [
-              'materialQuality',                       // 材质
-              'specifications',                        // 规格
-              'number',                                // 数量
+              // 'materialQuality',                       // 材质
+              // 'specifications',                        // 规格
+              // 'number',                                // 数量
             ],
-            'zhanshixinzeng',                                // 数量
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
             // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '打磨',
+          name: '下沟',
           components: [
             [
               'materialQuality',                       // 材质
               'specifications',                        // 规格
               'number',                                // 数量
             ],
-            'constructTime',                           // 施工时间
-            'zEngiineeringPhotoBoList',                // 照片
+            'ductalEpithelium',
+            'constructionRecords',
+            'trenchProspect',
+            'constructTime',
+            'Video'// 施工时间
+            // 'zEngiineeringPhotoBoList',                // 照片
             // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '打孔',
+          name: '回填',
           components: [
             [
-              'corrosionLevel',                        // 孔径/腐蚀等级
+              // 'materialQuality',                       // 材质
+              // 'specifications',                        // 规格
+              // 'number',                                // 数量
             ],
+            'stonePowder',
+            'warningtTape',
+            'photosAfter',
+            // 'backfillTime',                            // 回填时间
             'constructTime',                           // 施工时间
-            'zEngiineeringPhotoBoList',                // 照片
+            // 'zEngiineeringPhotoBoList',                // 照片
+            // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '立杠',
+          name: '隐蔽工程',
           components: [
             [
-              'materialQuality',                       // 材质
-              'specifications',                        // 规格
-              'number',                                // 数量
+              // 'materialQuality',                       // 材质
+              // 'specifications',                        // 规格
+              // 'number',                                // 数量
             ],
+            // 'segmentedCompressionQualified',           // 分段打压
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
+            // 'remark',                                  // 施工内容
           ]
         },
+        ///////////////////////////////////////////////庭院工程//////////////////////////////////////////
+        ///////////////////////////////////////////////架空工程//////////////////////////////////////////
         {
-          name: '挂表',
+          name: '除锈刷油',
           components: [
             [
-              'brand',                                 // 品牌
+              // 'materialQuality',                       // 材质
+              // 'specifications',                        // 规格
+              // 'number',                                // 数量
             ],
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
@@ -1124,32 +1129,34 @@ export default {
           ]
         },
         {
-          name: '表后管',
+          name: '打磨',
           components: [
             [
               'materialQuality',                       // 材质
               'specifications',                        // 规格
               'number',                                // 数量
             ],
-            'constructAccordingDrawings',              // 是否按图纸施工
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
+            // 'remark',                                  // 施工内容
           ]
         },
         {
-          name: '阀管',
+          name: '全貌照片',
           components: [
             [
               'materialQuality',                       // 材质
               'specifications',                        // 规格
               'number',                                // 数量
-              'visitType',                             // 上门类型
-              'selfClosingValveType',                  // 自闭阀类型
             ],
+            'zhanshixinzeng',                                // 数量
             'constructTime',                           // 施工时间
             'zEngiineeringPhotoBoList',                // 照片
+            // 'remark',                                  // 施工内容
           ]
         },
+        ///////////////////////////////////////////////架空工程//////////////////////////////////////////
+        ///////////////////////////////////////////////底腿//////////////////////////////////////////
         {
           name: '底腿',
           components: [
@@ -1165,6 +1172,8 @@ export default {
             'inferiorSulcus',                // 照片
           ]
         },
+        ///////////////////////////////////////////////底腿//////////////////////////////////////////
+        ///////////////////////////////////////////////调压柜安装//////////////////////////////////////////
         {
           name: '调压柜安装',
           components: [
@@ -1178,15 +1187,8 @@ export default {
             'GroundHardening',
             'stonePowder',                // 照片
           ]
-        },
-        // {
-        //   name: '管道施工记录',
-        //   components: [
-        //     [],
-        //     'constructTime',
-        //     'zEngiineeringPhotoBoList',                // 照片
-        //   ]
-        // }
+        }
+        ///////////////////////////////////////////////调压柜安装//////////////////////////////////////////
       ],
       currentCheckList: [],
       enginType: '',

+ 11 - 3
src/views/zdsz/engineeringPipeJacking/index.vue

@@ -53,8 +53,16 @@
       <el-table-column label="工程编码" align="center" prop="enginCode"/>
       <el-table-column label="施工单位" align="center" prop="constructUnit"/>
       <el-table-column label="工程规模" align="center" prop="enginScale"/>
-      <el-table-column label="施工质量" align="center" prop="constructQuality"/>
-      <el-table-column label="施工进度" align="center" prop="constructSchedule"/>
+<!--      <el-table-column label="施工质量" align="center" prop="constructQuality"/>-->
+<!--      <el-table-column label="施工进度" align="center" prop="constructSchedule"/>-->
+      <el-table-column label="用料比" align="center" prop="enginClassification" width="300px">
+        <template slot-scope="scope">
+          <div>
+            <span>PE{实际:{{scope.row.pesj}},预计:{{scope.row.pePreset}},占比:{{scope.row.peys == 0 ? 100:(scope.row.pesj / scope.row.pePreset * 100).toFixed(1)}}%}</span><br>
+            <span>钢材{实际:{{scope.row.gsj}},预计:{{scope.row.gcPreset}},占比:{{scope.row.gys == 0 ? 100:(scope.row.gsj / scope.row.gcPreset * 100).toFixed(1)}}%}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="审核状态" align="center" prop="nodeReViewStateList" width="250">
         <template slot-scope="scope">
           <div style="text-align:center">
@@ -619,7 +627,7 @@ export default {
       this.currentId = e.id
       this.status = 'read-only'
       console.log('__________', r)
-      this.$refs.ConstructionDetails.open(r, _, type, e, e.type)
+      this.$refs.ConstructionDetails.open(r, null, type, '顶管工程', e.name, null,null, "顶管工程")
     },
     viewNodeSource(e) {
       console.log('查看历史传值', e, this.currentId)