Преглед изворни кода

审核添加删除施工信息功能

wangtong пре 1 година
родитељ
комит
079ffc5b32
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/components/ConstructionDetails/index.vue

+ 5 - 0
src/components/ConstructionDetails/index.vue

@@ -35,6 +35,8 @@
                 <el-checkbox :label="e.id" @change="handleCheckedCitiesChange">
                   <h2 style="margin-left: 1%;font-weight: 700;">{{ e.updateTime }}</h2>
                 </el-checkbox>
+                <h2 style="margin-left: 20%;font-weight: 700;">  {{e.state==1?"该施工信息已被审核":""}}</h2>
+
               </div>
             </template>
             <!--  人员信息 -->
@@ -589,6 +591,8 @@ export default {
   methods: {
     handleCheckedCitiesChange(e)
     {
+       this.infoIdList=this.currentCollapses.filter(item=>this.checkList.indexOf(item.id)>-1)
+      console.log(this.infoIdList)
    this.delinfoidList=this.currentCollapses.map(item=>item.id).filter(item=>this.checkList.indexOf(item)==-1)
     },
     validateCHanged(e){
@@ -636,6 +640,7 @@ export default {
           try {
             this.checkingInfo.engInfoId = this.currentEnginId
             this.checkingInfo.delInfoIdList=this.delinfoidList
+            this.checkingInfo.infoIdList= this.infoIdList
             this.$emit('checkWorking',this.checkingInfo)
           } catch (error) {
             this.checkingInfo.engInfoId = null