Bläddra i källkod

用料样式完善

付宇航 1 år sedan
förälder
incheckning
059a8a4377
1 ändrade filer med 11 tillägg och 7 borttagningar
  1. 11 7
      src/components/ConstructionDetails/index.vue

+ 11 - 7
src/components/ConstructionDetails/index.vue

@@ -35,11 +35,11 @@
               </div>
             </template>
             <!--  人员信息 -->
-            <div>
-              负责人:{{ e.headName }} &nbsp;&nbsp;
-              施工人:{{ e.constructUser }} &nbsp;&nbsp;
-              负责人电话:{{ e.headPhone }} &nbsp;&nbsp;
-              施工人电话:{{ e.constructPhone }}
+            <div class="personInfo">
+              <span>负责人:{{ e.headName }} </span>
+              <span>施工人:{{ e.constructUser }}</span>
+              <span>负责人电话:{{ e.headPhone }}</span>
+              <span>施工人电话:{{ e.constructPhone }}</span>
             </div>
             <hr>
             <!--  用料明细 -->
@@ -352,15 +352,16 @@ export default {
   methods: {
     // 提交审核
     checkingSubmit(){
+      console.log('nodebo',this.zEngineeringNodeBo)
       try {
         console.log(this.currentCollapses[0])
         this.checkingInfo.engInfoId = this.zEngineeringNodeBo.id
+        this.$emit('checkWorking',this.checkingInfo)
       } catch (error) {
         this.checkingInfo.engInfoId = null
       }
       this.dialogVisible = false
       this.checkingVisible = false
-      this.$emit('checkWorking',this.checkingInfo)
       this.checkingInfo = {
         reviewStatus:'',               // 审核状态
         reviewContent:'',              // 审核内容
@@ -537,12 +538,15 @@ export default {
   }
 
   ::v-deep .rmOldPie {
+    
     .el-collapse-item {
       border: none;
     }
   }
 }
-
+.personInfo >span:not(:nth-child(1)){
+  margin-left: 50px;
+}
 ::v-deep .checkingDialog{
  height: 50%;
  margin-top: 6%;